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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6d781098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push dword [0x6d78158c]
mov edi, dword [ebp + 0xc]
push edi
push esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], ebx
call dword [eax + 0x17c]
push dword [0x6d781594]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x1c], edi
jne 0x6d777a3f
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
or eax, 0xffffffff
jmp 0x6d777be4
push dword [0x6d781204]
mov eax, dword [esi]
push dword [ebp - 0x1c]
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x6d777a5f
push str.socket_closed
jmp 0x6d777a2c
test ebx, ebx
jne 0x6d777a70
push str.Null_address_in_peek__
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d777a80
push dword [0x6d78163c]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
je 0x6d777ab8
push ebx
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
push dword [ebp - 0x18]
mov edi, eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
call sym.net.dll__NET_Timeout_8
cmp eax, ebx
je 0x6d777b32
cmp eax, 0xffffffff
je 0x6d777b49
cmp eax, 0xfffffffe
je 0x6d777b5b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push 1
lea eax, [ebp - 0x1d]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ws2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x6d777b9b
mov ebx, dword [sym.imp.ws2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2746
jne 0x6d777b83
mov ebx, dword [ebp - 0x1c]
call fcn.6d77700d
push dword [0x6d781584]
mov eax, dword [esi]
push dword [ebp - 0x2c]
push esi
call dword [eax + 0x180]
test al, al
jne 0x6d777b70
cmp dword [ebp - 0x18], 0
je 0x6d777a80
push 0
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
sub edi, eax
add dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], 0
jle 0x6d777b7c
mov edi, eax
mov dword [ebp - 0x30], edx
jmp 0x6d777a80
push str.Peek_timed_out
push str.java_net_SocketTimeoutException
push esi
call sub.java.dll__JNU_ThrowByName_12
xor eax, eax
jmp 0x6d777be4
push str.timeout_in_datagram_socket_peek
push esi
call fcn.6d773a00
pop ecx
pop ecx
jmp 0x6d777a37
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
push 0xfffffffffffffffe
pop eax
jmp 0x6d777be4
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x6d777b3c
push str.Receive_timed_out
jmp 0x6d777b37
call ebx
cmp eax, 0x2738
je 0x6d777ba8
push str.Datagram_peek_failed
push esi
call fcn.6d773a00
pop ecx
pop ecx
jmp 0x6d777b42
cmp eax, 0xfffffffe
jne 0x6d777ba8
push ebx
push str.java_io_InterruptedIOException
jmp 0x6d777b3c
push dword [ebp - 0x10]
mov ebx, dword [esi]
call dword [sym.imp.ws2_32.dll_ntohl]
push eax
push dword [0x6d78163c]
push dword [ebp - 0x24]
push esi
call dword [ebx + 0x1b4]
mov eax, dword [esi]
push 1
push dword [0x6d781640]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x1b4]
push dword [ebp - 0x12]
call dword [sym.imp.ws2_32.dll_ntohs]
movzx eax, ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d77b1da
leave
ret 0xc