Function at 0x14000e164
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14, r9
mov r15, rdx
mov qword [rbp + 0x28], rdx
mov rsi, qword [rbp + 0xa0]
and dword [rsp + 0x20], 0
and qword [rbp + 0x20], 0
lea r12, [r9 + 0x50]
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.140009c8c
nop
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
lea r13, [r14 + 0x30]
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.140009c8c
mov dword [rsp + 0x20], 0x60
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14000e1fc
cmp byte [rdi], 0
jne 0x14000e1fe
xor edi, edi
test rbx, rbx
je 0x14000e208
cmp byte [rbx], 0
jne 0x14000e20a
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp + 0x20]
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, eax
xor r14d, r14d
test eax, eax
je 0x14000e383
sub ecx, 8
je 0x14000e37c
sub ecx, 0x271e
je 0x14000e36b
sub ecx, 0x16
je 0x14000e364
sub ecx, 3
je 0x14000e35d
sub ecx, 0x3e
je 0x14000e2f5
sub ecx, 0x37c
je 0x14000e2ee
sub ecx, 1
je 0x14000e2da
cmp ecx, 1
je 0x14000e2d3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov dword [rsp + 0x2c], r14d
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x14001d0e0]
lea rbx, [0x14001d0d8]
cmp rcx, 1
jbe 0x14000e2b4
mov rax, qword [0x14001d0d8]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14000e2b9
test edi, edi
setne al
movzx eax, al
add rax, 2
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x30], rbx
jmp 0x14000e390
mov edx, 0x2afb
jmp 0x14000e2df
mov edx, 0x2afa
lea rcx, [rsp + 0x28]
call fcn.14000ab44
jmp 0x14000e390
mov edx, 0x2af9
jmp 0x14000e2df
mov edi, 0x277d
movabs rcx, 0x4d54ee85da812030
lea rbx, [0x14001d0d8]
add rcx, qword [0x14001d0e0]
mov dword [rsp + 0x44], r14d
cmp rcx, 1
jbe 0x14000e32e
mov rax, qword [0x14001d0d8]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14000e330
mov al, 1
movzx eax, al
add rax, 2
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x28], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x38], xmm1
jmp 0x14000e390
mov edx, 0x273f
jmp 0x14000e370
mov edi, 0x273c
jmp 0x14000e2fa
mov edx, 0x2726
lea rcx, [rsp + 0x28]
call fcn.14000ab44
jmp 0x14000e390
mov edx, select
jmp 0x14000e370
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rsi + 0x10], xmm1
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14000e3e3
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e3de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e3de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], setsockopt
mov byte [rsp + 0x58], r14b
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000e434
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e42f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e42f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x28], rax
movups xmm1, xmmword [rsi]
movups xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rsi + 0x10]
movsd qword [rbp - 0x20], xmm0
mov rax, qword [rsi + 0x10]
cmp rax, 2
jb 0x14000e46d
and eax, 1
lea rcx, str.C:Users_ntoskrnlDesktopSDK_boost_asio_182_0_boost_asiodetail_resolver_service.hpp
or rax, rcx
mov qword [rbp - 0x20], rax
movsd xmm0, qword [rbp - 0x20]
movups xmmword [rsi], xmm1
movsd qword [rsi + 0x10], xmm0
test byte [rsi + 0x10], 1
je 0x14000e4a0
cmp qword [rsi + 0x10], 1
jne 0x14000e487
cmp dword [rsi], r14d
je 0x14000e4a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
lea rcx, [rsp + 0x78]
mov ebx, 0x61
jmp 0x14000e4e7
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.140009c8c
nop
mov dword [rsp + 0x20], 0xe2
mov rdx, r13
lea rcx, [rbp - 0x18]
call fcn.140009c8c
nop
mov dword [rsp + 0x20], 0x1e6
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x18]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 8]
call fcn.14000e7f4
mov rcx, rax
mov ebx, 0x1ee
mov qword [r15], r14
mov qword [r15 + 8], r14
mov rax, qword [rcx]
mov qword [r15], rax
mov rax, qword [rcx + 8]
mov qword [r15 + 8], rax
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov rax, qword [rcx + 0x10]
mov qword [r15 + 0x10], rax
mov qword [rcx + 0x10], r14
or ebx, 0x10
mov dword [rsp + 0x20], ebx
or esi, 0xffffffff
test bl, 8
je 0x14000e559
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x14000e559
mov eax, esi
lock xadd dword [rdi + 8], eax
add eax, esi
jne 0x14000e555
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
add eax, esi
jne 0x14000e555
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + ioctlsocket]
mov ebx, dword [rsp + 0x20]
test bl, 4
je 0x14000e5a4
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14000e5a4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e59e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e59e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
nop
test bl, 2
je 0x14000e5fe
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14000e5ee
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e5e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e5e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011524
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], setsockopt
mov byte [rbp - 0x70], r14b
test bl, 1
je 0x14000e639
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000e639
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x14000e639
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14000e639
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rcx]
call qword [rdx + ioctlsocket]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000e648
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r15
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140011270
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret