Function at 0x10020e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076f98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1009d084]
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.10012d20
test eax, eax
je 0x10020ebd
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 0x10020ebd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x10020f54
movaps xmm0, xmmword [str.5eGZVPFF]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x435c5954
mov word [ebp - 0x1c], 0x1450
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 0x10020ee0
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 0x10020f0d
xor ecx, ecx
jmp 0x10020f1c
lea ecx, [ebp - 0x2f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020f13
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.10017ed0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x10020f54
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002790
movaps xmm0, xmmword [0x10091c90]
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 0x10020f61
mov byte [ebp - 0x40], 0x42
mov al, 0x2c
xor al, byte [ebp - 0x40]
mov bl, 0x2e
mov ah, bl
mov byte [ebp - 0x3f], al
mov al, byte [ebp - 0x40]
mov dl, 0x26
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, 0x36
mov byte [ebp - 0x39], dh
xor cl, al
mov byte [ebp - 0x36], 0
mov ch, 0x6c
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.10014880
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x100210d8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call ebx
test eax, eax
jns 0x10021070
movaps xmm0, xmmword [0x10092540]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x1c], 0x2b64
mov byte [ebp - 0x1a], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x11
jb 0x10021028
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.10017ed0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x10021070
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002790
cmp dword [ebp - 0x14], 0
jbe 0x100210d1
movaps xmm0, xmmword [0x100923d0]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x5657565c
mov word [ebp - 0x34], 0x13
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x14
jb 0x10021090
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.10017ed0
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x100210d1
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.1003a2a5
mov esp, ebp
pop ebp
ret