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

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov dword [0xc1f960], 0
call fcn.006e7680
fild dword [esp + 0x134]
mov ecx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x134]
fdivr dword [0x858624]
mov eax, ecx
sub eax, edi
cdq
idiv ebx
mov ebp, dword [esp + 0xe4]
mov esi, dword [esp + 0x138]
fstp dword [esp + 0x24]
fild dword [esp + 0x138]
fdivr dword [0x858624]
mov dword [esp + 0x98], eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0xe0]
mov eax, ebp
sub eax, edx
cdq
idiv esi
mov edx, dword [esp + 0xf0]
mov dword [esp + 0xa4], edx
fstp dword [esp + 0x20]
fld dword [esp + 0xf8]
fsub dword [esp + 0xe8]
fmul dword [esp + 0x24]
fstp dword [esp + 0xac]
fld dword [esp + 0x108]
fsub dword [esp + 0xe8]
fmul dword [esp + 0x20]
fstp dword [esp + 0x68]
fld dword [esp + 0xfc]
fsub dword [esp + 0xec]
fmul dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x7c], eax
fstp dword [esp + 0x9c]
mov eax, edi
fld dword [esp + 0x10c]
sub eax, ecx
fsub dword [esp + 0xec]
cdq
idiv ebx
fmul dword [esp + 0x20]
fstp dword [esp + 0x74]
fld dword [esp + 0x100]
fsub dword [esp + 0xf0]
fmul dword [esp + 0x24]
fstp dword [esp + 0xb0]
fld dword [esp + 0x110]
fsub dword [esp + 0xf0]
fmul dword [esp + 0x20]
fstp dword [esp + 0x84]
fld dword [esp + 0x108]
fsub dword [esp + 0x118]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xe0]
sub eax, ebp
mov dword [esp + 0x64], edx
cdq
idiv esi
fmul dword [esp + 0x24]
fstp dword [esp + 0xb4]
fld dword [esp + 0xf8]
fsub dword [esp + 0x118]
mov edi, eax
fmul dword [esp + 0x20]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x120]
fstp dword [esp + 0x8c]
mov dword [esp + 0x70], eax
fld dword [esp + 0x10c]
mov eax, dword [esp + 0x128]
sub eax, 0
fsub dword [esp + 0x11c]
mov dword [esp + 0x88], ecx
fmul dword [esp + 0x24]
fstp dword [esp + 0x6c]
fld dword [esp + 0xfc]
fsub dword [esp + 0x11c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x94]
fld dword [esp + 0x110]
fsub dword [esp + 0x120]
fmul dword [esp + 0x24]
fstp dword [esp + 0x80]
fld dword [esp + 0x100]
fsub dword [esp + 0x120]
fmul dword [esp + 0x20]
fstp dword [esp + 0x78]
je 0x6e9403
dec eax
jne 0x6e945f
fild dword [esp + 0xd8]
fmul dword [0x858cec]
fadd dword [0xc2117c]
fstp dword [esp + 0x18]
fild dword [esp + 0xe0]
fmul dword [0x858cec]
fadd dword [0xc21178]
jmp 0x6e942d
fild dword [esp + 0xd8]
fmul dword [0x859018]
fadd dword [0xc21184]
fstp dword [esp + 0x18]
fild dword [esp + 0xe0]
fmul dword [0x859018]
fadd dword [0xc21180]
fstp dword [esp + 0x1c]
sub esp, 8
fld dword [esp + 0x20]
fstp qword [esp]
call fcn.008219f0
fsubr dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fstp qword [esp]
call fcn.008219f0
fsubr dword [esp + 0x24]
add esp, 8
fstp dword [esp + 0x1c]
mov eax, dword [0xb6f03c]
xor ecx, ecx
cmp eax, ecx
je 0x6e946f
add eax, 0x30
jmp 0x6e9474
mov eax, 0xb6f02c
cmp esi, ecx
mov edx, dword [eax]
mov dword [esp + 0xc4], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
mov dword [esp + 0x34], ecx
jl 0x6e9934
mov edx, dword [0xc4b954]
mov eax, edi
imul edi, esi
neg eax
add edi, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [0xc1f960]
mov dword [esp + 0x48], edi
mov edi, dword [0xc4b950]
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], eax
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x3c], ebp
jl 0x6e9916
fild dword [esp + 0x34]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0xa8]
mov eax, ebp
imul ebp, ebx
fst dword [esp + 0x40]
fmul dword [esp + 0x20]
fstp dword [esp + 0xa0]
neg eax
mov dword [esp + 0x90], eax
add ebp, dword [esp + 0xdc]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x60], ebp
fild dword [esp + 0x3c]
fst dword [esp + 0x10]
fmul dword [esp + 0x24]
fadd dword [esp + 0xa0]
fcomp dword [0x858624]
fnstsw ax
test ah, 5
jp 0x6e95a5
fld dword [esp + 0x40]
mov eax, dword [esp + 0xd8]
fmul dword [esp + 0x68]
mov esi, dword [esp + 0x30]
fld dword [esp + 0x10]
mov ebx, dword [esp + 0xe0]
fmul dword [esp + 0xac]
add esi, eax
mov eax, dword [esp + 0x38]
add ebx, eax
faddp st(1)
fadd dword [esp + 0xe8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x40]
fmul dword [esp + 0x74]
fld dword [esp + 0x10]
fmul dword [esp + 0x9c]
faddp st(1)
fadd dword [esp + 0x7c]
fld dword [esp + 0x10]
fmul dword [esp + 0xb0]
fld dword [esp + 0x40]
fmul dword [esp + 0x84]
faddp st(1)
fadd dword [esp + 0xa4]
jmp 0x6e960f
fild dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov esi, ebp
fstp dword [esp + 0x2c]
fild dword [esp + 0x58]
fst dword [esp + 0x10]
fmul dword [esp + 0x8c]
fld dword [esp + 0x2c]
fmul dword [esp + 0xb4]
faddp st(1)
fadd dword [esp + 0x118]
fstp dword [esp + 0x4c]
fld dword [esp + 0x10]
fmul dword [esp + 0x94]
fld dword [esp + 0x2c]
fmul dword [esp + 0x6c]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x10]
fmul dword [esp + 0x78]
fld dword [esp + 0x2c]
fmul dword [esp + 0x80]
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x10]
mov dword [esp + 0x44], esi
fild dword [esp + 0x44]
mov dword [esp + 0x14], ebx
fst dword [esp + 0x44]
fild dword [esp + 0x14]
fst dword [esp + 0x14]
fld dword [esp + 0xc4]
fsub st(2)
fstp dword [esp + 0xb8]
fld dword [esp + 0xc8]
fsub st(1)
fstp dword [esp + 0xbc]
fstp st(0)
fstp st(0)
fld dword [0x858624]
fld dword [esp + 0xbc]
fmul dword [esp + 0xbc]
fld dword [esp + 0xb8]
fmul dword [esp + 0xb8]
faddp st(1)
fsqrt
fidiv dword [0x8d37d0]
fst dword [esp + 0x2c]
fcomp dword [0x858624]
fnstsw ax
test ah, 0x41
jne 0x6e9696
fstp st(0)
fld dword [0x858b50]
jmp 0x6e96b9
fld dword [esp + 0x2c]
fcomp dword [0x858f34]
fnstsw ax
test ah, 0x41
jne 0x6e96b9
fstp st(0)
fld dword [0x858624]
fsub dword [esp + 0x2c]
fmul dword [0x858b90]
mov eax, dword [esp + 0x128]
sub eax, 0
je 0x6e9733
dec eax
fstp st(0)
fstp st(0)
jne 0x6e9859
fild dword [esp + 0x30]
movzx esi, byte [ecx + 0xc20968]
mov ebx, dword [0x8d380c]
lea eax, [edi + edi*8]
fmul dword [0x858cec]
shl eax, 2
shl ebx, 8
or esi, ebx
fadd dword [esp + 0x18]
movzx ebx, byte [ecx + 0xc20168]
shl esi, 8
fstp dword [eax + 0xc4d974]
or esi, ebx
fild dword [esp + 0x38]
movzx ebx, byte [ecx + 0xc1f968]
shl esi, 8
fmul dword [0x858cec]
or esi, ebx
fadd dword [esp + 0x1c]
fstp dword [eax + 0xc4d978]
mov dword [eax + 0xc4d970], esi
jmp 0x6e9852
fld dword [esp + 0x10]
push 0xc278d4
lea ecx, [esp + 0xd4]
fmul st(1)
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x58]
push eax
sub esp, 8
fstp dword [esp + 4]
fmul st(1)
fstp dword [esp]
push ebx
push esi
fstp st(0)
call fcn.006e6ef0
fild dword [esp + 0x50]
mov edi, dword [0xc4b950]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
fmul dword [0x859018]
mov eax, dword [esp + 0x6c]
lea esi, [edi + edi*8]
shl esi, 2
fadd dword [esp + 0x38]
add esp, 0x20
fstp dword [esi + 0xc4d974]
fild dword [esp + 0x38]
fmul dword [0x859018]
fadd dword [esp + 0x1c]
fstp dword [esi + 0xc4d978]
mov dword [esi + 0xc4d958], ecx
movzx ecx, byte [0xc2116c]
mov dword [esp + 0x14], ecx
mov dword [esi + 0xc4d95c], edx
mov dword [esi + 0xc4d960], eax
fild dword [esp + 0x14]
fmul dword [esp + 0x50]
call fcn.00821b40
movzx edx, byte [0xc2116d]
mov dword [esp + 0x14], edx
mov bl, al
fild dword [esp + 0x14]
fmul dword [esp + 0x50]
call fcn.00821b40
mov byte [esp + 0x2b], al
movzx eax, byte [0xc2116e]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [esp + 0x50]
call fcn.00821b40
mov ecx, dword [0x8d3808]
shl ecx, 8
movzx edx, bl
or ecx, edx
mov dl, byte [esp + 0x2b]
movzx ebp, dl
shl ecx, 8
or ecx, ebp
movzx ebp, al
shl ecx, 8
or ecx, ebp
mov ebp, dword [esp + 0x60]
mov dword [esi + 0xc4d970], ecx
mov ecx, dword [0xc1f960]
mov byte [ecx + 0xc20168], dl
mov edx, dword [0xc4b954]
mov byte [ecx + 0xc20968], bl
mov byte [ecx + 0xc1f968], al
inc ecx
mov dword [0xc1f960], ecx
mov al, byte [0xc278e0]
test al, al
jne 0x6e98c7
mov eax, dword [esp + 0x34]
test eax, eax
je 0x6e98c0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x6e98c0
mov esi, dword [esp + 0x134]
mov eax, edi
sub eax, esi
lea esi, [eax - 2]
mov word [edx*2 + 0xc4b958], si
dec eax
mov word [edx*2 + 0xc4b95a], ax
lea esi, [edi - 1]
mov word [edx*2 + 0xc4b95c], si
add edx, 3
mov word [edx*2 + 0xc4b958], di
mov word [edx*2 + 0xc4b95a], ax
mov word [edx*2 + 0xc4b95c], si
add edx, 3
mov dword [0xc4b954], edx
inc edi
mov dword [0xc4b950], edi
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x90]
mov esi, dword [esp + 0x54]
add ebp, ebx
mov ebx, dword [esp + 0x30]
inc eax
dec esi
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x98]
add ebx, esi
cmp eax, dword [esp + 0x134]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x30], ebx
jle 0x6e9511
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x138]
mov ebx, dword [esp + 0x134]
inc dword [esp + 0x34]
dec dword [esp + 0x58]
add dword [esp + 0x48], eax
mov ebp, dword [esp + 0x5c]
add dword [esp + 0x38], ebp
cmp dword [esp + 0x34], esi
jle 0x6e94c8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret