Function at 0x412a10
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
xor edx, edx
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x16c
mov dword [ebp - 0x13c], 0x100
mov dword [ebp + eax - 0x138], edx
add eax, 4
cmp eax, 0x20
jb 0x412a2a
lea edi, [ebp - 0x118]
lea eax, [ebp - 0x13c]
mov dword [esp], 5
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_GetComputerNameExA]
mov dword [ebp - 0x144], 0xdeadbeef
sub esp, 0xc
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x144]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x82b
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x2af9
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_expected_WSAHOST_NOT_FOUND_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x82c
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2af9
mov dword [esp + 4], str.expected_11001__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x82d
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0x46a3ff
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
mov dword [ebp - 0x144], 0
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x144]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x46aec5
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x832
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x833
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov ecx, dword [ebp - 0x144]
xor eax, eax
mov dword [esp + 4], str.getaddrinfo_failed_n
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x834
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
test eax, eax
mov dword [esp + 4], 0x46ad74
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aef6
mov dword [esp], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x839
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x83a
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov ebx, dword [ebp - 0x144]
xor eax, eax
mov dword [esp + 4], str.getaddrinfo_failed_n
test ebx, ebx
lea ebx, [ebp - 0x140]
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aec5
mov dword [esp], 0
mov dword [ebp - 0x140], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x83e
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x83f
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov esi, dword [ebp - 0x140]
xor eax, eax
mov dword [esp + 4], str.getaddrinfo_failed_n
test esi, esi
setne al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x144]
call fcn.004114c0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
mov eax, dword [ebp - 0x140]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x144]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aef6
mov dword [esp], 0x46aec5
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x847
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x848
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 4], 0x46ad74
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x849
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov edx, dword [ebp - 0x144]
xor eax, eax
mov dword [esp + 4], str.getaddrinfo_failed_n
test edx, edx
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aec5
mov dword [esp], 0x46aec5
mov dword [ebp - 0x140], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x84d
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x84e
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov ecx, dword [ebp - 0x140]
xor eax, eax
mov dword [esp + 4], str.getaddrinfo_failed_n
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x144]
call fcn.004114c0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
mov eax, dword [ebp - 0x140]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x46aef8
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x855
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aec5
mov dword [esp], 0x46aef8
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x85a
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aef6
mov dword [esp], 0x46aef8
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x85f
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46af02
mov dword [esp], 0x46aef8
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x864
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x46aef8
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x869
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x144]
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x46af02
mov dword [esp], 0x46aef8
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x86f
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x870
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
test eax, eax
mov dword [esp + 4], 0x46ad74
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x144], 0xdeadbeef
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x46af02
mov dword [esp], 0x46aef8
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x876
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0x2af9
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x877
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], esi
cmp eax, 0x2af9
mov dword [esp + 4], str.expected_WSAHOST_NOT_FOUND__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x878
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.result___p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x144]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], edi
mov dword [ebp - 0x138], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x87e
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x87f
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov esi, dword [ebp - 0x144]
xor eax, eax
mov dword [esp + 4], str.GetAddrInfoW_failed_n
test esi, esi
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x46aec5
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x882
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x883
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov edx, dword [ebp - 0x144]
xor eax, eax
mov dword [esp + 4], str.GetAddrInfoW_failed_n
test edx, edx
setne al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x144]
call fcn.004114c0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
mov eax, dword [ebp - 0x140]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aec5
mov dword [esp], edi
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov esi, eax
mov dword [esp + 4], 0x889
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x88a
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov ecx, dword [ebp - 0x144]
xor eax, eax
mov dword [esp + 4], str.GetAddrInfoW_failed_n
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x46aec5
mov dword [esp], 0x46aec5
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x88d
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x88e
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov ebx, dword [ebp - 0x144]
xor eax, eax
mov dword [esp + 4], str.GetAddrInfoW_failed_n
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x144]
call fcn.004114c0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
mov eax, dword [ebp - 0x140]
sub esp, 4
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
mov dword [ebp - 0x144], 0xdeadbeef
sub esp, 4
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x144]
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x46af39
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
test eax, eax
je 0x413fcb
mov dword [esp + 4], 0x89b
mov edi, str.192.168.1.253
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x2af9
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got__d_expected_WSAHOST_NOT_FOUND_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x89c
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], ebx
cmp eax, 0x2af9
mov dword [esp + 4], str.expected_11001__got__d_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x89d
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], 0x46a3ff
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x144]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], str.192.168.1.253
mov dword [ebp - 0x144], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8a2
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x8a3
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 4]
mov dword [esp + 4], str.ai_family___d_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x8a4
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov eax, dword [ebp - 0x144]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], str.ai_addrlen___d_n
cmp eax, 0xf
mov dword [esp + 8], eax
seta al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x8a5
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.ai_addr__NULL_n
mov eax, dword [eax + 0x18]
test eax, eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov ebx, dword [eax + 0x18]
mov dword [esp + 4], 0x8a7
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
movsx edx, word [ebx]
mov dword [esp + 4], str.ai_addr__sin_family___d_n
cmp dx, 2
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x8a8
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
movzx edx, word [ebx + 2]
mov dword [esp + 4], str.ai_addr__sin_port___d_n
test dx, dx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.ws2_32.dll_inet_ntoa
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x8ab
mov esi, ebx
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov ecx, 0xe
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.sockaddr__ai_addr___s_n
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x138], 4
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], str.192.168.1.253:1024
call sub.ws2_32.dll_getaddrinfo
mov dword [ebp - 0x138], 0
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8b3
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x2af9
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_returned_unexpected_result:__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x8b4
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], str.expected_NULL__got__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [ebp - 0x144], 0
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xdeadbeef
lea eax, [ebp - 0x144]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.2a00:2039:dead:beef:cafe::6666
call sub.ws2_32.dll_getaddrinfo
mov edx, dword [ebp - 0x144]
sub esp, 0x10
mov ebx, eax
test edx, edx
je 0x41408e
mov dword [esp + 4], 0x8bd
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov edx, str.2a00:2039:dead:beef:cafe::6666
call fcn.0040fa00
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
sub esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str._beef::cafe_
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8c4
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov edx, str.beef::cafe
call fcn.0040fa00
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
xor edx, edx
xor eax, eax
sub esp, 4
mov dword [ebp + eax - 0x130], edx
add eax, 4
cmp eax, 0x18
jb 0x413abc
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp], str._beef::cafe_
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x134], 0x17
mov dword [ebp - 0x144], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8ce
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov edx, str.beef::cafe
call fcn.0040fa00
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
xor edx, edx
xor eax, eax
sub esp, 4
mov dword [ebp + eax - 0x130], edx
add eax, 4
cmp eax, 0x18
jb 0x413b6a
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp], str._beef::cafe_
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x134], 2
mov dword [ebp - 0x144], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8d7
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x2af9
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x144]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], str._beef::cafe_:10239
mov dword [ebp - 0x144], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8dc
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x144]
mov edx, str.beef::cafe
call fcn.0040fa00
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x138], 4
sub esp, 4
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], str._beef::cafe
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8e4
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x2af9
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x144]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp], str.beef::cafe_
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8e7
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x2af9
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
mov ebx, dword fs:[0x18]
mov esi, 0x470160
mov ecx, 6
xor edx, edx
xor edi, edi
mov dword [ebp - 0x138], 0
mov eax, 1
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], ebx
jmp 0x413dfe
mov dword [esp + 4], 0x914
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0x150], eax
call sub.ws2_32.dll_WSAGetLastError
cmp dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x150]
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.test__d:_wrong_error__d_n
add edi, 1
add esi, 0x10
movzx eax, al
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.00465cf0
cmp edi, 0x20
je 0x414013
mov ebx, dword [esi + 0xc]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x12c], ecx
mov dword [eax + 0x34], 0xdeadbeef
lea eax, [ebp - 0x144]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x46aef8
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x8fa
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor ecx, ecx
cmp ebx, dword [ebp - 0x14c]
mov dword [esp + 0xc], ebx
sete cl
mov dword [esp + 8], edi
mov dword [esp + 4], str.test__d:_wrong_ret__d_n
mov dword [esp], ecx
call fcn.00465cf0
test ebx, ebx
jne 0x413d90
mov ebx, dword [ebp - 0x144]
test ebx, ebx
je 0x413ff9
mov edx, dword [ebp - 0x150]
jmp 0x413f77
mov dword [esp + 4], 0x901
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov edx, dword [ebx + 4]
mov dword [esp + 8], edi
mov dword [esp + 4], str.test__d:_expected_AF_INET_or_AF_INET6__got__d_n
cmp edx, 2
mov dword [esp + 0xc], edx
sete al
cmp edx, 0x17
sete dl
or eax, edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x909
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov edx, dword [ebx + 8]
mov eax, dword [esi + 4]
mov dword [esp + 8], edi
mov dword [esp + 4], str.test__d:_expected_type__d__got__d_n
cmp edx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x10], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x90c
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 8], edi
mov dword [esp + 4], str.test__d:_expected_protocol__d__got__d_n
cmp edx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 0x10], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
je 0x413ff3
mov edx, dword [esi]
test edx, edx
je 0x413eb2
mov dword [esp + 4], 0x905
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
mov dword [ebp - 0x14c], edx
call fcn.00465a80
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x14c]
mov dword [esp + 8], edi
mov dword [esp + 4], str.test__d:_expected_family__d__got__d_n
cmp eax, edx
mov dword [esp + 0x10], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
jmp 0x413ef2
mov dword [esp + 4], 0x898
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov dword [esp], str.nxdomain_returned_success._Broken_ISP_redirects__n
call fcn.00465de0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x144]
mov dword [esp], ebx
add edi, 1
add esi, 0x10
call sub.ws2_32.dll_freeaddrinfo
sub esp, 4
cmp edi, 0x20
jne 0x413ded
xor edx, edx
xor eax, eax
mov dword [ebp + eax - 0x138], edx
add eax, 4
cmp eax, 0x20
jb 0x414017
lea eax, [ebp - 0x144]
mov dword [esp + 4], str.nonexistentservice
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x138]
mov dword [esp + 8], eax
mov dword [esp], 0
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x91a
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x277d
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x46b1ab
mov dword [esp], eax
call fcn.00465cf0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x8eb
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
xor eax, eax
cmp ebx, 0x2af9
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.getaddrinfo_failed_with__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x8ec
mov dword [esp], str..._wine_dlls_ws2_32_tests_protocol.c
call fcn.00465a80
mov dword [esp], str.getaddrinfo_does_not_support_IPV6_n
call fcn.00465e00
jmp 0x413d50