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

Disassembly:
push ebp
lea ebp, [esp - 0x7d4]
sub esp, 0x854
mov eax, dword [0x6d671098]
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 [0x6d67158c]
mov dword [ebp - 0x60], eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
push dword [0x6d671598]
mov dword [ebp - 0x50], eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
push dword [0x6d671594]
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 0x6d6680f1
cmp edi, eax
jne 0x6d668115
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d668470
push dword [0x6d671204]
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 0x6d6681a9
push dword [0x6d671204]
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 0x6d6681ae
push dword [0x6d671590]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
jne 0x6d6681c3
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x6d668152
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 0x6d668173
mov eax, dword [ebp - 0x58]
push edi
push ebx
call fcn.6d667993
pop ecx
pop ecx
jmp 0x6d6681c0
test eax, eax
jg 0x6d6681c3
jne 0x6d668188
push str.Receive_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d6680e6
cmp eax, 0xffffffff
je 0x6d6680dc
cmp eax, 0xfffffffe
jne 0x6d668470
push str.operation_interrupted
push str.java_io_InterruptedIOException
jmp 0x6d6680e6
mov edi, dword [ebp - 0x78]
jmp 0x6d6681b1
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x64], 0
je 0x6d6681c0
cmp dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], edi
je 0x6d6681c3
mov dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x60]
test edi, edi
jne 0x6d6681da
push str.packet
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d668470
push dword [0x6d671654]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x6d6681f8
push str.packet_buffer
jmp 0x6d6681cf
push dword [0x6d671658]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
push dword [0x6d671650]
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 0x6d668244
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x6d66824a
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x6d668470
lea eax, [ebp - 0x30]
mov dword [ebp - 0x58], eax
push dword [0x6d671584]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x180]
mov byte [ebp - 0x51], al
call fcn.6d66af8c
test al, al
je 0x6d668289
cmp byte [ebp - 0x51], 0
jne 0x6d668289
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x6d6682d1
cmp dword [ebp - 0x64], 0
jne 0x6d66828c
push 0
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
jmp 0x6d66828c
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x6d6682d1
cmp dword [ebp - 0x68], 1
jne 0x6d6682d1
push edi
push dword [ebp - 0x5c]
call sym.net.dll__NET_Timeout_8
test eax, eax
jg 0x6d6682d1
jne 0x6d6682b4
push str.Receive_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d6683a5
cmp eax, 0xffffffff
jne 0x6d6682c3
push str.Socket_closed
jmp 0x6d66838f
cmp eax, 0xfffffffe
jne 0x6d66845d
jmp 0x6d66839b
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 0x6d668353
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d668353
mov ebx, dword [ebp - 0x5c]
call fcn.6d66700d
cmp byte [ebp - 0x51], 0
jne 0x6d668347
test edi, edi
je 0x6d6682d1
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 0x6d6682a5
push edi
push dword [ebp - 0x5c]
call sym.net.dll__NET_Timeout_8
test eax, eax
jg 0x6d6682d1
test eax, eax
je 0x6d6682a5
jmp 0x6d6682b4
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x6d6683a5
cmp ebx, dword [ebp - 0x50]
jle 0x6d66835b
mov ebx, dword [ebp - 0x50]
test ebx, ebx
jns 0x6d668385
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x6d668371
mov ebx, dword [ebp - 0x50]
jmp 0x6d668385
mov eax, dword [esi]
push 0
push dword [0x6d671660]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x1b4]
cmp ebx, 0xffffffff
jne 0x6d668396
push str.socket_closed
push str.java_net_SocketException
jmp 0x6d6683a5
cmp ebx, 0xfffffffe
jne 0x6d6683b0
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d66845d
test ebx, ebx
jns 0x6d6683c6
push str.Datagram_receive_failed
push esi
call fcn.6d663a00
pop ecx
pop ecx
jmp 0x6d66845d
push dword [0x6d67165c]
mov eax, dword [esi]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x17c]
mov edi, eax
test edi, edi
je 0x6d6683f3
push edi
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.6d66af8c
test eax, eax
jne 0x6d6683ef
xor edi, edi
test edi, edi
jne 0x6d668416
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.6d66af8c
mov ecx, dword [esi]
push eax
push dword [0x6d67165c]
push dword [ebp - 0x60]
push esi
call dword [ecx + 0x1a0]
jmp 0x6d668422
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 [0x6d67164c]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push ebx
push dword [0x6d671660]
push dword [ebp - 0x60]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x50], 0x800
jle 0x6d668470
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.6d66b1da
add ebp, 0x7d4
leave
ret 0xc