Function at 0x100212e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10051014]
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.10010510
test eax, eax
je 0x1002133d
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 0x1002133d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x100213d1
movaps xmm0, xmmword [0x10049420]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x6191c11
mov word [ebp - 0x1c], 0x5115
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 0x10021360
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 0x1002138d
xor ecx, ecx
jmp 0x1002139c
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021393
sub ecx, edx
push ecx
lea eax, [ebp - 0x2f]
push eax
lea ecx, [ebp - 0x60]
call fcn.100027c0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.10015e90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x100213d1
inc eax
push eax
push dword [ebp - 0x60]
call fcn.100026c0
movaps xmm0, xmmword [str.mWqFPVNFwKQFBG]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
nop
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0xe
jb 0x100213e0
mov byte [ebp - 0x40], 0x70
mov al, 0x1e
xor al, byte [ebp - 0x40]
mov bl, 0x1c
mov ah, bl
mov byte [ebp - 0x3f], al
mov al, byte [ebp - 0x40]
mov dl, 0x14
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, 4
mov byte [ebp - 0x39], dh
xor cl, al
mov byte [ebp - 0x36], 0
mov ch, 0x5e
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.10012630
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10021555
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call ebx
test eax, eax
jns 0x100214ec
movaps xmm0, xmmword [0x10049620]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x1c], 0x307f
mov byte [ebp - 0x1a], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x11
jb 0x100214a7
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x1a], 0
push eax
lea ecx, [ebp - 0x60]
call fcn.100028c0
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 1
call fcn.10015e90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x100214ec
inc eax
push eax
push dword [ebp - 0x60]
call fcn.100026c0
cmp dword [ebp - 0x14], 0
jbe 0x1002154e
movaps xmm0, xmmword [0x10049150]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x3637363c
mov word [ebp - 0x34], 0x73
nop dword [eax]
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x14
jb 0x10021510
lea eax, [ebp - 0x47]
mov byte [ebp - 0x33], 0
push eax
lea ecx, [ebp - 0x78]
call fcn.100028c0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 2
call fcn.10015e90
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x1002154e
inc eax
push eax
push dword [ebp - 0x78]
call fcn.100026c0
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.10038745
mov esp, ebp
pop ebp
ret