Function at 0x6e925767
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
jg 0x6e9257a2
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x24]
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
call eax
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x1e]
test ax, ax
je 0x6e92585d
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x28]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x18]
mov word [eax + 0x28], dx
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x28]
test ax, ax
jne 0x6e925845
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
jmp 0x6e925925
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x6e9258a1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x6e9258a1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._handle_entry
jmp 0x6e9258ea
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x6e9257a2
mov dword [esp], str.GetQueuedCompletionStatus_exited_with_no_event.
call sym.libevent_core_2_1_6.dll_event_warnx
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x28]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x18]
mov word [eax + 0x28], dx
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x28]
test ax, ax
je 0x6e9258ef
jmp 0x6e925912
jmp 0x6e9257a2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
sub esp, 4
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6e925935
call sym.___stack_chk_fail
mov ebx, dword [ebp - 4]
leave
ret