Function at 0x14011c860
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push r13
sub rsp, 0x88
mov rax, qword [0x14023c9c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x260]
lea rbp, [rcx + 0x28]
mov rsi, rdx
mov rbx, rcx
mov rdx, qword [rax + 0x510]
test rdx, rdx
je 0x14011c8b6
mov rax, qword [rax + 0x528]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov byte [rsp + 0x40], 0
call rdx
mov qword [rsp + 0xc0], rdi
call fcn.1400cbfa0
mov rdx, qword [rbx + 8]
mov r13, rax
test rdx, rdx
je 0x14011c8f2
xor edi, edi
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8b, 1
mov rcx, rbx
call fcn.14011ae10
mov qword [rbx + 8], rdi
jmp 0x14011cb8c
cmp byte [rbx + 0x278], 0
jne 0x14011cbae
mov qword [rsp + 0x80], r12
lea rcx, [rbx + 0x500]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
mov byte [rbx + 0x20], 0
call fcn.1400c6100
lea rcx, [rbx + 0x580]
call fcn.1400fca10
xor eax, eax
mov word [rbx + 0x498], ax
mov rcx, qword [rbx + 0x260]
mov byte [rbx + 0x49a], al
mov rax, qword [rcx + 0x2b0]
test rax, rax
je 0x14011c990
mov r8, qword [rcx + 0x2b8]
mov r9, rsi
mov rcx, qword [rcx + 0x2a0]
mov rdx, rbp
call rax
test rax, rax
je 0x14011ca8f
xor edi, edi
mov byte [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.14011ae10
jmp 0x14011cb7a
cmp dword [rbx + 0x238], 1
jne 0x14011c9b6
mov edx, 2
lea r9, str.UNIX_domain_sockets_not_supported_on_win32.
mov rcx, rsi
lea r8d, [rdx + 3]
call fcn.1400c9510
jmp 0x14011ca8f
xor edi, edi
call fcn.1400cbfa0
mov rcx, qword [rbx + 0x480]
mov r15, rax
test rcx, rcx
je 0x14011ca05
mov rdx, qword [rbx + 0x260]
mov r9, rax
sub r9, qword [rbx + 0x490]
imul r8, qword [rdx + 0x530], 0x3e8
cmp r9, r8
jle 0x14011cb12
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbx + 0x480], rdi
mov qword [rbx + 0x488], rdi
movzx r9d, word [rbx + 0x236]
lea r8, [0x14017e5e4]
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1400c8030
mov eax, dword [rbx + 0x238]
lea r12, [rbx + 0x30]
xorps xmm0, xmm0
mov dword [rsp + 0x34], eax
xorps xmm1, xmm1
mov qword [rsp + 0x38], 1
mov rcx, r12
mov dword [rsp + 0x30], edi
lea r9, [rbx + 0x480]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14011cb0b
mov edx, 2
mov qword [rsp + 0x20], r12
lea r9, str.Failed_to_resolve__s
mov rcx, rsi
lea r8d, [rdx + 1]
call fcn.1400c9510
call fcn.1400cbfa0
mov rcx, rax
movabs rax, 0x20c49ba5e353f7cf
sub rcx, r13
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbx + 0x260]
mov r8, qword [rax + 0x520]
test r8, r8
je 0x14011caf0
mov rax, qword [rax + 0x528]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdx
mov byte [rsp + 0x50], 0
call r8
mov rax, qword [rbx + 0x260]
mov r8, rsi
mov ecx, dword [rbx]
mov rdx, qword [rax + 0x298]
call qword [rax + 0x288]
jmp 0x14011cb7a
mov qword [rbx + 0x490], r15
mov r9, qword [rbx + 0x488]
test r9, r9
je 0x14011cb37
mov byte [rsp + 0x28], 1
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.14011ae10
jmp 0x14011cb7a
mov rsi, qword [rbx + 0x480]
test rsi, rsi
je 0x14011cb7a
nop dword [rax]
nop word [rax + rax]
mov byte [rsp + 0x28], 1
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, rbx
call fcn.14011ae10
mov rsi, qword [rsi + 0x28]
add rdi, 0xfa
test rsi, rsi
jne 0x14011cb50
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400886b0
add rsp, 0x88
pop r13
pop rsi
pop rbp
pop rbx
ret
mov ecx, 2
call fcn.14008ffd0
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_topology_scanner.c
lea rax, str._node__retired
mov r9d, 0x439
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str.mongoc_topology_scanner_node_setup
mov qword [rsp + 0x20], rax
call fcn.140009568
call fcn.140095e6c
int3