Function at 0x100797f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x100a4040]
xor eax, esp
mov dword [esp + 0x8c], eax
cmp byte [0x100bf475], 0
push esi
push edi
mov edi, ecx
je 0x10079871
movaps xmm0, xmmword [0x1009a880]
xor ecx, ecx
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x4c], 0x3b3a2b3c
movaps xmm0, xmmword [0x1009a900]
movups xmmword [esp + 0x3c], xmm0
mov word [esp + 0x50], 0x55
mov al, byte [esp + 0x2c]
xor byte [esp + ecx + 0x2d], al
inc ecx
cmp ecx, 0x24
jb 0x10079840
lea eax, [esp + 0x2d]
mov byte [esp + 0x51], 0
push eax
call fcn.10002690
add esp, 4
mov dword [0x100bf3a4], 0
mov byte [0x100bf475], 0
mov ecx, dword [0x100beabc]
push 0x16
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
test al, al
je 0x100799e6
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, eax
mov ecx, edx
mov eax, dword [0x100bf394]
cdq
sub esi, eax
sbb ecx, edx
mov dword [esp + 0x1c], ecx
jne 0x100798ae
cmp esi, 0x12c
jbe 0x100799e6
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp dword [0x100bf3a4], 0
mov dword [0x100bf394], eax
jne 0x10079996
mov cl, 0x63
mov dword [esp + 0x5c], 0x6110063
mov dword [esp + 0x60], 0xd0a1702
xor eax, eax
mov dword [esp + 0x64], 0xf054304
mov word [esp + 0x68], 0x69
nop dword [eax]
xor byte [esp + eax + 0x5d], cl
inc eax
cmp eax, 0xc
jae 0x10079900
mov cl, byte [esp + 0x5c]
jmp 0x100798f0
lea eax, [esp + 0x5d]
mov byte [esp + 0x69], 0
push eax
call fcn.10002690
mov eax, dword [0x100bfa78]
add esp, 4
mov esi, dword [0x100bfac0]
movss xmm0, dword [eax]
mov eax, dword [0x100bfa9c]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax]
mov eax, dword [0x100bfa54]
movss dword [esp + 0x14], xmm0
movss xmm1, dword [eax]
mov ax, word [0x100be93c]
movss dword [esp + 0x10], xmm1
test ax, ax
jne 0x1007996c
mov ecx, 0x876b2934
call fcn.10002c20
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x10]
mov word [0x100be93c], ax
movss xmm2, dword [esp + 8]
movaps xmm3, xmm0
movzx eax, ax
mov edx, esi
push ecx
movss dword [esp], xmm2
movaps xmm2, xmm1
mov ecx, dword [eax + edi + 4]
call fcn.100793f0
add esp, 4
mov dword [0x100bf3a4], eax
jmp 0x100799d3
movaps xmm0, xmmword [0x1009a490]
xor ecx, ecx
movups xmmword [esp + 0x5c], xmm0
mov al, byte [esp + 0x5c]
xor byte [esp + ecx + 0x5d], al
inc ecx
cmp ecx, 0xe
jb 0x100799a4
lea eax, [esp + 0x5d]
mov byte [esp + 0x6b], 0
push eax
call fcn.10002690
add esp, 4
call fcn.10079610
mov dword [0x100bf3a4], 0
mov ecx, dword [0x100be9f8]
push str.play_items_flashlight1.wav
mov eax, dword [ecx]
call dword [eax + 0x1b0]
cmp dword [0x100bf3a4], 0
je 0x10079c59
mov ecx, dword [0x100be9f8]
lea edx, [esp + 0x5c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0xc]
movss xmm1, dword [0x1009a130]
mulss xmm0, xmm1
mov dword [esp + 0x58], eax
lea eax, [esp + 8]
mov dword [esp + 0x6c], eax
movss dword [esp + 0x54], xmm0
fld dword [esp + 0x54]
fsincos
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x5c]
lea eax, [esp + 0x10]
mulss xmm0, xmm1
mov dword [esp + 0x58], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x54], eax
movss dword [esp + 0x6c], xmm0
fld dword [esp + 0x6c]
fsincos
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x64]
lea eax, [esp + 0x14]
mulss xmm0, xmm1
mov dword [esp + 0x58], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x54], eax
movss dword [esp + 0x6c], xmm0
fld dword [esp + 0x6c]
fsincos
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x100bf3a4]
movss xmm6, dword [esp + 0x18]
movss xmm7, dword [esp + 0x28]
movaps xmm2, xmm6
movss xmm3, dword [esp + 0x14]
mulss xmm3, dword [0x1009a38c]
movss xmm5, dword [esp + 8]
xorps xmm5, xmmword [0x1009b100]
movss dword [esp + 0x88], xmm0
movaps xmm1, xmm5
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 8]
mulss xmm2, xmm7
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm7
xorps xmm0, xmmword [0x1009b100]
movss dword [esp + 0x90], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0xc]
mulss xmm2, dword [esp + 8]
mulss xmm1, xmm3
mulss xmm3, dword [esp + 0xc]
subss xmm1, xmm0
mulss xmm5, xmm6
movaps xmm0, xmm6
mulss xmm6, dword [esp + 0xc]
mulss xmm0, dword [0x1009a38c]
subss xmm3, xmm2
movss xmm2, dword [esp + 0x14]
movss dword [esp + 0x7c], xmm1
movaps xmm1, xmm2
mulss xmm0, dword [esp + 0x10]
mulss xmm2, dword [esp + 0x10]
mulss xmm1, xmm7
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x80], xmm3
movaps xmm0, xmm1
movss dword [esp + 0x78], xmm2
mulss xmm0, dword [esp + 0xc]
mulss xmm1, dword [esp + 8]
subss xmm0, xmm5
subss xmm1, xmm6
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
mov byte [ecx], 1
mov eax, dword [0x100bfa30]
mov al, byte [eax]
mov byte [ecx + 0x1c], al
mov eax, dword [0x100bfa54]
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
mov ax, word [0x100bf25c]
test ax, ax
jne 0x10079bdd
mov ecx, 0xfc40137f
call fcn.10002c20
mov ecx, dword [0x100bf3a4]
mov word [0x100bf25c], ax
movzx esi, ax
mov ax, word [0x100bf0bc]
test ax, ax
jne 0x10079c01
mov ecx, 0x4ee6d885
call fcn.10002c20
mov ecx, dword [0x100bf3a4]
mov word [0x100bf0bc], ax
movss xmm0, dword [esi + edi]
lea edx, [esp + 0x18]
movzx eax, ax
addss xmm0, dword [eax + edi]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esi + edi + 4]
addss xmm0, dword [eax + edi + 4]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + edi + 8]
addss xmm0, dword [eax + edi + 8]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x90]
movss dword [esp + 0x28], xmm0
push eax
call fcn.10079210
add esp, 0xc
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.1008a073
mov esp, ebp
pop ebp
ret