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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
xor esi, esi
cmp edi, esi
mov ebp, ecx
mov dword [esp + 0x3c], ebp
jne 0x614a03
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x28
fld dword [esp + 0x68]
fsub dword [esp + 0x58]
fstp dword [esp + 0x1c]
fld dword [esp + 0x6c]
fsub dword [esp + 0x5c]
fstp dword [esp + 0x18]
fld dword [esp + 0x70]
fsub dword [esp + 0x60]
fst qword [esp + 0x40]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
call fcn.00651160
fstp dword [esp + 0x64]
cmp dword [ebp + 0x14], esi
fld dword [esp + 0x64]
fstp dword [esp + 0x64]
mov dword [esp + 0x38], esi
fld dword [esp + 0x64]
mov dword [esp + 0x10], esi
fdivr qword [esp + 0x40]
mov dword [esp + 0x30], esi
fstp dword [esp + 0x34]
fld dword [0x6fba60]
fstp dword [esp + 0x20]
fldz
fstp dword [esp + 0x64]
jle 0x614deb
test edi, edi
je 0x614a9f
mov eax, dword [edi + 0x50]
test eax, 0x10000
jne 0x614a97
test al, 2
je 0x614a9f
mov dword [esp + 0x38], 1
fldz
lea eax, [esp + 0x14]
fstp dword [esp + 0x14]
push eax
fld dword [esp + 0x20]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
fld dword [esp + 0x28]
sub esp, 0xc
fstp dword [eax + 4]
mov ecx, ebp
fld dword [esp + 0x40]
fstp dword [eax + 8]
fld dword [esp + 0x74]
mov eax, esp
fstp dword [eax]
push edi
fld dword [esp + 0x7c]
fstp dword [eax + 4]
fld dword [esp + 0x80]
fstp dword [eax + 8]
call fcn.00612130
fld dword [esp + 0x14]
mov ecx, eax
test ecx, ecx
jl 0x614d10
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x614d10
fld1
fcomp st(1)
fnstsw ax
test ah, 0x41
jnp 0x614cb1
fld dword [esp + 0x1c]
shl ecx, 5
add ecx, dword [edi + 0x18]
fmul st(1)
mov ebx, ecx
mov esi, dword [ebx + 0x18]
fstp dword [esp + 0x48]
test esi, esi
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x4c]
fld dword [esp + 0x48]
jne 0x614b9d
test byte [edi + 0x50], 2
je 0x614d0c
fstp st(2)
sub esp, 8
fadd dword [esp + 0x64]
mov ecx, ebp
fsub dword [ebx + 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 4]
fadd dword [esp + 0x60]
fsub dword [ebx + 8]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.00612b50
mov esi, eax
test esi, esi
je 0x614d06
fld dword [esp + 0x4c]
fld dword [esp + 0x48]
fld dword [esp + 0x14]
fxch st(2)
fxch st(1)
test byte [esi + 0x50], 0x10
jne 0x614d0c
fstp st(2)
fld st(1)
fadd dword [esp + 0x58]
fstp dword [esp + 0x40]
fld st(0)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x28]
fld dword [edi + 0x24]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fld dword [edi + 0x20]
fld dword [esp + 0x40]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fadd dword [edi + 0x28]
fstp dword [esp + 0x40]
fmul dword [esi + 0x24]
fld dword [esi + 0x20]
fmulp st(2)
faddp st(1)
fadd dword [esi + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x40]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x614c04
fstp st(0)
jmp 0x614c06
fstp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fsub dword [esp + 0x60]
fstp qword [esp + 0x28]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
call fcn.00651160
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fadd qword [0x6ddf00]
fdivr qword [esp + 0x28]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x614c56
fst dword [esp + 0x20]
fld dword [esp + 0x34]
fcompp
fnstsw ax
test ah, 5
jnp 0x614d06
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x614c99
fld dword [esp + 0x48]
mov edx, dword [esp + 0x78]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
push esi
fld dword [esp + 0x5c]
push ebx
fstp dword [eax + 4]
push edi
fld dword [esp + 0x68]
push edx
fstp dword [eax + 8]
call ecx
add esp, 0x1c
test eax, eax
jne 0x614d06
mov eax, dword [esp + 0x30]
add eax, 1
cmp eax, dword [ebp + 0x14]
mov edi, esi
mov dword [esp + 0x30], eax
jl 0x614a85
jmp 0x614d1c
fld dword [esp + 0x34]
fld dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 0x41
je 0x614d10
mov ecx, dword [esp + 0x7c]
fstp st(0)
test ecx, ecx
je 0x614cfa
fld dword [esp + 0x68]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
push edi
fld dword [esp + 0x7c]
push 0
fstp dword [eax + 4]
push 0
fld dword [esp + 0x88]
fstp dword [eax + 8]
mov eax, dword [esp + 0x90]
push eax
call ecx
add esp, 0x1c
fld1
mov dword [esp + 0x10], 1
jmp 0x614d18
fld dword [esp + 0x14]
jmp 0x614d10
fstp st(1)
fstp st(0)
mov dword [esp + 0x10], 0
fstp dword [esp + 0x64]
cmp dword [esp + 0x38], 0
je 0x614deb
xor esi, esi
cmp dword [ebp + 0x18], esi
jle 0x614deb
xor ebp, ebp
fld1
fstp dword [esp + 0x78]
fldz
fld st(0)
fld dword [esp + 0x24]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x614d51
fxch st(1)
jmp 0x614d59
fstp st(1)
fld dword [0x6ddfb4]
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
fadd dword [esp + 0x7c]
mov ecx, dword [ecx + 8]
sub esp, 0x18
add ecx, ebp
fstp dword [esp + 0x94]
lea ebx, [esp + 0x90]
fld dword [esp + 0x94]
xor edi, edi
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fstp dword [esp + 0xc]
fld dword [esp + 0x78]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x70]
fstp dword [esp]
call fcn.00611840
add esp, 0x18
test eax, eax
je 0x614dd8
fld dword [esp + 0x78]
fld dword [esp + 0x64]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x614dd6
fstp dword [esp + 0x64]
mov dword [esp + 0x10], edi
jmp 0x614dd8
fstp st(0)
mov edx, dword [esp + 0x3c]
add esi, 1
add ebp, 0x74
cmp esi, dword [edx + 0x18]
jl 0x614d34
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x614e25
fldz
fld dword [esp + 0x64]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x614e21
fstp st(1)
fld1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x614e21
mov eax, dword [esp + 0x10]
fstp st(1)
fstp dword [ecx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x28
fstp st(0)
fstp dword [ecx]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x28