Function at 0x140008090
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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14001f040]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rsi, r9
mov qword [rbp - 0x20], rdx
mov qword [rbp + 0x80], rdx
mov r14, qword [rbp + 0x110]
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rbp + 0x58], r15
lea rdx, [r9 + 0x50]
lea rcx, [rbp]
call fcn.140007930
nop
lea rbx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rbx, qword [rbp]
lea rdx, [rsi + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140007930
mov dword [rsp + 0x20], 0x60
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14000812e
cmp byte [rdi], r15b
jne 0x140008131
mov rdi, r15
test rbx, rbx
je 0x14000813b
cmp byte [rbx], 0
jne 0x14000813e
mov rbx, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 0x58]
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov edx, eax
lea rcx, [rbp + 0x48]
call fcn.140004ad0
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400081ab
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013b68
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], select
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400081fc
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013b68
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x80], rax
mov r15, 0xffffffffffffffff
cmp dword [r14], 0
je 0x140008233
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor r12d, r12d
mov qword [rbp - 8], r12
lea rcx, [rbp - 0x18]
lea ebx, [r15 + 0x62]
mov r14d, r12d
jmp 0x14000855f
lea rdx, [rsi + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140007930
nop
mov dword [rsp + 0x20], 0xe2
lea rdx, [rsi + 0x30]
lea rcx, [rbp + 0x28]
call fcn.140007930
nop
mov rsi, qword [rbp + 0x58]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x20], 0x3e6
test rsi, rsi
je 0x140008550
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x88]
call fcn.140007930
nop
mov r9, qword [rsi + 0x18]
test r9, r9
je 0x1400082f3
mov rdi, r15
nop dword [rax + rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1400082a0
mov rax, qword [rbp + 0xa0]
cmp rdi, rax
ja 0x1400082e4
lea rbx, [rbp + 0x88]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x88]
mov qword [rbp + 0x98], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400082f3
mov rdx, rdi
lea rcx, [rbp + 0x88]
call fcn.140009ae0
mov ecx, 0x18
call fcn.1400138e4
mov r14, rax
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rbp + 0x20], rax
mov ecx, 0x18
call fcn.1400138e4
mov qword [rbp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_std::vector_class_asio::ip::basic_resolver_entry_class_asio::ip::tcp___class_std::allocator_class_asio::ip::basic_resolver_entry_class_asio::ip::tcp____.0
mov qword [rax], rcx
mov qword [rax + 0x10], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], rax
nop dword [rax]
mov eax, dword [rsi + 4]
cmp eax, 2
je 0x140008361
cmp eax, 0x17
jne 0x1400084f6
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x68], xmm0
mov dword [rbp + 0x78], r12d
mov qword [rbp + 0x60], 2
cmp qword [rsi + 0x10], 0x80
ja 0x1400086fb
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x20]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0xf
cmova rdx, qword [rbp + 0x88]
movups xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rbp + 0x70]
movsd qword [rbp - 0x70], xmm1
mov eax, dword [rbp + 0x78]
mov dword [rbp - 0x68], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov r8, qword [rbp + 0x98]
lea rcx, [rbp - 0x60]
call fcn.1400058c0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1400058c0
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140008477
movaps xmm0, xmmword [rbp - 0x80]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rdx + 0x10], xmm1
mov eax, dword [rbp - 0x68]
mov dword [rdx + 0x18], eax
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movups xmmword [rdx + 0x30], xmm1
mov ebx, select
mov qword [rbp - 0x48], rbx
mov byte [rbp - 0x60], 0
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rdx + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rdx + 0x50], xmm1
mov edx, ebx
mov qword [rbp - 0x28], rbx
mov byte [rbp - 0x40], 0
add qword [r14 + 8], 0x60
jmp 0x14000848b
lea r8, [rbp - 0x80]
mov rcx, r14
call fcn.14000a430
mov rdx, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400084c2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008542
call fcn.140013b68
cmp rbx, 0xf
jbe 0x1400084f6
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008542
call fcn.140013b68
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140008350
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x140008555
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008549
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008549
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140013b68
jmp 0x140008555
mov r14, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
mov ebx, 8
mov rdi, qword [rbp - 0x20]
mov qword [rdi], r14
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov rax, qword [rcx + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rcx + 0x10], r12
or ebx, 0x10
mov dword [rsp + 0x20], ebx
test bl, 8
je 0x1400085d4
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400085d4
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400085d0
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400085d0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x14000861f
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14000861f
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008619
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013b68
nop
test bl, 2
je 0x14000867e
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000866b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008666
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008666
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013b68
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], select
mov byte [rsp + 0x40], 0
test bl, 1
je 0x1400086bc
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400086bc
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400086bc
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x1400086bc
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rcx]
call qword [rdx + ioctlsocket]
nop
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1400086ce
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rdi
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400137e0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400204f8], eax
jle 0x140008744
lea rcx, [0x1400204f8]
call fcn.14001386c
cmp dword [0x1400204f8], 0xffffffff
jne 0x140008744
lea rcx, [0x1400154c0]
call fcn.140013b48
lea rcx, [0x1400204f8]
call fcn.140013800
lea rax, [0x14001f0c8]
mov dword [rbp + 0x60], 0x2726
mov qword [rbp + 0x68], rax
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x60]
call fcn.140002080
int3