Function at 0x429655
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x42969f
push 0x2726
call fcn.004229c1
mov eax, 0
jmp 0x429a9f
push 0x18
call fcn.004229fc
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
push 1
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSASocketW]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4296ed
push 0xca
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x429740
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x429723
push 0x155
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call fcn.00422aa3
push dword [ebp - 0xc]
call fcn.004229c1
mov eax, 0
jmp 0x429a9f
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x42977c
push 0x240
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42982c
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4297b2
push 0x281
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_shutdown]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4297e6
push 0x295
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_closesocket]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x429812
push 0x2b8
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
push dword [ebp - 4]
call fcn.00422aa3
push dword [ebp - 0xc]
call fcn.004229c1
mov eax, 0
jmp 0x429a9f
cmp dword [ebp + 0x10], 2
jne 0x429922
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x14]
push eax
push 0x9800000c
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x429872
push 0x3b5
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x429922
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4298a8
push 0x3f6
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_shutdown]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4298dc
push 0x40a
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_closesocket]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x429908
push 0x42d
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
push dword [ebp - 4]
call fcn.00422aa3
push dword [ebp - 0xc]
call fcn.004229c1
mov eax, 0
jmp 0x429a9f
push 0
push dword [ebp + 8]
call fcn.00422a84
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0
push 1
push dword [ebp - 0x18]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x42996b
push 0x507
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x429a1b
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4299a1
push 0x550
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_shutdown]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4299d5
push 0x564
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WS2_32.dll_closesocket]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x429a01
push 0x587
push 0x402e61d
push 6
call fcn.0043e37c
add esp, 0xc
push dword [ebp - 4]
call fcn.00422aa3
push dword [ebp - 0xc]
call fcn.004229c1
mov eax, 0
jmp 0x429a9f
push dword [ebp + 0xc]
push 4
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 0x10]
push 8
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 0x14]
push 0xc
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp - 8]
push 0
push dword [ebp - 4]
call fcn.00422a70
push dword [ebp + 8]
push 0x10
push dword [ebp - 4]
call fcn.00422a70
push 0
push 0x14
push dword [ebp - 4]
call fcn.00422a70
push 0x14
push dword [ebp - 4]
call fcn.00422cb7
push 0x14
push dword [ebp + 8]
call fcn.00422cb7
mov eax, dword [ebp - 4]
jmp 0x429a9f
mov esp, ebp
pop ebp
ret 0x10