Function at 0x18013c680
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push r13
sub rsp, 0x88
mov rax, qword [0x18020ce50]
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 0x18013c6d6
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.1800895a0
mov rdx, qword [rbx + 8]
mov r13, rax
test rdx, rdx
je 0x18013c712
xor edi, edi
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8b, 1
mov rcx, rbx
call fcn.18013ab70
mov qword [rbx + 8], rdi
jmp 0x18013c9ac
cmp byte [rbx + 0x278], 0
jne 0x18013c9ce
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.180083c70
lea rcx, [rbx + 0x580]
call fcn.18011cbd0
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 0x18013c7b0
mov r8, qword [rcx + 0x2b8]
mov r9, rsi
mov rcx, qword [rcx + 0x2a0]
mov rdx, rbp
call rax
test rax, rax
je 0x18013c8af
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.18013ab70
jmp 0x18013c99a
cmp dword [rbx + 0x238], 1
jne 0x18013c7d6
mov edx, 2
lea r9, str.UNIX_domain_sockets_not_supported_on_win32.
mov rcx, rsi
lea r8d, [rdx + 3]
call fcn.180086be0
jmp 0x18013c8af
xor edi, edi
call fcn.1800895a0
mov rcx, qword [rbx + 0x480]
mov r15, rax
test rcx, rcx
je 0x18013c825
mov rdx, qword [rbx + 0x260]
mov r9, rax
sub r9, qword [rbx + 0x490]
imul r8, qword [rdx + 0x530], 0x3e8
cmp r9, r8
jle 0x18013c932
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, [0x1801c0834]
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1800841d0
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 0x18013c92b
mov edx, 2
mov qword [rsp + 0x20], r12
lea r9, str.Failed_to_resolve__s
mov rcx, rsi
lea r8d, [rdx + 1]
call fcn.180086be0
call fcn.1800895a0
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 0x18013c910
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 0x18013c99a
mov qword [rbx + 0x490], r15
mov r9, qword [rbx + 0x488]
test r9, r9
je 0x18013c957
mov byte [rsp + 0x28], 1
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.18013ab70
jmp 0x18013c99a
mov rsi, qword [rbx + 0x480]
test rsi, rsi
je 0x18013c99a
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.18013ab70
mov rsi, qword [rsi + 0x28]
add rdi, 0xfa
test rsi, rsi
jne 0x18013c970
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.18015c050
add rsp, 0x88
pop r13
pop rsi
pop rbp
pop rbx
ret
mov ecx, 2
call fcn.180167c6c
mov rcx, rax
lea r8, str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.24.3_56c7a21808.clean_srclibmongoc_srcmongocmongoc_topology_scanner.c
lea rax, str._node__retired
mov r9d, 0x44a
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.18007d3a0
call fcn.180177210
int3