Function at 0x18002aaa0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r9
mov r14, rdx
mov qword [rsp + 0x48], rdx
mov r15, qword [rbp + 0x70]
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x40], rax
lea rdx, [r9 + 0x50]
lea rcx, [rbp - 0x40]
call fcn.180003fd0
nop
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
lea rdx, [rsi + 0x30]
lea rcx, [rbp - 0x80]
call fcn.180003fd0
mov dword [rsp + 0x20], 0x60
lea rdi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x18002ab2d
cmp byte [rdi], 0
jne 0x18002ab2f
xor edi, edi
test rbx, rbx
je 0x18002ab39
cmp byte [rbx], 0
jne 0x18002ab3b
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, eax
cmp eax, 0x273f
jg 0x18002abd6
je 0x18002abc7
test eax, eax
je 0x18002abae
sub ecx, 8
je 0x18002ab9c
sub ecx, 0x271e
je 0x18002ab8a
cmp ecx, 0x16
jne 0x18002abf0
call fcn.180003050
mov dword [rsp + 0x30], 0x273c
jmp 0x18002ac43
call fcn.180003050
mov dword [rsp + 0x30], 0x2726
jmp 0x18002ac43
call fcn.180003050
mov dword [rsp + 0x30], setsockopt
jmp 0x18002ac43
mov dword [rsp + 0x30], 0
lea rax, [0x18009ed88]
mov qword [rsp + 0x38], rax
jmp 0x18002ac53
call fcn.180003050
mov dword [rsp + 0x30], 0x273f
jmp 0x18002ac43
sub ecx, 0x277d
je 0x18002ac36
sub ecx, 0x37c
je 0x18002ac27
sub ecx, 1
je 0x18002ac18
cmp ecx, 1
je 0x18002ac09
call fcn.180003050
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
jmp 0x18002ac53
call fcn.180003050
mov dword [rsp + 0x30], 0x2afb
jmp 0x18002ac43
call fcn.180003050
mov dword [rsp + 0x30], 0x2afa
jmp 0x18002ac43
call fcn.180003050
mov dword [rsp + 0x30], 0x2af9
jmp 0x18002ac43
call fcn.180003050
mov dword [rsp + 0x30], 0x277d
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r15], xmm0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18002ac97
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ac92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002af0b
call fcn.18004a624
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x68], setsockopt
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18002ace6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ace1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002af11
call fcn.18004a624
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
cmp dword [r15], 0
je 0x18002ad14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x50]
mov ebx, 0x61
jmp 0x18002ad5f
lea rdx, [rsi + 0x50]
lea rcx, [rbp - 0x60]
call fcn.180003fd0
nop
mov dword [rsp + 0x20], 0xe2
lea rdx, [rsi + 0x30]
lea rcx, [rbp - 0x20]
call fcn.180003fd0
nop
mov dword [rsp + 0x20], 0x1e6
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x20]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.18002af20
mov rcx, rax
mov ebx, 0x1ee
mov qword [r14], 0
mov qword [r14 + 8], 0
mov rax, qword [rcx]
mov qword [r14], rax
mov rax, qword [rcx + 8]
mov qword [r14 + 8], rax
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov rax, qword [rcx + 0x10]
mov qword [r14 + 0x10], rax
mov qword [rcx + 0x10], 0
or ebx, 0x10
mov dword [rsp + 0x20], ebx
mov esi, 0xffffffff
test bl, 8
je 0x18002adea
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x18002adea
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18002ade6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x18002ade6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x18002ae32
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18002ae32
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ae2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002af17
call fcn.18004a624
nop
test bl, 2
je 0x18002ae8d
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18002ae79
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ae74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002af05
call fcn.18004a624
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], setsockopt
mov byte [rbp - 0x60], 0
test bl, 1
je 0x18002aecb
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18002aecb
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18002aecb
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18002aecb
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18002aedb
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180049ee0
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
int3