Function at 0x48f970
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x4c
mov eax, dword [0x522298]
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 0x48f9b9
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.0044e5b0
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
test ecx, ecx
je 0x48f9fa
push 0
push 0
push 0
push 0
push 1
push ecx
push edi
call fcn.0048e220
add esp, 0x1c
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004b3f14
add esp, 0x4c
ret
cmp byte [edi + 0x248], 0
jne 0x48fc8c
lea eax, [edi + 0x480]
mov byte [edi + 0x18], 0
push ebp
push eax
call fcn.00448d10
lea eax, [edi + 0x500]
push eax
call fcn.0047ce50
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 0x48fa88
push ebx
push dword [eax + 0x29c]
push esi
push dword [eax + 0x290]
call ecx
add esp, 0x10
test eax, eax
je 0x48fbac
push 1
push 0
push 0
push 0
push 0
push eax
push edi
call fcn.0048e220
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004b3f14
add esp, 0x4c
ret
cmp dword [edi + 0x228], 1
jne 0x48faa8
push str.UNIX_domain_sockets_not_supported_on_win32.
push 5
push 2
push ebx
call fcn.0044b5d0
add esp, 0x10
jmp 0x48fbac
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
call fcn.0044e5b0
cmp dword [edi + 0x450], 0
lea ebp, [edi + 0x450]
mov ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x48fb30
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.004b4b90
cmp esi, edx
jl 0x48fc17
jg 0x48fb13
cmp dword [esp + 0x10], eax
jbe 0x48fc17
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 0x4f22d0
lea eax, [esp + 0x54]
push 8
push eax
call fcn.00449250
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 0x48fc03
lea eax, [edi + 0x20]
push eax
push str.Failed_to_resolve__s
push 3
push 2
push ebx
call fcn.0044b5d0
add esp, 0x14
call fcn.0044e5b0
sub eax, dword [esp + 0x14]
push 0
sbb edx, dword [esp + 0x1c]
push 0x3e8
push edx
push eax
call fcn.004b48b0
push edx
push eax
push ebx
push esi
push dword [edi + 0x23c]
call fcn.0048ee70
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.004b3f14
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 0x48fc48
push 1
push 0
push 0
push eax
push 0
push 0
push edi
call fcn.0048e220
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004b3f14
add esp, 0x4c
ret
mov esi, dword [ebp]
test esi, esi
je 0x48fc79
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.0048e220
mov esi, dword [esi + 0x1c]
add esp, 0x1c
add ebp, 0xfa
adc ebx, 0
test esi, esi
jne 0x48fc57
mov ecx, dword [esp + 0x58]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b3f14
add esp, 0x4c
ret
push str._node__retired
push str.mongoc_topology_scanner_node_setup
push 0x44a
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.24.3_56c7a21808.clean_srclibmongoc_srcmongocmongoc_topology_scanner.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.004b9cc5
add esp, 4
push eax
call fcn.00443a60
add esp, 0x18
call fcn.004c3b6b
int3