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

Disassembly:
push ebp
lea ebp, [esp - 0x7dc]
sub esp, 0x85c
mov eax, dword [0x6d781098]
xor eax, ebp
mov dword [ebp + 0x7d8], eax
mov eax, dword [ebp + 0x7ec]
push ebx
push esi
mov esi, dword [ebp + 0x7e4]
push edi
push dword [0x6d78158c]
mov edi, dword [ebp + 0x7e8]
push edi
mov dword [ebp - 0x58], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x64], edi
call dword [eax + 0x17c]
push dword [0x6d781598]
mov ebx, eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x6d781594]
mov edi, eax
push dword [ebp - 0x64]
mov eax, dword [esi]
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 0x1c
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
cmp ebx, eax
je 0x6d777c9f
push dword [0x6d781204]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x68], eax
test eax, eax
js 0x6d778021
mov dword [ebp - 0x48], 1
test edi, edi
je 0x6d777cc1
push dword [0x6d781204]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x6c], eax
test eax, eax
js 0x6d778021
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
sub eax, 0
je 0x6d778021
dec eax
je 0x6d777cdc
dec eax
jne 0x6d777ce9
mov dword [ebp - 0x74], 1
jmp 0x6d777ce9
mov eax, dword [ebp - 0x68]
test ebx, ebx
jne 0x6d777ce6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
jne 0x6d777d00
push str.packet
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d778031
push dword [0x6d781654]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
xor edi, edi
mov dword [ebp - 0x78], eax
cmp eax, edi
jne 0x6d777d20
push str.packet_buffer
jmp 0x6d777cf5
push dword [0x6d781658]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
push dword [0x6d781650]
mov dword [ebp - 0x80], eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x4c], eax
cmp eax, 0x800
jle 0x6d777d6c
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x48], eax
cmp eax, edi
jne 0x6d777d72
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x6d778031
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x74], edi
je 0x6d777dc3
mov ebx, dword [ebp - 0x50]
cmp ebx, edi
jne 0x6d777d81
or ebx, 0xffffffff
push edi
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x6c]
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x68]
call sym.net.dll__NET_Timeout2_16
cmp eax, edi
jle 0x6d777e80
cmp eax, 2
jne 0x6d777dbe
push dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x64]
call fcn.6d777993
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x74], edi
jmp 0x6d777df0
cmp dword [ebp - 0x50], edi
je 0x6d777df0
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x5c]
jne 0x6d777ddd
push edi
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call sym.net.dll__NET_Timeout_8
cmp eax, edi
jle 0x6d777ed3
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x54]
call dword [sym.imp.ws2_32.dll_recvfrom]
mov ebx, eax
movzx eax, word [ebp - 0x42]
push eax
call dword [sym.imp.ws2_32.dll_ntohs]
movzx eax, ax
mov dword [ebp - 0x70], eax
cmp ebx, 0xffffffff
jne 0x6d777ef9
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d777ef9
mov ebx, dword [ebp - 0x54]
call fcn.6d77700d
push dword [0x6d781584]
mov eax, dword [esi]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x180]
test al, al
jne 0x6d777eed
cmp dword [ebp - 0x50], edi
je 0x6d777d72
push edi
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov ecx, dword [ebp - 0x60]
sub ecx, eax
add dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], edi
jle 0x6d777ed5
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
jmp 0x6d777d72
jne 0x6d777e8e
push str.Peek_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d777eb1
cmp eax, 0xffffffff
jne 0x6d777ea2
push str.timeout_in_datagram_socket_peek
push esi
call fcn.6d773a00
pop ecx
pop ecx
jmp 0x6d777eb7
cmp eax, 0xfffffffe
jne 0x6d777eb7
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp dword [ebp - 0x4c], 0x800
jle 0x6d778031
push dword [ebp - 0x48]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x6d778031
jne 0x6d777edc
push str.Receive_timed_out
jmp 0x6d777e87
cmp eax, 0xffffffff
jne 0x6d777ea2
push str.Socket_closed
push str.java_net_SocketException
jmp 0x6d777eb1
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x6d777eb1
cmp ebx, dword [ebp - 0x4c]
jle 0x6d777f01
mov ebx, dword [ebp - 0x4c]
cmp ebx, edi
jge 0x6d777f2a
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x6d777f17
mov ebx, dword [ebp - 0x4c]
jmp 0x6d777f2a
mov eax, dword [esi]
push edi
push dword [0x6d781660]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x1b4]
cmp ebx, 0xffffffff
jne 0x6d777f3b
push str.socket_closed
push str.java_net_SocketException
jmp 0x6d777f4a
cmp ebx, 0xfffffffe
jne 0x6d777f55
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d777ff4
cmp ebx, edi
jge 0x6d777f6b
push str.Datagram_receive_failed
push esi
call fcn.6d773a00
pop ecx
pop ecx
jmp 0x6d777ff4
push dword [0x6d78165c]
mov eax, dword [esi]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x17c]
mov edi, eax
test edi, edi
je 0x6d777f98
push edi
lea eax, [ebp - 0x44]
push eax
push esi
call sym.net.dll__Java_java_net_Inet4AddressImpl_isReachable0_24
test eax, eax
jne 0x6d777f94
xor edi, edi
test edi, edi
jne 0x6d777fb9
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call sym.net.dll__Java_java_net_Inet4AddressImpl_isReachable0_24
mov ecx, dword [esi]
push eax
push dword [0x6d78165c]
push dword [ebp - 0x58]
push esi
call dword [ecx + 0x1a0]
push dword [ebp - 0x48]
mov eax, dword [esi]
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x78]
push esi
call dword [eax + 0x340]
push dword [ebp - 0x70]
mov eax, dword [esi]
push dword [0x6d78164c]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push ebx
push dword [0x6d781660]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x1b4]
push dword [ebp - 0x54]
mov eax, dword [esi]
push dword [0x6d781590]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x4c], 0x800
jle 0x6d77801c
push dword [ebp - 0x48]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov eax, dword [ebp - 0x70]
jmp 0x6d778034
push str.socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
or eax, 0xffffffff
mov ecx, dword [ebp + 0x7d8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d77b1da
add ebp, 0x7dc
leave
ret 0xc