Function at 0x401120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1bc
mov eax, dword [0x416128]
mov eax, dword [eax]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x418034]
mov dword [ebp - 0x194], eax
test eax, eax
je 0x401fce
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax]
mov dword [0x418040], ecx
cmp ecx, 0x4d504d49
jne 0x40280c
mov dword [ebp - 0x1a8], ecx
add eax, 4
cmp eax, 5
jb 0x401fce
mov ecx, dword [ebp - 0x194]
movzx eax, word [ecx + 0x1c]
mov word [0x41805c], ax
movsd xmm0, qword [ecx + 0x14]
movsd qword [0x418054], xmm0
movsd xmm0, qword [ecx + 4]
movsd xmm1, qword [ecx + 0xc]
movsd qword [0x41804c], xmm1
movsd qword [0x418044], xmm0
cmp ecx, 0xffffffe1
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x1e]
test al, 1
jne 0x402828
movzx eax, word [ecx + 0x1e]
mov word [0x41805e], ax
cmp ecx, 0xffffffdf
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x20]
test al, 1
jne 0x402828
movzx ebx, word [ecx + 0x20]
mov word [0x418060], bx
cmp ecx, 0xffffffdd
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x22]
test al, 1
jne 0x402828
movzx edx, word [ecx + 0x22]
mov eax, edx
mov dword [ebp - 0x198], edx
mov word [0x418062], dx
cmp ecx, 0xffffffdb
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x24]
test al, 1
jne 0x402828
movzx edx, word [ecx + 0x24]
mov eax, edx
mov dword [ebp - 0x1a4], edx
mov word [0x418064], dx
cmp ecx, 0xffffffd9
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x26]
test al, 1
jne 0x402828
movzx edx, word [ecx + 0x26]
mov eax, edx
mov dword [ebp - 0x19c], edx
mov word [0x418066], dx
cmp ecx, 0xffffffd7
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x28]
test al, 1
jne 0x402828
movzx eax, word [ecx + 0x28]
mov word [0x418068], ax
cmp ecx, 0xffffffd5
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x2a]
test al, 1
jne 0x402828
movzx eax, word [ecx + 0x2a]
mov word [0x41806a], ax
test ecx, ecx
je 0x401fce
cmp dword [ebp - 0x194], 0xffffffd3
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x2c]
test al, 1
jne 0x402828
movzx eax, word [ecx + 0x2c]
mov word [0x41806c], ax
cmp ecx, 0xffffffd1
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x2e]
test al, 1
jne 0x402828
movzx eax, word [ecx + 0x2e]
mov word [0x41806e], ax
cmp ecx, 0xffffffcf
ja 0x401fce
mov ecx, dword [ebp - 0x194]
mov al, byte [ecx + 0x30]
mov byte [0x418070], al
cmp ecx, 0xffffffce
ja 0x401fce
mov ecx, dword [ebp - 0x194]
mov al, byte [ecx + 0x31]
mov byte [0x418071], al
cmp ecx, 0xffffffcd
ja 0x401fce
mov ecx, dword [ebp - 0x194]
mov al, byte [ecx + 0x32]
mov byte [0x418072], al
cmp ecx, 0xffffffcc
ja 0x401fce
mov ecx, dword [ebp - 0x194]
mov al, byte [ecx + 0x33]
mov byte [0x418073], al
cmp ecx, 0xffffffcb
ja 0x401fce
mov ecx, dword [ebp - 0x194]
mov al, byte [ecx + 0x34]
mov byte [0x418074], al
cmp ecx, 0xffffffca
ja 0x401fce
mov ecx, dword [ebp - 0x194]
mov al, byte [ecx + 0x35]
mov byte [0x418075], al
cmp ecx, 0xffffffc9
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x36]
test al, 1
jne 0x402828
movzx eax, word [ecx + 0x36]
mov word [0x418076], ax
cmp ecx, 0xffffffc7
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x38]
test al, 3
jne 0x402828
mov eax, dword [ecx + 0x38]
mov dword [0x418078], eax
cmp ecx, 0xffffffc3
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea eax, [ecx + 0x3c]
test al, 3
jne 0x402828
mov eax, dword [ecx + 0x3c]
mov dword [0x41807c], eax
cmp ecx, 0xffffffbf
ja 0x401fce
mov eax, dword [ebp - 0x194]
movsd xmm0, qword [eax + 0x78]
movsd qword [0x4180b8], xmm0
movsd xmm0, qword [eax + 0x70]
movsd qword [0x4180b0], xmm0
movsd xmm0, qword [eax + 0x68]
movsd qword [0x4180a8], xmm0
movsd xmm0, qword [eax + 0x60]
movsd qword [0x4180a0], xmm0
movsd xmm0, qword [eax + 0x58]
movsd qword [0x418098], xmm0
movsd xmm0, qword [eax + 0x50]
movsd qword [0x418090], xmm0
movsd xmm0, qword [eax + 0x40]
movsd xmm1, qword [eax + 0x48]
movsd qword [0x418088], xmm1
movsd qword [0x418080], xmm0
cmp eax, 0xffffff7f
ja 0x401fce
mov esi, dword [ebp - 0x194]
movsd xmm0, qword [esi + 0xb8]
movsd qword [0x4180f8], xmm0
movsd xmm0, qword [esi + 0xb0]
movsd qword [0x4180f0], xmm0
movsd xmm0, qword [esi + 0xa8]
movsd qword [0x4180e8], xmm0
movsd xmm0, qword [esi + 0xa0]
movsd qword [0x4180e0], xmm0
movsd xmm0, qword [esi + 0x98]
movsd qword [0x4180d8], xmm0
movsd xmm0, qword [esi + 0x90]
movsd qword [0x4180d0], xmm0
movsd xmm0, qword [esi + 0x80]
movsd xmm1, qword [esi + 0x88]
movsd qword [0x4180c8], xmm1
movsd qword [0x4180c0], xmm0
push ebx
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [ebp - 0x1a0], eax
mov dword [0x418100], eax
mov eax, dword [ebp - 0x198]
lea eax, [eax*4]
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x418104], eax
mov eax, dword [ebp - 0x1a4]
lea eax, [eax*4]
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x418108], eax
mov eax, dword [ebp - 0x19c]
lea eax, [eax*4]
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x41810c], eax
cmp esi, 0xffffff3f
ja 0x401fce
mov edi, dword [ebp - 0x194]
lea eax, [edi + 0xc0]
push ebx
push eax
push dword [ebp - 0x1a0]
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, 0xc0
mov ecx, dword [ebp - 0x198]
test ecx, ecx
je 0x401631
mov eax, dword [0x418104]
not edi
neg ecx
mov dword [ebp - 0x198], ecx
xor esi, esi
mov dx, 1
nop word [eax + eax]
cmp ebx, edi
ja 0x401fce
mov ecx, dword [ebp - 0x194]
add ecx, ebx
test cl, 3
jne 0x402828
lea ecx, [eax + esi*4]
cmp ecx, eax
jb 0x401fce
test eax, eax
je 0x401fce
test ecx, ecx
je 0x401fce
test cl, 3
jne 0x402828
mov esi, dword [ebp - 0x194]
mov esi, dword [esi + ebx]
mov dword [ecx], esi
add ebx, 4
mov ecx, dword [ebp - 0x198]
lea ecx, [ecx + edx + 1]
cmp cx, 1
movzx esi, dx
lea edx, [edx + 1]
jne 0x4015d0
cmp dword [ebp - 0x1a4], 0
je 0x4016ca
mov eax, dword [0x418034]
test eax, eax
je 0x401fce
mov ecx, dword [0x418108]
mov edx, eax
not edx
mov dword [ebp - 0x198], edx
neg dword [ebp - 0x1a4]
xor esi, esi
mov di, 1
nop word [eax + eax]
cmp ebx, dword [ebp - 0x198]
ja 0x401fce
lea edx, [eax + ebx]
test dl, 3
jne 0x402828
lea edx, [ecx + esi*4]
cmp edx, ecx
jb 0x401fce
test ecx, ecx
je 0x401fce
test edx, edx
je 0x401fce
test dl, 3
jne 0x402828
mov esi, dword [eax + ebx]
mov dword [edx], esi
add ebx, 4
mov edx, dword [ebp - 0x1a4]
lea edx, [edx + edi + 1]
cmp dx, 1
movzx esi, di
lea edi, [edi + 1]
jne 0x401670
cmp dword [ebp - 0x19c], 0
je 0x40175a
mov eax, dword [0x418034]
test eax, eax
je 0x401fce
mov ecx, dword [0x41810c]
mov edx, eax
not edx
mov dword [ebp - 0x198], edx
neg dword [ebp - 0x19c]
xor edi, edi
mov si, 1
cmp ebx, dword [ebp - 0x198]
ja 0x401fce
lea edx, [eax + ebx]
test dl, 3
jne 0x402828
lea edx, [ecx + edi*4]
cmp edx, ecx
jb 0x401fce
test ecx, ecx
je 0x401fce
test edx, edx
je 0x401fce
test dl, 3
jne 0x402828
mov edi, dword [eax + ebx]
mov dword [edx], edi
add ebx, 4
mov edx, dword [ebp - 0x19c]
lea edx, [edx + esi + 1]
cmp dx, 1
movzx edi, si
lea esi, [esi + 1]
jne 0x401700
cmp dword [ebp - 0x1a8], 0x4d504d49
mov ecx, dword [ebp - 0x194]
jne 0x40280c
test byte [0x41806e], 2
je 0x401902
lea eax, [ebx + ecx]
cmp eax, ecx
jb 0x401fce
cmp dword [ebp - 0x194], 0
je 0x401fce
test eax, eax
je 0x401fce
test al, 1
jne 0x402828
movzx ecx, word [eax]
test ecx, ecx
mov word [0x418110], cx
je 0x4018ef
mov eax, ecx
mov esi, ecx
lea eax, [eax*8]
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x418114], eax
mov ecx, dword [ebp - 0x194]
not ecx
mov dword [ebp - 0x1a4], ecx
neg esi
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x198], 0
mov dx, 1
nop word cs:[eax + eax]
nop
lea esi, [ebx + 2]
cmp esi, dword [ebp - 0x1a4]
ja 0x401fce
mov ecx, dword [ebp - 0x194]
lea ecx, [ecx + ebx + 2]
test cl, 1
jne 0x402828
mov ecx, dword [ebp - 0x198]
lea ecx, [eax + ecx*8]
cmp ecx, eax
jb 0x401fce
test eax, eax
je 0x401fce
test ecx, ecx
je 0x401fce
mov ecx, dword [ebp - 0x194]
movzx ecx, word [ecx + ebx + 2]
mov edi, dword [ebp - 0x198]
mov word [eax + edi*8], cx
add esi, 2
cmp esi, dword [ebp - 0x1a4]
ja 0x401fce
mov dword [ebp - 0x19c], edx
mov edi, dword [ebp - 0x194]
lea ecx, [edi + ebx + 4]
test cl, 1
jne 0x402828
movzx ecx, word [edi + ebx + 4]
mov edx, dword [ebp - 0x198]
mov word [eax + edx*8 + 2], cx
add esi, 2
cmp esi, dword [ebp - 0x1a4]
mov edx, dword [ebp - 0x19c]
ja 0x401fce
mov esi, dword [ebp - 0x194]
lea ecx, [esi + ebx + 6]
test cl, 1
jne 0x402828
movzx ecx, word [esi + ebx + 6]
mov esi, dword [ebp - 0x198]
mov dword [eax + esi*8 + 4], ecx
mov ecx, dword [ebp - 0x1a0]
lea ecx, [ecx + edx + 1]
add ebx, 8
cmp cx, 1
movzx ecx, dx
mov dword [ebp - 0x198], ecx
lea edx, [edx + 1]
jne 0x401800
add ebx, 2
jmp 0x4018fc
add ebx, 2
mov dword [0x418114], 0
mov ecx, dword [ebp - 0x194]
mov dword [0x41811c], 0
mov dword [0x418118], 0
mov dword [0x418120], 0
lea eax, [ebx + ecx]
cmp eax, ecx
jb 0x401fce
test ecx, ecx
je 0x401fce
test eax, eax
je 0x401fce
mov eax, dword [ecx + ebx]
mov dword [0x418118], eax
cmp eax, 0x4d414e43
jne 0x401a21
lea eax, [ebx + 4]
add ecx, eax
jb 0x401fce
test cl, 3
jne 0x402828
mov eax, 0xcccccccd
mul dword [ecx]
mov edi, edx
shr edi, 4
mov word [0x41811c], di
mov eax, edi
and eax, 0xffff
je 0x401a17
shl eax, 2
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x418120], eax
test di, di
je 0x401a21
add ebx, 8
neg edi
xor eax, eax
mov si, 1
mov dword [ebp - 0x194], edi
nop dword [eax]
mov ecx, dword [0x418034]
lea edx, [ecx + ebx]
cmp edx, ecx
jb 0x401fce
test ecx, ecx
je 0x401fce
test edx, edx
je 0x401fce
mov edi, dword [0x418120]
lea ecx, [eax + edi]
cmp ecx, edi
jb 0x401fce
test edi, edi
je 0x401fce
test ecx, ecx
je 0x401fce
test cl, 3
jne 0x402828
mov dword [edi + eax], edx
add ebx, 0x14
add eax, 4
mov edi, dword [ebp - 0x194]
lea ecx, [edi + esi + 1]
inc esi
cmp cx, 1
jne 0x4019b0
jmp 0x401a21
mov dword [0x418120], 0
movzx eax, word [0x418062]
imul eax, eax, 0x130
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x418124], eax
movzx eax, word [0x418064]
shl eax, 4
lea eax, [eax + eax*4]
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x418128], eax
movzx eax, word [0x418066]
shl eax, 4
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov dword [0x41812c], eax
cmp word [0x418062], 0
je 0x401fd2
xor esi, esi
mov dword [ebp - 0x1b0], 0x40
jmp 0x401ab5
mov al, byte [ebx + edi]
mov byte [edx + esi + 0x1b], al
mov esi, dword [ebp - 0x1b4]
inc esi
add dword [ebp - 0x1b0], 0x130
cmp si, word [0x418062]
jae 0x401fd2
mov eax, dword [0x418104]
test eax, eax
je 0x401fce
lea ecx, [esi*4]
mov edx, eax
neg edx
cmp ecx, edx
je 0x401fce
lea ecx, [eax + esi*4]
test cl, 3
jne 0x402828
mov edx, dword [0x418124]
test edx, edx
je 0x401fce
imul edi, esi, 0x130
mov eax, edx
neg eax
cmp edi, eax
je 0x401fce
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x1ac], edi
lea eax, [edx + edi]
test al, 1
jne 0x402828
mov edx, dword [ecx]
mov ecx, dword [0x418034]
mov dword [ebp - 0x19c], edx
add edx, ecx
cmp edx, ecx
jb 0x401fce
test ecx, ecx
je 0x401fce
test edx, edx
je 0x401fce
mov esi, dword [ebp - 0x19c]
mov ecx, dword [ecx + esi]
mov dword [eax], ecx
push 4
push str.IMPI
push eax
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x401a97
mov ecx, dword [0x418034]
lea eax, [esi + ecx + 4]
mov dword [ebp - 0x1a0], ecx
cmp eax, ecx
jb 0x401fce
cmp dword [ebp - 0x1a0], 0
je 0x401fce
test eax, eax
je 0x401fce
mov edi, dword [ebp - 0x19c]
lea eax, [edi + 4]
mov ebx, dword [ebp - 0x1a0]
mov ecx, dword [ebx + eax + 8]
mov edx, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1ac]
mov dword [edx + esi + 0xc], ecx
movsd xmm0, qword [ebx + eax]
lea eax, [edi + 0x10]
not ebx
mov dword [ebp - 0x194], ebx
cmp eax, ebx
movsd qword [edx + esi + 4], xmm0
ja 0x401fce
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
lea eax, [eax + ecx + 0x10]
test al, 1
jne 0x402828
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
mov cl, byte [ecx + edx + 0x10]
mov byte [eax], cl
lea eax, [edx + 0x1c]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
add eax, dword [ebp - 0x1a0]
test al, 1
jne 0x402828
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
lea eax, [eax + ecx + 0x1c]
test al, 1
jne 0x402828
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
movzx ecx, word [ecx + edx + 0x1c]
mov word [eax], cx
lea eax, [edx + 0x1e]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
lea eax, [eax + ecx + 0x1e]
test al, 1
jne 0x402828
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
mov cl, byte [ecx + edx + 0x1e]
mov byte [eax], cl
lea eax, [edx + 0x1f]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov esi, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1a0]
mov al, byte [eax + esi + 0x1f]
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1ac]
mov byte [ecx + edx + 0x1f], al
lea eax, [esi + 0x20]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov edi, dword [ebp - 0x1a0]
movzx ecx, word [edi + eax + 0x18]
mov edx, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1ac]
mov word [edx + esi + 0x38], cx
movsd xmm0, qword [edi + eax + 0x10]
movsd qword [edx + esi + 0x30], xmm0
movsd xmm0, qword [edi + eax]
movsd xmm1, qword [edi + eax + 8]
mov eax, dword [ebp - 0x19c]
add eax, 0x3a
cmp eax, dword [ebp - 0x194]
movsd qword [edx + esi + 0x28], xmm1
movsd qword [edx + esi + 0x20], xmm0
ja 0x401fce
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
lea eax, [eax + ecx + 0x3a]
test al, 1
jne 0x402828
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
mov cl, byte [ecx + edx + 0x3a]
mov byte [eax], cl
lea eax, [edx + 0x3b]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov esi, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1a0]
mov al, byte [eax + esi + 0x3b]
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1ac]
mov byte [ecx + edx + 0x3b], al
lea eax, [esi + 0x3c]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
lea eax, [eax + ecx + 0x3c]
test al, 1
jne 0x402828
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
mov cl, byte [ecx + edx + 0x3c]
mov byte [eax], cl
lea eax, [edx + 0x3d]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov esi, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1a0]
mov al, byte [eax + esi + 0x3d]
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x1ac]
mov byte [ecx + edx + 0x3d], al
lea eax, [esi + 0x3e]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
add eax, dword [ebp - 0x1a0]
test al, 1
jne 0x402828
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1ac]
lea eax, [eax + ecx + 0x3e]
test al, 1
jne 0x402828
mov edx, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a0]
movzx ecx, word [esi + edx + 0x3e]
mov word [eax], cx
lea eax, [edx + 0x40]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [ebp - 0x1ac]
lea edi, [ecx + eax + 0x40]
mov ebx, edi
not ebx
mov eax, dword [ebp - 0x1b0]
add eax, ecx
mov dword [ebp - 0x1a4], eax
lea esi, [esi + edx + 0x41]
xor ecx, ecx
mov eax, dword [ebp - 0x198]
lea edx, [eax + ecx]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
cmp ecx, ebx
ja 0x401fce
mov eax, dword [ebp - 0x1a4]
add eax, ecx
test al, 1
jne 0x402828
movzx eax, byte [esi + ecx - 1]
mov byte [edi + ecx], al
inc edx
cmp edx, dword [ebp - 0x194]
ja 0x401fce
movzx eax, byte [esi + ecx]
mov byte [edi + ecx + 1], al
add ecx, 2
cmp ecx, 0xf0
jne 0x401e50
mov edi, dword [ebp - 0x19c]
mov ebx, dword [ebp - 0x1a0]
lea eax, [edi + ebx + 0x11]
cmp eax, ebx
mov edx, dword [ebp - 0x1a8]
mov esi, dword [ebp - 0x1ac]
jb 0x401fce
test eax, eax
je 0x401fce
mov al, byte [ebx + edi + 0x11]
mov byte [edx + esi + 0x11], al
lea eax, [edi + 0x12]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
lea eax, [edx + esi + 0x12]
test al, 1
jne 0x402828
mov cl, byte [ebx + edi + 0x12]
mov byte [eax], cl
lea eax, [edi + 0x13]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov al, byte [ebx + edi + 0x13]
mov byte [edx + esi + 0x13], al
lea eax, [edi + 0x14]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
add eax, ebx
test al, 1
jne 0x402828
lea eax, [edx + esi + 0x14]
test al, 1
jne 0x402828
movzx ecx, word [ebx + edi + 0x14]
mov word [eax], cx
lea eax, [edi + 0x16]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
lea eax, [edx + esi + 0x16]
test al, 1
jne 0x402828
mov cl, byte [ebx + edi + 0x16]
mov byte [eax], cl
lea eax, [edi + 0x17]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov al, byte [ebx + edi + 0x17]
mov byte [edx + esi + 0x17], al
lea eax, [edi + 0x18]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
lea eax, [edx + esi + 0x18]
test al, 1
jne 0x402828
mov cl, byte [ebx + edi + 0x18]
mov byte [eax], cl
lea eax, [edi + 0x19]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
mov al, byte [ebx + edi + 0x19]
mov byte [edx + esi + 0x19], al
lea eax, [edi + 0x1a]
cmp eax, dword [ebp - 0x194]
ja 0x401fce
lea eax, [edx + esi + 0x1a]
test al, 1
jne 0x402828
mov cl, byte [ebx + edi + 0x1a]
mov byte [eax], cl
add edi, 0x1b
cmp edi, dword [ebp - 0x194]
jbe 0x401a90
ud1
inc eax
adc esp, dword [esi - 0x7d]
cmp eax, 0x418064
add byte [edi], cl
test cl, cl
add eax, dword [eax]
add byte [ecx], dh
shl byte [esi - 0x42], cl
add dword [eax], eax
cmp word [0x418064], 0
je 0x4023a9
xor edx, edx
mov si, 1
xor ebx, ebx
jmp 0x402014
add ebx, 0x50
mov edx, dword [ebp - 0x1a4]
add edx, 4
mov eax, dword [ebp - 0x19c]
cmp ax, word [0x418064]
lea eax, [eax + 1]
mov esi, eax
jae 0x4023a9
mov eax, dword [0x418108]
lea ecx, [edx + eax]
cmp ecx, eax
jb 0x401fce
test eax, eax
je 0x401fce
test ecx, ecx
je 0x401fce
test cl, 3
jne 0x402828
mov edi, dword [0x418128]
lea ecx, [ebx + edi]
cmp ecx, edi
jb 0x401fce
test edi, edi
je 0x401fce
test ecx, ecx
je 0x401fce
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x198], ecx
test cl, 3
jne 0x402828
mov ecx, dword [ebp - 0x1a4]
mov esi, dword [eax + ecx]
mov eax, dword [0x418034]
lea ecx, [esi + eax]
cmp ecx, eax
jb 0x401fce
test eax, eax
je 0x401fce
test ecx, ecx
je 0x401fce
mov eax, dword [eax + esi]
mov dword [edi + ebx], eax
push 4
push str.IMPS
push dword [ebp - 0x198]
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x401ff0
mov eax, dword [0x418034]
lea ecx, [esi + eax + 4]
cmp ecx, eax
jb 0x401fce
test eax, eax
je 0x401fce
test ecx, ecx
je 0x401fce
lea ecx, [esi + 4]
mov edx, dword [eax + ecx + 8]
mov dword [edi + ebx + 0xc], edx
movsd xmm0, qword [eax + ecx]
lea edx, [esi + 0x10]
mov ecx, eax
not ecx
mov dword [ebp - 0x194], ecx
cmp edx, ecx
movsd qword [edi + ebx + 4], xmm0
ja 0x401fce
lea edx, [ebx + edi + 0x10]
test dl, 3
jne 0x402828
movzx edx, byte [eax + esi + 0x10]
mov byte [edi + ebx + 0x10], dl
lea edx, [esi + 0x11]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
movzx edx, byte [eax + esi + 0x11]
mov byte [edi + ebx + 0x11], dl
lea edx, [esi + 0x12]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
mov ecx, dword [ebp - 0x198]
mov edx, ecx
add dl, 0x12
test dl, 1
jne 0x402828
movzx edx, byte [eax + esi + 0x12]
mov byte [edi + ebx + 0x12], dl
lea edx, [esi + 0x13]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
movzx edx, byte [eax + esi + 0x13]
mov byte [edi + ebx + 0x13], dl
lea edx, [esi + 0x14]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
movzx ecx, word [eax + edx + 0x18]
mov word [edi + ebx + 0x2c], cx
movsd xmm0, qword [eax + edx + 0x10]
movsd qword [edi + ebx + 0x24], xmm0
movsd xmm0, qword [eax + edx]
movsd xmm1, qword [eax + edx + 8]
lea ecx, [esi + 0x2e]
cmp ecx, dword [ebp - 0x194]
movsd qword [edi + ebx + 0x1c], xmm1
movsd qword [edi + ebx + 0x14], xmm0
ja 0x401fce
mov ecx, dword [ebp - 0x198]
add cl, 0x2e
test cl, 1
jne 0x402828
movzx ecx, byte [eax + esi + 0x2e]
mov byte [edi + ebx + 0x2e], cl
lea ecx, [esi + 0x2f]
cmp ecx, dword [ebp - 0x194]
ja 0x401fce
movzx ecx, byte [eax + esi + 0x2f]
mov byte [edi + ebx + 0x2f], cl
lea edx, [esi + 0x30]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
add edx, eax
test dl, 3
jne 0x402828
lea ecx, [ebx + edi + 0x30]
test cl, 3
jne 0x402828
mov ecx, dword [edx]
mov dword [edi + ebx + 0x30], ecx
lea edx, [esi + 0x34]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
add edx, eax
test dl, 3
jne 0x402828
lea ecx, [ebx + edi + 0x34]
test cl, 3
jne 0x402828
mov ecx, dword [edx]
mov dword [edi + ebx + 0x34], ecx
lea edx, [esi + 0x38]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
add edx, eax
test dl, 3
jne 0x402828
lea ecx, [ebx + edi + 0x38]
test cl, 3
jne 0x402828
mov ecx, dword [edx]
mov dword [edi + ebx + 0x38], ecx
lea edx, [esi + 0x3c]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
add edx, eax
test dl, 3
jne 0x402828
lea ecx, [ebx + edi + 0x3c]
test cl, 3
jne 0x402828
mov ecx, dword [edx]
mov dword [edi + ebx + 0x3c], ecx
lea edx, [esi + 0x40]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
add edx, eax
test dl, 3
jne 0x402828
lea ecx, [ebx + edi + 0x40]
test cl, 3
jne 0x402828
mov ecx, dword [edx]
mov dword [edi + ebx + 0x40], ecx
lea edx, [esi + 0x44]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
add edx, eax
test dl, 3
jne 0x402828
lea ecx, [ebx + edi + 0x44]
test cl, 3
jne 0x402828
mov ecx, dword [edx]
mov dword [edi + ebx + 0x44], ecx
lea edx, [esi + 0x48]
cmp edx, dword [ebp - 0x194]
ja 0x401fce
add edx, eax
test dl, 3
jne 0x402828
lea ecx, [ebx + edi + 0x48]
test cl, 3
jne 0x402828
mov ecx, dword [eax + esi + 0x48]
mov dword [edi + ebx + 0x48], ecx
lea ecx, [esi + 0x4c]
cmp ecx, dword [ebp - 0x194]
ja 0x401fce
lea ecx, [ebx + edi + 0x4c]
test cl, 3
jne 0x402828
movzx ecx, byte [eax + esi + 0x4c]
mov byte [edi + ebx + 0x4c], cl
lea ecx, [esi + 0x4d]
cmp ecx, dword [ebp - 0x194]
ja 0x401fce
movzx ecx, byte [eax + esi + 0x4d]
mov byte [edi + ebx + 0x4d], cl
lea ecx, [esi + 0x4e]
cmp ecx, dword [ebp - 0x194]
ja 0x401fce
mov ecx, dword [ebp - 0x198]
add cl, 0x4e
test cl, 1
jne 0x402828
movzx ecx, byte [eax + esi + 0x4e]
mov byte [edi + ebx + 0x4e], cl
add esi, 0x4f
cmp esi, dword [ebp - 0x194]
ja 0x401fce
movzx eax, byte [eax + esi]
mov byte [edi + ebx + 0x4f], al
jmp 0x401ff0
mov word [0x418130], 0
movzx eax, word [0x418066]
mov word [ebp - 0x1b6], ax
test ax, ax
je 0x40280c
mov eax, dword [0x41810c]
mov dword [ebp - 0x1bc], eax
test eax, eax
je 0x401fce
lea eax, [ebp - 0x190]
not eax
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1bc]
not eax
mov dword [ebp - 0x1c0], eax
xor edx, edx
jmp 0x402414
mov edx, dword [ebp - 0x1c4]
inc edx
cmp word [ebp - 0x1b6], dx
je 0x40280c
lea eax, [edx*4]
cmp eax, dword [ebp - 0x1c0]
ja 0x401fce
mov eax, dword [ebp - 0x1bc]
lea eax, [eax + edx*4]
test al, 3
jne 0x402828
mov edi, dword [0x41812c]
test edi, edi
je 0x401fce
mov ebx, edx
shl ebx, 4
mov ecx, edi
neg ecx
cmp ebx, ecx
je 0x401fce
mov dword [ebp - 0x1c4], edx
mov eax, dword [eax]
mov edx, dword [0x418034]
lea ecx, [eax + edx]
mov dword [ebp - 0x194], edx
cmp ecx, edx
jb 0x401fce
cmp dword [ebp - 0x194], 0
je 0x401fce
test ecx, ecx
je 0x401fce
test cl, 1
jne 0x402828
lea ecx, [edi + ebx]
test cl, 3
jne 0x402828
mov esi, dword [ebp - 0x194]
movzx edx, word [esi + eax]
mov word [ecx], dx
lea ecx, [eax + 2]
not esi
mov dword [ebp - 0x198], esi
cmp ecx, esi
ja 0x401fce
add ecx, dword [ebp - 0x194]
test cl, 1
jne 0x402828
lea edx, [edi + ebx + 2]
mov dword [ebp - 0x1b0], edx
test dl, 1
jne 0x402828
movzx ecx, word [ecx]
mov edx, dword [ebp - 0x1b0]
mov word [edx], cx
lea edx, [eax + 4]
cmp edx, dword [ebp - 0x198]
ja 0x401fce
add edx, dword [ebp - 0x194]
test dl, 3
jne 0x402828
lea edx, [edi + ebx + 4]
test dl, 3
jne 0x402828
mov esi, dword [ebp - 0x194]
mov esi, dword [esi + eax + 4]
mov dword [edx], esi
lea esi, [eax + 8]
cmp esi, dword [ebp - 0x198]
ja 0x401fce
lea edx, [edi + ebx + 8]
test dl, 3
jne 0x402828
movzx ecx, cx
mov dword [ebp - 0x1a4], edi
mov edi, dword [ebp - 0x194]
lea eax, [edi + eax + 8]
mov dword [edx], eax
shl ecx, 7
lea eax, [ecx + ecx*2]
push eax
call sub.msvcrt.dll_malloc
add esp, 4
mov ecx, dword [ebp - 0x1a4]
lea ebx, [ecx + ebx + 0xc]
test bl, 3
jne 0x402828
mov dword [ebx], eax
push 0x180
push 0
lea eax, [ebp - 0x190]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x1b0]
cmp word [eax], 0
je 0x402400
xor edi, edi
mov dword [ebp - 0x1c8], ebx
jmp 0x4025ce
mov edi, dword [ebp - 0x1b4]
inc edi
mov eax, dword [ebp - 0x1b0]
cmp di, word [eax]
mov esi, edx
mov ebx, dword [ebp - 0x1c8]
jae 0x402400
mov edx, dword [ebx]
test edx, edx
je 0x401fce
mov eax, edi
shl eax, 7
lea eax, [eax + eax*2]
mov ecx, edx
neg ecx
cmp eax, ecx
je 0x401fce
mov dword [ebp - 0x1b4], edi
lea eax, [edi + edi*2]
shl eax, 7
add edx, eax
push 0x180
push 0
mov dword [ebp - 0x1a0], edx
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, dword [ebp - 0x198]
ja 0x401fce
lea edx, [esi + 1]
mov eax, dword [ebp - 0x194]
mov bl, byte [eax + esi]
test bl, bl
je 0x4025b0
mov eax, dword [ebp - 0x1a0]
not eax
mov dword [ebp - 0x1a8], eax
nop word [eax + eax]
mov eax, ebx
dec al
and al, 0x3f
movzx eax, al
lea ecx, [eax + eax]
lea ecx, [ecx + ecx*2]
cmp ecx, dword [ebp - 0x1a8]
ja 0x401fce
cmp ecx, dword [ebp - 0x1ac]
ja 0x401fce
mov dword [ebp - 0x19c], esi
lea esi, [eax + eax*2]
mov edi, esi
lea esi, [ebp + esi*2 - 0x190]
mov dword [ebp - 0x1a4], esi
test bl, bl
js 0x402690
mov ebx, dword [ebp - 0x1a4]
jmp 0x4026b9
cmp edx, dword [ebp - 0x198]
mov esi, dword [ebp - 0x19c]
ja 0x401fce
mov ebx, dword [ebp - 0x194]
movzx edx, byte [ebx + edx]
mov ebx, dword [ebp - 0x1a4]
mov byte [ebx], dl
add esi, 2
mov edx, esi
movzx ebx, byte [ebx]
test bl, 1
je 0x4026f3
cmp word [0x418130], ax
ja 0x4026d5
inc al
movzx eax, al
mov word [0x418130], ax
cmp edx, dword [ebp - 0x198]
ja 0x401fce
mov eax, dword [ebp - 0x194]
movzx eax, byte [eax + edx]
mov byte [ebp + edi*2 - 0x18f], al
inc edx
test bl, 2
je 0x402716
cmp edx, dword [ebp - 0x198]
ja 0x401fce
mov eax, dword [ebp - 0x194]
movzx eax, byte [eax + edx]
mov byte [ebp + edi*2 - 0x18e], al
inc edx
test bl, 4
je 0x402739
cmp edx, dword [ebp - 0x198]
ja 0x401fce
mov eax, dword [ebp - 0x194]
movzx eax, byte [eax + edx]
mov byte [ebp + edi*2 - 0x18d], al
inc edx
test bl, 8
je 0x40277f
cmp edx, dword [ebp - 0x198]
ja 0x401fce
mov eax, dword [ebp - 0x194]
movzx eax, byte [eax + edx]
mov byte [ebp + edi*2 - 0x18c], al
lea eax, [edx + 1]
cmp eax, dword [ebp - 0x198]
ja 0x401fce
mov eax, dword [ebp - 0x194]
movzx eax, byte [eax + edx + 1]
mov byte [ebp + edi*2 - 0x18b], al
add edx, 2
mov esi, edx
mov eax, dword [ebp - 0x1a0]
mov byte [eax + edi*2], bl
mov edi, eax
mov eax, dword [ebp - 0x1a4]
movzx eax, byte [eax]
test al, 0x11
je 0x4027aa
lea edx, [ebp + ecx - 0x190]
or edx, 1
movzx edx, byte [edx]
mov byte [edi + ecx + 1], dl
test al, 0x22
je 0x4027ba
movzx edx, byte [ebp + ecx - 0x18e]
mov byte [edi + ecx + 2], dl
test al, 0x44
je 0x4027ca
movzx edx, byte [ebp + ecx - 0x18d]
mov byte [edi + ecx + 3], dl
test al, 0x88
je 0x4027e6
movzx eax, byte [ebp + ecx - 0x18c]
mov byte [edi + ecx + 4], al
movzx eax, byte [ebp + ecx - 0x18b]
mov byte [edi + ecx + 5], al
cmp esi, dword [ebp - 0x198]
ja 0x401fce
lea edx, [esi + 1]
mov eax, dword [ebp - 0x194]
movzx ebx, byte [eax + esi]
test bl, bl
jne 0x402640
jmp 0x4025b0
mov eax, dword [ebp - 0x10]
xor eax, ebp
mov ecx, dword [0x416128]
mov ecx, dword [ecx]
cmp ecx, eax
jne 0x40282c
add esp, 0x1bc
pop esi
pop edi
pop ebx
pop ebp
ret
ud1
inc eax
push ss
call fcn.00405bf0
nop word cs:[eax + eax]
nop dword [eax + eax]