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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2c], 0
mov ebx, ecx
jne 0x681e7c
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x70]
mov eax, dword [eax + 0x68]
mov ecx, dword [edi + 0xc]
mov esi, dword [edi + 8]
mov dword [esp + 0x70], edx
lea edx, [edx + eax*8]
mov eax, dword [ecx]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 8]
call edx
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0x34], ecx
jle 0x681e7c
mov dword [esp + 0x38], ecx
jmp 0x681943
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
add eax, dword [esp + 0x38]
push 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 4]
fsub dword [ecx + 0x18]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fsub dword [ecx + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fadd dword [ecx + 0x18]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd dword [ecx + 0x18]
fstp dword [esp + 0x34]
fld dword [ecx + 0x1c]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd qword [0x799100]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp qword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
shl edx, 0x14
fldcw word [esp + 0x14]
fld dword [ecx + 0x1c]
fmul dword [esp + 0x28]
fnstcw word [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
movzx eax, word [esp + 0x18]
fmul qword [0x6e1b30]
or eax, 0xc00
mov dword [esp + 0x14], eax
fadd qword [0x7990f8]
fldcw word [esp + 0x14]
fistp qword [esp + 0x20]
mov eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x78]
fldcw word [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x64]
push edx
push eax
call fcn.006807e0
mov ecx, dword [ebx + 4]
mov edi, eax
fld dword [ecx + 0x1c]
fmul dword [esp + 0x40]
fnstcw word [esp + 0x20]
fstp dword [esp + 0x1c]
movzx eax, word [esp + 0x20]
fld dword [esp + 0x1c]
fadd qword [0x799100]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x28]
mov edx, dword [esp + 0x28]
shl edx, 0x14
fldcw word [esp + 0x20]
fld dword [ecx + 0x1c]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fmul qword [0x6e1b30]
push 0
fnstcw word [esp + 0x24]
lea ecx, [esp + 0x20]
movzx eax, word [esp + 0x24]
fadd qword [0x7990f8]
or eax, 0xc00
mov dword [esp + 0x20], eax
push ecx
fldcw word [esp + 0x24]
fistp qword [esp + 0x30]
mov eax, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x74]
fldcw word [esp + 0x28]
push edx
push edi
call fcn.00680830
add esp, 0x20
mov dword [esp + 0x18], eax
mov ecx, edi
mov dword [esp + 0x10], edi
cmp edi, eax
je 0x681e61
mov edi, dword [ecx]
fld dword [esp + 0x24]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x38]
mov edx, dword [eax + edi*8]
mov eax, dword [eax + edi*8 + 4]
mov dword [esp + 0x54], edx
fld dword [esp + 0x54]
fcom st(1)
mov dword [esp + 0x58], eax
fnstsw ax
fstp st(1)
test ah, 1
jne 0x681e4a
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x681e4a
fld dword [esp + 0x28]
fld dword [esp + 0x58]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x681e48
fld dword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x681e48
fld st(1)
mov eax, dword [ecx + 0x40]
fsub dword [esi + 0x1c]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov dword [esp + 0x44], ecx
fstp dword [esp + 0xc]
mov dword [esp + 0x48], edx
fld st(0)
fsub dword [esi + 0x20]
fstp dword [esp + 0x14]
fld dword [esi + 0x28]
fld dword [esp + 0xc]
fld st(0)
fmulp st(2)
fld dword [esi + 0x24]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fstp dword [esp + 0xc0]
fld dword [esi + 0x28]
fmulp st(2)
fmul dword [esi + 0x24]
fsubp st(1)
fstp dword [esp + 0xc4]
fld dword [esp + 0xc0]
fld st(0)
fmul dword [esi + 0x18]
fld dword [esi + 0x14]
fld dword [esp + 0xc4]
fld st(0)
fmulp st(2)
fxch st(2)
fsubrp st(1)
fadd dword [esi + 0xc]
fstp dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
fld dword [esi + 0x14]
mov dword [esp + 0xd4], eax
fmulp st(2)
fmul dword [esi + 0x18]
faddp st(1)
fadd dword [esi + 0x10]
fstp dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
fld dword [ebx + 8]
mov dword [esp + 0xd8], ecx
fstp dword [esp + 0x14]
mov ecx, dword [ebp + 8]
fld dword [esp + 0x44]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xac]
fmul dword [esp + 0x48]
fstp dword [esp + 0xb0]
fld dword [esp + 0xac]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xdc], edx
fadd dword [esp + 0xb0]
fstp dword [esp + 0x90]
mov eax, dword [esp + 0x90]
fld1
mov dword [esp + 0xe0], eax
mov eax, dword [ecx + 8]
fstp dword [esp + 0xe4]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
add eax, 0xc
push ecx
push eax
lea eax, [esp + 0xdc]
push eax
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0x24]
call edx
test al, al
je 0x681e4c
fld dword [esp + 0xb4]
mov eax, dword [ebx + 4]
fld qword [0x7988b8]
mov eax, dword [eax + 0x40]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x74]
fmul dword [esp + 0xb8]
fstp dword [esp + 0x78]
fld dword [esp + 0xdc]
fld dword [esp + 0xbc]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0xe0]
fmul st(1)
fstp dword [esp + 0xa0]
fld1
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0xd4]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xcc]
fmul dword [esp + 0xd8]
fstp dword [esp + 0xd0]
fld dword [esp + 0xcc]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x68]
fld dword [esp + 0xd0]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x6c]
fld dword [esp + 0x68]
fadd dword [esp + 0x74]
fstp dword [esp + 0x60]
fld dword [esp + 0x6c]
fadd dword [esp + 0x78]
fstp dword [esp + 0x64]
fld dword [esp + 0x60]
fsub dword [esp + 0x54]
fstp dword [esp + 0x84]
fld dword [esp + 0x64]
fsub dword [esp + 0x58]
fstp dword [esp + 0x88]
fld dword [ebx + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x84]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
mov dword [eax + edi*8], ecx
fmul dword [esp + 0x88]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
fld dword [esp + 0x44]
mov dword [eax + edi*8 + 4], edx
fsub dword [esp + 0x4c]
mov ecx, dword [ebx + 4]
fstp dword [esp + 0x94]
fld dword [esp + 0x48]
fsub dword [esp + 0x50]
fstp dword [esp + 0x98]
call fcn.0067cc10
fstp dword [esp + 0x14]
fld dword [esp + 0x94]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x3c]
fmul dword [esp + 0x98]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fld dword [esp + 0xb8]
fld st(0)
fmulp st(2)
push 1
fld dword [esp + 0x40]
lea edx, [esp + 0x64]
fld dword [esp + 0xb8]
push edx
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0xac]
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], eax
fmulp st(1)
lea eax, [esp + 0x44]
push eax
fstp dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x4c], ecx
mov ecx, esi
call fcn.0052f400
jmp 0x681e4c
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x10]
add ecx, 8
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x18]
jne 0x681ad0
mov eax, dword [esp + 0x34]
add dword [esp + 0x38], 0x1c
inc eax
cmp eax, dword [esp + 0xc8]
mov dword [esp + 0x34], eax
jl 0x681940
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4