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

Disassembly:
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 0x58]
cmp eax, 2
push edi
mov ecx, 0xffffff7d
jl 0x4592a7
mov eax, dword [esi + 4]
test eax, eax
je 0x4592a7
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
jle 0x4592a7
xor ebx, ebx
xor ebp, ebp
xor edi, edi
test eax, eax
jle 0x45929d
push edi
push esi
call fcn.00458e60
add esp, 8
add ebx, eax
mov eax, dword [esi + 0x34]
adc ebp, edx
inc edi
cmp edi, eax
jl 0x459287
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
jmp 0x4592b9
mov dword [esp + 0x1c], 0xffffffff
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ebx, ecx
cmp dword [esi + 0x58], 2
jl 0x45997a
mov eax, dword [esi + 4]
test eax, eax
jne 0x4592da
pop edi
pop esi
pop ebp
mov eax, 0xffffff76
pop ebx
add esp, 0x84
ret
mov edx, dword [esp + 0xa0]
test edx, edx
jl 0x45997a
mov eax, dword [esp + 0x9c]
jg 0x4592fa
test eax, eax
jb 0x45997a
cmp edx, ebp
jg 0x45997a
jl 0x45930c
cmp eax, ebx
ja 0x45997a
mov ecx, dword [esi + 0x34]
dec ecx
mov dword [esp + 0x30], ecx
js 0x45934e
mov edi, dword [esi + 0x44]
mov eax, ecx
shl eax, 4
lea eax, [edi + eax + 8]
mov edi, dword [eax]
sub ebx, edi
mov edi, dword [eax + 4]
sbb ebp, edi
cmp edx, ebp
jg 0x459342
jl 0x45933a
cmp dword [esp + 0x9c], ebx
jae 0x459342
dec ecx
sub eax, 0x10
test ecx, ecx
jge 0x459322
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov edx, dword [esi + 0x38]
mov ebx, dword [edx + ecx*8]
mov ebp, dword [edx + ecx*8 + 4]
lea eax, [edx + ecx*8]
mov edx, dword [eax + 8]
shl ecx, 4
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x44]
mov edi, dword [eax + ecx]
add eax, ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add edx, edi
adc eax, ecx
mov dword [esp + 0x50], eax
mov eax, edi
mov dword [esp + 0x44], edi
sub eax, dword [esp + 0x18]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
sbb ecx, edx
mov edx, dword [esp + 0xa0]
add eax, edi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
adc ecx, edx
cmp ebp, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
jg 0x459684
jl 0x4593e0
cmp ebx, dword [esp + 0x20]
jae 0x459684
jmp 0x4593e0
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub ecx, ebx
sbb eax, ebp
test eax, eax
jg 0x459406
jl 0x4593fe
cmp ecx, 0x2134
jae 0x459406
mov ebx, dword [esp + 0x28]
mov edi, ebp
jmp 0x459467
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
sub edx, edi
sbb ebx, dword [esp + 0x48]
push eax
push ecx
push ebx
push edx
call fcn.0045d160
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
sub ecx, edi
mov edi, dword [esp + 0x50]
sbb edi, ebx
push edi
push ecx
push edx
push eax
call fcn.0045cf00
mov ecx, dword [esp + 0x28]
mov ebx, eax
add ebx, ecx
mov edi, edx
adc edi, ebp
sub ebx, 0x2134
sbb edi, 0
cmp edi, ebp
jg 0x459467
jl 0x45945b
mov eax, ecx
cmp ebx, eax
ja 0x459467
mov ebx, dword [esp + 0x28]
add ebx, 1
mov edi, ebp
adc edi, 0
mov eax, dword [esi]
test eax, eax
je 0x459490
push 0
push edi
push ebx
push eax
call dword [esi + 0x2c4]
lea edx, [esi + 0x18]
push edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.004695e0
add esp, 0x14
lea ebx, [ebx]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x24]
sbb ecx, edx
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.00458060
add esp, 0xc
cmp eax, 0xffffff80
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jne 0x4594c9
mov eax, edx
cmp eax, 0xffffffff
je 0x45992e
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x45953a
jl 0x4594db
mov eax, dword [esp + 0x10]
test eax, eax
jae 0x45953a
mov ecx, dword [esp + 0x28]
add ecx, 1
mov eax, ebp
adc eax, 0
cmp edi, eax
jl 0x459684
jg 0x4594f9
cmp ebx, ecx
jbe 0x459684
mov edx, ebx
or edx, edi
je 0x45992e
add ebx, 0xffffdecc
adc edi, 0xffffffff
cmp edi, ebp
jg 0x45951c
jl 0x459518
cmp ebx, dword [esp + 0x28]
ja 0x45951c
mov ebx, ecx
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x459637
push 0
push edi
push ebx
push eax
call dword [esi + 0x2c4]
lea eax, [esi + 0x18]
push eax
jmp 0x459629
lea ecx, [esp + 0x64]
push ecx
call fcn.00468e10
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, 0xffffffff
je 0x459637
cmp edx, dword [esp + 0x38]
jg 0x4595ad
jl 0x459562
cmp eax, dword [esp + 0x34]
jae 0x4595ad
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
sbb eax, edx
test eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], edx
jg 0x45966a
jl 0x4595a6
cmp ecx, 0xac44
ja 0x45966a
mov edi, ebp
jmp 0x459637
mov ecx, dword [esp + 0x28]
add ecx, 1
mov dword [esp + 0x54], ecx
mov ecx, ebp
adc ecx, 0
cmp edi, ecx
mov dword [esp + 0x58], ecx
jl 0x459684
jg 0x4595d5
cmp ebx, dword [esp + 0x54]
jbe 0x459684
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esi + 8]
jne 0x459652
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 0xc]
jne 0x459652
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ebx, 0xffffdecc
adc edi, 0xffffffff
cmp edi, ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jg 0x459614
jl 0x45960c
cmp ebx, dword [esp + 0x28]
ja 0x459614
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov eax, dword [esi]
test eax, eax
je 0x459637
push 0
push edi
push ebx
push eax
call dword [esi + 0x2c4]
lea ecx, [esi + 0x18]
push ecx
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
call fcn.004695e0
add esp, 0x14
cmp ebp, dword [esp + 0x24]
jg 0x459684
jl 0x459490
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x28], edx
jae 0x459684
jmp 0x459490
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
cmp ebp, dword [esp + 0x24]
jl 0x4593e0
jg 0x459684
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x28], edx
jb 0x4593e0
lea eax, [esi + 0x1e0]
push eax
call fcn.0046a7a0
lea eax, [esi + 0x250]
push eax
call fcn.0046a390
fld qword [0x47ea40]
mov eax, dword [esi]
fstp qword [esi + 0x68]
fld qword [0x47ea40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
fstp qword [esi + 0x70]
add esp, 8
test eax, eax
mov dword [esi + 0x58], 2
je 0x4596e3
push 0
push ebp
push ebx
push eax
call dword [esi + 0x2c4]
lea eax, [esi + 0x18]
push eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
call fcn.004695e0
add esp, 0x14
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
push 0xffffffffffffffff
push ecx
call fcn.00458060
add esp, 0xc
test edx, edx
jg 0x45970e
jl 0x4596fe
test eax, eax
jae 0x45970e
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret
lea edx, [esp + 0x54]
push edx
call fcn.00468ea0
mov ecx, dword [esp + 0x34]
push eax
lea edi, [esi + 0x78]
push edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ecx
call fcn.00469600
lea edx, [esp + 0x60]
push edx
push edi
mov dword [esi + 0x58], 3
call fcn.004692d0
lea eax, [esp + 0x88]
push eax
push edi
call fcn.004697c0
cdq
mov ecx, eax
add esp, 0x1c
or ecx, edx
je 0x4597a0
test edx, edx
jl 0x459890
jg 0x459768
test eax, eax
jb 0x459890
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x45989d
push 0
push edi
call fcn.004697a0
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.004697c0
cdq
mov ecx, eax
add esp, 0x10
or ecx, edx
jne 0x459756
lea eax, [esi + 0x1e0]
push eax
call fcn.0046a7a0
lea eax, [esi + 0x250]
push eax
call fcn.0046a390
fld qword [0x47ea40]
mov eax, dword [esi]
fstp qword [esi + 0x68]
fld qword [0x47ea40]
add esp, 8
test eax, eax
fstp qword [esi + 0x70]
mov dword [esi + 0x58], 2
je 0x4597f7
push 0
push ebp
push ebx
push eax
call dword [esi + 0x2c4]
lea edx, [esi + 0x18]
push edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebp
call fcn.004695e0
add esp, 0x14
lea eax, [esp + 0x54]
push eax
mov eax, esi
call fcn.00458170
mov edi, edx
add esp, 4
test edi, edi
mov ebx, eax
mov dword [esp + 0x10], ebx
jl 0x45992e
jg 0x459820
test ebx, ebx
jb 0x45992e
lea ecx, [esp + 0x54]
push ecx
call fcn.00468e10
add esp, 4
cmp edx, 0xffffffff
jg 0x459876
jl 0x459839
cmp eax, 0xffffffff
ja 0x459876
lea edx, [esp + 0x54]
push edx
call fcn.00468df0
add esp, 4
test eax, eax
je 0x459876
lea eax, [esp + 0x54]
push eax
mov eax, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.00458170
mov edi, edx
add esp, 4
test edi, edi
mov ebx, eax
jg 0x459820
jl 0x45986d
test ebx, ebx
jae 0x459820
mov dword [esp + 0x10], ebx
jmp 0x45992e
push edi
push ebx
push esi
mov dword [esp + 0x1c], ebx
call fcn.00458f60
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov dword [esp + 0x10], 0xffffff78
jmp 0x459926
mov edx, dword [esi + 0x60]
mov edi, dword [esi + 0x44]
shl edx, 4
sub eax, dword [edx + edi]
sbb ecx, dword [edx + edi + 4]
mov dword [esi + 0x50], eax
xor eax, eax
cmp ecx, eax
mov dword [esi + 0x54], ecx
jg 0x4598c6
jl 0x4598c0
cmp dword [esi + 0x50], eax
jae 0x4598c6
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov edi, dword [esi + 0x50]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x1c]
add edi, eax
mov dword [esi + 0x50], edi
mov edi, dword [esp + 0xa0]
adc edx, ecx
cmp edx, edi
mov dword [esi + 0x54], edx
jg 0x45991e
jl 0x4598f7
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 0x9c]
ja 0x45991e
push 0xffffffffffffffff
push esi
call fcn.00458e60
add esp, 8
cmp edi, edx
jg 0x45991e
jl 0x459911
cmp dword [esp + 0x9c], eax
ja 0x45991e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
mov dword [esp + 0x10], 0xffffff7f
mov dword [esp + 0x14], 0xffffffff
or eax, 0xffffffff
lea ecx, [esi + 0x1e0]
push ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
call fcn.0046a7a0
lea edx, [esi + 0x250]
push edx
call fcn.0046a390
fld qword [0x47ea40]
mov eax, dword [esp + 0x18]
fstp qword [esi + 0x68]
fld qword [0x47ea40]
add esp, 8
pop edi
fstp qword [esi + 0x70]
mov dword [esi + 0x58], 2
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffff7d
pop ebx
add esp, 0x84
ret