Function at 0x10078a90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082470
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d0
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x1008ec00]
mov esi, 0x2a0
movups xmmword [ebp - 0x2cc], xmm0
mov dword [ebp - 0x2d0], esi
movaps xmm0, xmmword [0x1008ebf0]
movups xmmword [ebp - 0x2bc], xmm0
movaps xmm0, xmmword [0x1008ebf0]
movups xmmword [ebp - 0x2ac], xmm0
movaps xmm0, xmmword [0x1008ebf0]
movups xmmword [ebp - 0x29c], xmm0
movaps xmm0, xmmword [0x1008ebf0]
movups xmmword [ebp - 0x28c], xmm0
movaps xmm0, xmmword [0x1008ebf0]
movups xmmword [ebp - 0x27c], xmm0
movaps xmm0, xmmword [0x10090770]
movups xmmword [ebp - 0x26c], xmm0
movaps xmm0, xmmword [0x1008e8c0]
movups xmmword [ebp - 0x25c], xmm0
movaps xmm0, xmmword [0x1008ec60]
movups xmmword [ebp - 0x24c], xmm0
movaps xmm0, xmmword [0x1008e8a0]
movups xmmword [ebp - 0x23c], xmm0
movaps xmm0, xmmword [0x1008e990]
movups xmmword [ebp - 0x22c], xmm0
movaps xmm0, xmmword [0x1008e9a0]
movups xmmword [ebp - 0x21c], xmm0
movaps xmm0, xmmword [0x1008e9a0]
movups xmmword [ebp - 0x20c], xmm0
movaps xmm0, xmmword [0x1008e9a0]
movups xmmword [ebp - 0x1fc], xmm0
movaps xmm0, xmmword [0x1008e9a0]
movups xmmword [ebp - 0x1ec], xmm0
movaps xmm0, xmmword [0x1008e9a0]
movups xmmword [ebp - 0x1dc], xmm0
movaps xmm0, xmmword [0x1008ea30]
movups xmmword [ebp - 0x1cc], xmm0
movaps xmm0, xmmword [0x10090780]
movups xmmword [ebp - 0x1bc], xmm0
movaps xmm0, xmmword [0x1008e870]
movups xmmword [ebp - 0x1ac], xmm0
movaps xmm0, xmmword [0x1008e9e0]
movups xmmword [ebp - 0x19c], xmm0
movaps xmm0, xmmword [0x1008ec30]
movups xmmword [ebp - 0x18c], xmm0
movaps xmm0, xmmword [0x1008e890]
movups xmmword [ebp - 0x17c], xmm0
movaps xmm0, xmmword [0x1008e8b0]
movups xmmword [ebp - 0x16c], xmm0
movaps xmm0, xmmword [0x1008e8b0]
movups xmmword [ebp - 0x15c], xmm0
movaps xmm0, xmmword [0x1008e8b0]
movups xmmword [ebp - 0x14c], xmm0
movaps xmm0, xmmword [0x1008e8b0]
movups xmmword [ebp - 0x13c], xmm0
movaps xmm0, xmmword [0x1008e8b0]
movups xmmword [ebp - 0x12c], xmm0
movaps xmm0, xmmword [0x1008ec50]
movups xmmword [ebp - 0x11c], xmm0
movaps xmm0, xmmword [0x1008e970]
movups xmmword [ebp - 0x10c], xmm0
movaps xmm0, xmmword [0x1008e310]
movups xmmword [ebp - 0xfc], xmm0
movaps xmm0, xmmword [0x1008e850]
movups xmmword [ebp - 0xec], xmm0
movaps xmm0, xmmword [0x1008ebd0]
movups xmmword [ebp - 0xdc], xmm0
movaps xmm0, xmmword [0x1008ec20]
movups xmmword [ebp - 0xcc], xmm0
movaps xmm0, xmmword [0x1008ec40]
movups xmmword [ebp - 0xbc], xmm0
movaps xmm0, xmmword [0x1008ec40]
movups xmmword [ebp - 0xac], xmm0
movaps xmm0, xmmword [0x1008ec40]
movups xmmword [ebp - 0x9c], xmm0
movaps xmm0, xmmword [0x1008ec40]
movups xmmword [ebp - 0x8c], xmm0
movaps xmm0, xmmword [0x1008ec40]
movups xmmword [ebp - 0x7c], xmm0
movaps xmm0, xmmword [0x1008ebe0]
movups xmmword [ebp - 0x6c], xmm0
movaps xmm0, xmmword [0x1008e340]
movups xmmword [ebp - 0x5c], xmm0
xor eax, eax
mov byte [ebp - 0x2c], 4
movaps xmm0, xmmword [0x1008ea20]
movups xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x2b], ax
movaps xmm0, xmmword [0x100906d0]
mov byte [ebp - 0x29], al
lea eax, [esi + 1]
movups xmmword [ebp - 0x3c], xmm0
call fcn.1007cdb0
mov edi, esp
lea edx, [esi - 1]
lea eax, [ebp + esi - 0x2cc]
xor ecx, ecx
add edx, edi
cmp edi, eax
ja 0x10078d50
lea eax, [ebp - 0x2cb]
cmp edx, eax
jae 0x10078deb
movsx eax, byte [ebp - 0x2cc]
mov edx, esi
and edx, 0xffffffc0
lea esi, [ebp - 0x2cb]
mov dword [ebp - 0x2dc], edx
sub esi, edi
lea edx, [ebp - 0x2bb]
movd xmm0, eax
sub edx, edi
punpcklbw xmm0, xmm0
lea eax, [edi + 0x20]
mov dword [ebp - 0x2d4], edx
mov edx, dword [ebp - 0x2dc]
mov edi, dword [ebp - 0x2d4]
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
nop dword [eax + eax]
movups xmm0, xmmword [ebp + ecx - 0x2cb]
lea eax, [eax + 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [ebp + ecx - 0x2bb]
add ecx, 0x40
pxor xmm0, xmm1
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [esi + eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [edi + eax - 0x40]
pxor xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jb 0x10078da0
mov edi, esp
mov esi, 0x2a0
cmp ecx, esi
jae 0x10078e27
lea eax, [ebp - 0x2cb]
sub eax, edi
lea edx, [ecx + edi]
sub esi, ecx
mov dword [ebp - 0x2d4], eax
mov cl, byte [ebp - 0x2cc]
mov edi, eax
nop word [eax + eax]
mov al, byte [edx + edi]
lea edx, [edx + 1]
xor al, cl
mov byte [edx - 1], al
sub esi, 1
jne 0x10078e10
mov edi, esp
mov esi, 0x2a0
mov eax, 0x10
mov byte [edi + esi], 0
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x20], 0x6f6a6506
mov dword [ebp - 0x1c], 0x28726863
mov dword [ebp - 0x18], 0x6a6a62
call fcn.1007cd80
mov eax, esp
lea esi, [ebp - 0x1f]
mov ecx, eax
sub esi, eax
mov edx, 0xa
nop
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 6
mov byte [ecx - 1], al
sub edx, 1
jne 0x10078e60
mov esi, esp
mov ecx, edi
sub esp, 0x18
mov dword [ebp - 0x2dc], esp
mov byte [esi + 0xa], dl
lea eax, [ecx + 1]
mov edx, esp
mov dword [ebp - 0x2d4], eax
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078ea0
sub ecx, dword [ebp - 0x2d4]
push ecx
push edi
mov ecx, edx
call fcn.100109d0
sub esp, 0x18
mov dword [ebp - 4], 0
mov edx, esp
mov ecx, esi
mov dword [edx], 0
lea edi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078ee0
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.100109d0
mov dword [ebp - 4], 0xffffffff
call fcn.10078060
add esp, 0x30
lea esp, [ebp - 0x2ec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret