Function at 0x42f340
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4ba2ff
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push 0x10
mov dword [esp + 0x68], ebx
call fcn.00457ac4
add esp, 4
cmp eax, ebx
je 0x42f390
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov esi, eax
jmp 0x42f392
xor esi, esi
mov byte [esp + 0x64], bl
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.00430440
push esi
lea eax, [esp + 0x28]
push esi
push eax
call fcn.004222f0
add esp, 0xc
mov byte [esp + 0x64], 2
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov dword [ebp + 8], ecx
push edx
lea ecx, [ebp + 0xc]
call fcn.00422290
mov byte [esp + 0x64], bl
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x42f402
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42f402
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42f402
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov edi, dword [ebp + 8]
call fcn.0042f890
mov edi, dword [ebp + 8]
call fcn.0042f9c0
mov edi, dword [ebp + 8]
call fcn.0042fae0
xor esi, esi
lea esp, [esp]
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x98]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004042e0
mov ecx, dword [ebp]
mov edx, dword [ebp + 8]
push ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [esp + 0x54], esp
mov dword [ecx + 4], eax
je 0x42f470
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
call fcn.0042f0d0
add esp, 0x2c
cmp eax, ebx
jg 0x42f4ae
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 1
cmp esi, 5
jl 0x42f420
cmp dword [esp + 0x88], 0x10
jb 0x42f4a6
mov edx, dword [esp + 0x74]
push edx
call fcn.00457af4
add esp, 4
or eax, 0xffffffff
jmp 0x42f71e
cmp byte [esp + 0x8c], bl
je 0x42f622
push 0xc
call fcn.00457ac4
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
cmp edi, ebx
je 0x42f591
mov eax, dword [ebp + 4]
mov edx, dword [eax]
sub esp, 0x34
mov dword [esp + 0x50], esp
mov esi, esp
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [esp + 0x58], esp
mov dword [ecx + 4], eax
je 0x42f502
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [ebp + 8]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [esp + 0x7c], esp
mov dword [ecx + 4], eax
je 0x42f526
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xc4], 5
mov dword [esp + 0x80], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xd8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004042e0
mov cl, bl
mov edx, esi
mov byte [esp + 0xc4], 3
call fcn.0042fc00
add esp, 0x2c
lea ecx, [esp + 0x60]
call fcn.0042fd90
lea eax, [esp + 0x2c]
mov byte [esp + 0x64], 6
push eax
mov ecx, edi
mov dword [esp + 0x20], 1
call fcn.004a2620
mov esi, eax
jmp 0x42f593
xor esi, esi
mov dword [esp + 0x64], 7
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.00428180
push esi
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.004222f0
add esp, 0xc
mov dword [esp + 0x64], 9
test byte [esp + 0x1c], 1
je 0x42f5e7
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x42f5df
mov edx, dword [esp + 0x30]
push 1
push edx
call eax
add esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.004a23e0
mov byte [esp + 0x64], bl
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x42f622
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42f622
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x42f622
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
xor esi, esi
mov eax, dword [ebp]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov edi, eax
cmp edi, ebx
jg 0x42f649
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 1
cmp esi, 5
jl 0x42f624
mov eax, dword [ebp]
mov esi, dword [eax]
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x42f680
cmp eax, ebx
je 0x42f680
push 4
lea ecx, [esp + 0x20]
push ecx
push 0xffffff7f
push 0xffff
push eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x24], ebx
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp edi, ebx
jg 0x42f6ad
cmp dword [esp + 0x88], 0x10
jb 0x42f4a6
mov eax, dword [esp + 0x74]
push eax
call fcn.00457af4
add esp, 4
or eax, 0xffffffff
jmp 0x42f71e
mov eax, dword [ebp]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add eax, 4
push eax
lea esi, [esp + 0x40]
call fcn.004343d0
mov byte [esp + 0x64], 0xa
mov ecx, dword [ebp]
mov ecx, dword [ecx]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 4
call fcn.004042e0
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x42f6f0
mov edx, dword [esp + 0x40]
push edx
call fcn.00457af4
add esp, 4
mov eax, dword [ebp]
mov ecx, dword [eax]
cmp dword [ecx + 0x18], ebx
ja 0x42f706
cmp dword [esp + 0x88], esi
jmp 0x42f497
cmp dword [esp + 0x88], esi
jb 0x42f71c
mov eax, dword [esp + 0x74]
push eax
call fcn.00457af4
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x24