Function at 0x606450
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68423d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x78a6d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov edi, ecx
mov dword [ebp - 0x38], 0
test edi, edi
je 0x6066db
push edi
call fcn.00599f70
add esp, 4
test eax, eax
je 0x6066db
call fcn.00606870
mov esi, eax
test esi, esi
je 0x6064d5
push 0
push 0
push esi
push str.CSocketSupportBase::startSocketSupport
push 0x45
push 0x106
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCSocketSupport.cpp
push str.CSocketSupportBase::getHostIPAddrByName
call fcn.00612830
add esp, 0x20
mov eax, esi
jmp 0x6066e0
push 0x20
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0058d130
mov bl, byte [ebp + 8]
add esp, 0xc
mov esi, 2
mov ecx, 0x17
test bl, bl
mov eax, esi
cmovne eax, ecx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push edi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x60660d
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0x18]
test esi, esi
jne 0x606529
mov esi, 0xfe250005
jmp 0x6066c4
test bl, bl
je 0x6065d2
cmp word [esi + 8], 0
jne 0x6065d2
cmp word [esi + 0xa], 0
jne 0x6065d2
cmp word [esi + 0xc], 0
jne 0x6065d2
cmp word [esi + 0xe], 0
jne 0x6065d2
cmp word [esi + 0x10], 0
jne 0x6065d2
mov eax, 0xffff
cmp word [esi + 0x12], ax
jne 0x6065d2
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.CIPAddr.0
call fcn.00628c50
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.00628a70
lea ecx, [ebp - 0x34]
call fcn.00628b60
push eax
push edi
push str.Host__s_resolved_to_unacceptable_IPv4_mapped_IPv6_address__s
push 0x49
push 0x11f
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCSocketSupport.cpp
push str.CSocketSupportBase::getHostIPAddrByName
call fcn.006129f0
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.CIPAddr.0
mov esi, 0xfe25000c
call fcn.00628c20
jmp 0x6066c4
mov ecx, dword [ebp - 0x3c]
push esi
call fcn.00628a70
mov esi, eax
test esi, esi
je 0x606689
push 0
push 0
push esi
push str.CIPAddr::setIPAddress
push 0x45
push 0x128
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCSocketSupport.cpp
push str.CSocketSupportBase::getHostIPAddrByName
call fcn.00612830
add esp, 0x20
jmp 0x6066c4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
cmp ecx, 0x2afc
jne 0x60668d
test bl, bl
jne 0x60668d
push edi
push str.Required_fallback_name_resolution:__s
push 0x57
push 0x143
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCSocketSupport.cpp
push str.CSocketSupportBase::getHostIPAddrByName
call fcn.006129f0
add esp, 0x18
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x6066bf
cmp si, word [eax + 8]
jne 0x6066bf
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x6066bf
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push 4
push eax
call fcn.006289f0
mov esi, eax
test esi, esi
je 0x606689
push 0
push 0
push esi
push str.CIPAddr::setIPAddress
push 0x45
push 0x154
jmp 0x6065f6
xor esi, esi
jmp 0x6066c4
push edi
movzx eax, bl
lea eax, [eax*2 + 0x34]
push eax
push str.Couldnt_get_IPv_c_address_for_hostname___s_.
push 0
push ecx
push 0x717690
push 0x57
push 0x13d
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCSocketSupport.cpp
push str.CSocketSupportBase::getHostIPAddrByName
call fcn.00612830
add esp, 0x28
mov esi, 0xfe25000c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x6066d2
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
call fcn.00606880
mov eax, esi
jmp 0x6066e0
mov eax, 0xfe250002
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0058a893
mov esp, ebp
pop ebp
ret