Function at 0x438120
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ecx, pe_nt_image_headers32
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x218]
mov esi, eax
xor eax, eax
push ebx
sub esp, 0x26c
mov dword [ebp - 0x250], edx
rep stosd dword es:[edi], eax
mov dword [esp], esi
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x12345678
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x26e1
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
mov edi, dword fs:[0x18]
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.CreateIoCompletionPort_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x218]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x22c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x240]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x23c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x234]
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [ebp - 0x234], 0x200
mov dword [ebp - 0x23c], 0xdeadbeef
mov dword [ebp - 0x240], 0
call sub.ws2_32.dll_WSARecv
sub esp, 0x1c
mov esi, eax
mov dword [esp + 4], 0x26e9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26ea
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.got__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 0x3e5
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26eb
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], str.got_bytes__u_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x244]
mov dword [edi + 0x34], 0xdeadbeef
mov esi, dword [sym.imp.kernel32.dll_GetQueuedCompletionStatus]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x238]
mov dword [esp + 8], eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0xdeadbeef
mov dword [ebp - 0x238], 0xdeadbeef
mov dword [ebp - 0x244], 0xdeadbeef
mov dword [esp + 0x10], 0x64
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
sub esp, 0x14
mov dword [ebp - 0x24c], eax
mov dword [esp + 4], 0x26f2
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x24c]
mov dword [esp + 4], str.got__d_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26f3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.got__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edi + 0x34], 0x102
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26f4
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], str.got_bytes__u_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26f5
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x238]
mov dword [esp + 4], 0x472feb
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x26f6
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x244]
mov dword [esp + 4], str.got_ovl__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov edx, dword [ebp - 0x250]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp], edx
mov dword [esp + 4], str.Hello_World_
call sub.ws2_32.dll_send
sub esp, 0x10
mov dword [ebp - 0x24c], eax
mov dword [esp + 4], 0x26f9
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x24c]
mov dword [esp + 4], str.send_returned__d_n
cmp eax, 0xc
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
lea eax, [ebp - 0x244]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x238]
mov dword [esp + 8], eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0xdeadbeef
mov dword [ebp - 0x238], 0xdeadbeef
mov dword [ebp - 0x244], 0
mov dword [esp + 0x10], 0x64
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
sub esp, 0x14
mov dword [ebp - 0x24c], eax
mov dword [esp + 4], 0x2700
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x24c]
mov dword [esp + 4], str.got__d_n
mov dword [esp + 8], eax
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2701
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], str.got_bytes__u_n
cmp eax, 0xc
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2702
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x238]
mov dword [esp + 4], 0x472feb
cmp eax, 0x12345678
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2703
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x244]
lea ecx, [ebp - 0x22c]
mov dword [esp + 4], str.got_ovl__p_n
cmp eax, ecx
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x4386cb
mov dword [esp + 4], 0x2706
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x244]
mov eax, dword [eax + 4]
mov dword [esp + 4], str.got__lx_n
cmp eax, 0xc
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2707
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x244]
mov eax, dword [eax]
mov dword [esp + 4], str.got__lx_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2708
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x23c]
cmp dword [ebp - 0x218], 0x6c6c6548
je 0x438855
mov eax, 1
lea ecx, [ebp - 0x218]
xor eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], str.got__u_bytes___s__n
mov dword [esp], eax
call fcn.00465cf0
mov dword [ebp - 0x23c], 0xdeadbeef
lea eax, [ebp - 0x244]
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x238]
mov dword [esp + 8], eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x238], 0xdeadbeef
mov dword [ebp - 0x244], 0xdeadbeef
mov dword [esp], ebx
mov dword [esp + 0x10], 0x64
mov dword [esp + 4], eax
call esi
sub esp, 0x14
mov esi, eax
mov dword [esp + 4], 0x2710
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2711
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.got__u_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edx + 0x34], 0x102
sete al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2712
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], str.got_bytes__u_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2713
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x238]
mov dword [esp + 4], 0x472feb
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp + 4], 0x2714
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, dword [ebp - 0x244]
mov dword [esp + 4], str.got_ovl__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00465cf0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0x214], 0x6f57206f
jne 0x4386a1
xor eax, eax
cmp dword [ebp - 0x210], 0x21646c72
jne 0x4386a1
jmp 0x4386a6