Function at 0x140001330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
movdqa xmm0, xmmword [0x140013340]
lea r8, [rsp + 0x31]
xor ebx, ebx
mov dword [rsp + 0x30], 0x110c1723
mov rsi, rcx
mov dword [rsp + 0x34], 0x5c0b0700
movdqu xmmword [rsp + 0x40], xmm0
mov ecx, ebx
mov dword [rsp + 0x38], 0xb0c2d40
mov r9d, ebx
mov word [rsp + 0x3c], 0x1100
mov dword [rsp + 0x20], 0x110c1723
lea r11, str.secretxorkey
mov dword [rsp + 0x24], 0x5c0b0700
mov dword [rsp + 0x28], 0x1002540
mov byte [rsp + 0x2c], 7
mov dword [rsp + 0x50], 0x1f191a36
mov dword [rsp + 0x54], 0xd0a0301
nop
cmp ecx, 0xc
mov edx, ebx
cmovne edx, ecx
mov ecx, ebx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
mov edx, ebx
xor byte [r8 + 0xa], al
lea r8, [r8 + 0xe]
cmp ecx, 0xb
lea eax, [rcx + 1]
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 - 3], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
add r9d, 0xe
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 - 2], al
inc ecx
cmp r9d, 0xe
jb 0x1400013c0
mov ecx, ebx
lea r9, [rsp + 0x21]
mov r10d, ebx
nop dword [rax]
cmp ecx, 0xc
mov edx, ebx
mov r8d, ebx
cmovne edx, ecx
mov ecx, ebx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xb
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r9 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne r8d, eax
movsxd rax, r8d
movzx eax, byte [rax + r11]
mov ecx, ebx
xor byte [r9 + 0xa], al
lea r9, [r9 + 0xd]
cmp r8d, 0xb
lea eax, [r8 + 1]
cmovne ecx, eax
add r10d, 0xd
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r9 - 2], al
inc ecx
cmp r10d, 0xd
jb 0x140001520
mov ecx, ebx
lea r8, [rsp + 0x41]
mov r9d, ebx
nop dword [rax]
cmp ecx, 0xc
mov edx, ebx
cmovne edx, ecx
mov ecx, ebx
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 - 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 1], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 2], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 3], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 4], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 5], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 6], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 7], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 8], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 9], al
lea eax, [rdx + 1]
cmp edx, 0xb
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
mov edx, ebx
xor byte [r8 + 0xa], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 0xb], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 0xc], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 0xd], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 0xe], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 0xf], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 0x10], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 0x11], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 0x12], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 0x13], al
lea eax, [rdx + 1]
cmp edx, 0xb
mov edx, ebx
cmovne ecx, eax
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 + 0x14], al
lea eax, [rcx + 1]
cmp ecx, 0xb
mov ecx, ebx
cmovne edx, eax
movsxd rax, edx
movzx eax, byte [rax + r11]
xor byte [r8 + 0x15], al
lea eax, [rdx + 1]
cmp edx, 0xb
lea r8, [r8 + 0x18]
cmovne ecx, eax
add r9d, 0x18
movsxd rax, ecx
movzx eax, byte [rax + r11]
xor byte [r8 - 2], al
inc ecx
cmp r9d, 0x18
jb 0x140001670
lea rcx, [0x14001d010]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14001d020]
mov qword [0x14001ecf8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14001d030]
mov qword [0x14001ecf0], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov qword [0x14001ed00], rax
lea ecx, [rdx + 2]
call rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001941
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x130
mov rcx, rax
call qword [0x14001ecf8]
mov rcx, rdi
test eax, eax
jne 0x140001945
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140001994
lea rdx, [rsp + 0x60]
call qword [0x14001ecf0]
test eax, eax
je 0x140001989
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp - 0x74]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140001985
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [0x14001ecf0]
test eax, eax
jne 0x140001960
jmp 0x140001989
mov ebx, dword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret