Function at 0x180002a20
Capabilities:
Create thread
Encode data using xor
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x180018008]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov dword [rsp + 0x48], 0xf8eef3f7
mov byte [rsp + 0x54], al
xor edx, edx
mov rdi, rcx
mov dword [rsp + 0x4c], 0xafaff2ea
mov dword [rsp + 0x50], 0xcdccfbb0
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x48]
add rcx, rax
lea eax, [rdx - 0x6a]
inc edx
xor byte [rcx], al
cmp edx, 0xc
jb 0x180002a70
lea rcx, [rsp + 0x48]
mov byte [rsp + 0x54], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x104
mov rbx, rax
call fcn.180004ab0
xor edx, edx
mov dword [rsp + 0x30], 0xf0fff2c4
mov dword [rsp + 0x34], 0xeff9efe9
mov dword [rsp + 0x38], 0xd2facd
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx - 0x6a]
inc edx
xor byte [rcx], al
cmp edx, 0xb
jb 0x180002ad0
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x3b], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
movdqa xmm0, xmmword [0x180016380]
xor eax, eax
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], al
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx - 0x6a]
inc edx
xor byte [rcx], al
cmp edx, 0x10
jb 0x180002b20
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180003850
xor edx, edx
mov qword [0x180019c20], rax
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.180004ab0
xor eax, eax
mov dword [rsp + 0x30], 0xebf9e3c5
mov byte [rsp + 0x3c], al
xor edx, edx
mov dword [rsp + 0x34], 0xeff9c8ee
mov dword [rsp + 0x38], 0xc4c3f6e8
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx - 0x6a]
inc edx
xor byte [rcx], al
cmp edx, 0xc
jb 0x180002ba0
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x3c], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
movdqa xmm0, xmmword [0x180016230]
xor edx, edx
movdqu xmmword [rsp + 0x30], xmm0
nop dword [rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx - 0x6a]
inc edx
xor byte [rcx], al
cmp edx, 0xf
jb 0x180002be0
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x3f], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180003850
movdqa xmm0, xmmword [0x180016350]
mov qword [0x180019c28], rax
xor eax, eax
mov byte [rsp + 0x40], al
xor edx, edx
movdqu xmmword [rsp + 0x30], xmm0
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x30]
add rcx, rax
lea eax, [rdx - 0x6a]
inc edx
xor byte [rcx], al
cmp edx, 0x10
jb 0x180002c40
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x40], 0
mov rcx, rbx
call fcn.180003850
mov qword [0x180019c18], rax
test rax, rax
je 0x180002cbe
cmp qword [0x180019c20], 0
je 0x180002cbe
cmp qword [0x180019c28], 0
je 0x180002cbe
mov qword [rsp + 0x28], 0
lea r8, [0x180002980]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180002ccd
lea rcx, str.err_3
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180003960
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret