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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4208b3
sub esp, 0x74
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jne 0x4200a3
mov edx, dword [ecx + 0x68]
test edx, edx
jne 0x4200a3
cmp dword [ecx], eax
jne 0x42089c
mov eax, dword [esp + 0x78]
test byte [eax], al
mov ecx, dword [0xc755a8]
mov dword [esp + 0x24], ecx
lea edx, [eax + 0x3b]
mov dword [esp + 0x58], edx
mov dword [esp], edx
call fcn.00401ff0
movzx eax, byte [esp + 4]
mov byte [esp + 0x1b], al
cmp al, 1
jne 0x4207ea
mov ecx, dword [esp + 0x24]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x78]
cmp dword [ebx + 0x30], edx
jne 0x4207ea
mov dword [esp + 0x40], edx
movzx eax, byte [0xc7b9a8]
test al, al
jne 0x420620
mov eax, dword [ebx + 0x10]
lea ecx, [0xc755f0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.00402110
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x78]
movzx edx, byte [ecx + 0x3a]
mov byte [esp + 0x16], dl
mov ebx, dword [ecx + 0x40]
mov dword [esp + 0x28], ebx
mov eax, dword [eax + 0xbc]
mov dword [esp + 0x4c], eax
lea ebp, [ecx + 0x4c]
mov esi, dword [ecx + 0x4c]
jmp 0x420153
mov eax, dword [esp + 0x4c]
mov ecx, edi
mov ebp, esi
mov esi, edx
movzx edx, byte [esp + 0x16]
test esi, esi
je 0x42025c
movzx edi, word [esi + 4]
test ebx, ebx
je 0x4207e5
mov dword [esp + 0x44], ebp
mov eax, edi
xor edx, edx
div ebx
mov edx, eax
imul eax, ebx
nop
nop
mov edi, edx
shr edx, 3
and edi, 7
mov ecx, edi
mov ebp, 1
shl ebp, cl
nop
mov edi, dword [esp + 0x78]
add edx, dword [edi + 0x2c]
mov ecx, edx
movzx edx, byte [edx]
xchg ebp, eax
test al, dl
xchg ebp, eax
je 0x4201a0
mov edx, dword [esi]
jmp 0x420144
add ebx, eax
mov eax, esi
jmp 0x4201ac
mov esi, dword [esi]
mov edi, dword [esp + 0x78]
test esi, esi
je 0x420255
movzx edi, word [esi + 4]
cmp edi, ebx
jae 0x42024e
cmp byte [esi + 6], 1
jne 0x4201a6
nop
or edx, ebp
mov byte [ecx], dl
mov ecx, 1
mov dword [esp + 0x30], ebx
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x44]
jmp 0x4201e8
mov esi, eax
mov eax, ebp
mov ebp, esi
test eax, eax
je 0x42023f
movzx esi, word [eax + 4]
cmp esi, ebx
jae 0x42023f
mov edi, dword [edx + 0xc]
add esi, edi
cmp byte [eax + 6], 1
je 0x420207
test cl, cl
je 0x420207
mov ebp, dword [eax]
jmp 0x4201e2
mov dword [esp + 0x54], ebp
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov dword [ebp], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004241a0
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
jmp 0x4201e2
mov ebx, dword [esp + 0x28]
mov edi, edx
mov edx, eax
mov esi, ebp
jmp 0x420144
xor ecx, ecx
jmp 0x4201d0
xor ecx, ecx
jmp 0x4201d0
mov ebp, dword [0xc83ee0]
test ebp, ebp
je 0x42060d
mov ebp, dword [ecx + 0x2c]
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x60], 1
mov dword [esp + 0x64], 0
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x68], ebp
mov byte [esp + 0x6c], 1
mov dword [esp + 0x70], 0
xor ebp, ebp
jmp 0x42029b
inc dword [esp + 0x70]
inc ebp
cmp dword [ecx + 0x1c], ebp
jbe 0x42039a
mov esi, dword [esp + 0x5c]
movzx edi, byte [esp + 0x60]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
je 0x420300
nop
movzx esi, byte [esp + 0x60]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x4202f6
inc dword [esp + 0x5c]
mov byte [esp + 0x60], 1
inc dword [esp + 0x64]
nop
movzx esi, byte [esp + 0x6c]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jne 0x4202ec
inc dword [esp + 0x68]
mov byte [esp + 0x6c], 1
jmp 0x420296
shl esi, 1
xchg esi, eax
mov byte [esp + 0x6c], al
xchg esi, eax
jmp 0x420296
shl esi, 1
xchg esi, eax
mov byte [esp + 0x60], al
xchg esi, eax
jmp 0x4202d0
mov esi, dword [ecx + 0x18]
cmp dword [esp + 0x70], esi
jae 0x42037b
mov dword [esp + 0x2c], ebp
mov esi, dword [ecx + 0x40]
imul esi, ebp
add esi, dword [ecx + 0xc]
mov edi, dword [0xc83ee0]
test edi, edi
jne 0x420350
mov edi, dword [0xc83ee8]
test edi, edi
je 0x4202ba
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00420a50
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x4202ba
mov dword [esp + 0x20], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.004298e0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movzx edx, byte [esp + 0x16]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
jmp 0x420320
mov esi, dword [esp + 0x68]
movzx edi, byte [esp + 0x6c]
movzx esi, byte [esi]
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
jne 0x420309
jmp 0x4202ba
mov dword [esp], ecx
call fcn.004125b0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x16]
mov edx, ecx
shr cl, 1
test cl, cl
jne 0x420602
test ax, ax
jne 0x420602
mov ebx, dword [esp + 0x78]
mov byte [ebx + 0x3c], 1
mov ebp, 1
movzx esi, word [ebx + 0x38]
mov edi, esi
sub esi, eax
mov word [esp + 0x1c], si
cmp ax, di
ja 0x4206fd
mov byte [esp + 0x1a], cl
xchg ebp, eax
mov byte [esp + 0x19], al
xchg ebp, eax
mov word [ebx + 0x38], ax
mov dword [esp], ebx
call fcn.004111c0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x38], edx
cmp edx, ecx
mov dword [eax + 0x18], 0
movzx ebx, byte [0xc7b9a8]
test bl, bl
je 0x420445
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x54]
movzx ebp, word [esp + 0x1c]
movzx esi, bp
imul esi, dword [eax + 0x40]
add dword [ebx + 0xb48], esi
mov ecx, dword [eax + 0x2c]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp], ecx
call fcn.00424380
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00411120
movzx eax, byte [esp + 0x19]
test al, al
jne 0x4205b9
movzx edx, word [esp + 0x1c]
test dx, dx
je 0x4205b9
test dx, dx
jbe 0x4205b5
movzx ebx, byte [esp + 0x1a]
test bl, bl
je 0x42054c
mov ebp, dword [esp + 0x4c]
test byte [ebp], al
movsx eax, bl
cmp eax, 0x43
jae 0x420641
movzx edx, dx
add dword [ebp + eax*4 + 0x24c], edx
movzx edx, byte [esp + 0x16]
movzx eax, dl
cmp eax, 0x86
jae 0x420637
shl eax, 6
lea ecx, [0xc758a0]
lea eax, [ecx + eax]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x7c]
mov byte [esp + 8], cl
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
sete cl
mov byte [esp + 9], cl
call fcn.00414340
movzx eax, byte [esp + 0xc]
test al, al
je 0x42051c
mov byte [esp + 0x80], al
add esp, 0x74
ret
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x24]
shr eax, 1
and eax, 1
lea eax, [eax + eax*4]
lea ecx, [0xc755c0]
lea eax, [ecx + eax*4]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00420a90
movzx eax, byte [esp + 0x17]
jmp 0x420511
test al, al
je 0x4205ae
mov eax, dword [0xc83eec]
test eax, eax
jle 0x420596
mov eax, dword [esp + 0x78]
mov dword [eax + 0x44], 0
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.00414a80
mov eax, dword [esp + 0x4c]
inc dword [eax + 0x248]
mov ecx, dword [esp + 0x28]
add dword [eax + 0x244], ecx
mov eax, 1
jmp 0x42050d
lea eax, [0xc75540]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00423300
jmp 0x420578
xor eax, eax
jmp 0x42050d
test al, al
jmp 0x42054e
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401ff0
movzx eax, byte [esp + 4]
mov byte [esp + 0x1b], al
cmp al, 1
jne 0x42064b
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
cmp dword [edx + 0x30], ecx
jne 0x42064b
lea eax, [edx + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004021b0
movzx eax, byte [esp + 0x19]
movzx edx, word [esp + 0x1c]
jmp 0x42048c
mov ebx, dword [esp + 0x78]
xor ebp, ebp
jmp 0x4203cd
mov ebp, dword [0xc83ee8]
test ebp, ebp
jne 0x42026a
jmp 0x42039a
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.0044e5c0
mov ebx, dword [esp + 0x78]
jmp 0x4200fb
mov ecx, 0x86
call fcn.00459e10
mov ecx, 0x43
call fcn.00459e10
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x40], eax
call fcn.004327b0
lea eax, [0x8459b6]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00433050
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
lea eax, [0x841279]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00433050
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
lea eax, [0x843b2c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00433050
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
call fcn.004329d0
call fcn.00432820
lea eax, [0x851736]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00430f30
mov dword [esp + 0x34], eax
mov word [esp + 0x1e], di
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
call fcn.004327b0
lea eax, [0x84428c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00433050
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
lea eax, [0x8406c9]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00433050
mov eax, dword [esp + 0x34]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
lea eax, [0x84676f]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00433050
movzx eax, word [esp + 0x1e]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
lea eax, [0x8406d9]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00433050
movzx eax, word [esp + 0x1c]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
call fcn.004329d0
call fcn.00432820
lea eax, [0x84da9f]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00430f30
call fcn.0042f660
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x40], eax
call fcn.004327b0
lea eax, [0x8459b6]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00433050
movzx eax, byte [esp + 0x1b]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
lea eax, [0x841279]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00433050
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
lea eax, [0x843b2c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00433050
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00432d60
call fcn.004329d0
call fcn.00432820
lea eax, [0x84a78b]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00430f30
lea eax, [0x84b156]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00430f30
nop
call fcn.00458550
jmp fcn.00420060