Function at 0x1400bd550
Capabilities:
Resolve dns

Disassembly:
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x98], r15
mov r15, rdx
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x90], rdi
mov rdi, rcx
mov qword [rbp + 0x70], r14
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x88], r13
lea rsi, [r15 + 0x30]
mov rdx, rsi
mov qword [rbp + 0xa0], r12
mov r12, r8
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rbp + 0x68], 0
call fcn.1400b9310
nop
cmp qword [rbp + 0x28], 0x10
lea rbx, [r15 + 0x50]
mov rdx, rbx
lea r13, [rbp + 0x10]
cmovae r13, qword [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.1400b9310
nop
cmp qword [rbp + 0x48], 0x10
lea r14, [rbp + 0x30]
cmovae r14, qword [rbp + 0x30]
test r13, r13
je 0x1400bd5eb
cmp byte [r13], 0
jne 0x1400bd5ee
xor r13d, r13d
test r14, r14
je 0x1400bd5f9
cmp byte [r14], 0
jne 0x1400bd5fc
xor r14d, r14d
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r13
mov rdx, r14
mov r8, r15
lea r9, [rbp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400bd8e6
cmp eax, 0x2afa
je 0x1400bd8c7
cmp eax, 0x2726
je 0x1400bd8a8
cmp eax, 0x2afb
je 0x1400bd889
cmp eax, 0x273f
je 0x1400bd86a
cmp eax, 8
je 0x1400bd84b
cmp eax, 0x2af9
je 0x1400bd6b9
cmp eax, 0x277d
jne 0x1400bd67e
call fcn.1400cc560
mov dword [rbp], 0x277d
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
jmp 0x1400bd6d3
cmp eax, 0x273c
je 0x1400bd69d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r13d, eax
call fcn.1400cc560
mov dword [rbp + 0x50], r13d
mov qword [rbp + 0x58], rax
jmp 0x1400bd6d3
call fcn.1400cc560
mov dword [rbp], 0x273c
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
jmp 0x1400bd6d3
call fcn.1400cc560
mov dword [rbp], 0x2af9
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
vmovups xmm0, xmmword [rbp + 0x50]
vmovups xmmword [r12], xmm0
cmp qword [rbp + 0x48], 0x10
jae 0x1400bd83d
mov qword [rbp + 0x48], setsockopt
mov qword [rbp + 0x40], 0
mov byte [rbp + 0x30], 0
cmp qword [rbp + 0x28], 0x10
jae 0x1400bd82f
mov rax, qword [rbp + 0x68]
xor r8d, r8d
mov qword [rbp + 0x28], setsockopt
mov qword [rbp + 0x20], 0
mov byte [rbp + 0x10], r8b
mov qword [rbp], rax
mov dword [rbp + 8], r8d
mov dword [rbp + 0xc], r8d
cmp dword [r12], 0
jne 0x1400bd778
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.1400b9310
mov rdx, rbx
lea rcx, [rbp + 0x10]
mov dword [rbp + 0xc], 1
call fcn.1400b9310
mov rcx, rdi
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x68]
lea r9, [rbp + 0x10]
mov dword [rbp + 8], 1
call fcn.1400b8b40
cmp dword [rbp + 8], 0
jne 0x1400bd7ce
jmp 0x1400bd785
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
cmp dword [rbp + 0xc], 0
jne 0x1400bd7fd
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400bd79a
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rbx, qword [rbp + 0x80]
mov rsi, qword [rbp + 0x78]
mov rdi, qword [rbp + 0x90]
mov r12, qword [rbp + 0xa0]
mov r13, qword [rbp + 0x88]
mov r14, qword [rbp + 0x70]
mov r15, qword [rbp + 0x98]
lea rsp, [rbp + 0xb0]
pop rbp
ret
mov dword [rbp + 8], 0
cmp qword [rbp + 0x28], 0x10
jae 0x1400bd7f2
mov qword [rbp + 0x28], setsockopt
mov qword [rbp + 0x20], 0
mov byte [rbp + 0x10], 0
jmp 0x1400bd785
mov rcx, qword [rbp + 0x10]
call fcn.1401100d8
jmp 0x1400bd7dc
mov dword [rbp + 0xc], 0
cmp qword [rbp + 0x48], 0x10
jae 0x1400bd824
mov qword [rbp + 0x48], setsockopt
mov qword [rbp + 0x40], 0
mov byte [rbp + 0x30], 0
jmp 0x1400bd78b
mov rcx, qword [rbp + 0x30]
call fcn.1401100d8
jmp 0x1400bd80b
mov rcx, qword [rbp + 0x10]
call fcn.1401100d8
jmp 0x1400bd708
mov rcx, qword [rbp + 0x30]
call fcn.1401100d8
jmp 0x1400bd6e9
call fcn.1400cc560
mov dword [rbp], reloc.WS2_32.dll_ntohl
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
jmp 0x1400bd6d3
call fcn.1400cc560
mov dword [rbp], 0x273f
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
jmp 0x1400bd6d3
call fcn.1400cc560
mov dword [rbp], 0x2afb
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
jmp 0x1400bd6d3
call fcn.1400cc560
mov dword [rbp], 0x2726
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
jmp 0x1400bd6d3
call fcn.1400cc560
mov dword [rbp], 0x2afa
mov qword [rbp + 8], rax
vmovups xmm0, xmmword [rbp]
vmovups xmmword [rbp + 0x50], xmm0
jmp 0x1400bd6d3
mov dword [rbp + 0x50], 0
call fcn.1400cc560
mov qword [rbp + 0x58], rax
jmp 0x1400bd6d3