Function at 0x42bf30
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov edi, dword [ebp + 8]
mov ebx, dword [edi]
test ebx, ebx
je 0x42c150
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x138], eax
lea esi, [esi]
nop
mov eax, dword [ebp - 0x138]
mov dword [esp + 8], ebx
lea edi, [ebp - 0x118]
mov dword [esp], str._s_option__i
mov dword [esp + 4], eax
call fcn.00465ec0
xor eax, eax
mov ecx, 0x40
mov dword [ebp - 0x11c], 0x100
rep stosd dword es:[edi], eax
mov dword [esp], 0
call sub.ws2_32.dll_WSASetLastError
lea eax, [ebp - 0x11c]
sub esp, 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x134]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call sub.ws2_32.dll_getsockopt
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 8]
sub esp, 0x14
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x42c160
mov ebx, 0xffffffff
xor eax, eax
mov dword [esp], eax
call fcn.00465e60
mov esi, dword [ebp - 0x12c]
jmp 0x42c032
mov dword [esp], eax
call fcn.00465b60
test eax, eax
setne al
movzx eax, al
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.expected_getsockopt_to_return__i__got__i_n
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x42c071
mov dword [esp + 4], 0x2cc0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, 1
cmp esi, ebx
je 0x42c015
xor eax, eax
cmp esi, 0xffffffff
jne 0x42c005
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x273a
sete al
movzx eax, al
jmp 0x42c005
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42c09a
mov esi, dword [str.windows]
mov edi, 0x470694
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
mov ebx, dword [ebp + 8]
jmp 0x42c0dc
mov dword [esp], eax
call fcn.00465b60
xor edx, edx
test eax, eax
setne dl
mov dword [esp], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], str.expected_getsockopt_to_set_error__i__got__i_n
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x42c130
mov dword [esp + 4], 0x2cc3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, dword [ebx + 4]
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
cmp eax, dword [ebx + 4]
je 0x42c0bf
xor eax, eax
cmp dword [ebp - 0x12c], 0xffffffff
jne 0x42c0b0
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x273a
sete al
movzx eax, al
jmp 0x42c0b0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x42c175
call fcn.00465f50
add dword [ebp + 8], 0x10
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
test ebx, ebx
jne 0x42bf60
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x42c330
mov ebx, eax
jmp 0x42bff5
mov dword [esp], 0
call sub.ws2_32.dll_WSASetLastError
mov eax, dword [ebp - 0x11c]
sub esp, 4
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x134]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call sub.ws2_32.dll_setsockopt
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 8]
sub esp, 0x14
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x42c354
xor eax, eax
mov ebx, 0xffffffff
mov dword [esp], eax
call fcn.00465e60
mov esi, dword [ebp - 0x12c]
jmp 0x42c21d
mov dword [esp], eax
call fcn.00465b60
test eax, eax
setne al
movzx eax, al
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.expected_setsockopt_to_return__i__got__i_n
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x42c260
mov dword [esp + 4], 0x2cd0
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
mov eax, 1
cmp esi, ebx
je 0x42c200
xor eax, eax
cmp esi, 0xffffffff
jne 0x42c1f0
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x273a
sete al
movzx eax, al
jmp 0x42c1f0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42c289
mov esi, dword [str.windows]
mov edi, 0x470694
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
mov ebx, dword [ebp + 8]
jmp 0x42c2cc
mov dword [esp], eax
call fcn.00465b60
xor edx, edx
test eax, eax
setne dl
mov dword [esp], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], str.expected_setsockopt_to_set_error__i__got__i_n
call fcn.00465cf0
call fcn.00465eb0
call fcn.00465e90
test eax, eax
je 0x42c13a
mov dword [esp + 4], 0x2cd3
mov dword [esp], str..._wine_dlls_ws2_32_tests_sock.c
call fcn.00465a80
call sub.ws2_32.dll_WSAGetLastError
mov esi, dword [ebx + 8]
mov edi, eax
call sub.ws2_32.dll_WSAGetLastError
mov edx, 1
cmp eax, dword [ebx + 8]
je 0x42c2af
xor eax, eax
cmp dword [ebp - 0x12c], 0xffffffff
jne 0x42c2a0
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x273a
sete al
movzx eax, al
jmp 0x42c2a0
mov esi, dword [str.windows]
mov edi, 0x470694
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
jmp 0x42bff5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x42c365
mov ebx, eax
jmp 0x42c1d7
mov esi, dword [str.windows]
mov edi, 0x470694
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
jmp 0x42c1d7