Function at 0x10078320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0895
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100f7040]
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 [0x100ee560]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x13041500
mov word [ebp - 0x50], 0x4f
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 0x10078370
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 0x100783a7
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 [0x100ee180]
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 0x100783d1
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 0x10078408
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.100cbcc0
movss xmm1, dword [edi + 0x1b8]
subss xmm1, xmm0
divss xmm1, dword [0x100ee0c0]
comiss xmm1, dword [0x100ee058]
jbe 0x10078463
push 0
push 0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.1002b190
add esp, 8
jmp 0x100784ff
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10078499
push 4
push eax
call esi
test eax, eax
jne 0x10078499
mov eax, dword [ebp - 0x4c]
add eax, 0xfc
push 4
push eax
mov dword [ebp - 0x4c], eax
call esi
test eax, eax
jne 0x10078499
mov eax, dword [ebp - 0x4c]
mov al, byte [eax]
test al, al
jne 0x100784ff
mov ecx, edi
call fcn.10078560
mov ecx, edi
call fcn.10079680
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100784c5
push 4
push eax
call esi
test eax, eax
jne 0x100784c5
mov ecx, dword [ebp - 0x4c]
push 1
call dword [0x100ec604]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100784e7
push 4
push eax
call esi
test eax, eax
jne 0x100784e7
mov ecx, 0xbe20a0
call fcn.1001e520
cmp dword [ebp - 0x4c], eax
je 0x100784ff
mov edi, dword [edi + 0x24]
test edi, edi
je 0x100784ff
push 4
push edi
call esi
test eax, eax
jne 0x100784ff
mov ecx, edi
call dword [0x100ec628]
lea ecx, [ebp - 0x2c]
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.10089370
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.10089370
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.100892c0
mov esp, ebp
pop ebp
ret