Function at 0x14000f100
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
movzx r9d, word [r8]
mov rbx, r8
movzx edi, dx
cmp r9w, 2
je 0x14000f0aa
cmp r9w, 0x17
je 0x14000f0aa
mov ecx, 0x2741
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp r9w, 2
mov edx, 0x1c
mov eax, reloc.WS2_32.dll_recv
cmovne eax, edx
movzx edx, r9w
mov dword [rsp + 0x50], eax
mov r9, rbx
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAStringToAddressA]
test eax, eax
jne 0x14000f09d
test di, di
je 0x14000f0f0
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 2], ax
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
movzx esi, dx
mov rdi, rcx
call fcn.14000ef50
mov word [rbx], ax
mov r8, rbx
movzx edx, si
mov rcx, rdi
test ax, ax
je 0x14000f142
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000f070
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000f160
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x100
mov rax, qword [0x140341318]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor eax, eax
mov dword [rsp + 0x28], 0xc00
mov qword [r8 + 2], rax
xor esi, esi
mov qword [r8 + 0xa], rax
mov rbp, r8
mov qword [r8 + 0x12], rax
movzx r14d, dx
mov qword [rsp + 0x2c], rax
mov rdi, rcx
mov word [r8 + 0x1a], ax
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], eax
movzx eax, word [r8]
mov dword [rsp + 0x2c], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rsi
test rcx, rcx
jne 0x14000f1e9
mov ecx, esi
mov qword [rsp + 0x60], rcx
jmp 0x14000f252
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], sil
jne 0x14000f1f0
inc ebx
lea r8, [rsp + 0x68]
mov edx, ebx
lea rcx, [rsp + 0x60]
mov r9d, 0x80
call fcn.14000eda0
mov rcx, qword [rsp + 0x60]
mov r8, rdi
movsxd rdx, ebx
mov r9, rdx
call fcn.1401f1a20
test eax, eax
je 0x14000f24d
cmp eax, 0xc
je 0x14000f322
cmp eax, 0x16
je 0x14000f317
cmp eax, 0x22
je 0x14000f317
cmp eax, 0x50
jne 0x14000f30c
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x20]
xor edx, edx
lea r8, [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
lea rax, [rsp + 0x68]
cmp rcx, rax
je 0x14000f27a
call fcn.1401e7984
test ebx, ebx
je 0x14000f28a
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
jmp 0x14000f2ee
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
test rbx, rbx
je 0x14000f2c4
mov eax, dword [rdx + 4]
cmp eax, 2
je 0x14000f2af
cmp eax, 0x17
je 0x14000f2af
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x14000f297
jmp 0x14000f2c4
mov r8, qword [rdx + 0x10]
mov rcx, rbp
mov rdx, qword [rdx + 0x20]
call sub.msvcrt.dll_memcpy
mov esi, 1
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x14000f2e1
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 2], ax
jmp 0x14000f2ec
mov ecx, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, esi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401e6610
add rsp, 0x100
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000d990
int3
mov ecx, 0x80070057
call fcn.14000d990
int3
mov ecx, 0x8007000e
call fcn.14000d990
int3