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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45a027
sub esp, 0x74
mov eax, dword [esp + 0x78]
test byte [eax], al
lea ecx, [eax + 4]
mov dword [esp + 0x48], ecx
nop
mov dword [esp], ecx
call fcn.00409820
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0xc]
test cl, cl
jne 0x45a015
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x34], ecx
test ecx, ecx
seta dl
mov ebx, dword [eax + 0x50]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
mov edi, ebx
mov ebx, dword [eax + 0x8c]
mov ecx, dword [eax + 0x90]
and ebp, edx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x45a00a
mov edx, dword [esp + 0x34]
cmp ebx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, edi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebp
xchg esi, eax
mov byte [esp + 0x2a], al
xchg esi, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov ebp, dword [esp + 0x80]
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
setg cl
mov ebx, dword [esp + 0x7c]
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, esi
or ecx, ebp
test cl, cl
jne 0x459fad
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
cmp ebp, 0x72
jne 0x459f9c
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x50], ecx
cmp ebp, 0x77
jne 0x459f8b
mov dword [eax + 0x8c], ebx
mov dword [eax + 0x90], ecx
mov ecx, dword [eax + 0x4c]
test ecx, ecx
seta bl
mov ebp, dword [eax + 0x50]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
setg dl
and esi, ebx
or edx, esi
test dl, dl
je 0x459f84
cmp dword [eax + 0x8c], ecx
sete bl
cmp dword [eax + 0x90], ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x459f79
lea ebx, [0x627244]
xchg esi, eax
mov byte [esp + 0x2b], al
xchg esi, eax
lea esi, [eax + 0x30]
mov dword [esp + 0x50], esi
mov esi, dword [eax + 0x30]
test esi, esi
je 0x459eaf
cmp ebp, edi
setne dl
mov ebp, dword [esp + 0x34]
cmp ecx, ebp
setne cl
or ecx, edx
test cl, cl
je 0x459e98
inc dword [eax + 0x14]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
seta cl
mov edx, dword [eax + 0x50]
test edx, edx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
and edx, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x459e5f
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov ecx, dword [0x782ba0]
mov dword [esp + 0x54], ecx
lea ecx, [eax + 0x94]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x54]
lea ebp, [eax + 0x1c]
mov esi, dword [eax + 0x4c]
mov edi, dword [eax + 0x50]
mov eax, dword [eax + 0x14]
mov dword [esp], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.0044c080
mov ecx, dword [esp + 0x78]
lea edi, [ecx + 0x70]
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x459d60
mov eax, dword [esp + 0x2c]
cmp dword [ecx + 0x8c], eax
setne al
mov edx, dword [esp + 0x30]
cmp dword [ecx + 0x90], edx
setne dl
or edx, eax
test dl, dl
je 0x459d47
mov dword [esp + 0x50], edi
inc dword [ecx + 0x54]
mov eax, dword [ecx + 0x8c]
test eax, eax
seta al
mov edx, dword [ecx + 0x90]
test edx, edx
setg dl
sete bl
and ebx, eax
or ebx, edx
test bl, bl
je 0x459bb0
movzx eax, byte [esp + 0x2b]
test al, al
je 0x459cce
lea eax, [ecx + 0x5c]
mov dword [esp], eax
call fcn.0044ba70
mov eax, dword [0x7a0970]
test eax, eax
jne 0x459cba
mov eax, dword [esp + 0x78]
mov dword [eax + 0x70], 0
mov dword [esp + 0x40], 0
mov ecx, dword [eax + 0x50]
test ecx, ecx
jge 0x459ca5
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402160
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jl 0x459c83
xor ecx, ecx
mov edx, dword [eax + 0x90]
test edx, edx
jl 0x459c5c
mov dword [esp + 0x44], ecx
nop
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00409a30
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x459c4a
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x459c38
add esp, 0x74
ret
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042c1b0
jmp 0x459c34
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042c1b0
jmp 0x459c2c
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.0042c380
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x44]
jmp 0x459c12
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.0042c380
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
jmp 0x459c08
mov ecx, dword [eax + 0x90]
test ecx, ecx
jl 0x459be7
xor ecx, ecx
jmp 0x459c12
mov edi, dword [esp + 0x50]
xor eax, eax
call fcn.0045de10
mov eax, dword [esp + 0x78]
jmp 0x459bd4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [0x782ba0]
mov dword [esp + 0x6c], eax
lea eax, [ecx + 0x94]
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x6c]
lea ebx, [ecx + 0x5c]
mov ebp, dword [ecx + 0x8c]
mov esi, dword [ecx + 0x90]
mov edi, dword [ecx + 0x54]
mov dword [esp], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea ebx, [0x62724c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
call fcn.0044c080
mov eax, dword [esp + 0x78]
jmp 0x459bd4
movzx eax, byte [esp + 0x2a]
movzx edx, byte [esp + 0x2b]
cmp al, dl
jne 0x459b7b
mov eax, ecx
jmp 0x459bd4
mov edx, dword [ecx + 0x8c]
test edx, edx
seta dl
mov ebx, dword [ecx + 0x90]
test ebx, ebx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
and ebx, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x459d90
movzx edx, byte [esp + 0x2b]
test dl, dl
je 0x459d97
mov eax, ecx
jmp 0x459bd4
mov edx, dword [0x7a0970]
test edx, edx
jne 0x459e4f
lea edx, [0x62724c]
mov dword [ecx + 0x70], edx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov edx, dword [0x782ba0]
mov dword [esp + 0x5c], edx
lea eax, [ecx + 0x94]
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x74], edx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x459e45
mov dword [ecx + 0x78], eax
mov dword [esp + 0x4c], eax
mov ebx, dword [ecx + 0x54]
mov dword [esp + 0x3c], ebx
mov dword [ecx + 0x7c], ebx
lea ebp, [ecx + 0x5c]
mov esi, dword [ecx + 0x8c]
mov edi, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x68]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x70]
mov dword [esp], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.0044c080
mov ecx, dword [esp + 0x78]
jmp 0x459d90
lea edi, [ecx + 0x78]
call fcn.0045de10
jmp 0x459de6
lea eax, [0x62724c]
call fcn.0045de10
jmp 0x459dae
lea ecx, [eax + 0x1c]
mov dword [esp], ecx
call fcn.0044ba70
mov eax, dword [0x7a0970]
test eax, eax
jne 0x459e84
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x30], 0
jmp 0x459b45
mov edi, dword [esp + 0x50]
xor eax, eax
call fcn.0045de10
mov ecx, dword [esp + 0x78]
jmp 0x459b45
movzx ecx, byte [esp + 0x2a]
movzx edx, byte [esp + 0x2b]
cmp cl, dl
jne 0x459ab9
jmp 0x459b45
test dl, dl
je 0x459b45
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x459f65
mov dword [eax + 0x30], ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [0x782ba0]
mov dword [esp + 0x64], ecx
lea ecx, [eax + 0x94]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x34], edx
mov ebx, dword [0x7a0970]
test ebx, ebx
jne 0x459f55
mov dword [eax + 0x38], ecx
mov dword [esp + 0x4c], ecx
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [eax + 0x3c], ebx
lea ebp, [eax + 0x1c]
mov esi, dword [eax + 0x4c]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [esp], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.0044c080
jmp 0x459b45
lea edi, [eax + 0x38]
mov ebx, eax
mov eax, ecx
call fcn.0045de10
mov eax, ebx
jmp 0x459f00
mov edi, dword [esp + 0x50]
mov ecx, eax
mov eax, ebx
call fcn.0045de10
mov eax, ecx
jmp 0x459ec8
lea ebx, [0x627248]
jmp 0x459a89
xor esi, esi
jmp 0x459a79
cmp ebp, 0xe9
je 0x459a32
jmp 0x459a3e
cmp ebp, 0xe9
je 0x459a23
jmp 0x459a29
mov dword [esp + 0x38], edi
call fcn.0045eea0
mov eax, dword [esp]
mov ecx, dword [esp + 0x7c]
add ecx, eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x80]
adc edx, eax
test ecx, ecx
setbe al
test edx, edx
sete bl
xchg ebp, ebx
setl bl
xchg ebp, ebx
and eax, ebx
or ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45a006
mov eax, 0x7fffffff
mov ecx, 0xffffffff
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x78]
jmp 0x459a13
mov eax, edx
jmp 0x459ff1
mov edx, dword [esp + 0x34]
xor esi, esi
jmp 0x4599d2
nop
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00409a30
add esp, 0x74
ret
call fcn.0045c8b0
jmp fcn.00459940