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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420c54
sub esp, 0x64
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0044b310
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0x4057c000
mov dword [esp + 8], 0
call fcn.00449be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044b3f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
nop
lea edx, [0x5a04f0]
mov dword [esp], edx
call fcn.004021c0
mov eax, dword [esp + 0x18]
cmp dword [esp + 4], eax
setbe cl
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
cmp edx, ebx
sete dl
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ecx, edx
or ecx, ebp
test cl, cl
je 0x4209cb
lea eax, [0x59fc98]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.004021e0
jmp 0x4209e2
nop
lea ecx, [0x59fc98]
mov dword [esp], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call fcn.004021e0
mov eax, dword [esp + 0x7c]
test eax, eax
sete cl
mov edx, dword [esp + 0x78]
test edx, edx
sete bl
and ecx, ebx
test cl, cl
jne 0x420c31
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0044b4d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x78]
mov dword [esp], edx
call fcn.0044b4d0
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.0044a060
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [0x5a3368]
mov ebx, dword [0x5a336c]
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.0044b4d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
call fcn.00449be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044b3f0
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, 0xcccccccd
mul ecx
shr edx, 3
mov dword [esp + 0x60], edx
mov eax, edx
add edx, 0
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x2c], ebx
mov ebp, eax
mov eax, ebx
mov esi, edx
mul ecx
shr edx, 3
mov dword [esp + 0x58], edx
lea eax, [edx + edx*4]
shl eax, 1
sub ebx, eax
mov eax, ebx
mov edi, 0x19999999
mul edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
add esi, eax
mov dword [esp + 0x4c], esi
lea edx, [ebp + ebp*4]
shl edx, 1
mov eax, dword [esp + 0x28]
sub eax, edx
lea edx, [ebx + ebx*2]
lea eax, [eax + edx*2]
mul ecx
shr edx, 3
mov dword [esp + 0x48], edx
add edx, esi
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x28]
add ecx, edx
mov dword [esp + 0x40], ecx
mov edx, dword [0x59fb60]
mov dword [esp + 0x3c], edx
add edx, ecx
mov dword [esp + 0x38], edx
add edx, 0xffffffff
mov dword [esp + 0x34], edx
xor edx, edx
mov ecx, dword [esp + 0x3c]
sub edx, ecx
mov dword [esp + 0x30], edx
call fcn.00420890
mov eax, dword [esp + 0x60]
add eax, 0
mov eax, dword [esp + 0x58]
adc eax, 0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
add ecx, edx
mov ecx, dword [esp + 0x54]
adc ecx, eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
add eax, edx
adc ecx, 0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
add eax, edx
mov eax, dword [esp + 0x2c]
adc ecx, eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add edx, eax
adc ecx, 0
mov edx, dword [esp + 0x38]
add edx, 0xffffffff
adc ecx, 0xffffffff
xor edx, edx
sub edx, eax
mov eax, 0
sbb eax, 0
and eax, ecx
mov ecx, dword [esp + 4]
cmp ecx, eax
setb dl
sete bl
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
and ebp, esi
mov esi, dword [esp]
cmp esi, ebp
xchg edi, ebx
setbe bl
xchg edi, ebx
and edi, ebx
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x420bf5
sub esi, ebp
sbb ecx, eax
test ecx, ecx
sete cl
cmp dword [0x59fb60], esi
seta dl
and edx, ecx
test dl, dl
je 0x420c16
nop
lea eax, [0x59fc90]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.004021e0
jmp 0x420c2d
nop
lea ecx, [0x59fc90]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
call fcn.004021e0
add esp, 0x64
ret
nop
lea eax, [0x59fc90]
mov dword [esp], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0xffffffff
call fcn.004021e0
add esp, 0x64
ret
call fcn.0045f7f0
jmp fcn.00420900