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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x54f89c
push eax
mov eax, 0x402c
mov dword fs:[0], esp
call fcn.00481c50
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push ebp
mov ecx, dword [eax + 0x24]
mov dword [esi + 0x4c], ecx
lea ecx, [esi + 0x7c]
call fcn.00436610
mov dword [esi + 0x30], ebp
mov eax, dword [esi + 0x70]
cmp eax, ebp
mov ebx, 0x555640
jle 0x420953
xor edi, edi
mov dword [esp + 0x14], eax
jmp 0x4206be
xor ebp, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x4044], ebp
mov ebx, dword [edi + edx + 0xf0]
cmp ebx, ebp
jle 0x420708
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi + eax + 0xec]
mov eax, dword [ecx + ebp*4]
lea ecx, [esp + 0x34]
push eax
push edx
call fcn.00404970
inc ebp
cmp ebp, ebx
jl 0x4206e7
xor ebp, ebp
mov dword [esp + 0x20], 0x555690
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov eax, dword [esi + 0x6c]
mov byte [esp + 0x4044], 1
add eax, edi
cmp dword [eax + 0x104], ebp
jle 0x420769
mov ecx, dword [eax + 0x100]
mov eax, dword [esp + 0x28]
fld dword [ecx + ebp*4]
lea ecx, [esp + 0x20]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.004358f0
mov ecx, dword [esi + 0x6c]
inc ebp
lea eax, [edi + ecx]
mov ecx, dword [edi + ecx + 0x104]
cmp ebp, ecx
jl 0x420737
mov edx, dword [esi + 0x6c]
lea eax, [edi + edx]
lea ecx, [eax + 0xe8]
add eax, 0xfc
push ecx
push eax
mov ecx, esi
call fcn.0041f0a0
mov edx, dword [esi + 0x6c]
xor ebp, ebp
mov ebx, dword [edi + edx + 0xf0]
test ebx, ebx
jle 0x4207d2
mov eax, dword [esi + 0x6c]
add eax, edi
mov ecx, dword [eax + 0xec]
mov edx, dword [eax + 0x100]
mov ecx, dword [ecx + ebp*4]
fld dword [edx + ebp*4]
push ecx
mov ecx, esi
fstp dword [esp + 0x14]
call fcn.0042bf90
fld dword [esp + 0x10]
lea ecx, [eax + eax*8]
inc ebp
cmp ebp, ebx
lea eax, [eax + ecx*2]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x58]
fstp dword [eax + edx*4 + 0xcc]
jl 0x420793
mov ecx, dword [esi + 0x6c]
xor eax, eax
add ecx, edi
mov edx, dword [ecx + 0x104]
test edx, edx
jle 0x420805
mov edx, dword [ecx + 0x100]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
mov edx, dword [esi + 0x6c]
inc eax
lea ecx, [edi + edx]
mov edx, dword [edi + edx + 0x104]
cmp eax, edx
jl 0x4207e3
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
call fcn.00404830
mov eax, dword [esi + 0x6c]
xor ebp, ebp
add eax, edi
mov ecx, dword [eax + 0x118]
test ecx, ecx
jle 0x420855
mov ecx, dword [eax + 0x114]
mov eax, dword [esp + 0x28]
fld dword [ecx + ebp*4]
lea ecx, [esp + 0x20]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.004358f0
mov ecx, dword [esi + 0x6c]
inc ebp
lea eax, [edi + ecx]
mov ecx, dword [edi + ecx + 0x118]
cmp ebp, ecx
jl 0x420823
mov eax, dword [esi + 0x6c]
lea edx, [esp + 0x34]
push edx
lea ecx, [edi + eax + 0x110]
push ecx
mov ecx, esi
call fcn.0041f0a0
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
test ebx, ebx
jle 0x4208c0
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + ebp*4]
mov edx, dword [edi + ecx + 0x114]
push eax
mov ecx, esi
fld dword [edx + ebp*4]
fstp dword [esp + 0x14]
call fcn.0042bf90
lea ecx, [eax + eax*8]
mov edx, dword [esi + 0x58]
fld dword [esp + 0x10]
lea eax, [eax + ecx*2]
lea eax, [eax + eax*2]
shl eax, 2
inc ebp
fstp dword [edx + eax + 0xd0]
mov ecx, dword [esi + 0x58]
cmp ebp, ebx
mov dword [ecx + eax + 0x3c], 1
jl 0x420876
mov edx, dword [esi + 0x6c]
xor eax, eax
lea ecx, [edi + edx]
mov edx, dword [edi + edx + 0x118]
test edx, edx
jle 0x4208f1
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x114]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x6c]
add ecx, edi
inc eax
cmp eax, dword [ecx + 0x118]
jl 0x4208d3
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0x555690
test eax, eax
je 0x42090a
push eax
call fcn.004812ac
add esp, 4
mov eax, dword [esp + 0x38]
mov ebp, 0x555668
mov ebx, 0x555640
mov dword [esp + 0x20], ebp
test eax, eax
mov dword [esp + 0x4044], 0xffffffff
mov dword [esp + 0x34], ebx
je 0x420938
push eax
call fcn.004812ac
add esp, 4
mov eax, dword [esp + 0x14]
add edi, 0x124
dec eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], eax
jne 0x4206bc
xor ebp, ebp
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jle 0x420b6b
xor edi, edi
mov ebp, dword [esi + 0x84]
mov dword [esp + 0x18], 0xffffffff
test ebp, ebp
mov dword [esp + 0x14], 0
jle 0x4209fc
mov edx, dword [esi + 0x58]
mov ecx, dword [esi + 0x80]
add edx, edi
add ecx, 0xd0
fld dword [ecx - 4]
fsub dword [edx + 0xcc]
xor ebx, ebx
fabs
fcomp dword [0x559408]
fnstsw ax
test ah, 0x41
jne 0x4209ae
mov ebx, 1
fld dword [ecx]
fsub dword [edx + 0xd0]
fabs
fcomp dword [0x559408]
fnstsw ax
test ah, 0x41
jne 0x4209ca
mov ebx, 1
mov eax, dword [edx + 0x40]
cmp dword [ecx + 0x18], eax
jne 0x4209de
test ebx, ebx
jne 0x4209de
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add ecx, 0x100
inc eax
cmp eax, ebp
mov dword [esp + 0x14], eax
jl 0x42098f
cmp dword [esp + 0x18], 0xffffffff
jne 0x420afa
lea ecx, [esp + 0xbc]
call fcn.0043d300
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x58]
inc eax
push 0xffffffffffffffff
mov dword [esp + 0xe0], eax
mov dword [ecx + edi + 0x20], eax
mov ebx, dword [esi + 0x30]
mov dword [esp + 0x4048], 2
inc ebx
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x84]
lea ebx, [esi + 0x7c]
mov dword [esp + 0x14], eax
inc eax
mov ecx, ebx
push eax
call fcn.00436610
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
lea edx, [esp + 0xbc]
shl ecx, 8
push edx
add ecx, eax
call fcn.0043d340
mov eax, dword [esi + 0x58]
push 0xffffffffffffffff
mov dword [eax + edi + 0x44], ebp
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x80]
fld dword [ecx + edi + 0xcc]
shl ebp, 8
mov eax, ebp
fstp dword [eax + edx + 0xcc]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x80]
fld dword [ecx + edi + 0xd0]
fstp dword [eax + edx + 0xd0]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x80]
mov ecx, dword [ecx + edi + 0x40]
mov dword [eax + edx + 0xe8], ecx
mov edx, dword [esi + 0x58]
mov ecx, dword [edx + edi + 0x18]
mov edx, dword [esi + 0x80]
mov dword [esp + 0x14], ecx
mov ebx, dword [eax + edx + 0xf4]
lea ebp, [eax + edx + 0xec]
mov ecx, ebp
lea eax, [ebx + 1]
push eax
call fcn.00404830
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4044], 0xffffffff
mov dword [ecx + ebx*4], edx
lea ecx, [esp + 0x1a8]
call fcn.004036b0
jmp 0x420b51
mov eax, dword [edx + 0x18]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x80]
shl ebp, 8
push 0xffffffffffffffff
lea ebx, [eax + ebp + 0xec]
mov ecx, ebx
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
inc eax
push eax
call fcn.00404830
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x58]
mov eax, dword [ecx + ebp + 0x20]
mov dword [edx + edi + 0x20], eax
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x18]
mov dword [ecx + edi + 0x44], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x5c]
inc eax
add edi, 0xe4
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x420964
mov ecx, 0x3e8
xor eax, eax
lea edi, [esp + 0x309c]
mov ebp, dword [esi + 0x5c]
rep stosd dword es:[edi], eax
mov ecx, 0x3e8
lea edi, [esp + 0x115c]
rep stosd dword es:[edi], eax
mov ecx, 0x3e8
lea edi, [esp + 0x1bc]
rep stosd dword es:[edi], eax
mov ecx, 0x3e8
lea edi, [esp + 0x20fc]
rep stosd dword es:[edi], eax
xor edi, edi
xor ebx, ebx
cmp ebp, edi
jle 0x420c62
mov ecx, dword [esi + 0x58]
add ecx, 0xa4
mov edx, dword [ecx - 0x60]
fld dword [esp + edx*4 + 0x20fc]
fld dword [ecx]
fcompp
fnstsw ax
test ah, 1
je 0x420bdb
fld dword [esp + edx*4 + 0x20fc]
jmp 0x420bdd
fld dword [ecx]
fstp dword [esp + edx*4 + 0x20fc]
fld dword [esp + edx*4 + 0x1bc]
fld dword [ecx + 4]
fcompp
fnstsw ax
test ah, 1
je 0x420c00
fld dword [esp + edx*4 + 0x1bc]
jmp 0x420c03
fld dword [ecx + 4]
fstp dword [esp + edx*4 + 0x1bc]
fld dword [esp + edx*4 + 0x115c]
fld dword [ecx + 8]
fcompp
fnstsw ax
test ah, 1
je 0x420c26
fld dword [esp + edx*4 + 0x115c]
jmp 0x420c29
fld dword [ecx + 8]
fstp dword [esp + edx*4 + 0x115c]
fld dword [esp + edx*4 + 0x309c]
fld dword [ecx + 0xc]
lea edx, [esp + edx*4 + 0x309c]
fcompp
fnstsw ax
test ah, 1
je 0x420c4e
fld dword [edx]
jmp 0x420c51
fld dword [ecx + 0xc]
inc ebx
add ecx, 0xe4
fstp dword [edx]
cmp ebx, ebp
jl 0x420bbd
xor ebx, ebx
cmp ebp, edi
jle 0x420cb7
xor eax, eax
mov ecx, dword [esi + 0x58]
inc ebx
lea edx, [ecx + eax]
add eax, 0xe4
mov ecx, dword [edx + 0x44]
mov ebp, dword [esp + ecx*4 + 0x20fc]
mov dword [edx + 0xd4], ebp
mov edx, dword [esi + 0x58]
mov ebp, dword [esp + ecx*4 + 0x1bc]
mov dword [edx + eax - 0xc], ebp
mov edx, dword [esi + 0x58]
mov ebp, dword [esp + ecx*4 + 0x115c]
mov ecx, dword [esp + ecx*4 + 0x309c]
mov dword [edx + eax - 8], ebp
mov edx, dword [esi + 0x58]
mov dword [edx + eax - 4], ecx
mov ecx, dword [esi + 0x5c]
cmp ebx, ecx
jl 0x420c6a
mov eax, dword [esi + 8]
xor ebx, ebx
cmp dword [eax + 0x4ed0], edi
jle 0x420ce6
xor ebp, ebp
lea eax, [eax + ebp + 0xb0]
push 0xffffffffffffffff
push edi
mov ecx, eax
call fcn.00404830
mov eax, dword [esi + 8]
inc ebx
add ebp, 0x14
cmp ebx, dword [eax + 0x4ed0]
jl 0x420cc6
mov edx, dword [esi + 8]
mov dword [edx + 0x4ed0], edi
mov eax, dword [esi + 0x5c]
cmp eax, edi
jle 0x420d50
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x58]
mov ecx, dword [esp + 0x14]
add eax, ecx
push 0xffffffffffffffff
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
lea eax, [ecx + ecx*4]
mov ecx, dword [esi + 8]
mov ebp, dword [ecx + eax*4 + 0xb8]
lea ebx, [ecx + eax*4 + 0xb0]
mov ecx, ebx
lea edx, [ebp + 1]
push edx
call fcn.00404830
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
inc edi
mov dword [eax + ebp*4], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x5c]
add ecx, 0xe4
cmp edi, eax
mov dword [esp + 0x14], ecx
jl 0x420cfa
xor edi, edi
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x84]
push 0xffffffffffffffff
push edi
mov dword [edx + 0x4ed0], eax
mov ecx, dword [esi + 0x14]
add ecx, 0x14
call fcn.00435be0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x1c], edi
mov edx, dword [eax + 0x4ed0]
mov dword [ecx + 0x680], edx
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x680], edi
jle 0x42109c
mov dword [esp + 0x18], 0xb4
lea ecx, [esp + 0x50]
call fcn.0043e4f0
mov ebx, dword [esi + 0x14]
push 0xffffffffffffffff
add ebx, 0x14
mov dword [esp + 0x4048], 3
mov ebp, dword [ebx + 8]
lea ecx, [ebp + 1]
push ecx
mov ecx, ebx
call fcn.00435be0
mov ecx, dword [ebx + 4]
lea eax, [ebp + ebp*2]
lea edx, [esp + 0x50]
lea eax, [eax + eax*8]
push edx
lea ecx, [ecx + eax*4]
call fcn.0043e530
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x14], 0
mov eax, dword [eax + edx + 4]
test eax, eax
mov dword [esp + 0x10], eax
jle 0x421048
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx]
mov ecx, esi
mov eax, dword [eax + ebx*4]
push eax
mov dword [esp + 0x4c], eax
call fcn.0042bf90
lea ecx, [eax + eax*8]
push 0xffffffffffffffff
fld dword [esp + 0x18]
lea eax, [eax + ecx*2]
mov ecx, dword [esi + 0x14]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x58]
fadd dword [eax + edx*4 + 0x78]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + edi + 0xc]
lea ebp, [edx + edi + 4]
fstp dword [esp + 0x18]
mov dword [esp + 0x50], eax
inc eax
push eax
mov ecx, ebp
call fcn.00404830
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
inc ebx
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x10]
cmp ebx, eax
jl 0x420dfc
test eax, eax
jle 0x421048
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax]
mov ecx, esi
mov eax, dword [edx]
push eax
call fcn.0042bf90
lea ecx, [eax + eax*8]
mov edx, dword [esi + 0x58]
lea eax, [eax + ecx*2]
lea ebx, [eax + eax*2]
shl ebx, 2
mov ecx, dword [ebx + edx + 0x80]
lea eax, [ebx + edx]
cmp ecx, 1
mov eax, dword [eax + 0x84]
jne 0x420f11
mov ecx, dword [esi + 0x14]
test eax, eax
mov edx, dword [ecx + 0x18]
mov dword [edx + edi + 0x1c], 2
jne 0x420ec8
mov eax, dword [esi + 0x14]
push 0x56d868
mov ecx, dword [eax + 0x18]
lea edx, [ecx + edi + 0x20]
push edx
jmp 0x420fa8
cmp eax, 1
jne 0x420ee2
mov eax, dword [esi + 0x14]
push 0x56d860
mov ecx, dword [eax + 0x18]
lea edx, [ecx + edi + 0x20]
push edx
jmp 0x420fa8
cmp eax, 2
jne 0x420efc
mov eax, dword [esi + 0x14]
push 0x56d854
mov ecx, dword [eax + 0x18]
lea edx, [ecx + edi + 0x20]
push edx
jmp 0x420fa8
mov eax, dword [esi + 0x14]
push 0x56d84c
mov ecx, dword [eax + 0x18]
lea edx, [ecx + edi + 0x20]
push edx
jmp 0x420fa8
test ecx, ecx
jne 0x420f8a
test eax, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x18]
jne 0x420f57
mov dword [ecx + edi + 0x1c], 0
mov edx, dword [esi + 0x58]
sub esp, 8
fld dword [ebx + edx + 0x14]
mov ecx, dword [ebx + edx + 0x1c]
lea eax, [ebx + edx]
mov eax, dword [esi + 0x14]
fstp qword [esp]
push ecx
mov ecx, dword [eax + 0x18]
push 0x56d838
lea edx, [ecx + edi + 0x20]
push edx
call dword [0x5550d8]
add esp, 0x14
jmp 0x420fb1
mov dword [ecx + edi + 0x1c], 1
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x14]
sub esp, 8
fld dword [ebx + edx + 0x8c]
mov ecx, dword [eax + 0x18]
fstp qword [esp]
lea edx, [ecx + edi + 0x20]
push 0x56d828
push edx
call dword [0x5550d8]
add esp, 0x10
jmp 0x420fb1
mov eax, dword [esi + 0x14]
push 0x56d84c
mov ecx, dword [eax + 0x18]
mov dword [ecx + edi + 0x1c], 3
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x18]
lea ecx, [eax + edi + 0x20]
push ecx
call dword [0x5550d8]
add esp, 8
mov edx, dword [esi + 0x14]
fld dword [esp + 0x14]
mov eax, dword [edx + 0x18]
fstp dword [eax + edi + 0x18]
mov ecx, dword [esi + 0x58]
mov eax, dword [esi + 0x14]
mov edx, dword [ebx + ecx + 0x44]
mov ecx, dword [eax + 0x18]
inc edx
mov dword [ecx + edi], edx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x58]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebx + edx + 0xcc]
mov dword [ecx + edi + 0x54], edx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x58]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebx + eax + 0xd0]
mov dword [edx + edi + 0x58], eax
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x58]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebx + ecx + 0xd4]
mov dword [eax + edi + 0x5c], ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x58]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebx + edx + 0xd8]
mov dword [ecx + edi + 0x60], edx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x58]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebx + eax + 0xdc]
mov dword [edx + edi + 0x64], eax
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x58]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebx + ecx + 0xe0]
mov dword [eax + edi + 0x68], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4044], 0xffffffff
test eax, eax
mov dword [esp + 0x54], 0x555640
je 0x42106c
push eax
call fcn.004812ac
add esp, 4
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
inc eax
mov ecx, dword [edx + 0x680]
add ebx, 0x14
add edi, 0x6c
cmp eax, ecx
mov dword [esp + 0x54], 0x555668
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
jl 0x420d9a
mov ecx, dword [esp + 0x403c]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret