Function at 0x14000d730
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 0x14000d67a
cmp r9w, 0x17
je 0x14000d67a
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 0x14000d66d
test di, di
je 0x14000d6c0
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.14000d520
mov word [rbx], ax
mov r8, rbx
movzx edx, si
mov rcx, rdi
test ax, ax
je 0x14000d712
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000d640
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14000d730
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x100
mov rax, qword [0x14033e210]
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 0x14000d7b9
mov ecx, esi
mov qword [rsp + 0x60], rcx
jmp 0x14000d822
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], sil
jne 0x14000d7c0
inc ebx
lea r8, [rsp + 0x68]
mov edx, ebx
lea rcx, [rsp + 0x60]
mov r9d, 0x80
call fcn.14000d370
mov rcx, qword [rsp + 0x60]
mov r8, rdi
movsxd rdx, ebx
mov r9, rdx
call fcn.14000e1d0
test eax, eax
je 0x14000d81d
cmp eax, 0xc
je 0x14000d8f2
cmp eax, 0x16
je 0x14000d8e7
cmp eax, 0x22
je 0x14000d8e7
cmp eax, 0x50
jne 0x14000d8dc
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 0x14000d84a
call fcn.1401eaa0c
test ebx, ebx
je 0x14000d85a
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
jmp 0x14000d8be
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
test rbx, rbx
je 0x14000d894
mov eax, dword [rdx + 4]
cmp eax, 2
je 0x14000d87f
cmp eax, 0x17
je 0x14000d87f
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x14000d867
jmp 0x14000d894
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 0x14000d8b1
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 2], ax
jmp 0x14000d8bc
mov ecx, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, esi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401e4950
add rsp, 0x100
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000bf40
int3
mov ecx, 0x80070057
call fcn.14000bf40
int3
mov ecx, 0x8007000e
call fcn.14000bf40
int3