Function at 0x1400b6220
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov rbx, rdx
movzx edi, word [r9]
mov rsi, qword [r8]
movzx ecx, word [rax + 0x948]
test cl, 1
je 0x1400ad17d
mov r9d, 1
movzx r8d, di
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400b6220
test cl, 2
je 0x1400ad1d1
mov r9d, 1
movzx r8d, di
mov rdx, rsi
mov rcx, rbx
call fcn.1400b64c0
test eax, eax
je 0x1400ad1bf
mov r9d, 1
movzx r8d, di
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400b6370
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
push rbx
push rbp
push rsi
sub rsp, 0x90
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov dword [rsp + 0x4c], 2
mov rbx, rdx
mov dword [rsp + 0x50], r9d
xor edx, edx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x74], edx
xorps xmm0, xmm0
mov dword [rsp + 0x48], edx
xorps xmm1, xmm1
mov qword [rsp + 0x20], rdx
mov rsi, rcx
mov word [rsp + 0x7c], ax
movdqu xmmword [rsp + 0x54], xmm0
movdqu xmmword [rsp + 0x64], xmm1
test r8w, r8w
je 0x1400b629c
movzx r8d, r8w
lea rdx, [0x1402f5180]
lea rcx, [rsp + 0x78]
call fcn.140084b10
lea rdx, [rsp + 0x78]
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rbx, qword [rsp + 0x20]
mov ebp, eax
test rbx, rbx
je 0x1400b6348
mov qword [rsp + 0xb0], rdi
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x1400b62d4
cmp ecx, 2
jne 0x1400b632a
mov rdi, qword [rbx + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, qword [rbx + 0x20]
xorps xmm0, xmm0
mov r8, rdi
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
call fcn.140260c10
mov rdx, qword [rsi + 8]
mov byte [rsp + 0x44], dil
cmp rdx, qword [rsi + 0x10]
je 0x1400b631d
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rsi + 8], 0x20
jmp 0x1400b632a
lea r8, [rsp + 0x28]
mov rcx, rsi
call fcn.1400a9800
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400b62c7
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rdi, qword [rsp + 0xb0]
mov eax, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14025e930
add rsp, 0x90
pop rsi
pop rbp
pop rbx
ret
push rbx
push rbp
push rsi
sub rsp, 0x90
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov dword [rsp + 0x48], 0x800
mov rbx, rdx
mov dword [rsp + 0x4c], reloc.WS2_32.dll_socket
xor edx, edx
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x74], edx
xorps xmm0, xmm0
mov qword [rsp + 0x20], rdx
xorps xmm1, xmm1
mov dword [rsp + 0x78], eax
mov rsi, rcx
mov word [rsp + 0x7c], ax
movdqu xmmword [rsp + 0x54], xmm0
movdqu xmmword [rsp + 0x64], xmm1
test r8w, r8w
je 0x1400b63f0
movzx r8d, r8w
lea rdx, [0x1402f5180]
lea rcx, [rsp + 0x78]
call fcn.140084b10
lea rdx, [rsp + 0x78]
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rbx, qword [rsp + 0x20]
mov ebp, eax
test rbx, rbx
je 0x1400b64a1
mov qword [rsp + 0xb0], rdi
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x1400b642d
cmp ecx, 2
jne 0x1400b6483
mov rdi, qword [rbx + 0x10]
lea rcx, [rsp + 0x28]
mov rdx, qword [rbx + 0x20]
xorps xmm0, xmm0
mov r8, rdi
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
call fcn.140260c10
mov rdx, qword [rsi + 8]
mov byte [rsp + 0x44], dil
cmp rdx, qword [rsi + 0x10]
je 0x1400b6476
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
add qword [rsi + 8], 0x20
jmp 0x1400b6483
lea r8, [rsp + 0x28]
mov rcx, rsi
call fcn.1400a9800
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400b6420
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rdi, qword [rsp + 0xb0]
mov eax, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14025e930
add rsp, 0x90
pop rsi
pop rbp
pop rbx
ret