Function at 0x10016ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10074084]
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.1000ee40
test eax, eax
je 0x10016d3d
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 0x10016d3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x10016dd4
movaps xmm0, xmmword [0x1006b250]
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 0x10016d60
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 0x10016d8d
xor ecx, ecx
jmp 0x10016d9c
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016d93
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x60]
call fcn.100028a0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.100107c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x10016dd4
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002780
movaps xmm0, xmmword [0x1006aec0]
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 0x10016de1
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.100100c0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10016f58
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call ebx
test eax, eax
jns 0x10016ef0
movaps xmm0, xmmword [0x1006aef0]
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 0x10016ea8
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x1a], 0
push eax
lea ecx, [ebp - 0x60]
call fcn.100029a0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 1
call fcn.100107c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x10016ef0
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002780
cmp dword [ebp - 0x14], 0
jbe 0x10016f51
movaps xmm0, xmmword [0x1006b280]
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 0x10016f10
lea eax, [ebp - 0x47]
mov byte [ebp - 0x33], 0
push eax
lea ecx, [ebp - 0x78]
call fcn.100029a0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 2
call fcn.100107c0
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x10016f51
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.10002780
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.1001c055
mov esp, ebp
pop ebp
ret