Function at 0x100227b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078b38
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1009f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10013d30
test eax, eax
je 0x1002280d
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x1002280d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x100228a4
movaps xmm0, xmmword [0x10094600]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x213e3b36
mov word [ebp - 0x1c], 0x7632
mov byte [ebp - 0x1a], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x15
jb 0x10022830
cmp byte [ebp - 0x2f], 0
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x1002285d
xor ecx, ecx
jmp 0x1002286c
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022863
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x60]
call fcn.100028b0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.10019090
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x100228a4
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002790
movaps xmm0, xmmword [0x10093ca0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0xe
jb 0x100228b1
mov byte [ebp - 0x40], 0x76
mov al, 0x18
xor al, byte [ebp - 0x40]
mov bl, 0x1a
mov ah, bl
mov byte [ebp - 0x3f], al
mov al, byte [ebp - 0x40]
mov dl, 0x12
mov bh, ah
mov byte [ebp - 0x15], ah
xor bl, al
mov byte [ebp - 0x36], 0
xor ah, al
mov byte [ebp - 0x1d], 0
xor bh, al
mov byte [ebp - 0x3b], ah
mov dh, dl
mov byte [ebp - 0x3c], bl
xor dl, al
mov byte [ebp - 0x38], bh
xor dh, al
mov byte [ebp - 0x3d], dl
mov cl, 2
mov byte [ebp - 0x39], dh
xor cl, al
mov byte [ebp - 0x36], 0
mov ch, 0x58
mov byte [ebp - 0x3e], cl
xor ch, al
mov al, byte [ebp - 0x15]
xor al, byte [ebp - 0x40]
mov byte [ebp - 0x37], al
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x3a], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0xd78dd4
mov ebx, eax
call fcn.10015880
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10022a28
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call ebx
test eax, eax
jns 0x100229c0
movaps xmm0, xmmword [0x10093e00]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x1c], 0x531c
mov byte [ebp - 0x1a], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x11
jb 0x10022978
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x1a], 0
push eax
lea ecx, [ebp - 0x60]
call fcn.100029b0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 1
call fcn.10019090
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x100229c0
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002790
cmp dword [ebp - 0x14], 0
jbe 0x10022a21
movaps xmm0, xmmword [0x10094660]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x7a7b7a70
mov word [ebp - 0x34], 0x3f
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x14
jb 0x100229e0
lea eax, [ebp - 0x47]
mov byte [ebp - 0x33], 0
push eax
lea ecx, [ebp - 0x78]
call fcn.100029b0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 2
call fcn.10019090
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x10022a21
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.10002790
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003bc25
mov esp, ebp
pop ebp
ret