Function at 0x6e92309f
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x70
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call sym.libevent_core_2_1_6.dll_event_get_win32_extension_fns_
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
test eax, eax
sete al
movzx eax, al
test eax, eax
je 0x6e92314b
mov dword [esp + 0x14], str.accepted_socket_invoke_user_cb
mov dword [esp + 0x10], str.ext__GetAcceptExSockaddrs
mov dword [esp + 0xc], 0x263
mov dword [esp + 8], str.listener.c
mov dword [esp + 4], 0x6e92e220
mov dword [esp], 0xdeaddead
call sym.libevent_core_2_1_6.dll_event_errx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x6e92316b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.libevent_core_2_1_6.dll_evthreadimpl_lock_lock_
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x54]
and eax, 1
test al, al
je 0x6e9231a4
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._free_and_unlock_accepting_socket
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._listener_decref_and_unlock
jmp 0x6e923372
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x18]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x18]
mov word [eax + 0x18], dx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x6e9231dc
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x6e923285
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 0x50]
shr dl, 1
movzx ecx, dl
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 0x50]
shr dl, 1
movzx edx, dl
mov ebx, dword [ebp - 0x20]
lea esi, [ebx + 0x58]
lea ebx, [ebp - 0x30]
mov dword [esp + 0x1c], ebx
lea ebx, [ebp - 0x38]
mov dword [esp + 0x18], ebx
lea ebx, [ebp - 0x34]
mov dword [esp + 0x14], ebx
lea ebx, [ebp - 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], esi
call eax
sub esp, 0x20
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x30], 0xffffffff
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4c]
lea edx, [eax + 0x24]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x700b
mov dword [esp + 4], 0xffff
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_setsockopt]
call eax
sub esp, 0x14
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x6e9232be
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.libevent_core_2_1_6.dll_evthreadimpl_lock_unlock_
cmp dword [ebp - 0x24], 0
je 0x6e9232e8
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_WSASetLastError]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
jmp 0x6e923315
cmp dword [ebp - 0x28], 0
je 0x6e923315
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x6e923335
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.libevent_core_2_1_6.dll_evthreadimpl_lock_lock_
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sym._listener_decref_and_unlock
test eax, eax
jne 0x6e923371
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._start_accepting
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
jmp 0x6e923372
nop
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6e923382
call sym.___stack_chk_fail
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret