Function at 0x100c3f30
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x4c
mov eax, dword [0x101c6040]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [esp + 0x58]
push esi
push edi
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 0x23c]
lea esi, [edi + 0x1c]
mov ecx, dword [eax + 0x4c8]
test ecx, ecx
je 0x100c3f79
mov eax, dword [eax + 0x4d4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], esi
mov byte [esp + 0x54], 0
call ecx
add esp, 4
call fcn.1007c3d0
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x100c3fba
push 0
push 0
push 0
push 0
push 1
push ecx
push edi
call fcn.100c28c0
add esp, 0x1c
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10046e60
add esp, 0x4c
ret
cmp byte [edi + 0x248], 0
jne 0x100c424c
lea eax, [edi + 0x480]
mov byte [edi + 0x18], 0
push ebp
push eax
call fcn.10076710
lea eax, [edi + 0x500]
push eax
call fcn.100a8160
xor eax, eax
add esp, 8
mov word [edi + 0x460], ax
mov byte [edi + 0x462], al
mov eax, dword [edi + 0x23c]
mov ecx, dword [eax + 0x298]
test ecx, ecx
je 0x100c4048
push ebx
push dword [eax + 0x29c]
push esi
push dword [eax + 0x290]
call ecx
add esp, 0x10
test eax, eax
je 0x100c416c
push 1
push 0
push 0
push 0
push 0
push eax
push edi
call fcn.100c28c0
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10046e60
add esp, 0x4c
ret
cmp dword [edi + 0x228], 1
jne 0x100c4068
push str.UNIX_domain_sockets_not_supported_on_win32.
push 5
push 2
push ebx
call fcn.10079370
add esp, 0x10
jmp 0x100c416c
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
call fcn.1007c3d0
cmp dword [edi + 0x450], 0
lea ebp, [edi + 0x450]
mov ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x100c40f0
sub eax, dword [edi + 0x458]
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x23c]
sbb esi, dword [edi + 0x45c]
push 0
push 0x3e8
push dword [eax + 0x4dc]
push dword [eax + 0x4d8]
call fcn.10047f10
cmp esi, edx
jl 0x100c41d7
jg 0x100c40d3
cmp dword [esp + 0x10], eax
jbe 0x100c41d7
push dword [ebp]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp], 0
lea esi, [edi + 0x1c]
mov dword [edi + 0x454], 0
movzx eax, word [edi + 0x226]
push eax
push 0x1010c020
lea eax, [esp + 0x54]
push 8
push eax
call fcn.10078490
mov eax, dword [edi + 0x228]
lea ecx, [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
mov dword [esp + 0x34], 1
lea eax, [edi + 0x20]
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
push ebp
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], 0
push ecx
push eax
mov dword [esp + 0x48], 0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x100c41c3
lea eax, [edi + 0x20]
push eax
push str.Failed_to_resolve__s
push 3
push 2
push ebx
call fcn.10079370
add esp, 0x14
call fcn.1007c3d0
sub eax, dword [esp + 0x14]
push 0
sbb edx, dword [esp + 0x1c]
push 0x3e8
push edx
push eax
call fcn.100479e0
push edx
push eax
push ebx
push esi
push dword [edi + 0x23c]
call fcn.100c3430
mov eax, dword [edi + 0x23c]
push ebx
push dword [eax + 0x28c]
mov eax, dword [eax + 0x284]
push dword [edi]
call eax
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10046e60
add esp, 0x4c
ret
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x458], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x45c], eax
mov eax, dword [edi + 0x454]
test eax, eax
je 0x100c4208
push 1
push 0
push 0
push eax
push 0
push 0
push edi
call fcn.100c28c0
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10046e60
add esp, 0x4c
ret
mov esi, dword [ebp]
test esi, esi
je 0x100c4239
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
push 1
push ebx
push ebp
push esi
push 0
push 0
push edi
call fcn.100c28c0
mov esi, dword [esi + 0x1c]
add esp, 0x1c
add ebp, 0xfa
adc ebx, 0
test esi, esi
jne 0x100c4217
mov ecx, dword [esp + 0x58]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10046e60
add esp, 0x4c
ret
push str._node__retired
push str.mongoc_topology_scanner_node_setup
push 0x439
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_topology_scanner.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
int3