Function at 0x18018a9d0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], 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 [0x18029e198]
xor rax, rsp
mov qword [rbp], rax
mov r14, rdx
mov r12, rcx
xor ecx, ecx
call fcn.180115590
mov r15, rax
xorps xmm0, xmm0
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x78], rbx
movdqu xmmword [rsp + 0x78], xmm0
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1800905d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rsp + 0x70], rbx
mov r13, qword [r12]
mov rbx, qword [r13 + 8]
mov qword [rsp + 0x20], rbx
xor esi, esi
mov dword [rsp + 0x28], esi
mov rdi, r13
cmp byte [rbx + 0x19], sil
jne 0x18018aa98
nop dword [rax]
mov qword [rsp + 0x20], rbx
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.18009fc20
shr eax, 0x1f
test al, al
je 0x18018aa84
mov dword [rsp + 0x28], esi
mov rbx, qword [rbx + 0x10]
jmp 0x18018aa92
mov dword [rsp + 0x28], 1
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], sil
je 0x18018aa60
cmp byte [rdi + 0x19], sil
jne 0x18018aaba
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18009fc20
shr eax, 0x1f
test al, al
jne 0x18018aaba
xor bl, bl
jmp 0x18018ab50
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [r12 + 8], rax
je 0x18018ac74
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], rsi
mov ecx, 0x58
call fcn.1801e60b0
nop
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm1
movdqa xmm0, xmmword [0x180056d80]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov qword [rax + 0x40], rsi
mov qword [rax + 0x48], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov rcx, qword [rbp - 0x40]
mov qword [rax + 0x50], rcx
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.180098650
mov rdi, rax
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.18018a170
nop
test bl, bl
jne 0x18018ab70
mov rcx, r15
sub rcx, qword [rdi + 0x50]
cmp rcx, 0x3c
jl 0x18018ac49
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x40], rsi
cmp qword [r14 + 0x18], 0x10
jb 0x18018ab94
mov r14, qword [r14]
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, r14
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18018abb0
mov rax, rsi
jmp 0x18018ac08
movzx eax, byte [rbp - 0x38]
mov byte [rbp - 0x38], al
mov rbx, qword [rbp - 0x40]
mov qword [rbp - 0x58], rbx
lea rax, [rbp - 0x38]
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 1
mov ecx, 0x18
call fcn.1801e60b0
mov qword [rbp - 0x70], rax
test rax, rax
je 0x18018ac02
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, [0x18006dde8]
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
jmp 0x18018ac05
mov rax, rsi
mov rsi, rbx
mov qword [rdi + 0x40], rsi
mov rbx, qword [rdi + 0x48]
mov qword [rdi + 0x48], rax
test rbx, rbx
je 0x18018ac45
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18018ac45
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18018ac45
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
mov qword [rdi + 0x50], r15
mov rax, qword [rdi + 0x40]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1801e67e0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800992b0
nop
int3