.text:63411FF0 add_magicnum proc near .text:63411FF0 .text:63411FF0 push ebx .text:63411FF1 push ebp .text:63411FF2 push esi .text:63411FF3 mov ebx, ecx .text:63411FF5 push edi .text:63411FF6 mov edi, [ebx+4] .text:63411FF9 xor esi, esi .text:63411FFB mov ebp, edx .text:63411FFD test edi, edi .text:63411FFF jz short loc_63412013 .text:63412001 mov ecx, [ebp+4] .text:63412004 lea eax, [ebx+0Ch] .text:63412007 .text:63412007 loc_63412007: .text:63412007 cmp ecx, [eax] .text:63412009 jbe short loc_63412013 .text:6341200B inc esi .text:6341200C add eax, 0Ch .text:6341200F cmp esi, edi .text:63412011 jb short loc_63412007 .text:63412013 .text:63412013 loc_63412013: .text:63412013 .text:63412013 cmp esi, edi .text:63412015 jnb short loc_63412061 .text:63412017 mov edx, [ebp+4] .text:6341201A lea ecx, [esi+2] .text:6341201D lea ecx, [esi+ecx*2] .text:63412020 lea ecx, [ebx+ecx*4] .text:63412023 .text:63412023 loc_63412023: .text:63412023 cmp [ecx-4], edx .text:63412026 jnz short loc_63412037 .text:63412028 mov eax, [ebp+8] .text:6341202B cmp eax, [ecx] .text:6341202D jb short loc_63412037 .text:6341202F inc esi .text:63412030 add ecx, 0Ch .text:63412033 cmp esi, edi .text:63412035 jb short loc_63412023 .text:63412037 .text:63412037 loc_63412037: .text:63412037 .text:63412037 cmp esi, edi .text:63412039 jnb short loc_63412061 .text:6341203B lea eax, [esi+1] .text:6341203E cmp eax, [ebx] .text:63412040 jnb short loc_63412061 .text:63412042 lea eax, [esi+esi*2] .text:63412045 sub edi, esi .text:63412047 lea ecx, [ebx+eax*4] .text:6341204A lea eax, [edi+edi*2] .text:6341204D shl eax, 2 .text:63412050 push eax ; size .text:63412051 lea eax, [ecx+8] .text:63412054 push eax ; src .text:63412055 lea eax, [ecx+14h] .text:63412058 push eax ; dst .text:63412059 call memmove .text:6341205E add esp, 0Ch .text:63412061 .text:63412061 loc_63412061: .text:63412061 .text:63412061 cmp esi, [ebx] .text:63412063 jnb short loc_63412080 .text:63412065 lea eax, [esi+esi*2] .text:63412068 lea ecx, [ebx+eax*4] .text:6341206B mov eax, [ebp+0] .text:6341206E mov [ecx+8], eax .text:63412071 mov eax, [ebp+4] .text:63412074 mov [ecx+0Ch], eax .text:63412077 mov eax, [ebp+8] .text:6341207A mov [ecx+10h], eax .text:6341207D inc dword ptr [ebx+4] .text:63412080 .text:63412080 loc_63412080: .text:63412080 pop edi .text:63412081 pop esi .text:63412082 pop ebp .text:63412083 pop ebx .text:63412084 retn .text:63412084 endp