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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47e742
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x5c
push edi
xor edi, edi
cmp eax, edi
je 0x458ddb
cmp dword [esp + 0x74], edi
je 0x458ddb
push ebx
push ebp
push esi
lea ecx, [esp + 0x7c]
push ecx
push eax
mov dword [esp + 0x84], edi
call fcn.0044b662
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x94]
lea eax, [esi + 0x36]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], edi
call dword [0x4819d0]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 1
call dword [0x4819b4]
lea ecx, [esp + 0x24]
call dword [0x4819d8]
lea edx, [esp + 0x38]
push edx
push edi
push eax
mov dword [esp + 0x44], edi
call fcn.0044b6b6
mov dword [esp + 0x3c], eax
fild dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, eax
fstp dword [esp + 0x7c]
and ecx, 7
fld dword [esp + 0x7c]
and eax, 8
fdiv dword [0x490148]
or eax, ecx
lea ecx, [esp + 0x7c]
push ecx
push 3
push eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x88], edi
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
push edx
push eax
call fcn.0044b6c8
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
lea ecx, [esp + 0x30]
push ecx
push edi
push edi
mov dword [esp + 0x3c], edi
call fcn.0044b6aa
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 8]
sub eax, edi
mov byte [esp + 0x74], 5
je 0x458b11
dec eax
je 0x458b09
dec eax
jne 0x458b25
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x458b18
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x458b18
mov ecx, dword [esp + 0x30]
push 1
push ecx
call fcn.004785c4
cmp eax, edi
je 0x458b25
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 9]
sub eax, edi
je 0x458b44
dec eax
je 0x458b3c
dec eax
jne 0x458b58
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x458b4b
mov eax, dword [esp + 0x30]
push edi
push eax
jmp 0x458b4b
mov ecx, dword [esp + 0x30]
push 1
push ecx
call fcn.004785ca
cmp eax, edi
je 0x458b58
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
push 3
push edx
call fcn.0044b6da
cmp eax, edi
je 0x458b6c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push 0x1000
push eax
call fcn.004785be
cmp eax, edi
je 0x458b83
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x30]
push ecx
push edx
call fcn.004785d0
cmp eax, edi
je 0x458b9d
mov dword [esp + 0x34], eax
mov al, byte [esi + 0x79]
mov cl, byte [esi + 0x7a]
mov edx, dword [esp + 0x90]
mov byte [esp + 0x7c], al
sub edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov bl, byte [esi + 0x78]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x18], eax
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x18]
mov dword [esp + 0x68], eax
cmp dword [esi + 0xc], edi
fstp dword [esp + 0x18]
fild dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [0x48d3b0]
fstp dword [esp + 0x14]
fild dword [esp + 0x84]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
fstp dword [esp + 0x5c]
jne 0x458c38
cmp dword [esi + 0x10], edi
jne 0x458c38
cmp dword [esi + 0x14], edi
jne 0x458c38
cmp dword [esi + 0x18], edi
je 0x458cf0
mov eax, dword [esi + 0xc]
cmp eax, edi
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fild dword [esi + 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fadd dword [esp + 0x14]
fstp dword [esp + 0x60]
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x64]
fild dword [esi + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x68]
je 0x458ca0
mov ecx, dword [esp + 0x30]
push edi
push ecx
jmp 0x458cb4
cmp ecx, edi
je 0x458cad
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x458cb4
mov eax, dword [esp + 0x30]
push 1
push eax
call fcn.004785c4
cmp eax, edi
je 0x458cc1
mov dword [esp + 0x34], eax
cmp dword [esi + 0x10], edi
je 0x458cce
mov ecx, dword [esp + 0x30]
push edi
push ecx
jmp 0x458ce3
cmp dword [esi + 0x18], edi
je 0x458cdc
mov edx, dword [esp + 0x30]
push 2
push edx
jmp 0x458ce3
mov eax, dword [esp + 0x30]
push 1
push eax
call fcn.004785ca
cmp eax, edi
je 0x458cf0
mov dword [esp + 0x34], eax
cmp dword [esp + 0x98], edi
je 0x458d15
fld dword [esp + 0x5c]
fadd dword [0x48d3b0]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [0x48d3b0]
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x80]
push ecx
lea ecx, [esp + 0x24]
call dword [0x4819d0]
movzx ecx, byte [esp + 0x7c]
movzx eax, bl
or eax, 0xffffff00
shl eax, 8
lea edx, [esp + 0x1c]
push edx
movzx edx, byte [esp + 0x17]
or eax, ecx
shl eax, 8
or eax, edx
push eax
mov dword [esp + 0x58], 0x487808
mov dword [esp + 0x24], edi
call fcn.0044b6d4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x54]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], esi
call dword [0x4819d8]
push eax
lea ecx, [esp + 0x58]
call fcn.00457df0
push esi
call fcn.0044b6a4
lea ecx, [esp + 0x20]
call dword [0x48182c]
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044b6b0
push ebp
call fcn.0044b6ce
mov edx, dword [esp + 0x38]
push edx
call fcn.0044b6c2
lea ecx, [esp + 0x24]
call dword [0x48182c]
lea ecx, [esp + 0x28]
call dword [0x48182c]
mov eax, dword [esp + 0x40]
push eax
call fcn.0044b620
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
pop edi
mov dword fs:[0], ecx
add esp, 0x68
ret