Function at 0x42f370
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4bd7cf
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eaf00]
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.0045afb4
add esp, 4
cmp eax, ebx
je 0x42f3c0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov esi, eax
jmp 0x42f3c2
xor esi, esi
mov byte [esp + 0x64], bl
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.00430470
push esi
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00435010
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.004222c0
mov byte [esp + 0x64], bl
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x42f432
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42f432
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 0x42f432
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov edi, dword [ebp + 8]
call fcn.0042f880
mov edi, dword [ebp + 8]
call fcn.0042f9b0
mov edi, dword [ebp + 8]
call fcn.0042fad0
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.00404320
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 0x42f4a0
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
call fcn.0042f100
add esp, 0x2c
cmp eax, ebx
jg 0x42f4de
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 1
cmp esi, 5
jl 0x42f450
cmp dword [esp + 0x88], 0x10
jb 0x42f4d6
mov edx, dword [esp + 0x74]
push edx
call fcn.0045afe4
add esp, 4
or eax, 0xffffffff
jmp 0x42f74e
cmp byte [esp + 0x8c], bl
je 0x42f652
push 0xc
call fcn.0045afb4
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
cmp edi, ebx
je 0x42f5c1
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 0x42f532
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 0x42f556
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.00404320
mov cl, bl
mov edx, esi
mov byte [esp + 0xc4], 3
call fcn.0042fbf0
add esp, 0x2c
lea ecx, [esp + 0x60]
call fcn.0042fd80
lea eax, [esp + 0x2c]
mov byte [esp + 0x64], 6
push eax
mov ecx, edi
mov dword [esp + 0x20], 1
call fcn.004a5b50
mov esi, eax
jmp 0x42f5c3
xor esi, esi
mov dword [esp + 0x64], 7
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
call fcn.00428170
push esi
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00435010
add esp, 0xc
mov dword [esp + 0x64], 9
test byte [esp + 0x1c], 1
je 0x42f617
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x42f60f
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.004a5910
mov byte [esp + 0x64], bl
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x42f652
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x42f652
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 0x42f652
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 0x42f679
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 1
cmp esi, 5
jl 0x42f654
mov eax, dword [ebp]
mov esi, dword [eax]
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x42f6b0
cmp eax, ebx
je 0x42f6b0
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 0x42f6dd
cmp dword [esp + 0x88], 0x10
jb 0x42f4d6
mov eax, dword [esp + 0x74]
push eax
call fcn.0045afe4
add esp, 4
or eax, 0xffffffff
jmp 0x42f74e
mov eax, dword [ebp]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add eax, 4
push eax
lea esi, [esp + 0x40]
call fcn.004343a0
mov byte [esp + 0x64], 0xa
mov ecx, dword [ebp]
mov ecx, dword [ecx]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 4
call fcn.00404320
mov esi, 0x10
cmp dword [esp + 0x54], esi
jb 0x42f720
mov edx, dword [esp + 0x40]
push edx
call fcn.0045afe4
add esp, 4
mov eax, dword [ebp]
mov ecx, dword [eax]
cmp dword [ecx + 0x18], ebx
ja 0x42f736
cmp dword [esp + 0x88], esi
jmp 0x42f4c7
cmp dword [esp + 0x88], esi
jb 0x42f74c
mov eax, dword [esp + 0x74]
push eax
call fcn.0045afe4
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