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

Disassembly:
push 0xffffffffffffffff
push 0x6d6018
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x44]
call fcn.006848e0
mov ebx, dword [esp + 0xe0]
fld dword [ebx]
xor edi, edi
cmp dword [esi + 0x1c], edi
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fldz
jle 0x683fec
fld1
xor edx, edx
fld1
fldz
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
cmp dword [ecx], 2
fld dword [ecx + 0x48]
mov eax, dword [ecx + 0x50]
fstp dword [esp + 0x14]
mov ebx, dword [ecx + 0x3c]
fld dword [ecx + 0x58]
mov ebp, dword [ecx + 0x40]
fstp dword [esp + 0x1c]
fld dword [ecx + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x54]
fstp dword [ecx + 0x44]
mov dword [esp + 0x2c], eax
mov eax, ebx
mov dword [ecx + 0x34], eax
mov eax, ebp
mov dword [ecx + 0x38], eax
jne 0x683fa0
fld dword [ecx + 0x88]
mov eax, dword [esp + 0xe4]
fstp dword [esp + 0x18]
fld dword [ecx + 0x5c]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fmul dword [ecx + 0x60]
fstp dword [esp + 0x20]
fld dword [ecx + 0x9c]
fstp dword [esp + 0x18]
fld dword [eax]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fmul dword [eax + 4]
fstp dword [esp + 0x34]
fld dword [esp + 0x18]
fadd dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x34]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x40]
fmul st(5)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul st(5)
fstp dword [esp + 0x20]
fld dword [esp + 0x34]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x2c]
fld dword [ecx + 0x90]
fmul st(5)
fmul dword [ecx + 0x64]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [ecx + 0x94]
fmul st(5)
fsubr st(3)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x683f11
fstp dword [esp + 0x18]
jmp 0x683f1b
fstp st(0)
fxch st(1)
fst dword [esp + 0x18]
fxch st(1)
fld dword [esp + 0x18]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x683f32
fstp st(0)
fxch st(3)
fst dword [esp + 0x18]
jmp 0x683f38
fstp dword [esp + 0x18]
fxch st(3)
fld dword [esp + 0x18]
fld st(0)
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [ecx + 0x98]
fmul st(5)
fsubr st(3)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x683f6f
fstp dword [esp + 0x18]
jmp 0x683f79
fstp st(0)
fxch st(1)
fst dword [esp + 0x18]
fxch st(1)
fld dword [esp + 0x18]
fcom st(4)
fnstsw ax
test ah, 5
jp 0x683f8e
fstp st(0)
fst dword [esp + 0x18]
jmp 0x683f92
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fxch st(3)
mov eax, dword [esi + 0x14]
fld dword [esp + 0x14]
mov dword [eax + edx], ebx
mov dword [eax + edx + 4], ebp
mov ecx, dword [esi + 0x14]
fstp dword [ecx + edx + 8]
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x28]
fld dword [esp + 0x1c]
mov dword [edx + eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + eax + 4], ecx
mov eax, dword [esi + 0x18]
fstp dword [edx + eax + 8]
inc edi
add edx, 0xc
cmp edi, dword [esi + 0x1c]
jl 0x683e0e
mov ebx, dword [esp + 0xe0]
fstp st(4)
fstp st(0)
fstp st(0)
fstp st(1)
lea ecx, [esp + 0x44]
fstp st(0)
call fcn.00684940
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x5c], edx
mov edx, dword [ebx]
mov dword [esp + 0x6c], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x74], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x78], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x7c], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x80], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x84], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x8c], eax
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x98], eax
call fcn.0068afb0
xor ebp, ebp
lea ecx, [esp + 0x98]
mov dword [esp + 0xd4], ebp
call fcn.0068bd90
cmp byte [ebx + 0x14], 0
je 0x6840bf
lea ecx, [esp + 0x98]
call fcn.0068b3a0
xor edi, edi
cmp dword [esi + 0x20], ebp
jle 0x6840de
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + edi*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x4c]
push edx
call eax
inc edi
cmp edi, dword [esi + 0x20]
jl 0x6840c6
lea ecx, [esp + 0x44]
call fcn.00684960
mov ecx, dword [esp + 0xdc]
fstp dword [ecx + 0xc]
lea ecx, [esp + 0x44]
call fcn.00684940
cmp dword [ebx + 0xc], 0
jle 0x684131
xor edi, edi
cmp dword [esi + 0x20], edi
jle 0x68411f
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + edi*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x4c]
push edx
call eax
inc edi
cmp edi, dword [esi + 0x20]
jl 0x684107
lea ecx, [esp + 0x98]
call fcn.0068c420
inc ebp
cmp ebp, dword [ebx + 0xc]
jl 0x684100
lea ecx, [esp + 0x98]
call fcn.0068b9f0
lea ecx, [esp + 0x44]
call fcn.00684960
mov ecx, dword [esp + 0xdc]
xor ebp, ebp
fstp dword [ecx + 0x10]
cmp dword [esi + 0x1c], ebp
jle 0x6842e9
fld dword [esp + 0x3c]
xor edi, edi
mov edx, dword [esi + 0x14]
mov eax, dword [edx + edi]
fld dword [edx + edi + 8]
mov ecx, dword [edx + edi + 4]
fstp dword [esp + 0x18]
lea ebx, [edx + edi]
mov edx, dword [esi + 0x18]
fld dword [edi + edx + 8]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x1c]
lea eax, [edi + edx]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x28]
fmul st(1)
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x20]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x20]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [0x6dd4c0]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x684217
fstp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00695070
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fdivr qword [0x6d9dc0]
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x3c]
jmp 0x684219
fstp st(0)
fld dword [esp + 0x1c]
fld st(0)
fmul st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fmul st(0), st(0)
fcomp qword [0x799190]
fnstsw ax
test ah, 0x41
jne 0x684267
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x684247
fchs
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fdivr qword [0x779600]
fstp dword [esp + 0x14]
fmul dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
jmp 0x684269
fstp st(0)
fld dword [esp + 0x28]
inc ebp
fmul st(2)
add edi, 0xc
fstp dword [esp + 0x14]
fld dword [esp + 0x2c]
fmul st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x38]
mov dword [ebx], eax
fadd dword [esp + 0x20]
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 0x14]
fld st(0)
mov ecx, dword [esp + 0x28]
fmul st(2)
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [edx + edi - 4]
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [edi + eax - 0xc], ecx
mov dword [edi + eax - 8], edx
mov eax, dword [esi + 0x18]
fstp dword [edi + eax - 4]
cmp ebp, dword [esi + 0x1c]
jl 0x684161
mov ebx, dword [esp + 0xe0]
fstp st(0)
lea ecx, [esp + 0x44]
call fcn.00684940
xor ebp, ebp
cmp dword [ebx + 0x10], ebp
mov byte [esp + 0x27], 0
jle 0x684365
mov edi, edi
lea ecx, [esp + 0x98]
call fcn.0068d390
xor edi, edi
cmp dword [esi + 0x20], edi
mov byte [esp + 0x33], al
mov bl, 1
jle 0x684346
lea esp, [esp]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x4c]
push eax
call edx
test bl, bl
je 0x68433e
test al, al
je 0x68433e
mov bl, 1
jmp 0x684340
xor bl, bl
inc edi
cmp edi, dword [esi + 0x20]
jl 0x684320
cmp byte [esp + 0x33], 0
je 0x684351
test bl, bl
jne 0x684360
mov eax, dword [esp + 0xe0]
inc ebp
cmp ebp, dword [eax + 0x10]
jl 0x684300
jmp 0x684365
mov byte [esp + 0x27], 1
xor ebp, ebp
cmp dword [esi + 0x1c], ebp
jle 0x6843b8
xor edi, edi
mov edi, edi
mov eax, dword [esi + 0x14]
mov edx, dword [eax + edi]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + ebp*4]
mov dword [ecx + 0x3c], edx
mov eax, dword [eax + edi + 4]
mov dword [ecx + 0x40], eax
mov edx, dword [esi + 0x14]
fld dword [edx + edi + 8]
fstp dword [ecx + 0x48]
mov eax, dword [esi + 0x18]
mov edx, dword [edi + eax]
mov dword [ecx + 0x50], edx
mov eax, dword [edi + eax + 4]
mov dword [ecx + 0x54], eax
mov edx, dword [esi + 0x18]
fld dword [edi + edx + 8]
fstp dword [ecx + 0x58]
call fcn.00667980
inc ebp
add edi, 0xc
cmp ebp, dword [esi + 0x1c]
jl 0x684370
lea ecx, [esp + 0x44]
call fcn.00684960
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xdc]
push ecx
fstp dword [eax + 0x14]
mov ecx, esi
call fcn.00683cd0
cmp byte [esp + 0xe8], 0
je 0x6844f5
fld dword [0x6dd850]
xor edx, edx
cmp dword [esi + 0x1c], edx
fstp dword [esp + 0x1c]
jle 0x6844b6
fld qword [0x799188]
mov bl, 4
fld qword [0x6dc238]
fldz
fld dword [esp + 0x3c]
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
cmp dword [ecx], 0
je 0x68448f
test byte [ecx + 4], bl
je 0x684481
fld dword [ecx + 0x58]
fmul st(0), st(0)
fcomp st(4)
fnstsw ax
test ah, 0x41
je 0x684481
fld dword [ecx + 0x54]
fmul dword [ecx + 0x54]
fld dword [ecx + 0x50]
fmul dword [ecx + 0x50]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp st(3)
fnstsw ax
test ah, 0x41
je 0x684481
fld st(0)
fadd dword [ecx + 0xa0]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ecx + 0xa0]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x6844b2
fstp dword [esp + 0x1c]
jmp 0x68448f
fxch st(1)
fst dword [ecx + 0xa0]
fst dword [esp + 0x1c]
fxch st(1)
inc edx
cmp edx, dword [esi + 0x1c]
jl 0x684411
fstp st(0)
fstp st(2)
fstp st(0)
fld dword [0x6db028]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jp 0x6844f3
jmp 0x6844b8
fstp st(0)
jmp 0x68448f
fldz
cmp byte [esp + 0x27], 0
je 0x6844f3
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
jle 0x6844f3
mov edx, dword [esi + 8]
mov eax, dword [edx + ecx*4]
fst dword [eax + 0xa0]
mov edx, 0xfffd
and word [eax + 4], dx
fst dword [eax + 0x50]
fst dword [eax + 0x54]
inc ecx
fst dword [eax + 0x58]
fst dword [eax + 0x5c]
fst dword [eax + 0x60]
fst dword [eax + 0x64]
cmp ecx, dword [esi + 0x1c]
jl 0x6844c6
fstp st(0)
lea ecx, [esp + 0x98]
mov dword [esp + 0xd4], 0xffffffff
call fcn.0068b380
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 0x10