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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x421339
sub esp, 0x7c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jne 0x42092f
mov edx, dword [ecx + 0x68]
test edx, edx
jne 0x42092f
cmp dword [ecx], eax
jne 0x421322
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
movzx edx, byte [esp + 0x84]
test dl, dl
jne 0x42094a
mov dword [eax], 0
mov dword [esp + 0x2c], ecx
test byte [ecx], al
mov eax, dword [0x5841d0]
mov dword [esp + 0x24], eax
lea edx, [ecx + 0x3b]
mov dword [esp + 0x58], edx
mov dword [esp], edx
call fcn.00401bc0
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x421319
mov ecx, dword [esp + 0x24]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x2c]
cmp dword [ebx + 0x30], edx
jne 0x42126b
mov dword [esp + 0x50], edx
movzx eax, byte [0x588788]
test al, al
je 0x4209b0
mov eax, dword [ebx + 0x10]
shl eax, 0xd
mov dword [esp], eax
call fcn.0044e560
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x10]
lea ecx, [0x5841e8]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call fcn.00401d80
mov eax, dword [esp + 0x2c]
movzx ecx, byte [eax + 0x3a]
mov byte [esp + 0x14], cl
mov edx, dword [eax + 0x40]
mov dword [esp + 0x28], edx
mov ebx, dword [eax + 0x4c]
mov dword [esp + 0x1c], ebx
lea ebp, [eax + 0x4c]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebx
jmp 0x420a03
mov edx, dword [esp + 0x28]
mov eax, edi
movzx ecx, byte [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
test ebp, ebp
je 0x420ad7
movzx esi, word [ebp + 4]
test edx, edx
je 0x421266
mov edi, eax
mov eax, esi
mov ebx, edx
xor edx, edx
div ebx
mov dword [esp + 0x34], eax
mov edx, eax
imul eax, ebx
mov esi, dword [edi + 0xc]
add esi, eax
mov dword [esp + 0x30], esi
nop
nop
shr edx, 3
mov esi, dword [esp + 0x34]
and esi, 7
mov ecx, esi
mov ebx, 1
shl ebx, cl
nop
add edx, dword [edi + 0x2c]
movzx esi, byte [edx]
xchg esi, eax
test al, bl
xchg esi, eax
je 0x420aa0
cmp byte [ebp + 6], 3
je 0x420a6d
nop
mov dword [esp + 0x5c], ebp
mov edx, dword [ebp]
mov dword [esp + 0x60], edx
jmp 0x4209f4
nop
mov eax, dword [ebp]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov byte [ebp + 9], 1
mov eax, dword [esp + 0x30]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00424d10
mov edi, dword [esp + 0x2c]
jmp 0x4209f4
mov ecx, edi
mov edi, dword [esp + 0x28]
add edi, eax
jmp 0x4211e1
nop
or esi, ebx
xchg esi, ebx
mov byte [eax], bl
xchg esi, ebx
mov eax, 1
jmp 0x420ac3
xor eax, eax
jmp 0x420ac3
xor eax, eax
mov dword [esp + 0x44], edi
mov byte [esp + 0x15], al
jmp 0x421202
mov edi, ecx
jmp 0x4209f4
test ebx, ebx
je 0x420af7
mov ebx, dword [eax + 0x4c]
test ebx, ebx
jne 0x420af7
mov dword [esp], eax
call fcn.004246b0
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, dword [0x5a4444]
test ebx, ebx
jne 0x420b0b
mov ebx, dword [0x5a4404]
test ebx, ebx
je 0x420b3a
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov ebx, dword [eax + 0x28]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x74], 1
mov dword [esp + 0x78], 0
xor ebx, ebx
jmp 0x4210f5
mov ebx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ebx
jbe 0x420b9c
mov ebp, dword [eax + 0x2c]
mov esi, ebx
shr ebx, 3
movzx ebp, byte [ebx + ebp]
mov edi, dword [eax + 0x28]
movzx edi, byte [ebx + edi]
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
and esi, 7
mov ebp, ecx
mov ecx, esi
xchg edi, eax
shr al, cl
xchg edi, eax
mov esi, 0xffffffff
xchg edi, eax
xchg esi, ebx
test bl, al
xchg esi, ebx
xchg edi, eax
je 0x420b94
mov dword [esp + 0x38], ebx
mov dword [esp], eax
call fcn.00421350
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
movzx ebp, byte [esp + 0x14]
lea ecx, [ebx + 1]
jmp 0x4210a6
mov dword [esp], eax
call fcn.0040ff40
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x2c]
movzx edx, word [ecx + 0x38]
mov ebx, edx
sub edx, eax
mov word [esp + 0x18], dx
cmp ax, bx
ja 0x420fc1
mov word [ecx + 0x38], ax
mov dword [ecx + 0x18], 0
movzx ebx, byte [0x588788]
test bl, bl
je 0x420bfc
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x54]
movzx ebp, dx
imul ebp, dword [ecx + 0x40]
add dword [ebx + 0x918], ebp
mov eax, dword [ecx + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp], eax
call fcn.00424ee0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040ed60
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00401bc0
movzx eax, byte [esp + 4]
mov byte [esp + 0x17], al
cmp al, 1
jne 0x420fb8
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x30]
mov ebx, dword [esp + 0x50]
cmp edx, ebx
jne 0x420f0a
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
cmp edx, ebx
je 0x420ef4
lea ebx, [eax + 3]
cmp edx, ebx
je 0x420ef4
lea edx, [ecx + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00401e10
movzx eax, byte [esp + 0x14]
mov ecx, eax
shr al, 1
test al, al
je 0x420dc9
movzx edx, word [esp + 0x18]
test dx, dx
ja 0x420ca9
movzx edx, byte [esp + 0x84]
test dl, dl
jmp 0x420d12
mov byte [esp + 0x16], al
mov eax, dword [esp + 0x2c]
mov byte [eax + 0x3c], 1
lea ecx, [0x5a7070]
mov dword [esp], ecx
call fcn.0042bf00
mov eax, dword [esp + 4]
test byte [eax], al
movzx ecx, byte [esp + 0x16]
movsx ecx, cl
cmp ecx, 0x44
jae 0x420ee8
lea eax, [eax + ecx*4 + 0x154]
mov dword [esp], eax
movzx eax, word [esp + 0x18]
movzx eax, ax
mov dword [esp + 4], eax
call fcn.00401cd0
lea eax, [0x5a7070]
mov dword [esp], eax
call fcn.0042c000
movzx eax, byte [esp + 0x84]
test al, al
movzx ecx, byte [esp + 0x14]
jne 0x420ebe
mov edx, dword [esp + 0x4c]
test dx, dx
je 0x420da7
movzx edx, dx
mov ebx, dword [esp + 0x2c]
cmp dword [ebx + 0x1c], edx
jne 0x420d6c
movzx eax, cl
cmp eax, 0x88
jae 0x420ede
shl eax, 7
lea ecx, [0x584274]
lea eax, [eax + ecx + 0x34]
mov ecx, dword [esp + 0x24]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0042b6e0
jmp 0x420ebe
movzx eax, cl
cmp eax, 0x88
jae 0x420ed4
shl eax, 7
lea ecx, [0x584274]
lea eax, [ecx + eax + 4]
mov ecx, dword [esp + 0x24]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0042b6e0
jmp 0x420ebe
lea eax, [0x584140]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00423dd0
mov byte [esp + 0x88], 1
add esp, 0x7c
ret
movzx edx, byte [esp + 0x84]
test dl, dl
jne 0x420ebe
movzx edx, word [esp + 0x18]
test dx, dx
je 0x420e88
mov eax, dword [0x5a4408]
test eax, eax
jle 0x420e11
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x44], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00412d80
jmp 0x420e27
lea eax, [0x584140]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00423dd0
lea eax, [0x5a7070]
mov dword [esp], eax
call fcn.0042bf00
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
test byte [eax], al
lea ecx, [eax + 0x150]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00401cd0
mov eax, dword [esp + 0x54]
add eax, 0x14c
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00401cd0
lea eax, [0x5a7070]
mov dword [esp], eax
call fcn.0042c000
mov byte [esp + 0x88], 1
add esp, 0x7c
ret
movzx eax, cl
cmp eax, 0x88
jae 0x420eca
shl eax, 7
lea ecx, [0x584274]
lea eax, [eax + ecx + 0x34]
mov ecx, dword [esp + 0x24]
shr ecx, 1
and ecx, 1
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0042b6e0
mov byte [esp + 0x88], 0
add esp, 0x7c
ret
mov ecx, 0x88
call fcn.00459250
mov ecx, 0x88
call fcn.00459250
mov ecx, 0x88
call fcn.00459250
mov eax, ecx
mov ecx, 0x44
call fcn.00459250
lea eax, [0x4a08bb]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004322c0
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x50], eax
call fcn.004338f0
lea eax, [0x4a10ef]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004341d0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
call fcn.00433e70
lea eax, [0x49ee1b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004341d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00433e70
lea eax, [0x4a0179]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004341d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00433e70
call fcn.00433b10
call fcn.00433960
lea eax, [0x4a5a7d]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.004322c0
mov ecx, dword [esp + 0x2c]
jmp 0x420f0a
mov word [esp + 0x1a], bx
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x48], eax
call fcn.004338f0
lea eax, [0x4a0519]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004341d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00433e70
lea eax, [0x49e904]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004341d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x4c]
movzx eax, ax
mov dword [esp], eax
call fcn.00433e70
lea eax, [0x4a1753]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.004341d0
mov dword [esp + 4], 0
movzx eax, word [esp + 0x1a]
movzx eax, ax
mov dword [esp], eax
call fcn.00433e70
lea eax, [0x49e914]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004341d0
mov dword [esp + 4], 0
movzx eax, word [esp + 0x18]
movzx eax, ax
mov dword [esp], eax
call fcn.00433e70
call fcn.00433b10
call fcn.00433960
lea eax, [0x4a4904]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.004322c0
inc ecx
mov ebx, dword [eax + 0x1c]
add ebx, 7
shr ebx, 3
cmp ecx, ebx
jae 0x420b9c
mov ebx, dword [eax + 0x2c]
movzx ebx, byte [ecx + ebx]
mov esi, dword [eax + 0x28]
movzx esi, byte [ecx + esi]
xchg esi, ebx
not ebx
xchg esi, ebx
xchg esi, eax
test bl, al
xchg esi, eax
je 0x4210a5
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.00421350
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
movzx ebp, byte [esp + 0x14]
jmp 0x4210a5
inc dword [esp + 0x78]
inc ebx
cmp dword [eax + 0x1c], ebx
jbe 0x420b3a
mov ebp, dword [esp + 0x64]
movzx esi, byte [esp + 0x68]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
jne 0x42117f
mov ebp, dword [esp + 0x78]
cmp dword [eax + 0x18], ebp
ja 0x421135
mov ebp, dword [esp + 0x70]
movzx esi, byte [esp + 0x74]
movzx ebp, byte [ebp]
xchg esi, eax
xchg ebp, ebx
test bl, al
xchg ebp, ebx
xchg esi, eax
je 0x42117f
mov ebp, dword [eax + 0x40]
imul ebp, ebx
add ebp, dword [eax + 0xc]
mov esi, dword [0x5a4444]
test esi, esi
je 0x421171
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0042aa30
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov esi, dword [0x5a4404]
test esi, esi
je 0x42117f
xor esi, esi
jmp 0x4211d6
nop
movzx ebp, byte [esp + 0x68]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x421197
inc dword [esp + 0x64]
mov byte [esp + 0x68], 1
jmp 0x42119f
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x68], al
xchg ebp, eax
inc dword [esp + 0x6c]
nop
movzx ebp, byte [esp + 0x74]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jne 0x4211be
inc dword [esp + 0x70]
mov byte [esp + 0x74], 1
jmp 0x4210f0
shl ebp, 1
xchg ebp, eax
mov byte [esp + 0x74], al
xchg ebp, eax
jmp 0x4210f0
mov dword [ebp + esi], 0xdeadbeef
add esi, 4
cmp esi, edx
jb 0x4211cb
jmp 0x42117f
mov ebp, dword [ebp]
mov edx, eax
test ebp, ebp
je 0x420ac1
mov eax, edx
movzx edx, word [ebp + 4]
cmp edx, edi
jae 0x420abd
cmp byte [ebp + 6], 1
jne 0x4211dc
jmp 0x420aad
mov edx, dword [esp + 0x60]
test edx, edx
je 0x420ad0
movzx ebx, word [edx + 4]
cmp ebx, edi
jae 0x420ad0
mov ebp, dword [ecx + 0xc]
add ebx, ebp
cmp byte [edx + 6], 1
je 0x421236
test al, al
je 0x421236
nop
mov dword [esp + 0x5c], edx
mov edx, dword [edx]
mov dword [esp + 0x60], edx
jmp 0x421202
nop
mov eax, dword [edx]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00424d10
movzx eax, byte [esp + 0x15]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
jmp 0x421202
call fcn.00430a90
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x50], eax
call fcn.004338f0
lea eax, [0x4a10ef]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004341d0
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x17]
movzx eax, al
mov dword [esp], eax
call fcn.00433e70
lea eax, [0x49ee1b]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004341d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00433e70
lea eax, [0x4a0179]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004341d0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00433e70
call fcn.00433b10
call fcn.00433960
lea eax, [0x4a34e8]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004322c0
mov ebx, dword [esp + 0x2c]
jmp 0x42126b
lea eax, [0x4a3952]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004322c0
nop
call fcn.00457dc0
jmp fcn.004208f0