Function at 0x180039e60
Capabilities:
Contain obfuscated stackstrings
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1801551e0]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rdi, rcx
mov qword [rbp + 0xa0], rcx
xor r15d, r15d
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x60], 0x53acaaaf
mov dword [rsp + 0x64], 0x617b672f
mov word [rsp + 0x68], 0x100
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.18001e170
lea rcx, [rbp + 0x80]
call fcn.18000ee90
test al, al
jne 0x18003a660
movdqa xmm0, xmmword [0x180137590]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x686a2039
mov word [rbp - 0x3c], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x3a], 1
mov ecx, r15d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x15
jb 0x180039f10
mov byte [rbp - 0x3a], 0
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
call fcn.180040990
lea rcx, [rbp + 0x20]
call fcn.18000ee90
test al, al
jne 0x18003a660
movdqa xmm0, xmmword [0x180138e80]
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], 0x267d6b7f
mov dword [rbp - 0x7c], 0x78773c25
mov word [rbp - 0x78], 0x79
mov byte [rbp - 0x76], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0x19
jb 0x180039f90
mov byte [rbp - 0x76], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
jne 0x180039fc3
cmp byte [0x18017f816], al
je 0x18003a5c5
mov dword [rsp + 0x50], 0x30c7cc9f
mov word [rsp + 0x54], gethostname
mov byte [rsp + 0x56], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 5
jb 0x180039fe0
mov byte [rsp + 0x56], 0
mov qword [rbp + 0x60], r15
movdqa xmm0, xmmword [0x180136dd0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov r8d, 5
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
call fcn.180040990
nop
mov ebx, 0xf9
mov dword [rsp + 0x58], ebx
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18003a047
mov rcx, qword [rdi]
cmp r8, qword [rbp + 0x70]
jne 0x18003a05a
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18003a191
mov dword [rsp + 0x48], 0x34c6cc9f
mov word [rsp + 0x4c], gethostname
mov byte [rsp + 0x4e], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 5
jb 0x18003a080
mov byte [rsp + 0x4e], 0
mov qword [rbp + 0x40], r15
movdqa xmm0, xmmword [0x180136dd0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8d, 5
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x40]
call fcn.180040990
nop
mov ebx, 0x3fb
mov dword [rsp + 0x58], ebx
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18003a0e7
mov rcx, qword [rdi]
cmp r8, qword [rbp + 0x50]
jne 0x18003a0fa
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18003a191
mov dword [rsp + 0x40], 0x39cfcd9f
mov word [rsp + 0x44], gethostname
mov byte [rsp + 0x46], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 5
jb 0x18003a120
mov byte [rsp + 0x46], 0
mov qword [rbp - 0x30], r15
movdqa xmm0, xmmword [0x180136dd0]
movdqu xmmword [rbp - 0x20], xmm0
mov r8d, 5
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.180040990
mov ebx, 0xfff
mov dword [rsp + 0x58], ebx
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18003a182
mov rcx, qword [rdi]
cmp r8, qword [rbp - 0x20]
jne 0x18003a196
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003a196
mov sil, 1
jmp 0x18003a199
xor sil, sil
test bl, 4
je 0x18003a1af
and ebx, 0xfffffffb
mov dword [rsp + 0x58], ebx
lea rcx, [rbp - 0x30]
call fcn.180040890
nop
test bl, 2
je 0x18003a1c5
and ebx, 0xfffffffd
mov dword [rsp + 0x58], ebx
lea rcx, [rbp + 0x40]
call fcn.180040890
nop
test bl, 1
je 0x18003a1d3
lea rcx, [rbp + 0x60]
call fcn.180040890
test sil, sil
je 0x18003a1ee
mov dword [0x18017f7d8], 0x300
mov dword [0x18017f7d4], 0xe8
jmp 0x18003a202
mov dword [0x18017f7d8], 0x320
mov dword [0x18017f7d4], 0x88
mov dword [rsp + 0x30], 0x579c8c9a
mov dword [rsp + 0x34], 0x6b676c68
mov word [rsp + 0x38], WSAStartup
mov byte [rsp + 0x3a], 1
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x18003a230
mov byte [rsp + 0x3a], 0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1801836d0], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1801836d8], rax
movdqa xmm0, xmmword [0x180138f00]
movdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0x3e6a7864
mov dword [rbp - 0x5c], 0x7f7e75
mov byte [rbp - 0x58], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rbp + rcx - 0x70], al
inc rcx
cmp rcx, 0x17
jb 0x18003a290
mov byte [rbp - 0x58], 0
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1801837a0], rax
mov rsi, qword [0x18017f750]
add rsi, r14
add r14, qword [0x18017f758]
lea rdx, [0x18017f6d0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x18017f6d0]
mov rcx, rax
call fcn.180010380
mov qword [0x1801837a8], rax
lea rdx, [0x18017f6f0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x18017f6f0]
mov rcx, qword [0x1801837a0]
call fcn.180010380
mov qword [0x1801837b0], rax
mov rdx, qword [0x1801836d8]
mov rax, qword [0x18017f710]
add rax, rdx
je 0x18003a32e
mov rax, qword [rax]
jmp 0x18003a331
mov rax, r15
mov qword [0x180183700], rax
mov rax, qword [0x18017f718]
add rax, rdx
je 0x18003a349
mov rax, qword [rax]
jmp 0x18003a34c
mov rax, r15
mov qword [0x180183708], rax
mov rax, qword [0x18017f730]
add rax, rdx
je 0x18003a364
mov rax, qword [rax]
jmp 0x18003a367
mov rax, r15
mov qword [0x180183718], rax
mov rcx, qword [0x18017f728]
add rcx, rdx
je 0x18003a37f
mov rax, qword [rcx]
jmp 0x18003a382
mov rax, r15
mov qword [0x180183710], rax
mov rcx, qword [0x18017f738]
add rcx, rdx
mov qword [0x1801836f0], rcx
mov rcx, qword [0x18017f720]
add rcx, rdx
mov qword [0x180183720], rcx
mov rcx, qword [0x18017f740]
add rcx, rdx
lea rax, [rcx - 0xc]
mov qword [0x1801836f8], rax
lea rax, [rcx - 0xb]
test rax, rax
je 0x18003a3ce
mov r8d, dword [rax]
jmp 0x18003a3d1
mov r8d, r15d
movsxd rax, r8d
add rcx, 0xfffffffffffffff9
add rcx, rax
mov qword [0x1801836f8], rcx
mov rcx, qword [0x18017f760]
add rcx, rdx
mov qword [0x180183750], rcx
mov rcx, qword [0x18017f770]
add rcx, rdx
mov qword [0x180183758], rcx
mov rcx, qword [0x18017f778]
add rcx, rdx
mov qword [0x180183760], rcx
mov rcx, qword [0x18017f768]
add rcx, rdx
mov qword [0x180183768], rcx
mov rcx, qword [0x18017f780]
add rcx, rdx
mov qword [0x180183770], rcx
mov rcx, qword [0x18017f788]
add rcx, rdx
mov qword [0x180183778], rcx
mov rcx, qword [0x18017f790]
add rcx, rdx
mov qword [0x180183780], rcx
mov rcx, qword [0x18017f7a0]
add rcx, rdx
mov qword [0x180183790], rcx
mov rcx, qword [0x18017f798]
add rcx, rdx
mov qword [0x180183788], rcx
lea rcx, [rdx - 0x56]
add rcx, qword [0x18017f748]
mov qword [0x180183630], rcx
mov rcx, qword [0x18017f7a8]
add rcx, rdx
mov qword [0x180183628], rcx
mov rbx, r15
xor eax, eax
mov r12d, 1
lock cmpxchg dword [0x180183698], r12d
je 0x18003a4d7
cmp rbx, 0x20
jae 0x18003a4be
xor ecx, ecx
jmp 0x18003a4c1
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180183698], r12d
jne 0x18003a4b4
cmp qword [0x1801836a0], 0
jne 0x18003a4f5
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x1801836a0], rax
mov eax, r15d
xchg dword [0x180183698], eax
cmp byte [0x18017f816], 0
je 0x18003a527
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x1800397b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x18003a553
lea r8, [0x180183670]
lea rdx, [0x180039250]
mov rcx, r14
call fcn.1800a6c40
lea r8, [0x180183650]
lea rdx, [0x180039350]
mov rcx, rsi
call fcn.1800a6c40
lea r8, [0x180183620]
lea rdx, [0x180038f10]
mov rcx, qword [0x1801836f8]
call fcn.1800a6c40
lea r8, [0x180183618]
lea rdx, [0x180038c80]
mov rcx, qword [0x1801836f0]
call fcn.1800a6c40
mov edx, r12d
xor ecx, ecx
call fcn.1800a6f70
nop
mov rcx, rdi
call fcn.180040890
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1801127f0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0x759b91b0
mov dword [rsp + 0x34], 0x2470676d
mov dword [rsp + 0x38], 0x67757440
mov word [rsp + 0x3c], 0x100
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.18003d8d0
mov rbx, rax
movdqa xmm0, xmmword [0x1801394e0]
movdqu xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x180139060]
movdqu xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x180137f30]
movdqu xmmword [rbp - 0x10], xmm0
mov dword [rbp], 0x55464d44
mov dword [rbp + 4], 0x72135d11
mov dword [rbp + 8], 0x7552405c
mov word [rbp + 0xc], 0x100
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.18003a910
nop
mov rdx, rbx
mov rcx, rax
call fcn.18000edc0
int3
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x180139470]
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], 0x72667a6c
mov dword [rbp - 0x7c], 0x607a7e78
mov word [rbp - 0x78], WSAGetLastError
mov byte [rbp - 0x76], 1
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.18003bf40
mov rbx, rax
movdqa xmm0, xmmword [0x1801373a0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [str.k_1prwqewlt]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [str._HD]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x180138410]
movdqa xmmword [rbp], xmm1
mov word [rbp + 0x10], 0x100
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.18003c020
nop
mov rdx, rbx
mov rcx, rax
call fcn.18000edc0
int3