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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x459e35
sub esp, 0x70
mov edx, dword [esp + 0x78]
test edx, edx
je 0x459d57
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx - 2]
cmp ebp, 0x22
ja 0x459b7c
mov eax, edx
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x80]
test ebp, ebp
jne 0x459b1b
mov ebp, 0x20
mov dword [esp + 0x38], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ebx
cmp ebx, 0xa
jne 0x459ab8
mov esi, 0x9999999a
mov edi, 0x19999999
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov ecx, ebp
mov esi, 1
shl esi, cl
cmp ecx, 0x20
sbb edi, edi
and edi, esi
mov esi, edi
add edi, 0xffffffff
mov dword [esp + 0x24], edi
add ecx, 0xffffffe0
mov ebp, ecx
neg ecx
mov edi, 1
shr edi, cl
cmp ecx, 0x20
sbb ebx, ebx
and edi, ebx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
cmp ecx, 0x20
sbb ebp, ebp
and ebp, ebx
or edi, ebp
add esi, 0xffffffff
adc edi, 0xffffffff
mov dword [esp + 0x34], edi
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
jmp 0x459613
mov esi, dword [esp + 0x30]
inc esi
mov edi, dword [esp + 0x24]
mov ebx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jge 0x459a88
mov edx, dword [esp + 0x6c]
movzx edx, byte [edx + ebx]
lea ebx, [edx - 0x30]
cmp bl, 9
ja 0x45998a
cmp bl, cl
jae 0x4598ac
mov byte [esp + 0x1b], bl
mov edx, dword [esp + 0x20]
cmp edx, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
mov ebx, dword [esp + 0x1c]
cmp ebx, esi
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, edi
cmp edx, ebp
xchg edi, ebx
seta bl
xchg edi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4597ce
mov eax, ecx
mov edi, edx
mul ebx
mov dword [esp + 0x1c], eax
movzx esi, byte [esp + 0x1b]
xchg esi, eax
movzx eax, al
xchg esi, eax
add eax, esi
sar ecx, 0x1f
imul ebx, ecx
mov ecx, dword [esp + 0x7c]
imul edi, ecx
add edx, edi
add edx, ebx
mov ebx, dword [esp + 0x1c]
add esi, ebx
mov esi, edx
adc edx, 0
cmp eax, ebx
setb bl
cmp edx, esi
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ebx
cmp edx, esi
setb bl
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4596f0
mov ebx, dword [esp + 0x34]
cmp edx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, dword [esp + 0x24]
cmp eax, edi
xchg edi, ebx
seta bl
xchg edi, ebx
and esi, edi
cmp edx, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x4595ec
lea eax, [0x50cb60]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov dword [eax + 4], 9
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x4597b3
lea ecx, [0x5208f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 8]
test ecx, ecx
jne 0x45979d
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c2e14]
mov edx, dword [0x5c2e10]
mov dword [eax + 0x10], edx
mov edx, dword [0x5d3b70]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x45978b
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x64]
jmp 0x45975d
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x64]
jmp 0x45973e
mov dword [esp], eax
lea ecx, [0x5208f8]
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x64]
jmp 0x459723
lea eax, [0x50cb60]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 9
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x459891
lea ecx, [0x5208f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 8]
test ecx, ecx
jne 0x45987b
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c2e14]
mov edx, dword [0x5c2e10]
mov dword [eax + 0x10], edx
mov edx, dword [0x5d3b70]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x459869
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x54]
jmp 0x45983b
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x54]
jmp 0x45981c
mov dword [esp], eax
lea ecx, [0x5208f8]
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x54]
jmp 0x459801
lea eax, [0x50cb60]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 9
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x45996f
lea ecx, [0x5208f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 8]
test ecx, ecx
jne 0x459959
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c2e1c]
mov edx, dword [0x5c2e18]
mov dword [eax + 0x10], edx
mov edx, dword [0x5d3b70]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x459947
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x58]
jmp 0x459919
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x58]
jmp 0x4598fa
mov dword [esp], eax
lea ecx, [0x5208f8]
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x58]
jmp 0x4598df
lea ebx, [edx - 0x61]
cmp bl, 0x19
ja 0x45999a
lea ebx, [edx - 0x57]
jmp 0x459633
lea ebx, [edx - 0x41]
cmp bl, 0x19
ja 0x4599aa
lea ebx, [edx - 0x37]
jmp 0x459633
lea eax, [0x50cb60]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov dword [eax + 4], 9
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x459a6d
lea ecx, [0x5208f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 8]
test ecx, ecx
jne 0x459a57
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c2e1c]
mov edx, dword [0x5c2e18]
mov dword [eax + 0x10], edx
mov edx, dword [0x5d3b70]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x459a45
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x60]
jmp 0x459a17
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x60]
jmp 0x4599f8
mov dword [esp], eax
lea ecx, [0x5208f8]
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x60]
jmp 0x4599dd
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x70
ret
cmp ebx, 0x10
jne 0x459ac9
xor esi, esi
mov edi, 0x10000000
jmp 0x45955e
mov dword [esp + 0x80], ebp
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], ebx
sar ebx, 0x1f
mov dword [esp + 0xc], ebx
call fcn.00445540
mov eax, dword [esp + 0x10]
add eax, 1
mov edi, dword [esp + 0x14]
adc edi, 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov esi, eax
mov eax, dword [esp + 0x78]
jmp 0x45955e
cmp ebp, 0x40
jbe 0x45953f
lea ecx, [0x5208f8]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.00459380
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
test ebx, ebx
jne 0x459cff
mov ebx, dword [esp + 0x74]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jne 0x459cc8
cmp edx, 1
jle 0x459cf8
movzx esi, byte [ebx + 1]
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x459cb8
cmp edx, 3
jl 0x459bda
lea ebp, [edx - 2]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 2
add ebp, ebx
mov eax, 0x10
mov ebx, eax
mov edx, esi
mov ecx, ebp
mov eax, dword [esp + 0x78]
jmp 0x45952b
lea eax, [0x50cb60]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [eax + 4], 9
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x459c9d
lea ecx, [0x5208f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 8]
test ecx, ecx
jne 0x459c87
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c2e1c]
mov edx, dword [0x5c2e18]
mov dword [eax + 0x10], edx
mov edx, dword [0x5d3b70]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x459c75
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x5c]
jmp 0x459c47
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x5c]
jmp 0x459c28
mov dword [esp], eax
lea ecx, [0x5208f8]
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x5c]
jmp 0x459c0d
xchg esi, eax
cmp al, 0x58
xchg esi, eax
je 0x459bae
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jne 0x459cea
lea esi, [edx - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
lea ebp, [ebx + esi]
mov eax, 8
mov esi, edi
jmp 0x459bcb
mov eax, 0xa
mov ebp, ebx
mov esi, edx
jmp 0x459bcb
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jmp 0x459cc8
lea eax, [0x5208f8]
mov dword [esp], eax
mov dword [esp + 4], 9
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00459210
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
lea eax, [0x50cb60]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov dword [eax + 4], 9
mov ecx, dword [0x5d3b70]
test ecx, ecx
jne 0x459e1a
lea ecx, [0x5208f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5d3b70]
lea edx, [eax + 8]
test ecx, ecx
jne 0x459e04
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x5c2e1c]
mov edx, dword [0x5c2e18]
mov dword [eax + 0x10], edx
mov edx, dword [0x5d3b70]
lea ebx, [eax + 0x14]
test edx, edx
jne 0x459df2
mov dword [eax + 0x14], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x53b5a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x70
ret
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x68]
jmp 0x459dc4
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x68]
jmp 0x459da5
mov dword [esp], eax
lea ecx, [0x5208f8]
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x68]
jmp 0x459d8a
call fcn.004486e0
jmp fcn.004594f0