Function at 0x140001a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx eax, byte [rcx + 1]
movzx r10d, byte [rcx]
mov rdi, r8
mov r9, rcx
mov r14, rdx
movzx edx, byte [rcx + 8]
shl edx, 8
shl r10d, 8
lea rsi, [0x140000000]
xor r10d, eax
movzx eax, byte [rcx + 2]
shl r10d, 8
xor r10d, eax
movzx eax, byte [rcx + 3]
shl r10d, 8
xor r10d, eax
movzx eax, byte [rcx + 5]
xor r10d, dword [r8]
movzx r8d, byte [rcx + 4]
shl r8d, 8
xor r8d, eax
movzx eax, byte [rcx + 6]
shl r8d, 8
xor r8d, eax
movzx eax, byte [rcx + 7]
shl r8d, 8
xor r8d, eax
movzx eax, byte [rcx + 9]
xor r8d, dword [rdi + 4]
xor edx, eax
movzx eax, byte [rcx + 0xa]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0xb]
movzx ecx, byte [rcx + 0xc]
shl ecx, 8
shl edx, 8
xor edx, eax
movzx eax, byte [r9 + 0xd]
xor edx, dword [rdi + 8]
xor ecx, eax
movzx eax, byte [r9 + 0xe]
shl ecx, 8
mov r11d, edx
xor ecx, eax
movzx eax, byte [r9 + 0xf]
mov r9d, r8d
shl ecx, 8
mov r8d, r10d
xor ecx, eax
mov eax, edx
xor ecx, dword [rdi + 0xc]
shr rax, 8
movzx edx, al
mov eax, ecx
mov ebx, ecx
mov ebp, dword [rsi + rdx*4 + 0x148630]
shr rax, 0x10
movzx ecx, al
mov eax, r10d
xor ebp, dword [rsi + rcx*4 + 0x148230]
shr rax, 0x18
xor ebp, dword [rsi + rax*4 + 0x147e30]
movzx eax, r9b
xor ebp, dword [rsi + rax*4 + 0x148a30]
mov eax, r10d
xor ebp, dword [rdi + 0x10]
shr rax, 0x10
movzx edx, al
mov eax, ebx
mov r15d, dword [rsi + rdx*4 + 0x148230]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r15d, dword [rsi + rcx*4 + 0x148630]
shr rax, 0x18
xor r15d, dword [rsi + rax*4 + 0x147e30]
movzx eax, r11b
xor r15d, dword [rsi + rax*4 + 0x148a30]
mov eax, r10d
xor r15d, dword [rdi + 0x14]
mov r13d, dword [rdi + 0xf0]
shr rax, 8
lea r12, [rdi + 0x20]
movzx edx, al
mov eax, r9d
shr r9, 8
mov edx, dword [rsi + rdx*4 + 0x148630]
shr rax, 0x10
sar r13d, 1
movzx ecx, al
mov eax, r11d
shr r11, 0x10
xor edx, dword [rsi + rcx*4 + 0x148230]
shr rax, 0x18
movzx ecx, r9b
xor edx, dword [rsi + rax*4 + 0x147e30]
mov r10d, dword [rsi + rcx*4 + 0x148630]
movzx eax, bl
xor edx, dword [rsi + rax*4 + 0x148a30]
movzx eax, r11b
shr rbx, 0x18
xor r10d, dword [rsi + rax*4 + 0x148230]
xor edx, dword [rdi + 0x18]
movzx eax, r8b
xor r10d, dword [rsi + rbx*4 + 0x147e30]
xor r10d, dword [rsi + rax*4 + 0x148a30]
xor r10d, dword [rdi + 0x1c]
dec r13d
je 0x140001e8f
lea r14, [0x140000000]
nop word [rax + rax]
mov r11d, edx
mov esi, r10d
mov eax, edx
shr rax, 8
mov r10d, r15d
movzx edx, al
mov eax, esi
shr r10, 8
mov ebx, dword [r14 + rdx*4 + 0x148630]
shr rax, 0x10
movzx ecx, al
mov eax, ebp
xor ebx, dword [r14 + rcx*4 + 0x148230]
shr rax, 0x18
xor ebx, dword [r14 + rax*4 + 0x147e30]
movzx eax, r15b
xor ebx, dword [r14 + rax*4 + 0x148a30]
mov eax, ebp
xor ebx, dword [r12]
shr rax, 0x10
movzx edx, al
mov eax, esi
mov r9d, dword [r14 + rdx*4 + 0x148230]
shr rax, 8
movzx ecx, al
mov eax, r15d
xor r9d, dword [r14 + rcx*4 + 0x148630]
shr rax, 0x18
xor r9d, dword [r14 + rax*4 + 0x147e30]
movzx eax, r11b
xor r9d, dword [r14 + rax*4 + 0x148a30]
mov eax, ebp
xor r9d, dword [r12 + 4]
shr rax, 8
movzx edx, al
mov eax, r15d
mov r8d, dword [r14 + rdx*4 + 0x148630]
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr r11, 0x10
xor r8d, dword [r14 + rcx*4 + 0x148230]
shr rax, 0x18
movzx ecx, r10b
xor r8d, dword [r14 + rax*4 + 0x147e30]
movzx eax, sil
shr rsi, 0x18
xor r8d, dword [r14 + rax*4 + 0x148a30]
movzx eax, r11b
mov r11d, dword [r14 + rcx*4 + 0x148630]
xor r11d, dword [r14 + rax*4 + 0x148230]
xor r8d, dword [r12 + 8]
movzx eax, bpl
xor r11d, dword [r14 + rsi*4 + 0x147e30]
mov r10d, r8d
mov r8d, r9d
xor r11d, dword [r14 + rax*4 + 0x148a30]
mov eax, r10d
xor r11d, dword [r12 + 0xc]
shr rax, 8
movzx edx, al
mov eax, r11d
mov ebp, dword [r14 + rdx*4 + 0x148630]
shr rax, 0x10
movzx ecx, al
mov eax, ebx
xor ebp, dword [r14 + rcx*4 + 0x148230]
shr rax, 0x18
xor ebp, dword [r14 + rax*4 + 0x147e30]
movzx eax, r9b
xor ebp, dword [r14 + rax*4 + 0x148a30]
mov eax, ebx
xor ebp, dword [r12 + 0x10]
shr rax, 0x10
movzx edx, al
mov eax, r11d
mov r15d, dword [r14 + rdx*4 + 0x148230]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r15d, dword [r14 + rcx*4 + 0x148630]
shr rax, 0x18
shr r8, 8
add r12, 0x20
xor r15d, dword [r14 + rax*4 + 0x147e30]
movzx eax, r10b
xor r15d, dword [r14 + rax*4 + 0x148a30]
mov eax, ebx
xor r15d, dword [r12 - 0xc]
shr rax, 8
movzx edx, al
mov eax, r9d
mov edx, dword [r14 + rdx*4 + 0x148630]
shr rax, 0x10
movzx ecx, al
mov eax, r10d
shr r10, 0x10
xor edx, dword [r14 + rcx*4 + 0x148230]
shr rax, 0x18
movzx ecx, r8b
xor edx, dword [r14 + rax*4 + 0x147e30]
movzx eax, r11b
shr r11, 0x18
xor edx, dword [r14 + rax*4 + 0x148a30]
movzx eax, r10b
mov r10d, dword [r14 + rcx*4 + 0x148630]
xor r10d, dword [r14 + rax*4 + 0x148230]
xor edx, dword [r12 - 8]
movzx eax, bl
xor r10d, dword [r14 + r11*4 + 0x147e30]
xor r10d, dword [r14 + rax*4 + 0x148a30]
xor r10d, dword [r12 - 4]
dec r13d
jne 0x140001c60
mov r14, qword [rsp + 0x58]
lea rsi, [0x140000000]
lea r11, [0x140000000]
mov r9d, r10d
mov r10d, ebp
mov eax, r9d
mov r8d, r15d
shr rax, 0x10
shr r8, 8
movzx ecx, al
mov rax, rdx
mov ebp, dword [rsi + rcx*4 + 0x146600]
shr rax, 8
movzx ecx, al
and ebp, 0xff0000
mov eax, dword [rsi + rcx*4 + 0x146600]
and eax, 0xff00
xor ebp, eax
mov eax, r10d
shr rax, 0x18
mov ecx, dword [rsi + rax*4 + 0x146600]
movzx eax, r15b
movzx eax, byte [rsi + rax*4 + 0x146600]
and ecx, 0xff000000
xor ebp, ecx
xor ebp, eax
mov eax, r10d
shr rax, 0x10
xor ebp, dword [r12]
movzx ecx, al
mov eax, r9d
mov esi, dword [rsi + rcx*4 + 0x146600]
shr rax, 8
movzx ecx, al
and esi, 0xff0000
mov eax, dword [r11 + rcx*4 + 0x146600]
and eax, 0xff00
xor esi, eax
mov eax, r15d
shr rax, 0x18
mov eax, dword [r11 + rax*4 + 0x146600]
and eax, 0xff000000
xor esi, eax
movzx eax, dl
movzx eax, byte [r11 + rax*4 + 0x146600]
xor esi, eax
mov eax, r15d
xor esi, dword [r12 + 4]
shr rax, 0x10
movzx ecx, al
mov eax, r10d
mov edi, dword [r11 + rcx*4 + 0x146600]
shr rax, 8
movzx ecx, al
and edi, 0xff0000
mov eax, dword [r11 + rcx*4 + 0x146600]
and eax, 0xff00
xor edi, eax
mov rax, rdx
shr rdx, 0x10
shr rax, 0x18
mov eax, dword [r11 + rax*4 + 0x146600]
and eax, 0xff000000
xor edi, eax
movzx eax, r9b
shr r9, 0x18
movzx eax, byte [r11 + rax*4 + 0x146600]
xor edi, eax
movzx eax, dl
mov ebx, dword [r11 + rax*4 + 0x146600]
xor edi, dword [r12 + 8]
movzx eax, r8b
mov ecx, dword [r11 + rax*4 + 0x146600]
mov eax, dword [r11 + r9*4 + 0x146600]
and ebx, 0xff0000
and eax, 0xff000000
and ecx, 0xff00
xor ebx, ecx
xor ebx, eax
movzx eax, r10b
movzx eax, byte [r11 + rax*4 + 0x146600]
xor ebx, eax
xor ebx, dword [r12 + 0xc]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebp
mov byte [r14 + 3], bpl
shr eax, 0x18
mov byte [r14 + 7], sil
mov byte [r14 + 0xf], bl
mov byte [r14], al
mov eax, ebp
mov byte [r14 + 0xb], dil
shr eax, 0x10
mov byte [r14 + 1], al
mov eax, ebp
mov rbp, qword [rsp + 0x60]
shr eax, 8
mov byte [r14 + 2], al
mov eax, esi
shr eax, 0x18
mov byte [r14 + 4], al
mov eax, esi
shr eax, 0x10
mov byte [r14 + 5], al
mov eax, esi
mov rsi, qword [rsp + 0x68]
shr eax, 8
mov byte [r14 + 6], al
mov eax, edi
shr eax, 0x18
mov byte [r14 + 8], al
mov eax, edi
shr eax, 0x10
mov byte [r14 + 9], al
mov eax, edi
shr eax, 8
mov byte [r14 + 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [r14 + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [r14 + 0xd], al
mov eax, ebx
mov rbx, qword [rsp + 0x50]
shr eax, 8
mov byte [r14 + 0xe], al
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret