Function at 0x14000eea0
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 0x14000edea
cmp r9w, 0x17
je 0x14000edea
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 0x14000eddd
test di, di
je 0x14000ee30
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.14000ec90
mov word [rbx], ax
mov r8, rbx
movzx edx, si
mov rcx, rdi
test ax, ax
je 0x14000ee82
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000edb0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000eea0
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x100
mov rax, qword [0x140340320]
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 0x14000ef29
mov ecx, esi
mov qword [rsp + 0x60], rcx
jmp 0x14000ef92
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], sil
jne 0x14000ef30
inc ebx
lea r8, [rsp + 0x68]
mov edx, ebx
lea rcx, [rsp + 0x60]
mov r9d, 0x80
call fcn.14000eae0
mov rcx, qword [rsp + 0x60]
mov r8, rdi
movsxd rdx, ebx
mov r9, rdx
call fcn.1401f1bb0
test eax, eax
je 0x14000ef8d
cmp eax, 0xc
je 0x14000f062
cmp eax, 0x16
je 0x14000f057
cmp eax, 0x22
je 0x14000f057
cmp eax, 0x50
jne 0x14000f04c
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 0x14000efba
call fcn.1401e76a4
test ebx, ebx
je 0x14000efca
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
jmp 0x14000f02e
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
test rbx, rbx
je 0x14000f004
mov eax, dword [rdx + 4]
cmp eax, 2
je 0x14000efef
cmp eax, 0x17
je 0x14000efef
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x14000efd7
jmp 0x14000f004
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 0x14000f021
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 2], ax
jmp 0x14000f02c
mov ecx, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, esi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401e6380
add rsp, 0x100
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000d700
int3
mov ecx, 0x80070057
call fcn.14000d700
int3
mov ecx, 0x8007000e
call fcn.14000d700
int3