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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14006f010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140009687
xor esi, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], sil
mov dword [rsp + 0x30], 0x1e1a181c
mov dword [rsp + 0x34], 0x565c1f02
mov word [rsp + 0x38], 0x40
mov byte [rsp + 0x3a], 1
mov ecx, esi
lea eax, [rcx + 0x2c]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140009390
mov byte [rsp + 0x3a], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
jne 0x140009503
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x140009537
mov qword [rsp + 0x28], rsi
xor r9d, r9d
lea r8, [0x140009130]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
cmp eax, 0x2af9
jne 0x140009444
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x14006f708]
call fcn.140008cc0
mov r8, rax
vmovdqu xmm0, xmmword [str.i__B]
vmovdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xdd8483d4
mov dword [rsp + 0x44], 0xaff78b8e
mov word [rsp + 0x48], pe_nt_image_headers64
lea rcx, [rsp + 0x30]
call fcn.1400051c0
lea r9d, [rdi + 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 0x14000949a
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [0x14006f708]
call fcn.140008cc0
mov r8, rax
vmovdqu ymm0, ymmword [0x140064ce0]
vmovdqu ymmword [rsp + 0x50], ymm0
mov byte [rsp + 0x70], 1
lea rcx, [rsp + 0x50]
vzeroupper
call fcn.1400096c0
mov r9d, 0x10
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, [0x14006f708]
call fcn.140008cc0
mov r8, rax
vmovdqu ymm0, ymmword [0x1400652c0]
vmovdqu ymmword [rsp + 0x50], ymm0
mov dword [rsp + 0x70], 0xbaf08491
mov dword [rsp + 0x74], 0xe382e999
mov dword [rsp + 0x78], 0xef889ce6
mov word [rsp + 0x7c], pe_nt_image_headers64
lea rcx, [rsp + 0x50]
vzeroupper
call fcn.1400096f0
mov r9d, 0x10
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 0x140009537
mov rbx, rsi
lea rbx, [rbx + 1]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
mov qword [0x140070818], rax
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + rbx*8]
test rcx, rcx
jne 0x140009512
jmp 0x14000953e
mov rdx, qword [0x140070818]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140009550
lea rcx, [rbp - 0x80]
call fcn.140003130
vmovdqu xmm0, xmmword [0x140064a30]
vmovdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], 1
mov rcx, rsi
nop dword [rax]
lea eax, [rcx + 0x30]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xf
jb 0x140009580
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
lea rax, [rsp + 0x30]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400095b0
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140003130
lea rdx, [rsp + 0x50]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
cmp rsi, 0x10
cmovae rdx, rdi
lea rcx, [rbp - 0x80]
mov rbx, qword [rbp - 0x80]
mov r14, qword [rbp - 0x68]
cmp r14, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x70]
cmp r8, qword [rsp + 0x60]
jne 0x1400096b3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400096b3
cmp rsi, 0x10
jb 0x14000964d
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140009644
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009644
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140055c24
nop
cmp r14, 0x10
jb 0x140009687
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000967f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000967f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140055c24
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140055610
lea r11, [rsp + 0x250]
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