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

Disassembly:
push 0xffffffffffffffff
push 0x489768
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ac13c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
mov edi, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0
call fcn.00405400
mov esi, dword [esi + 0x10]
push eax
push esi
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x74], 0
call fcn.0041f4b0
mov ebp, eax
mov eax, dword [esp + 0x3c]
add esp, 0x18
test eax, eax
mov dword [esp + 0x5c], 0xffffffff
je 0x421fa4
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00476608
mov eax, dword [edi + 4]
test eax, eax
jbe 0x421f82
cmp eax, 0xffffffff
jae 0x421f82
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.00476629
test esi, esi
je 0x421fa4
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [esp + 0x30], 0x2d
jne 0x421fb5
lea ecx, [esp + 0x31]
mov dword [esp + 0x10], ecx
jmp 0x421fbd
lea edx, [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebp
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00476bd3
mov ebp, dword [esp + 0x7c]
add esp, 0x10
cmp byte [esp + 0x70], 0
mov edi, eax
jne 0x422019
test ebp, ebp
je 0x422012
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
je 0x421ffd
mov ecx, dword [ebp + 0x30]
cmp dword [ecx], 0
jle 0x421ffd
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x422007
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
cmp eax, 0xffffffff
je 0x422012
mov byte [esp + 0x71], al
jmp 0x422014
xor ebp, ebp
mov byte [esp + 0x70], 1
cmp byte [esp + 0x7c], 0
mov esi, dword [esp + 0x78]
jne 0x42204f
test esi, esi
je 0x42204d
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x42203f
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x42203f
mov edx, dword [eax]
movzx eax, byte [edx]
jmp 0x422048
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
cmp eax, 0xffffffff
jne 0x42204f
xor esi, esi
test ebp, ebp
jne 0x422084
test esi, esi
je 0x422088
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x2c], ecx
je 0x422091
cmp dword [esp + 0x18], 0
jne 0x422091
cmp edi, 0xffffffff
ja 0x422091
cmp byte [esp + 0x30], 0x2d
jne 0x42207a
neg edi
mov edx, dword [esp + 0x20]
mov eax, edi
mov dword [edx], eax
jmp 0x422094
test esi, esi
je 0x422057
mov eax, dword [esp + 0x14]
or dword [eax], 1
jmp 0x42205b
or dword [eax], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0045b7a6
add esp, 0x50
ret 0x28