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

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x2c]
push esi
mov esi, dword [eax + 0x4d0]
mov al, byte [ebp + 0x144]
test al, al
push edi
mov byte [esp + 0x13], 0
je 0x679c7c
fld dword [esi + 0xe18]
jmp 0x679c82
fld dword [0x8591ec]
mov edi, dword [esp + 0x94]
fstp dword [esp + 0x38]
mov dword [esp + 0x18], 0
fld dword [esi + 0xc]
fsub dword [edi]
push ecx
fld dword [esi + 0x14]
fsub dword [edi + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
mov edx, dword [esp + 0x3c]
fstp dword [esp + 0x38]
fld dword [edi + 8]
add esp, 4
fsub dword [esi + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0
push 1
push edx
sub esp, 8
fstp dword [esp + 4]
fld dword [edi]
fsub dword [esi + 0xc]
fstp dword [esp]
call fcn.0079816a
mov eax, dword [esp + 0x4c]
fstp dword [esp + 4]
mov ecx, dword [ebp + 0x2c]
add esp, 4
push eax
push ecx
call fcn.00663090
fld dword [esp + 0xcc]
mov al, byte [esp + 0xd0]
fadd st(1)
add esp, 0x1c
test al, al
fsubr dword [esp + 0x98]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
fst dword [esp + 0x20]
mov dword [esp + 0x14], 0x42400000
mov byte [esp + 0x34], 1
mov byte [esp + 0x30], 0
je 0x679d49
mov al, byte [ebp + 0x144]
test al, al
je 0x679d6b
mov edx, dword [esp + 0x18]
fld st(1)
mov eax, dword [esp + 0xc0]
fstp dword [esp + 0x2c]
mov byte [esp + 0x34], 0
mov byte [esp + 0x30], 1
mov dword [eax], edx
mov byte [esp + 0x13], 1
fcomp dword [0x84669c]
fnstsw ax
test ah, 5
jp 0x679f52
mov eax, dword [esp + 0xa8]
fstp st(0)
xor ebx, ebx
test eax, eax
jle 0x679f76
nop
fld dword [esp + 0x14]
fadd dword [esp + 0x24]
fst dword [esp + 0x1c]
fcomp dword [0x84669c]
fnstsw ax
test ah, 5
jp 0x679db1
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00679bc0
mov edx, dword [esp + 0xac]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
fadd dword [esp + 0x9c]
push edx
push ecx
fstp dword [esp + 0x4c]
fld dword [esp + 0x28]
fadd dword [esp + 0xb8]
fstp dword [esp]
push edi
call fcn.00610120
fld dword [esi + 0xc]
fsub dword [esp + 0x54]
add esp, 0xc
fld dword [esi + 0x14]
fsub dword [esp + 0x50]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
fstp dword [esp + 0x40]
fld dword [esp + 0x50]
fsub dword [esi + 0x14]
fstp dword [esp]
push ecx
fld dword [esp + 0x4c]
fsub dword [esi + 0xc]
fstp dword [esp]
call fcn.0079816a
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [ebp + 0x2c]
push ecx
push edx
push eax
call fcn.00663090
fadd dword [esp + 0xd4]
push ebx
lea ecx, [esp + 0x78]
fsubr dword [esp + 0x68]
push 0x856b48
push ecx
fstp dword [esp + 0x58]
call fcn.0081cf4d
fld dword [esp + 0x50]
add esp, 0x30
fcomp dword [0x84669c]
fld dword [esp + 0x28]
fnstsw ax
test ah, 5
jp 0x679f04
fcom dword [0x84669c]
fnstsw ax
test ah, 5
jp 0x679eda
fcom dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x679f74
mov edx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
mov dword [esp + 0x24], edx
fadd st(0), st(0)
jmp 0x679f3c
mov eax, dword [esp + 0x1c]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x14]
mov edx, dword [esp + 0xc0]
fmul dword [0x8466a4]
mov dword [esp + 0x24], eax
mov dword [edx], ecx
mov byte [esp + 0x13], 1
jmp 0x679f3c
fcomp dword [0x84669c]
fld dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x679f36
mov eax, dword [esp + 0x1c]
fadd st(0), st(0)
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [edx], ecx
mov dword [esp + 0x20], eax
jmp 0x679f3c
fmul dword [0x846698]
mov eax, dword [esp + 0xa8]
fstp dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x679d90
jmp 0x679f76
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov dword [edx], ecx
mov dword [eax], 0
mov bl, 1
jmp 0x679f80
fstp st(0)
mov al, byte [esp + 0x13]
test al, al
je 0x679fd1
mov bl, al
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x24]
mov edx, dword [esp + 0xbc]
fadd dword [esp + 0xac]
mov eax, dword [esp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
push edx
mov dword [ecx], eax
mov eax, dword [esp + 0xa4]
push eax
push ecx
fstp dword [esp]
push edi
call fcn.00610120
add esp, 0x10
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x80
ret 0x30
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x30