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

Disassembly:
sub esp, 0x74
xor eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], al
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x50], al
mov byte [esp + 0x51], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x80], al
mov byte [esp + 0x81], al
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], al
mov byte [esp + 0x45], al
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov byte [esp + 0x74], al
mov byte [esp + 0x75], al
mov dword [esp + 0x14], eax
cmp ebp, dword [0x4a8e90]
jg 0x402364
test ebp, ebp
jle 0x402364
mov ebx, ebp
shl ebx, 4
add ebx, dword [0x4a8ec4]
test ebx, ebx
je 0x4023c3
inc ebp
lea eax, [ebp - 1]
mov dword [0x4a8014], eax
mov edx, dword [ebx + 4]
mov eax, dword [edx]
movzx esi, word [eax + 8]
xor ecx, ecx
mov dword [esp + 0x34], 0
cmp si, 0x7f
je 0x4021e3
mov eax, edx
nop
mov edi, dword [eax + 4]
add eax, 4
inc ecx
cmp word [edi + 8], 0x7f
jne 0x4021d0
test ecx, ecx
jbe 0x4021e3
dec ecx
test si, si
jne 0x402184
mov esi, dword [edx]
mov eax, dword [esi]
cmp eax, 4
je 0x402270
cmp eax, 0xd
je 0x402341
cmp eax, 0xe
je 0x4022ec
cmp eax, 8
je 0x40236b
sub eax, 5
cmp eax, 0x1c
ja 0x402184
movzx ecx, byte [eax + 0x401994]
jmp dword [ecx*4 + 0x401954]
mov edi, dword [esp + 0x34]
xor eax, eax
test ax, ax
je 0x402293
mov esi, dword [edx + edi*4 + 4]
movzx eax, word [esi + 8]
inc edi
mov dword [esp + 0x34], edi
cmp ax, 0x7f
jne 0x402276
jmp 0x42bd33
cmp dword [esi], 5
jne 0x40227b
mov ecx, dword [edx + ecx*4]
cmp word [ecx + 8], 0
jne 0x4022c5
cmp dword [ecx], 5
jne 0x4022c5
mov eax, dword [esp + 0x14]
inc dword [esp + 0x18]
mov dword [esp + 0x38], eax
inc eax
lea edi, [esp + 0x38]
lea esi, [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.00401c90
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4 + 4]
inc ecx
cmp word [eax + 8], 0
jne 0x402184
mov eax, dword [eax]
cmp eax, 0x23
je 0x402184
jmp 0x42bbf0
mov ecx, dword [edx + 4]
cmp word [ecx + 8], 0x7f
jne 0x42bc49
dec dword [esp + 0x20]
dec dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
je 0x42bbda
cmp byte [esp + 0x45], 0
jne 0x42bbe4
mov eax, dword [esp + 0x40]
mov edi, dword [eax]
lea esi, [esp + 0x3c]
call fcn.0040ce50
cmp dword [esp + 0x20], 0
jl 0x42bd27
cmp dword [esp + 0x14], edi
je 0x402184
jmp 0x42bd27
mov eax, dword [esp + 0x14]
inc dword [esp + 0x20]
mov dword [esp + 0x34], eax
inc eax
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.00401c90
jmp 0x402184
xor ebx, ebx
jmp 0x4021a3
mov edx, dword [edx + 4]
cmp word [edx + 8], 0x7f
jne 0x42bc37
mov ebx, dword [esp + 0x14]
dec dword [esp + 0x18]
dec ebx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x14], ebx
je 0x42bbca
cmp byte [esp + 0x5d], 0
mov eax, dword [esp + 0x58]
jne 0x42bbd2
mov edi, dword [eax]
lea esi, [esp + 0x54]
call fcn.0040ce50
cmp dword [esp + 0x18], 0
jl 0x42bd1e
cmp ebx, edi
je 0x402184
jmp 0x42bd1e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push eax
push ecx
push 0
call fcn.0040f540
test eax, eax
jne 0x42bc69
cmp dword [esp + 0x30], eax
jne 0x42bcfd
lea eax, [esp + 0x6c]
call fcn.004020e0
lea eax, [esp + 0x3c]
call fcn.004020e0
lea eax, [esp + 0x78]
call fcn.004020e0
lea eax, [esp + 0x48]
call fcn.004020e0
lea eax, [esp + 0x54]
call fcn.004020e0
lea eax, [esp + 0x60]
call fcn.004020e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
lea edi, [ebx + 1]
jmp 0x4023ab
mov eax, dword [eax + 4]
jmp 0x4023a0
mov edi, dword [esp + 0x14]
inc edi
jmp 0x402327
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
jmp 0x40231c
sub eax, 0x12
cmp eax, 0x10
ja 0x42bd3f
movzx edx, byte [eax + 0x42b160]
jmp dword [edx*4 + 0x42b154]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
movsx edx, word [ecx + 0xa]
push edx
push 0x72
jmp 0x42bc5f
mov ecx, dword [edx + 4]
movsx edx, word [ecx + 0xa]
push edx
push 0x72
jmp 0x42bc5f
push 0x4a7f20
call fcn.0045f22e
lea eax, [esp + 0x6c]
call fcn.004020e0
lea eax, [esp + 0x3c]
call fcn.004020e0
lea eax, [esp + 0x78]
call fcn.004020e0
lea eax, [esp + 0x48]
call fcn.004020e0
lea eax, [esp + 0x54]
call fcn.004020e0
lea eax, [esp + 0x60]
call fcn.004020e0
mov eax, 1
jmp 0x40242e
push 0xffffffffffffffff
push 0x83
jmp 0x42bc5f
push 0xffffffffffffffff
push 0x75
jmp 0x42bc5f
push 0xffffffffffffffff
push 0x95
jmp 0x42bc5f
push 0xffffffffffffffff
push 0xa1
jmp 0x42bc5f
mov eax, dword [ebx + 4]
mov ecx, dword [eax + ecx*4]
movsx edx, word [ecx + 0xa]
push edx
push 0x9f
jmp 0x42bc5f