Function at 0x6e92527f
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xe4
mov eax, dword [ebp + 8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym._upcast_evbuffer
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0x98], 0
jne 0x6e9252f4
mov eax, 0xffffffff
jmp 0x6e925664
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6e92531a
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.libevent_core_2_1_6.dll_evthreadimpl_lock_lock_
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 0x4c]
and eax, 2
test al, al
setne al
movzx eax, al
test eax, eax
je 0x6e925367
mov dword [esp + 0x14], str.evbuffer_launch_read_
mov dword [esp + 0x10], str._buf_o__write_in_progress
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], str.buffer_iocp.c
mov dword [esp + 4], 0x6e92e49c
mov dword [esp], 0xdeaddead
call sym.libevent_core_2_1_6.dll_event_errx
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax + 0x1c]
and eax, 4
test al, al
jne 0x6e925634
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 0x4c]
and eax, 1
test al, al
jne 0x6e925634
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x50], 0
mov eax, dword [ebp - 0x98]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 0x98]
add eax, 0x58
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x10
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evbuffer_expand_fast_
cmp eax, 0xffffffff
je 0x6e925637
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evbuffer_freeze
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], 1
lea edx, [ebp - 0xb4]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x10
lea edx, [ebp - 0x8c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evbuffer_read_setup_vecs_
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa8], 0
jmp 0x6e92549a
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp + eax*8 - 0x8c]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa8]
add ecx, 0xa
mov dword [eax + ecx*8 + 0xc], edx
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp + eax*8 - 0x88]
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xa8]
add ecx, 0xa
mov dword [eax + ecx*8 + 8], edx
add dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x94]
jl 0x6e925453
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
mov dword [eax + 0x54], edx
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x9c]
mov dword [eax + 0x50], edx
mov dword [ebp - 0xa0], 0
jmp 0x6e92550b
mov dword [esp + 4], 0x10
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evbuffer_chain_pin_
add dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x6e9254e0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x94]
setne al
movzx eax, al
test eax, eax
je 0x6e92555e
mov dword [esp + 0x14], str.evbuffer_launch_read_
mov dword [esp + 0x10], str.npin__nvecs
mov dword [esp + 0xc], 0x120
mov dword [esp + 8], str.buffer_iocp.c
mov dword [esp + 4], 0x6e92e49c
mov dword [esp], 0xdeaddead
call sym.libevent_core_2_1_6.dll_event_errx
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evbuffer_incref_
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
lea ebx, [ecx + 0x58]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edx
lea edx, [ebp - 0xac]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0xb0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov eax, dword [sym.imp.WS2_32.dll_WSARecv]
call eax
sub esp, 0x1c
test eax, eax
je 0x6e925618
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x3e5
je 0x6e925618
mov dword [esp + 4], 0x10
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sym._pin_release
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evbuffer_unfreeze
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
call sym.libevent_core_2_1_6.dll_evbuffer_free
jmp 0x6e925638
mov eax, dword [ebp - 0x98]
movzx edx, byte [eax + 0x4c]
or edx, 1
mov byte [eax + 0x4c], dl
mov dword [ebp - 0xa4], 0
jmp 0x6e925638
nop
jmp 0x6e925638
nop
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x6e92565e
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym.libevent_core_2_1_6.dll_evthreadimpl_lock_unlock_
mov eax, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xc]
xor ebx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6e925674
call sym.___stack_chk_fail
mov ebx, dword [ebp - 4]
leave
ret