Function at 0x140082be0
Capabilities:
Create thread
Encode data using xor
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1402f7010]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov ecx, 0x202
lea rdx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140082f77
movdqa xmm0, xmmword [0x1402d8a80]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], al
mov dword [rsp + 0x30], 0x4000602
mov dword [rsp + 0x34], 0x5c561904
mov word [rsp + 0x38], Ordinal_79
mov byte [rsp + 0x3a], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x32]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140082c70
mov byte [rsp + 0x3a], bl
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rsi, rax
test rax, rax
jne 0x140082df6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x140082e35
mov qword [rsp + 0x28], rbx
xor r9d, r9d
lea r8, [0x14007ea20]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
cmp eax, 0x2af9
jne 0x140082d23
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x14068a5b0]
call fcn.14007b500
mov r8, rax
movdqa xmm0, xmmword [0x1402d8fe0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xa8f3f6af
mov dword [rsp + 0x44], 0xa2f88685
mov word [rsp + 0x48], 0x100
lea rcx, [rsp + 0x30]
call fcn.140082fb0
lea r9d, [rsi + 0x10]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x2afc
jne 0x140082d84
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x14068a5b0]
call fcn.14007b500
mov r8, rax
movdqa xmm0, xmmword [str.wAFZD]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1402d8ad0]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x78], 1
lea rcx, [rsp + 0x58]
call fcn.14007b390
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x14068a5b0]
call fcn.14007b500
mov r8, rax
movdqa xmm0, xmmword [0x1402d9030]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1402d9010]
movdqu xmmword [rsp + 0x68], xmm1
mov dword [rsp + 0x78], 0xb3fb8d96
mov dword [rsp + 0x7c], 0xea89e096
mov dword [rbp - 0x80], 0xd6b3a5e1
mov word [rbp - 0x7c], 0x100
lea rcx, [rsp + 0x58]
call fcn.14007f6b0
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x140082e35
mov rdi, rbx
nop word [rax + rax]
lea rdi, [rdi + 1]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
mov qword [0x14068d208], rax
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + rdi*8]
test rcx, rcx
jne 0x140082e10
jmp 0x140082e3c
mov rdx, qword [0x14068d208]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rdx + r8], bl
jne 0x140082e46
lea rcx, [rbp - 0x78]
call fcn.14007c4c0
movdqa xmm0, xmmword [0x1402d8ac0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], 1
nop dword [rax + rax]
lea eax, [rbx + 0x37]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0xf
jb 0x140082e70
mov byte [rsp + 0x40], 0
movdqa xmm0, xmmword [0x1402d8a80]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140082ea0
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14007c4c0
lea rdx, [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 0x10
cmovae rdx, rdi
lea rcx, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov r14, qword [rbp - 0x60]
cmp r14, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x68]
cmp r8, qword [rsp + 0x68]
jne 0x140082fa3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140082fa3
cmp rsi, 0x10
jb 0x140082f3d
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140082f34
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082f34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140089e7c
nop
cmp r14, 0x10
jb 0x140082f77
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140082f6f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082f6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140089e7c
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140089e50
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3