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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6d5edf
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0067cbf0
fstp dword [esp + 0x3c]
fldz
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x28]
fst dword [esp + 0x80]
mov eax, dword [esp + 0x80]
fst dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
fstp dword [esp + 0x88]
fld1
mov edx, dword [esp + 0x88]
fstp dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], ecx
test edi, edi
je 0x683189
mov eax, dword [0xa39570]
fld dword [ebx + 0x10]
mov ecx, dword [0xa39574]
fstp dword [esp + 0x24]
mov edx, dword [ebx]
fld dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x90], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call fcn.00697840
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0x4c]
fld dword [esp + 0x24]
call fcn.00697710
fstp dword [esp + 0x20]
mov edx, dword [edi]
fld dword [esp + 0x20]
mov eax, dword [edx + 8]
fstp dword [esp + 0x50]
mov ecx, edi
call eax
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
test eax, eax
jle 0x682fa3
jmp 0x682f14
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x682f31
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
push ecx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
jmp 0x682f90
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x5c]
push edx
mov ecx, edi
call eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.00669410
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], edx
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00669490
mov ecx, dword [eax]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 4]
add esp, 0x18
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
jl 0x682f10
fld dword [esp + 0x68]
sub esp, 8
fdiv dword [esp + 0x44]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.006980b0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
add esp, 8
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [esp + 0x70]
fcompp
fnstsw ax
test ah, 0x41
jne 0x683187
fdivr dword [esp + 0x64]
sub esp, 8
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp qword [esp]
call fcn.006980b0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
add esp, 8
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [esp + 0x6c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x683166
mov eax, dword [edi]
fstp st(1)
mov eax, dword [eax + 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
fstp dword [esp + 0x38]
lea edx, [esp + 0x84]
push edx
mov ecx, edi
call eax
test al, al
je 0x68313f
fld dword [esp + 0x50]
fld st(0)
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fld dword [esp + 0x4c]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fadd dword [esp + 0x44]
fstp dword [esp + 0x20]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fadd dword [esp + 0x48]
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fst dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fld dword [esp + 0x24]
mov dword [esp + 0x30], eax
fst dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fld dword [ebx + 8]
mov dword [esp + 0x34], ecx
fsubp st(2)
mov dword [esp + 0x98], ecx
fxch st(1)
mov dword [esp + 0x94], eax
lea eax, [esp + 0x90]
fstp dword [esp + 0x38]
push eax
fsub dword [ebx + 0xc]
fstp dword [esp + 0x28]
fld dword [ebx + 0x1c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld st(0)
fchs
fmul dword [esp + 0x28]
fstp dword [esp + 0x24]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x28]
fld dword [ebx + 0x14]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [ebx + 0x18]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fstp dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
fld dword [esp + 0x28]
mov dword [esp + 0xa0], ecx
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
mov ecx, esi
mov dword [esp + 0xa4], edx
call fcn.00680b00
fld dword [esp + 0x28]
fld dword [esp + 0x3c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [esp + 0x6c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x683031
fstp st(0)
fld dword [esp + 0x2c]
fadd st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [esp + 0x70]
fcompp
fnstsw ax
test ah, 0x41
je 0x682fec
fstp st(0)
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xd4]
push 0x54
call fcn.0067a580
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x100], edi
cmp eax, edi
je 0x6831bb
mov ecx, eax
call fcn.00678e10
mov edi, eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [edi], esi
mov dword [edi + 4], eax
mov dword [edi + 8], edx
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
fld dword [ebx + 0x24]
fstp dword [edi + 0x10]
mov ecx, dword [ebx + 0x30]
mov dword [edi + 0x50], ecx
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0x44], ecx
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x48], ecx
movzx ecx, byte [ebx + 0x2c]
xor ecx, dword [edi + 0x4c]
mov dword [edi + 0x14], 0
and ecx, 1
xor dword [edi + 0x4c], ecx
mov ecx, dword [esi + 0xa8]
mov dword [edi + 0x18], ecx
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0x100], 0xffffffff
test ecx, ecx
je 0x68322e
mov dword [ecx + 0x14], edi
inc dword [esi + 0xa4]
cmp eax, edx
mov dword [esi + 0xa8], edi
jge 0x68324b
mov edi, edi
mov ecx, dword [esi + 0x5c]
mov dword [ecx + eax*4], edi
inc eax
cmp eax, edx
jl 0x683240
push 1
mov ecx, esi
call fcn.00682980
test byte [ebx], 8
je 0x68338f
xor eax, eax
cmp dword [esi + 0x74], eax
mov dword [esp + 0x20], eax
jle 0x68338f
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x7c]
add eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
cmp ecx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
jle 0x68329a
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov eax, ecx
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x40], ecx
jg 0x683378
cmp eax, dword [esp + 0x2c]
jge 0x683378
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
cmp eax, edx
jl 0x6832fa
test eax, eax
je 0x6832ca
add eax, eax
mov dword [esp + 0x54], eax
jmp 0x6832d2
mov dword [esp + 0x54], 0x100
mov ecx, dword [esp + 0x54]
push ecx
push edx
mov edx, dword [esi + 0x94]
push edx
mov ecx, esi
call fcn.0067d090
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x8c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x94]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
fld dword [ebx + 0x24]
mov edx, dword [esp + 0x28]
fstp dword [eax + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x38]
fld dword [eax + ecx*8]
fsub dword [eax + edx*8]
fstp dword [esp + 0x38]
fld dword [eax + ecx*8 + 4]
fsub dword [eax + edx*8 + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld dword [esp + 0x38]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
call fcn.00695070
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
mov eax, dword [esp + 0x54]
fstp dword [eax + 0x10]
inc dword [esi + 0x8c]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x18
inc eax
cmp eax, dword [esi + 0x74]
mov dword [esp + 0x20], eax
jl 0x683270
test byte [ebx], 0x10
je 0x683456
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x40]
mov edx, dword [esi + 0xd4]
push ecx
add edx, 0x44
push edx
lea ecx, [esp + 0xb4]
call fcn.00687590
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x100], 1
mov dword [esp + 0x24], eax
jge 0x6833f9
jmp 0x6833d6
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x38]
lea edx, [ecx + eax*8]
push eax
push edx
lea ecx, [esp + 0xb4]
call fcn.006875f0
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jl 0x6833d2
fld dword [esp + 0x3c]
push ecx
fmul qword [0x6d8950]
lea ecx, [esp + 0xb0]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.00687720
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
call fcn.0067fed0
lea ecx, [esp + 0xac]
mov dword [esp + 0x100], 0xffffffff
call fcn.006875d0
test byte [ebx + 4], 1
je 0x683464
push edi
mov ecx, esi
call fcn.0067e870
mov eax, edi
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4