Function at 0x44e410
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
mov esi, 2
push ebx
xor ebx, ebx
sub esp, 0xac
mov word [ebp - 0x72], bx
mov dword [esp], str.192.0.2.0
mov word [ebp - 0x80], si
mov dword [ebp - 0x7e], 0
mov dword [ebp - 0x7a], 0
mov dword [ebp - 0x76], 0
call sub.ws2_32.dll_inet_addr
mov dword [ebp - 0x6e], 0
sub esp, 4
mov dword [ebp - 0x7c], eax
mov eax, 2
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
mov dword [ebp - 0x6a], 0
mov word [ebp - 0x62], di
mov edi, 0x470694
mov dword [ebp - 0x66], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 0x6c], 0x100007f
mov dword [ebp - 0x88], 0
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call sub.ws2_32.dll_bind
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x29c1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov esi, dword [str.windows]
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
jmp 0x44e574
mov dword [esp + 4], 0x29c2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.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, 0x271e
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x44e530
mov dword [esp], 0xdeadbeef
mov ecx, 0xffffdead
lea esi, [ebp - 0x60]
mov word [ebp - 0x60], cx
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 8], 0x10
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x29c7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x29c8
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x273f
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x70]
sub esp, 4
mov dword [esp + 8], 0xf
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x29cc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x29cd
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x80]
sub esp, 4
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x29d1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x29d2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2741
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x70]
sub esp, 4
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x29d6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test edi, edi
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x29d7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x44f177
mov dword [esp], edx
mov dword [esp + 8], edi
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x70]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x29db
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x29dc
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2726
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x84]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [ebp - 0x84], 0x10
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x29e0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov edi, eax
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp + 8], 0x10
mov dword [esp], edi
call sub.ws2_32.dll_bind
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x29e6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x29e7
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.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, 0x2740
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], edi
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp], ebx
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 8], 0x11
mov dword [esp + 4], 2
mov dword [esp], 2
call sub.ws2_32.dll_socket
sub esp, 0xc
mov ebx, eax
mov dword [esp], 0xdeadbeef
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x70]
sub esp, 4
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ws2_32.dll_bind
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x29f0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 4], str.expected_success_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x29f1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
test eax, eax
jne 0x44f163
mov dword [esp], edx
mov dword [esp + 8], esi
mov dword [esp + 4], str.got_error__u_n
call fcn.00465cf0
mov dword [esp], ebx
lea ebx, [ebp - 0x88]
call sub.ws2_32.dll_closesocket
sub esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.iphlpapi.dll_GetAdaptersAddresses
sub esp, 0x14
mov esi, eax
mov dword [esp + 4], 0x29f6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0x6f
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got_error__u_n
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_malloc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov edi, eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x98], eax
call sub.iphlpapi.dll_GetAdaptersAddresses
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 0x29f9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.got_error__u_n
mov dword [esp], eax
call fcn.00465cf0
test edi, edi
je 0x44ec3b
mov dword [ebp - 0x90], edi
lea esi, [esi]
nop
mov eax, dword [ebp - 0x90]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x44ec24
mov eax, dword [ebx + 0xc]
movsx eax, word [eax]
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], eax
mov edi, eax
call sub.ws2_32.dll_socket
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x2a04
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp esi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x2a07
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edx, dword [ebp - 0x8c]
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], esi
call sub.ws2_32.dll_closesocket
sub esp, 4
cmp di, 0x17
je 0x44ec52
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x44eb51
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 8]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x44eb40
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_free]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 4], 0x2a11
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov dword [ebp - 0x38], eax
call fcn.00465a80
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], str.got_unexpected_length__u_n
cmp eax, 0x1c
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 0x17
call sub.ws2_32.dll_socket
sub esp, 0xc
mov edi, eax
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0x2a15
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.failed_to_create_socket__error__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp edi, 0xffffffff
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 8], 0x18
mov eax, dword [ebx + 0xc]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.ws2_32.dll_bind
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x2a18
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2a19
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.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, 0x271e
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x50]
mov dword [esp], edi
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [ebp - 0x38], 0xabacab
call sub.ws2_32.dll_bind
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x94], eax
sub esp, 0xc
xor eax, eax
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x44ede7
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465e60
mov esi, dword [ebp - 0x94]
jmp 0x44ee70
mov dword [esp + 4], 0x2a1f
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2a20
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x2741
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x44ee00
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x38], 0
mov dword [esp], eax
call sub.ws2_32.dll_bind
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x44eed3
mov esi, dword [str.windows]
mov ecx, 5
mov edi, 0x470694
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov esi, eax
mov dword [esp], esi
call fcn.00465e60
mov esi, dword [ebp - 0x94]
jmp 0x44ef1c
mov dword [esp + 4], 0x2a26
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.got_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
sete al
mov dword [esp], eax
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
jne 0x44eee3
mov eax, dword [ebx + 0xc]
lea esi, [ebp - 0x34]
mov edx, dword [eax]
mov dword [ebp - 0x84], 0x18
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 4], esi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x84]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x2a2c
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 4], str.expected_failure_n
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2a2d
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 8], edi
cmp eax, 0x271e
mov dword [esp + 4], str.got_error__u_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
xor eax, eax
mov dword [ebp - 0x84], 0x1c
mov dword [esi + eax], 0
add eax, 4
cmp eax, 0x1c
jb 0x44eff6
lea eax, [ebp - 0x84]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call sub.ws2_32.dll_getsockname
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x2a32
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov dword [esp + 4], str.got_error__u_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], 0x2a33
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
movsx edx, word [ebp - 0x34]
mov dword [esp + 4], str.got_family__u_n
cmp dx, 0x17
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2a34
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp word [ebp - 0x32], 0
mov dword [esp + 4], str.expected_nonzero_port_n
setne al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2a35
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x2c], eax
je 0x44f140
mov eax, 1
xor eax, 1
mov dword [esp + 4], str.address_didnt_match_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2a36
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x38], eax
mov dword [esp + 4], str.got_scope__u_n
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call sub.ws2_32.dll_closesocket
sub esp, 4
jmp 0x44ec19
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x28], eax
jne 0x44f0da
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x24], eax
jne 0x44f0da
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x20], eax
jne 0x44f0da
xor eax, eax
jmp 0x44f0df
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x44ea3c
call sub.ws2_32.dll_WSAGetLastError
xor edx, edx
cmp eax, 0xdeadbeef
sete dl
jmp 0x44e7cb