Function at 0x6c10d7f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 0xc]
test byte [0x6c1471d4], 8
jne 0x6c10d978
lea ebx, [ebp - 0x38]
xor eax, eax
mov ecx, 8
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x34], 2
call sym._GetAddrInfoW_16
sub esp, 0x10
test eax, eax
je 0x6c10d8c0
test byte [0x6c1471d4], 8
jne 0x6c10d9b0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x34], 0x17
call sym._GetAddrInfoW_16
sub esp, 0x10
test eax, eax
je 0x6c10d8c0
xor esi, esi
test byte [0x6c1471d4], 8
je 0x6c10d8e7
mov eax, dword [ebp + 8]
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0xc], str.failed_to_get_address_of__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GetAddress
mov dword [esp + 4], 0x6c1471d4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x10]
cmp dword [edx], eax
jae 0x6c10d8f8
test byte [0x6c1471d4], 4
jne 0x6c10da00
mov dword [esp], ebx
xor esi, esi
call sym._FreeAddrInfoW_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebx + 4]
cmp eax, 2
je 0x6c10da30
cmp eax, 0x17
je 0x6c10d9e8
xor eax, eax
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x6c10d958
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0xc], 0x41
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym._inet_ntop_16
mov ebx, dword [ebp - 0x3c]
sub esp, 0x10
mov dword [esp], ebx
mov esi, 1
call sym._FreeAddrInfoW_4
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0xc], 0x6c14ed9c
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GetAddress
mov dword [esp + 4], 0x6c1471d4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x6c10d809
mov eax, dword [ebp + 8]
call sym._wine_dbgstr_wn.constprop.0_3
mov dword [esp + 0xc], str.failed_to_get_IPv4_address_of__s__retrying_with_IPv6_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GetAddress
mov dword [esp + 4], 0x6c1471d4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x6c10d850
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
rol si, 8
mov word [ecx + 2], si
add eax, 8
jmp 0x6c10d92d
mov dword [esp + 0xc], str.address_too_small_n
mov dword [esp + 8], str.GetAddress
mov dword [esp + 4], 0x6c1471d4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_8
mov ebx, dword [ebp - 0x3c]
jmp 0x6c10d8da
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
rol si, 8
mov word [ecx + 2], si
add eax, 4
jmp 0x6c10d92d