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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
xor ecx, ecx
push esi
push edi
mov edi, dword [esp + 0xe0]
mov eax, dword [edi + 0x104]
xor ebp, ebp
cmp dword [edi + 0x108], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], eax
jne 0x460b3a
add eax, 1
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0xe4]
cmp dword [ebx + 0x108], ecx
mov edx, dword [ebx + 0x104]
mov dword [esp + 0x24], edx
jne 0x460b58
add dword [esp + 0x24], 1
cmp eax, ecx
jle 0x460dbb
jmp 0x460b6a
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
cmp ebp, dword [esp + 0x24]
jge 0x460dbb
mov eax, dword [esp + 0x10]
xor edx, edx
div dword [edi + 0x104]
movzx eax, word [edi + 0x144]
mov esi, edx
imul esi, eax
mov eax, ebp
xor edx, edx
div dword [ebx + 0x104]
add esi, dword [edi + 0x120]
mov ebp, edx
movzx edx, word [ebx + 0x144]
imul ebp, edx
add ebp, dword [ebx + 0x120]
test ecx, ecx
je 0x460c61
mov edx, 2
cmp dword [esi + 0x18], edx
jne 0x460c61
mov eax, dword [esp + 0x28]
test eax, eax
je 0x460c61
cmp dword [ebp + 0x18], edx
jne 0x460c61
fld qword [ecx]
mov dword [esp + 0x20], 1
fst qword [esp + 0xa0]
fld qword [ecx + 8]
fst qword [esp + 0xa8]
fld qword [esi]
fst qword [esp + 0xb0]
fld qword [esi + 8]
fst qword [esp + 0xb8]
fld qword [eax]
fst qword [esp + 0x68]
fld qword [eax + 8]
fst qword [esp + 0x70]
fld qword [ebp]
fst qword [esp + 0x78]
fld qword [ebp + 8]
fst qword [esp + 0x80]
fxch st(5)
fsubrp st(7)
fxch st(6)
fst qword [esp + 0xc0]
fxch st(3)
fsubrp st(5)
fxch st(4)
fst qword [esp + 0xc8]
fld st(2)
fld qword [0x62c6f8]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x460c6e
fxch st(1)
fdivrp st(3)
fxch st(2)
fstp qword [esp + 0xd0]
jmp 0x460c72
mov dword [esp + 0x20], 0
jmp 0x460d3b
fstp st(3)
fstp st(0)
fsubp st(4)
fxch st(3)
fst qword [esp + 0x88]
fxch st(1)
fsubrp st(2)
fxch st(1)
fst qword [esp + 0x90]
fld st(1)
fucomp st(3)
fnstsw ax
fstp st(2)
test ah, 0x44
jnp 0x460ca2
fdivp st(1)
fstp qword [esp + 0x98]
jmp 0x460ca6
fstp st(0)
fstp st(0)
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0xe
mov ebx, 0xe
lea edx, [esp + 0x74]
lea ecx, [esp + 0xac]
call fcn.00442a20
add esp, 0xc
test eax, eax
je 0x460d34
cmp dword [esp + 0x18], 0
je 0x460cf3
fld qword [esp + 0x48]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 0x44
jp 0x460cf3
fld qword [esp + 0x50]
fcomp qword [esp + 0x40]
fnstsw ax
test ah, 0x44
jnp 0x460d34
mov eax, dword [esp + 0xdc]
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x30]
push eax
lea ebx, [esp + 0x60]
lea ecx, [esp + 0x40]
call fcn.00483030
fld qword [esp + 0x40]
mov edi, dword [esp + 0xe8]
fstp qword [esp + 0x50]
fld qword [esp + 0x48]
add esp, 8
add dword [esp + 0x18], 1
fstp qword [esp + 0x50]
mov ebx, dword [esp + 0xe4]
mov ecx, dword [esi + 0x18]
cmp ecx, 2
jne 0x460d5e
cmp dword [esp + 0x1c], 0
je 0x460d5e
cmp dword [esp + 0x20], 0
je 0x460d74
fld qword [ebp + 0x10]
fcomp qword [esi + 0x10]
fnstsw ax
test ah, 1
jne 0x460d74
cmp ecx, 3
je 0x460d6f
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], ecx
add dword [esp + 0x10], 1
mov ecx, dword [ebp + 0x18]
cmp ecx, 2
jne 0x460d97
cmp dword [esp + 0x28], 0
je 0x460d97
cmp dword [esp + 0x20], 0
je 0x460dad
fld qword [esi + 0x10]
fcomp qword [ebp + 0x10]
fnstsw ax
test ah, 1
jne 0x460dad
cmp ecx, 3
je 0x460da8
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], edx
add dword [esp + 0x14], 1
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x30]
jl 0x460b62
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret