Function at 0x1011fd90
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1022d400]
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 0x1011fdd9
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.100d8300
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x1011fe1a
push 0
push 0
push 0
push 0
push 1
push ecx
push edi
call fcn.1011e720
add esp, 0x1c
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1009f33b
add esp, 0x4c
ret
cmp byte [edi + 0x248], 0
jne 0x101200ac
lea eax, [edi + 0x480]
mov byte [edi + 0x18], 0
push ebp
push eax
call fcn.100d2640
lea eax, [edi + 0x500]
push eax
call fcn.10103fb0
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 0x1011fea8
push ebx
push dword [eax + 0x29c]
push esi
push dword [eax + 0x290]
call ecx
add esp, 0x10
test eax, eax
je 0x1011ffcc
push 1
push 0
push 0
push 0
push 0
push eax
push edi
call fcn.1011e720
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1009f33b
add esp, 0x4c
ret
cmp dword [edi + 0x228], 1
jne 0x1011fec8
push str.UNIX_domain_sockets_not_supported_on_win32.
push 5
push 2
push ebx
call fcn.100d52a0
add esp, 0x10
jmp 0x1011ffcc
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
call fcn.100d8300
cmp dword [edi + 0x450], 0
lea ebp, [edi + 0x450]
mov ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x1011ff50
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.100a0050
cmp esi, edx
jl 0x10120037
jg 0x1011ff33
cmp dword [esp + 0x10], eax
jbe 0x10120037
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 0x10175430
lea eax, [esp + 0x54]
push 8
push eax
call fcn.100d43c0
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 0x10120023
lea eax, [edi + 0x20]
push eax
push str.Failed_to_resolve__s
push 3
push 2
push ebx
call fcn.100d52a0
add esp, 0x14
call fcn.100d8300
sub eax, dword [esp + 0x14]
push 0
sbb edx, dword [esp + 0x1c]
push 0x3e8
push edx
push eax
call fcn.1009fec0
push edx
push eax
push ebx
push esi
push dword [edi + 0x23c]
call fcn.1011f290
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.1009f33b
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 0x10120068
push 1
push 0
push 0
push eax
push 0
push 0
push edi
call fcn.1011e720
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1009f33b
add esp, 0x4c
ret
mov esi, dword [ebp]
test esi, esi
je 0x10120099
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.1011e720
mov esi, dword [esi + 0x1c]
add esp, 0x1c
add ebp, 0xfa
adc ebx, 0
test esi, esi
jne 0x10120077
mov ecx, dword [esp + 0x58]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009f33b
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.100a530f
add esp, 4
push eax
call fcn.100ccd10
add esp, 0x18
call fcn.100b1525
int3