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

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x3c
mov eax, dword [edx + 0x2c]
test ah, 1
je 0x4e0414
test eax, 0x20000
jne 0x4e03f0
lea esi, [ebx + 0x64]
mov edx, eax
mov dword [ebx + 0x64], 0
or edx, 0x80000
test eax, 0x100000
lea edi, [ebx + 0x44]
mov dword [ebx + 0x2c], edx
mov dword [esp + 0x2c], 0x7e20e8
mov dword [esp + 0x28], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
je 0x4e0311
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x4e0490
or eax, 1
mov dword [ebx + 0x74], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x90]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_WSARecv]
sub esp, 0x1c
test eax, eax
je 0x4e03a0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x4e0440
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
mov ecx, edx
add eax, 1
or ecx, 0x20000
and edx, 0x100000
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x3c], eax
je 0x4e0398
cmp dword [ebx + 0x84], 0xffffffff
je 0x4e04c0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
mov ecx, edx
add eax, 1
or ecx, 0x20000
test edx, 0x40000
je 0x4e037d
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x7c], 0
test eax, eax
mov dword [ebx + 0x68], edx
je 0x4e0530
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x7c], edx
mov dword [eax + 0x38], edi
mov dword [ebp + 0x28], edi
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x1e8
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], 0x7532a4
call fcn.0053e6a0
mov eax, dword [ebx + 0x2c]
jmp 0x4e02b2
mov dword [esp + 8], 0x1e7
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], 0x753280
call fcn.0053e6a0
mov eax, dword [ebx + 0x2c]
jmp 0x4e02a7
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
test eax, eax
jle 0x4e0540
call esi
movzx eax, ax
or eax, 0x80070000
mov dword [ebx + 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x7c], 0
test eax, eax
je 0x4e0550
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x7c], edx
mov dword [eax + 0x38], edi
mov dword [ebp + 0x28], edi
add dword [ebx + 0x3c], 1
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x205
mov dword [esp + 4], str.src_win_tcp.c
mov dword [esp], str.req__event_handle
call fcn.0053e6a0
mov eax, dword [ebx + 0x80]
jmp 0x4e030b
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x4e0b20
mov dword [esp + 4], eax
lea eax, [ebx + 0x84]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
sub esp, 0x18
test eax, eax
jne 0x4e0398
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
test eax, eax
jle 0x4e055b
call esi
movzx eax, ax
or eax, 0x80070000
mov dword [ebx + 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebx + 0x7c], 0
test eax, eax
jne 0x4e03d8
nop
lea esi, [esi]
mov dword [ebx + 0x7c], edi
mov dword [ebp + 0x28], edi
jmp 0x4e0398
call esi
jmp 0x4e045a
mov dword [ebx + 0x7c], edi
mov dword [ebp + 0x28], edi
jmp 0x4e047b
call esi
jmp 0x4e0516