Function at 0x417ce0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6193
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx + 0x4c]
lea ecx, [ebx + 0x4c]
mov dword [ebp - 0x38], vtable.AutoLock.0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], ecx
call dword [eax + 4]
mov dword [ebp - 4], 0
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
mov esi, dword [0x4fee84]
mov byte [ebp - 4], 1
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
lea edi, [esi + 0xdc]
mov byte [ebp - 4], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0xc0]
mov byte [ebp - 4], 2
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
imul eax, esi, 0x3e8
mov byte [ebp - 4], 0
push eax
push str.Set_socket_idle_timeout___d_ms
push dword [ebx + 0xe0]
mov dword [ebp - 0x1c], eax
call fcn.00405460
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
add esp, 0xc
mov byte [ebp - 4], 3
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
push eax
push 0x1006
push 0xffff
push dword [esi + 0x24]
call edi
cmp eax, 0xffffffff
je 0x418040
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x1005
push 0xffff
push dword [esi + 0x24]
call edi
cmp eax, 0xffffffff
je 0x418056
jmp 0x417e14
mov dword [ebp - 4], 0
push dword [ebx + 0xd8]
push str.Client__d_connected
push dword [ebx + 0xe0]
call fcn.00405460
call fcn.0044f650
push eax
push str.new_client__process_memory_usage:__d
push dword [ebx + 0xe0]
call fcn.00405550
push 0x1b8
call fcn.00496d34
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x1c]
lea edi, [ebx + 0xc]
mov ecx, dword [ebx + 0xe0]
mov ebx, dword [ebx + 0xd8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + 0xdc]
mov dword [ebp - 0x28], eax
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x46e090
push 0
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [esi + 0x10], vtable.ClientInputEventListener.0
lea eax, [esi + 0x24]
mov dword [esi + 0x14], vtable.SenderControlInformationInterface.0
mov dword [esi], vtable.RfbClient.1.0
mov dword [esi + 0x10], vtable.RfbClient.0
mov dword [esi + 0x14], vtable.RfbClient.2.0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], vtable.LocalMutex.0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
push ecx
mov dword [ecx + 0x3c], eax
add ecx, 0x40
call fcn.0041cd50
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x4c], edi
mov edi, dword [ebp - 0x24]
push edi
push dword [ebp + 0xc]
mov dword [eax + 0x48], ecx
lea ecx, [eax + 0x50]
call fcn.004770e0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
add eax, 0x68
mov ecx, dword [ebp - 0x14]
push edi
push eax
add ecx, 0xd8
call fcn.004770e0
mov eax, dword [ebp - 0x14]
mov dword [eax + method.LocalMutex.virtual_0], vtable.LocalMutex.0
add eax, 0x164
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov al, byte [ebp + 0x10]
mov esi, dword [ebp - 0x2c]
mov byte [ecx + 0x18c], al
mov al, byte [ebp + 0x14]
mov byte [ecx + 0x18d], al
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x198], eax
mov eax, esi
mov dword [ecx + 0x17c], 0
mov dword [ecx + 0x180], 0
mov dword [ecx + 0x184], 0
mov dword [ecx + 0x188], 0
mov word [ecx + 0x18e], 1
mov dword [ecx + 0x190], edi
mov dword [ecx + 0x194], ebx
add ecx, 0x1a0
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
call fcn.0044f700
mov ebx, dword [ebp - 0x14]
push dword [ebx + 4]
mov dword [ebx + 0x1b0], esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], ebx
setne al
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x30]
mov ebx, dword [ebp - 0x18]
push eax
mov esi, dword [ebx + 0x3c]
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0040dbc0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 0x40]
sub ecx, eax
cmp ecx, 1
jb 0x41806c
inc eax
mov dword [ebx + 0x40], eax
mov dword [esi + 4], edx
mov dword [edi], edx
inc dword [ebx + 0xd8]
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x50]
call fcn.00455330
push 0x4f7a94
lea eax, [ebp - 0x50]
push eax
call fcn.00498498
lea ecx, [ebp - 0x68]
call fcn.00455330
push 0x4f7a94
lea eax, [ebp - 0x68]
push eax
call fcn.00498498
push str.list_T__too_long
call fcn.00497816
int3