Function at 0x140014330
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], 0
lea r14, [r9 + 0x50]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp - 0x10], ymm0
mov rbx, qword [r9 + 0x60]
cmp qword [r9 + 0x68], 0x10
mov r12, r14
jb 0x140014381
mov r12, qword [rdi + 0x50]
test rbx, rbx
js 0x1400147b4
cmp rbx, 0xf
jbe 0x1400143bb
mov rax, rbx
or rax, 0xf
cmp rax, 0x17
mov esi, 0x16
cmovae rsi, rax
lea rcx, [rsi + 1]
cmp rsi, 0xfff
jb 0x1400143d8
vzeroupper
call fcn.1400039c0
jmp 0x1400143e0
mov qword [rbp], rbx
mov qword [rbp + 8], setsockopt
vmovups xmm0, xmmword [r12]
vmovaps xmmword [rbp - 0x10], xmm0
lea r15, [rbp - 0x10]
jmp 0x140014400
vzeroupper
call fcn.14001d8c0
mov r15, rax
mov qword [rbp - 0x10], rax
mov qword [rbp], rbx
mov qword [rbp + 8], rsi
inc rbx
mov rcx, rax
mov rdx, r12
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rbx, [rdi + 0x30]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp - 0x30], ymm0
mov r12, qword [rdi + 0x40]
cmp qword [rdi + 0x48], 0x10
mov r13, rbx
jb 0x14001441f
mov r13, qword [rdi + 0x30]
test r12, r12
js 0x1400147bc
cmp r12, 0xf
jbe 0x140014468
mov qword [rbp + 0x18], r14
mov r14, rbx
mov qword [rbp - 0x18], setsockopt
mov rax, r12
or rax, 0xf
cmp rax, 0x17
mov ebx, 0x16
cmovae rbx, rax
lea rcx, [rbx + 1]
cmp rbx, 0xfff
jb 0x140014485
vzeroupper
call fcn.1400039c0
jmp 0x14001448d
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], setsockopt
vmovups xmm0, xmmword [r13]
vmovaps xmmword [rbp - 0x30], xmm0
lea rsi, [rbp - 0x30]
jmp 0x1400144bd
vzeroupper
call fcn.14001d8c0
mov rsi, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], rbx
inc r12
mov rcx, rax
mov rdx, r13
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
test rsi, rsi
mov rbx, r14
mov r14, qword [rbp + 0x18]
je 0x14001463f
xor r12d, r12d
cmp byte [rsi], 0
cmovne r12, rsi
mov r13, qword [rbp + 0x90]
xor esi, esi
test r15, r15
je 0x1400144dd
cmp byte [r15], 0
cmovne rsi, r15
xor ecx, ecx
vzeroupper
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp - 0x38]
mov rcx, r12
mov rdx, rsi
mov r8, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
lea rcx, [rbp - 0x58]
mov edx, eax
call fcn.140014f70
mov rax, qword [rbp - 0x48]
mov qword [r13 + 0x10], rax
vmovups xmm0, xmmword [rbp - 0x58]
vmovups xmmword [r13], xmm0
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x140014558
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140014553
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400147c4
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14001d904
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x140014597
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140014592
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400147c4
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14001d904
mov r15, qword [rbp - 0x38]
mov rax, qword [r13 + 0x10]
test al, 1
je 0x1400145b0
cmp rax, 1
jne 0x140014626
cmp dword [r13], 0
jne 0x140014626
mov qword [rbp + 0x18], r15
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp - 0x10], ymm0
mov r15, qword [rdi + 0x60]
cmp qword [rdi + 0x68], 0x10
jb 0x1400145cc
mov r14, qword [rdi + 0x50]
test r15, r15
js 0x1400147ca
cmp r15, 0xf
ja 0x1400145f3
mov qword [rbp], r15
mov qword [rbp + 8], setsockopt
vmovups xmm0, xmmword [r14]
vmovaps xmmword [rbp - 0x10], xmm0
jmp 0x14001466c
mov qword [rbp + 8], setsockopt
mov rax, r15
or rax, 0xf
cmp rax, 0x17
mov esi, 0x16
cmovae rsi, rax
lea rcx, [rsi + 1]
cmp rsi, 0xfff
jb 0x140014647
vzeroupper
call fcn.1400039c0
jmp 0x14001464f
vxorps xmm0, xmm0, xmm0
mov rsi, qword [rbp - 0x40]
vmovups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x14001478f
xor r12d, r12d
jmp 0x1400144c7
vzeroupper
call fcn.14001d8c0
mov qword [rbp - 0x10], rax
mov qword [rbp], r15
mov qword [rbp + 8], rsi
inc r15
mov rcx, rax
mov rdx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp - 0x30], ymm0
mov r14, qword [rdi + 0x40]
cmp qword [rdi + 0x48], 0x10
jb 0x140014684
mov rbx, qword [rdi + 0x30]
test r14, r14
js 0x1400147d2
cmp r14, 0xf
ja 0x1400146aa
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], setsockopt
vmovups xmm0, xmmword [rbx]
vmovaps xmmword [rbp - 0x30], xmm0
jmp 0x1400146fa
mov rax, r14
or rax, 0xf
cmp rax, 0x17
mov esi, 0x16
cmovae rsi, rax
lea rcx, [rsi + 1]
cmp rsi, 0xfff
jb 0x1400146d5
vzeroupper
call fcn.1400039c0
jmp 0x1400146dd
vzeroupper
call fcn.14001d8c0
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rsi
inc r14
mov rcx, rax
mov rdx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x30]
lea r9, [rbp - 0x10]
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
vzeroupper
call fcn.1400149a0
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
mov r15, qword [rbp + 0x18]
jb 0x140014754
mov rcx, qword [rbp - 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001474f
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400147c4
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14001d904
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x14001478f
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001478a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400147c4
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14001d904
test r15, r15
je 0x14001479d
mov rcx, r15
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
vzeroupper
call fcn.1400039a0
vzeroupper
call fcn.1400039a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
vzeroupper
call fcn.1400039a0
vzeroupper
call fcn.1400039a0
int3