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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4678c4
call fcn.0046e7d0
fdivr qword [0x550f30]
fcomp qword [ebp + 0x10]
fnstsw ax
test ah, 0x41
je 0x4678c4
mov ebx, dword [ebp + 8]
mov esi, dword [edi*8 + 0x579c5c]
push ebx
mov dword [esp + 0x68], esi
call fcn.00481650
fst qword [esp + 0x5c]
fcomp qword [0x584ab0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x4678d0
mov edx, dword [ebx]
shr edx, 0xd
and edx, 1
test esi, esi
mov dword [esp + 0x4c], edx
jle 0x4676c6
mov ecx, dword [edi*8 + 0x579c58]
lea eax, [esp + 0x70]
fld qword [ebp + 0x10]
fmul qword [ecx]
test edx, edx
fabs
fld st(0)
fmul qword [ebx + 0x30]
fstp qword [eax - 8]
fld st(0)
fmul qword [ebx + 0x38]
fstp qword [eax]
je 0x4676b2
fld dword [ebx + 0x44]
fsub dword [ebx + 0x40]
fmulp st(1)
fdiv qword [esp + 0x58]
jmp 0x4676ba
fstp st(0)
fld qword [0x550f20]
fstp qword [eax + 8]
add ecx, 8
add eax, 0x18
dec esi
jne 0x46768a
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx + 0x1c]
test edx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
je 0x4676ef
fld dword [ebx + 0x40]
fstp qword [esp + 0x44]
jmp 0x4676ff
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
xor ecx, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0xc], ecx
jmp 0x46772e
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi*8 + 0x579c58]
fld qword [eax + ecx*8]
fdiv qword [esp + 0x58]
fmul qword [ebp + 0x10]
fld st(0)
fabs
fadd qword [esp + 0x50]
fst qword [esp + 0x28]
fcomp qword [0x550f30]
fnstsw ax
test ah, 0x41
jne 0x46779f
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2c]
test edx, edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3ff00000
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x46778d
fld dword [ebx + 0x44]
jmp 0x4677c9
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
jmp 0x4677cd
fld qword [esp + 0x34]
lea eax, [ecx + ecx*2]
shl eax, 3
test edx, edx
fadd qword [esp + eax + 0x68]
fstp qword [esp + 0x10]
fld qword [esp + 0x3c]
fadd qword [esp + eax + 0x70]
fstp qword [esp + 0x18]
je 0x4677cd
fld qword [esp + 0x44]
fadd qword [esp + eax + 0x78]
fstp qword [esp + 0x20]
fcomp qword [0x550f20]
fnstsw ax
test ah, 1
jne 0x467870
test edx, edx
je 0x467837
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.00457540
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
call fcn.004569e0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
call fcn.00457540
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.00456b90
add esp, 0x30
jmp 0x46786c
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.004569e0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.00456b90
add esp, 0x20
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov ecx, 6
lea esi, [esp + 0x10]
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x4678a8
mov dword [esp + 0xc], 0
fld qword [esp + 0x28]
fcomp qword [0x550f30]
fnstsw ax
test ah, 1
jne 0x467727
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
call fcn.0048e930
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret