Function at 0x140002250
Capabilities:
Check for debugger via api
Contain obfuscated stackstrings
Encode data using xor
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x1401270c0]
xor rax, rsp
mov qword [rbp + 0x440], rax
xor ebx, ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x68], ebx
je 0x1400022a0
mov eax, 0x1001
jmp 0x140002546
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400022b4
mov eax, 0x1002
jmp 0x140002546
mov qword [rsp + 0x560], rsi
mov ecx, 4
mov qword [rsp + 0x568], rdi
mov dword [rsp + 0x68], ebx
call fcn.140001ee0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r8, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400023a3
movdqa xmm0, xmmword [0x140111190]
mov rcx, rbx
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x13303131
mov dword [rsp + 0x44], 0x1601000d
mov word [rsp + 0x48], reloc.WS2_32.dll_setsockopt
mov byte [rsp + 0x4a], 1
nop dword [rax + rax]
lea eax, [rcx + 0x4e]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x19
jb 0x140002320
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x4a], bl
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1400023a3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x68]
mov rcx, rax
mov rsi, rax
lea edx, [r9 + 3]
call rdi
test eax, eax
jne 0x140002376
cmp dword [rsp + 0x68], ebx
jne 0x140002399
mov r9d, 4
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x68]
mov rcx, rsi
lea edx, [r9 + 0x1b]
call rdi
test eax, eax
jne 0x1400023a3
cmp dword [rsp + 0x68], ebx
jne 0x1400023a3
mov eax, 4
jmp 0x140002536
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movdqa xmm0, xmmword [str.___8]
mov rax, rbx
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x4f142c3b
mov word [rsp + 0x44], 0x100
nop dword [rax + rax]
lea ecx, [rax + 0x4e]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0x14
jb 0x1400023d0
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x45], bl
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140002403
mov eax, 0x2005
jmp 0x140002536
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea rdx, [rsp + 0x70]
mov dword [rbp - 0x60], 0x100010
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000246d
cmp qword [rbp - 0x48], rbx
jne 0x14000245a
cmp qword [rbp - 0x40], rbx
jne 0x14000245a
cmp qword [rbp - 0x38], rbx
jne 0x14000245a
cmp qword [rbp - 0x30], rbx
jne 0x14000245a
cmp qword [rbp - 0x28], rbx
jne 0x14000245a
mov eax, ebx
cmp qword [rbp - 0x20], rbx
je 0x14000245f
mov eax, 0x4000
test eax, eax
je 0x14000246d
mov eax, 0x4000
jmp 0x140002536
mov qword [rsp + 0x68], rbx
mov rcx, rbx
mov dword [rsp + 0x30], 0x7c0e7c06
mov edx, 0x7c4e
mov dword [rsp + 0x34], 0x7c157c02
mov dword [rsp + 0x38], 0x7c127c05
mov dword [rsp + 0x3c], 0x7c107c06
mov dword [rsp + 0x40], 0x7c167c0a
mov dword [rsp + 0x44], 0x7c097c1b
mov dword [rsp + 0x48], 0x7c077c13
mov dword [rsp + 0x4c], 0x7c0e7c18
mov dword [rsp + 0x50], 0x7c0b7c1a
mov dword [rsp + 0x54], 0x7c377c3c
mov dword [rsp + 0x58], 0x7c2c7c20
mov dword [rsp + 0x5c], 0x7c3a7c3c
mov dword [rsp + 0x60], 0x7c39
mov byte [rsp + 0x64], 1
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x30], ax
inc rcx
cmp rcx, 0x19
jb 0x1400024f0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x64], bl
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ecx, 0x5001
cmove ebx, ecx
mov eax, ebx
mov rsi, qword [rsp + 0x560]
mov rdi, qword [rsp + 0x568]
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.1400cbcf0
mov rbx, qword [rsp + 0x570]
add rsp, 0x550
pop rbp
ret