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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebx, dword [esp + 0xf4]
mov edi, dword [esp + 0xf8]
cmp dword [ebx + 8], 0xf
je 0x4ea87a
mov dword [esp + 8], 0x1cf
mov dword [esp + 4], str.src_win_udp.c
mov dword [esp], str.handle__type__UV_UDP
call fcn.0053e6a0
mov edx, dword [ebx + 0x2c]
mov ecx, dword [edi + 0x20]
mov eax, edx
and eax, 0xfffdffff
test ecx, ecx
mov dword [ebx + 0x2c], eax
js 0x4ea983
and edx, 0x80000
je 0x4ea8e0
test ah, 1
jne 0x4ea9f0
mov eax, dword [ebx + 0x2c]
and eax, 0x20100
cmp eax, 0x100
je 0x4ea919
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4ea92e
sub eax, 1
mov edx, dword [ebx + 0x2c]
test eax, eax
mov dword [ebx + 0x3c], eax
jne 0x4ea8cf
test dl, 1
jne 0x4ea952
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x10c]
lea eax, [ebx + 0x88]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x80]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], eax
call ecx
mov eax, dword [ebx + 0x2c]
and eax, 0x20100
cmp eax, 0x100
jne 0x4ea8b2
mov eax, dword [esp + 0xf0]
mov edx, ebx
call fcn.004e9e20
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x4ea8b9
mov dword [esp + 8], 0x235
mov dword [esp + 4], str.src_win_udp.c
mov dword [esp], str.handle__reqs_pending___0
call fcn.0053e6a0
mov eax, dword [ebx + 0x3c]
jmp 0x4ea8b9
test dl, 8
jne 0x4ea8cf
mov eax, dword [esp + 0xf0]
or edx, 8
mov dword [ebx + 0x2c], edx
mov eax, dword [eax + 0x2c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0xf0]
mov dword [eax + 0x2c], ebx
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ecx
call fcn.004ee440
mov esi, eax
mov eax, dword [ebx + 0x2c]
cmp esi, 0x2738
je 0x4ea9c0
mov edx, esi
and edx, 0xfffffffd
cmp edx, 0x2744
jne 0x4eaa60
test eax, 0x80000
je 0x4ea8a6
jmp 0x4ea89a
mov edx, eax
and edx, 0x80000
jne 0x4ea89a
mov esi, dword [edi + 0x20]
mov eax, 2
mov ecx, dword [ebx + 0x10c]
test esi, esi
cmovs edx, eax
jmp 0x4ea8e6
lea esi, [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004c96e0
mov dword [esp + 8], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 4], 0x10000
mov dword [esp], ebx
call dword [ebx + 0x110]
mov edx, dword [esp + 0x4c]
test edx, edx
jne 0x4eaad0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0xfffff024
mov dword [esp], ebx
call dword [ebx + 0x10c]
mov eax, dword [ebx + 0x2c]
jmp 0x4ea8a6
test ah, 1
je 0x4ea8a6
mov dword [esp], ebx
call fcn.004caaa0
test byte [ebx + 0x2e], 8
jne 0x4eab6d
mov eax, dword [ebx + 0x80]
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov edi, dword [ebx + 0x10c]
mov dword [esp], esi
call fcn.004cc7f0
lea edx, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], ebx
mov dword [esp + 8], edx
call edi
mov eax, dword [ebx + 0x2c]
jmp 0x4ea8a6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4eaa31
lea ebp, [esp + 0x50]
xor eax, eax
mov ecx, 0x20
mov dword [esp + 0x44], 0x80
mov dword [esp + 0x40], 0
mov edi, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
sub esp, 0x24
cmp eax, 0xffffffff
je 0x4eab8e
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [ebx + 0x10c]
jmp 0x4ea8a3
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004c96e0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
jmp 0x4eaa8f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
mov edi, eax
jne 0x4eaba7
mov dword [esp + 0x10], 2
jmp 0x4eab4f
cmp eax, 0x2733
jne 0x4eabd8
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [ebx + 0x10c]
jmp 0x4ea8a3
and eax, 0xfffffffd
cmp eax, 0x2744
je 0x4eabae
mov dword [esp], ebx
call fcn.004caaa0
mov ebp, dword [ebx + 0x10c]
mov dword [esp], edi
call fcn.004cc7f0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call ebp
jmp 0x4ea8a3