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

Disassembly:
sub esp, 0x9c
push esi
push edi
xor edi, edi
mov dword [0xc1f960], edi
call fcn.006e7680
fild dword [esp + 0xfc]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xd8]
cmp ecx, eax
fdivr dword [0x858624]
jne 0x6e887a
mov eax, dword [esp + 0xb0]
fld dword [esp + 0xc8]
fsub dword [esp + 0xb0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xc0]
sub eax, ecx
cdq
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xfc]
idiv ecx
mov esi, dword [esp + 0xac]
fmul st(1)
mov dword [esp + 0x10], esi
fstp dword [esp + 0x44]
fld dword [esp + 0xe0]
fsub dword [esp + 0xb0]
fmul st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0xcc]
fsub dword [esp + 0xb4]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0xe4]
fsub dword [esp + 0xb4]
fmul st(1)
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xdc]
fstp dword [esp + 0x54]
sub eax, esi
fld dword [esp + 0xd0]
cdq
fsub dword [esp + 0xb8]
idiv ecx
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0xe8]
fsub dword [esp + 0xb8]
jmp 0x6e8939
mov eax, dword [esp + 0xc8]
fld dword [esp + 0xb0]
fsub dword [esp + 0xc8]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x70], eax
mov eax, ecx
mov ecx, dword [esp + 0xfc]
sub eax, edx
mov dword [esp + 0x2c], edx
cdq
idiv ecx
mov esi, dword [esp + 0xc4]
fmul st(1)
mov dword [esp + 0x10], esi
fstp dword [esp + 0x44]
fld dword [esp + 0xe0]
fsub dword [esp + 0xc8]
fmul st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0xb4]
fsub dword [esp + 0xcc]
fmul st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0xe4]
fsub dword [esp + 0xcc]
fmul st(1)
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xdc]
fstp dword [esp + 0x54]
sub eax, esi
fld dword [esp + 0xb8]
cdq
fsub dword [esp + 0xd0]
idiv ecx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0xe8]
fsub dword [esp + 0xd0]
fmul st(1)
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xf0]
sub eax, edi
fstp dword [esp + 0x4c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], edx
fstp st(0)
je 0x6e8981
dec eax
jne 0x6e89d7
fild dword [esp + 0x2c]
fmul dword [0x858cec]
fadd dword [0xc2117c]
fstp dword [esp + 0xc]
fild dword [esp + 0x10]
fmul dword [0x858cec]
fadd dword [0xc21178]
jmp 0x6e89a5
fild dword [esp + 0x2c]
fmul dword [0x859018]
fadd dword [0xc21184]
fstp dword [esp + 0xc]
fild dword [esp + 0x10]
fmul dword [0x859018]
fadd dword [0xc21180]
fstp dword [esp + 8]
sub esp, 8
fld dword [esp + 0x14]
fstp qword [esp]
call fcn.008219f0
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fstp qword [esp]
call fcn.008219f0
fsubr dword [esp + 0x10]
add esp, 8
fstp dword [esp + 8]
mov eax, dword [0xb6f03c]
cmp eax, edi
je 0x6e89e5
add eax, 0x30
jmp 0x6e89ea
mov eax, 0xb6f02c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x9c], edx
xor edx, edx
cmp ecx, edi
mov dword [esp + 0xa0], eax
mov dword [esp + 0x30], edx
jl 0x6e8ebd
push ebx
push ebp
mov ebp, dword [0xc1f960]
mov dword [esp + 0x28], edi
mov edi, dword [0xc4b950]
mov dword [esp + 0x18], esi
mov esi, dword [0xc4b954]
mov dword [esp + 0x50], ecx
lea esp, [esp]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x30], eax
jl 0x6e8e55
fild dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
fld dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
fmul st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x5c]
fmul st(1)
fstp dword [esp + 0x80]
fmul dword [esp + 0x54]
fstp dword [esp + 0x84]
fild dword [esp + 0x18]
fstp dword [esp + 0x44]
jmp 0x6e8a90
fild dword [esp + 0x30]
fld dword [esp + 0x4c]
fmul st(1)
fadd dword [esp + 0x7c]
fadd dword [esp + 0x78]
fstp dword [esp + 0x40]
fld dword [esp + 0x6c]
fmul st(1)
fadd dword [esp + 0x80]
fadd dword [esp + 0x64]
fstp dword [esp + 0x20]
fmul dword [esp + 0x74]
fadd dword [esp + 0x84]
fadd dword [esp + 0x58]
fstp dword [esp + 0x8c]
fild dword [esp + 0x2c]
fst dword [esp + 0x3c]
fld dword [esp + 0x44]
fld dword [esp + 0xa0]
fsub st(2)
fstp dword [esp + 0x90]
fld dword [esp + 0xa4]
fsub st(1)
fstp dword [esp + 0x94]
fstp st(0)
fstp st(0)
fld dword [0x858624]
fld dword [esp + 0x94]
fmul dword [esp + 0x94]
fld dword [esp + 0x90]
fmul dword [esp + 0x90]
faddp st(1)
fsqrt
fidiv dword [0x8d37d0]
fst dword [esp + 0x48]
fcomp dword [0x858624]
fnstsw ax
test ah, 0x41
jne 0x6e8b48
fstp st(0)
fld dword [0x858b50]
jmp 0x6e8b6b
fld dword [esp + 0x48]
fcomp dword [0x858f34]
fnstsw ax
test ah, 0x41
jne 0x6e8b6b
fstp st(0)
fld dword [0x858624]
fsub dword [esp + 0x48]
fmul dword [0x858b90]
mov eax, dword [esp + 0xf8]
sub eax, 0
je 0x6e8c7d
dec eax
fstp st(0)
je 0x6e8c13
dec eax
jne 0x6e8dc2
fild dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
lea ebx, [edi + edi*8]
fmul dword [0x8d3834]
shl ebx, 2
fadd dword [0xc21174]
fstp dword [ebx + 0xc4d974]
fild dword [esp + 0x28]
fmul dword [0x8d3834]
fadd dword [0xc21170]
fstp dword [ebx + 0xc4d978]
fld dword [esp + 0x40]
mov dword [ebx + 0xc4d958], edx
fadd dword [0x858b1c]
mov dword [ebx + 0xc4d95c], eax
fstp dword [ebx + 0xc4d960]
fild dword [0x8d3810]
fmul dword [esp + 0x9c]
call fcn.00821b40
movzx eax, al
mov ecx, eax
or ecx, 0xffffff00
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [ebx + 0xc4d970], ecx
jmp 0x6e8dbe
fild dword [esp + 0x24]
movzx ecx, byte [ebp + 0xc20968]
mov ebx, dword [0x8d380c]
lea eax, [edi + edi*8]
fmul dword [0x858cec]
shl eax, 2
shl ebx, 8
or ecx, ebx
fadd dword [esp + 0x14]
movzx ebx, byte [ebp + 0xc20168]
shl ecx, 8
fstp dword [eax + 0xc4d974]
or ecx, ebx
fild dword [esp + 0x28]
movzx ebx, byte [ebp + 0xc1f968]
shl ecx, 8
fmul dword [0x858cec]
or ecx, ebx
inc ebp
mov dword [0xc1f960], ebp
fadd dword [esp + 0x10]
fstp dword [eax + 0xc4d978]
mov dword [eax + 0xc4d970], ecx
jmp 0x6e8dc2
fld dword [esp + 0x8c]
push 0xc278d4
lea edx, [esp + 0xa0]
fmul st(1)
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x4c]
push ecx
sub esp, 8
fstp dword [esp + 4]
fmul dword [esp + 0x38]
fstp dword [esp]
push edx
push eax
call fcn.006e6ef0
fild dword [esp + 0x44]
mov edi, dword [0xc4b950]
mov ecx, dword [esp + 0x5c]
fmul dword [0x859018]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
lea esi, [edi + edi*8]
fadd dword [esp + 0x34]
shl esi, 2
add esp, 0x20
mov dword [esp + 0x88], 0x3f13b646
fstp dword [esi + 0xc4d974]
fild dword [esp + 0x28]
fmul dword [0x859018]
fadd dword [esp + 0x10]
fstp dword [esi + 0xc4d978]
mov dword [esi + 0xc4d958], ecx
movzx ecx, byte [0xc2116c]
mov dword [esp + 0x20], ecx
mov dword [esi + 0xc4d95c], edx
mov dword [esi + 0xc4d960], eax
fild dword [esp + 0x20]
fmul dword [0x872004]
call fcn.00821b40
movzx edx, byte [0xc2116d]
mov dword [esp + 0x20], edx
mov bl, al
fild dword [esp + 0x20]
fmul dword [0x872004]
call fcn.00821b40
mov byte [esp + 0x1f], al
movzx eax, byte [0xc2116e]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x872004]
call fcn.00821b40
mov edx, dword [0x8d3808]
shl edx, 8
movzx ecx, bl
or edx, ecx
mov cl, byte [esp + 0x1f]
shl edx, 8
movzx ebp, cl
or edx, ebp
movzx ebp, al
shl edx, 8
or edx, ebp
mov ebp, dword [0xc1f960]
mov byte [ebp + 0xc20968], bl
mov byte [ebp + 0xc20168], cl
mov byte [ebp + 0xc1f968], al
inc ebp
mov dword [esi + 0xc4d970], edx
mov esi, dword [0xc4b954]
mov dword [0xc1f960], ebp
mov edx, dword [esp + 0x38]
test edx, edx
je 0x6e8e21
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6e8e21
mov word [esi*2 + 0xc4b958], di
lea eax, [edi - 1]
mov word [esi*2 + 0xc4b95a], ax
mov eax, dword [esp + 0x104]
mov ecx, edx
sub ecx, eax
lea eax, [ecx + edi]
lea ecx, [eax - 3]
mov word [esi*2 + 0xc4b95c], cx
add esi, 3
mov word [esi*2 + 0xc4b958], di
add eax, 0xfffffffe
mov word [esi*2 + 0xc4b95a], ax
mov word [esi*2 + 0xc4b95c], cx
add esi, 3
mov dword [0xc4b954], esi
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
inc edi
inc ebx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x50]
cmp ebx, ecx
mov dword [0xc4b950], edi
mov dword [esp + 0x30], ebx
jle 0x6e8a90
test edx, edx
je 0x6e8e90
mov ebx, dword [esp + 0x104]
lea eax, [edi - 1]
mov word [esi*2 + 0xc4b958], ax
mov eax, edx
sub eax, ebx
add eax, edi
lea ebx, [eax - 2]
add eax, 0xfffffffd
mov word [esi*2 + 0xc4b95a], bx
mov word [esi*2 + 0xc4b95c], ax
add esi, 3
mov dword [0xc4b954], esi
mov eax, dword [esp + 0x68]
add dword [esp + 0x28], eax
mov ebx, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x104]
inc edx
dec ecx
cmp edx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], ecx
jle 0x6e8a40
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x9c
ret