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

Disassembly:
sub esp, 0x80
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
je 0x459239
push ebp
mov edi, edi
mov ebx, dword [esp + 0x10]
add ebx, 8
je 0x459238
mov ebp, dword [edi + 8]
test ebp, ebp
je 0x459221
jmp 0x459050
lea edx, [ebp + 8]
test edx, edx
je 0x459221
fld dword [ebx]
fld dword [edx + 4]
fcompp
fnstsw ax
test ah, 0x41
jnp 0x45920e
fld dword [ebx + 4]
fld dword [edx]
fcompp
fnstsw ax
test ah, 1
je 0x45920e
fld dword [ebx + 8]
fld dword [edx + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jnp 0x45920e
fld dword [ebx + 0xc]
fld dword [edx + 8]
fcompp
fnstsw ax
test ah, 1
je 0x45920e
fld dword [ebx]
fld dword [edx]
fcompp
fnstsw ax
test ah, 5
jp 0x4590b6
fld dword [ebx]
jmp 0x4590b8
fld dword [edx]
fstp dword [esp + 0x18]
fld dword [ebx + 4]
fld dword [edx + 4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4590d0
fld dword [ebx + 4]
jmp 0x4590d3
fld dword [edx + 4]
fstp dword [esp + 0x1c]
fld dword [ebx + 8]
fld dword [edx + 8]
fcompp
fnstsw ax
test ah, 5
jp 0x4590eb
fld dword [ebx + 8]
jmp 0x4590ee
fld dword [edx + 8]
fstp dword [esp + 0x20]
fld dword [ebx + 0xc]
fld dword [edx + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x459106
fld dword [ebx + 0xc]
jmp 0x459109
fld dword [edx + 0xc]
mov eax, dword [edx + 0x24]
fstp dword [esp + 0x24]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x68]
mov ecx, 0xa
lea esi, [esp + 0x18]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0xa
lea esi, [esp + 0x1c]
lea edi, [esp + 0x44]
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00458660
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.00458660
fld dword [esp + 0x60]
add esp, 0x10
fadd dword [esp + 0x78]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld qword [0x49a4a8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld dword [0x49b728]
jp 0x45917d
fst dword [esp + 0x28]
fld dword [esp + 0x54]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x45919a
fst dword [esp + 0x2c]
fld dword [esp + 0x58]
fadd dword [esp + 0x80]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x4591ba
fst dword [esp + 0x30]
fld dword [esp + 0x5c]
fadd dword [esp + 0x84]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4591de
fstp dword [esp + 0x34]
jmp 0x4591e0
fstp st(0)
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 3
call fcn.00458ec0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.00458980
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00458980
mov edi, dword [esp + 0x14]
push 1
mov ecx, ebp
call fcn.004587f0
mov ebp, eax
test ebp, ebp
jne 0x459050
mov ecx, dword [esp + 0x10]
push 1
call fcn.004587f0
test eax, eax
mov dword [esp + 0x10], eax
jne 0x459030
pop ebp
mov esi, dword [edi]
xor ebx, ebx
cmp esi, ebx
je 0x459279
mov ecx, esi
call fcn.004589c0
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.00458810
cmp eax, ebx
je 0x45926b
push eax
push 3
mov ecx, edi
call fcn.00458ec0
mov ecx, esi
call fcn.00458810
cmp eax, ebx
jne 0x459256
push ebx
mov ecx, esi
call fcn.004587f0
mov esi, eax
cmp esi, ebx
jne 0x459241
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x4592b8
mov ecx, esi
call fcn.004589c0
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.00458810
cmp eax, ebx
je 0x4592aa
push eax
push 3
mov ecx, edi
call fcn.00458ec0
mov ecx, esi
call fcn.00458810
cmp eax, ebx
jne 0x459295
push ebx
mov ecx, esi
call fcn.004587f0
mov esi, eax
cmp esi, ebx
jne 0x459280
pop edi
pop esi
pop ebx
add esp, 0x80
ret