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

Disassembly:
push ebp
lea ebp, [esp - 0x7d4]
sub esp, 0x854
mov eax, dword [0x6d781098]
xor eax, ebp
mov dword [ebp + 0x7d0], eax
mov eax, dword [ebp + 0x7e4]
push ebx
mov ebx, dword [ebp + 0x7e0]
push esi
mov esi, dword [ebp + 0x7dc]
push edi
push dword [0x6d78158c]
mov dword [ebp - 0x60], eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
push dword [0x6d781598]
mov dword [ebp - 0x50], eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
push dword [0x6d781594]
mov edi, eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x6c], eax
call sym.net.dll__ipv6_available_0
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x7c], 0x1c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x50], eax
jne 0x6d7780f1
cmp edi, eax
jne 0x6d778115
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d778470
push dword [0x6d781204]
mov eax, dword [esi]
push dword [ebp - 0x50]
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], 1
test edi, edi
je 0x6d7781a9
push dword [0x6d781204]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
inc dword [ebp - 0x68]
cmp dword [ebp - 0x68], 2
mov edi, eax
jne 0x6d7781ae
push dword [0x6d781590]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
jne 0x6d7781c3
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x6d778152
or eax, 0xffffffff
lea ecx, [ebp - 0x5c]
push ecx
push eax
push edi
push dword [ebp - 0x58]
call sym.net.dll__NET_Timeout2_16
cmp eax, 2
jne 0x6d778173
mov eax, dword [ebp - 0x58]
push edi
push ebx
call fcn.6d777993
pop ecx
pop ecx
jmp 0x6d7781c0
test eax, eax
jg 0x6d7781c3
jne 0x6d778188
push str.Receive_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d7780e6
cmp eax, 0xffffffff
je 0x6d7780dc
cmp eax, 0xfffffffe
jne 0x6d778470
push str.operation_interrupted
push str.java_io_InterruptedIOException
jmp 0x6d7780e6
mov edi, dword [ebp - 0x78]
jmp 0x6d7781b1
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x64], 0
je 0x6d7781c0
cmp dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], edi
je 0x6d7781c3
mov dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x60]
test edi, edi
jne 0x6d7781da
push str.packet
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d778470
push dword [0x6d781654]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x6d7781f8
push str.packet_buffer
jmp 0x6d7781cf
push dword [0x6d781658]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
push dword [0x6d781650]
mov dword [ebp - 0x80], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x50], eax
cmp eax, 0x800
jle 0x6d778244
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x6d77824a
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x6d778470
lea eax, [ebp - 0x30]
mov dword [ebp - 0x58], eax
push dword [0x6d781584]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x180]
mov byte [ebp - 0x51], al
call sym.net.dll__NET_SockaddrToInetAddress_12
test al, al
je 0x6d778289
cmp byte [ebp - 0x51], 0
jne 0x6d778289
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x6d7782d1
cmp dword [ebp - 0x64], 0
jne 0x6d77828c
push 0
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
jmp 0x6d77828c
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x6d7782d1
cmp dword [ebp - 0x68], 1
jne 0x6d7782d1
push edi
push dword [ebp - 0x5c]
call sym.net.dll__NET_Timeout_8
test eax, eax
jg 0x6d7782d1
jne 0x6d7782b4
push str.Receive_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d7783a5
cmp eax, 0xffffffff
jne 0x6d7782c3
push str.Socket_closed
jmp 0x6d77838f
cmp eax, 0xfffffffe
jne 0x6d77845d
jmp 0x6d77839b
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.ws2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x6d778353
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d778353
mov ebx, dword [ebp - 0x5c]
call fcn.6d77700d
cmp byte [ebp - 0x51], 0
jne 0x6d778347
test edi, edi
je 0x6d7782d1
push 0
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov ecx, dword [ebp - 0x74]
sub ecx, eax
add edi, ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
test edi, edi
jle 0x6d7782a5
push edi
push dword [ebp - 0x5c]
call sym.net.dll__NET_Timeout_8
test eax, eax
jg 0x6d7782d1
test eax, eax
je 0x6d7782a5
jmp 0x6d7782b4
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x6d7783a5
cmp ebx, dword [ebp - 0x50]
jle 0x6d77835b
mov ebx, dword [ebp - 0x50]
test ebx, ebx
jns 0x6d778385
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x6d778371
mov ebx, dword [ebp - 0x50]
jmp 0x6d778385
mov eax, dword [esi]
push 0
push dword [0x6d781660]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x1b4]
cmp ebx, 0xffffffff
jne 0x6d778396
push str.socket_closed
push str.java_net_SocketException
jmp 0x6d7783a5
cmp ebx, 0xfffffffe
jne 0x6d7783b0
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d77845d
test ebx, ebx
jns 0x6d7783c6
push str.Datagram_receive_failed
push esi
call fcn.6d773a00
pop ecx
pop ecx
jmp 0x6d77845d
push dword [0x6d78165c]
mov eax, dword [esi]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x17c]
mov edi, eax
test edi, edi
je 0x6d7783f3
push edi
lea eax, [ebp - 0x4c]
push eax
push esi
call sym.net.dll__NET_SockaddrToInetAddress_12
test eax, eax
jne 0x6d7783ef
xor edi, edi
test edi, edi
jne 0x6d778416
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call sym.net.dll__NET_SockaddrToInetAddress_12
mov ecx, dword [esi]
push eax
push dword [0x6d78165c]
push dword [ebp - 0x60]
push esi
call dword [ecx + 0x1a0]
jmp 0x6d778422
lea eax, [ebp - 0x4c]
push eax
call sym.net.dll__NET_GetPortFromSockaddr_4
mov dword [ebp - 0x64], eax
push dword [ebp - 0x58]
mov eax, dword [esi]
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x78]
push esi
call dword [eax + 0x340]
push dword [ebp - 0x64]
mov eax, dword [esi]
push dword [0x6d78164c]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push ebx
push dword [0x6d781660]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x50], 0x800
jle 0x6d778470
push dword [ebp - 0x58]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov ecx, dword [ebp + 0x7d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d77b1da
add ebp, 0x7d4
leave
ret 0xc