Function at 0x10078160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc015
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movaps xmm0, xmmword [0x100e8bf0]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x17001104
mov word [ebp - 0x50], 0x4b
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x63]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x14
jb 0x100781b0
xorps xmm0, xmm0
mov byte [ebp - 0x4f], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x30], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100781e7
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10003370
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [str._yFL_]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp + ecx - 0x5f]
xor al, byte [ebp - 0x60]
mov byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xe
jb 0x10078211
xorps xmm0, xmm0
mov byte [ebp - 0x51], 0
lea ecx, [ebp - 0x5f]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078248
sub ecx, edx
lea eax, [ebp - 0x5f]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003370
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.100c7440
movss xmm1, dword [edi + 0x1b8]
subss xmm1, xmm0
divss xmm1, dword [0x100e8810]
comiss xmm1, dword [0x100e87a8]
jbe 0x100782a3
push 0
push 0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.1002afd0
add esp, 8
jmp 0x1007833f
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100782d9
push 4
push eax
call esi
test eax, eax
jne 0x100782d9
mov eax, dword [ebp - 0x4c]
add eax, 0xfc
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x100782d9
mov eax, dword [ebp - 0x4c]
mov al, byte [eax]
test al, al
jne 0x1007833f
mov ecx, edi
call fcn.100783a0
mov ecx, edi
call fcn.100794c0
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10078305
push 4
push eax
call esi
test eax, eax
jne 0x10078305
mov ecx, dword [ebp - 0x4c]
push 1
call dword [0x100e6d54]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10078327
push 4
push eax
call esi
test eax, eax
jne 0x10078327
mov ecx, 0xbe20a0
call fcn.1001e350
cmp dword [ebp - 0x4c], eax
je 0x1007833f
mov edi, dword [edi + 0x24]
test edi, edi
je 0x1007833f
push 4
push edi
call esi
test eax, eax
jne 0x1007833f
mov ecx, edi
call dword [0x100e6d78]
lea ecx, [ebp - 0x2c]
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.10002f50
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x48], 0
call fcn.100891b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
ret