Function at 0x10079800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0a48
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
push edi
mov eax, dword [0x100f7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x110]
xor cl, cl
mov edx, eax
mov esi, 6
nop dword [eax + eax]
cmp dword [edx - 4], 0
je 0x1007984b
cmp dword [edx], 0
jne 0x1007984d
inc cl
add edx, 0x18
sub esi, 1
jne 0x10079840
cmp cl, 6
jne 0x1007998e
movaps xmm0, xmmword [str._C_I]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x1f]
xor al, byte [ebp - 0x20]
mov byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10079870
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100798a7
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.10003370
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100ee820]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x693e3337
mov word [ebp - 0x10], 0x66
nop
mov al, byte [ebp + ecx - 0x23]
xor al, byte [ebp - 0x24]
mov byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x14
jb 0x100798e0
xorps xmm0, xmm0
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x23]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079917
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10003370
push 0
push 0
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.1002b190
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10002f50
mov eax, dword [ebp - 0x40]
push 8
push eax
mov dword [ebp - 0x40], 0
call fcn.10089370
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.10002f50
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.10089370
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
lea ecx, [esi + 6]
cmp dword [eax - 4], 0
jbe 0x100799a1
cmp dword [eax], 0
jbe 0x100799a1
add esi, dword [eax + 4]
add eax, 0x18
sub ecx, 1
jne 0x10079993
mov ecx, edi
call fcn.10078150
mov ecx, edi
call fcn.10078560
push 0x2e
mov edx, esi
lea ecx, [ebp - 0x98]
call fcn.10019780
add esp, 4
mov dword [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x100799db
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x100ee570]
push ecx
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x441217
xor ecx, ecx
mov al, byte [ebp + ecx - 0x23]
xor al, byte [ebp - 0x24]
mov byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x100799f0
sub esp, 0x1c
mov byte [ebp - 0x11], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079a30
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x7c]
push eax
call fcn.1000d7c0
add esp, 0x24
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x80]
call fcn.1001e320
lea ecx, [ebp - 0x7c]
call fcn.10002f50
mov eax, dword [ebp - 0x7c]
push 8
push eax
mov dword [ebp - 0x7c], 0
call fcn.10089370
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.10002f50
mov eax, dword [ebp - 0x98]
push 8
push eax
mov dword [ebp - 0x98], 0
call fcn.10089370
mov esi, dword [edi + 0x20]
add esp, 8
test esi, esi
je 0x10079aca
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10079aca
push 1
mov ecx, esi
call dword [0x100ec604]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret