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

Disassembly:
push ebp
lea ebp, [esp - 0x7dc]
sub esp, 0x85c
mov eax, dword [0x6d671098]
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 [0x6d67158c]
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 [0x6d671598]
mov ebx, eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x6d671594]
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 0x6d667c9f
push dword [0x6d671204]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x68], eax
test eax, eax
js 0x6d668021
mov dword [ebp - 0x48], 1
test edi, edi
je 0x6d667cc1
push dword [0x6d671204]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x6c], eax
test eax, eax
js 0x6d668021
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
sub eax, 0
je 0x6d668021
dec eax
je 0x6d667cdc
dec eax
jne 0x6d667ce9
mov dword [ebp - 0x74], 1
jmp 0x6d667ce9
mov eax, dword [ebp - 0x68]
test ebx, ebx
jne 0x6d667ce6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
jne 0x6d667d00
push str.packet
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d668031
push dword [0x6d671654]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
xor edi, edi
mov dword [ebp - 0x78], eax
cmp eax, edi
jne 0x6d667d20
push str.packet_buffer
jmp 0x6d667cf5
push dword [0x6d671658]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
push dword [0x6d671650]
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 0x6d667d6c
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x48], eax
cmp eax, edi
jne 0x6d667d72
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x6d668031
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x74], edi
je 0x6d667dc3
mov ebx, dword [ebp - 0x50]
cmp ebx, edi
jne 0x6d667d81
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 0x6d667e80
cmp eax, 2
jne 0x6d667dbe
push dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x64]
call fcn.6d667993
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x74], edi
jmp 0x6d667df0
cmp dword [ebp - 0x50], edi
je 0x6d667df0
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x5c]
jne 0x6d667ddd
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 0x6d667ed3
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 0x6d667ef9
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d667ef9
mov ebx, dword [ebp - 0x54]
call fcn.6d66700d
push dword [0x6d671584]
mov eax, dword [esi]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x180]
test al, al
jne 0x6d667eed
cmp dword [ebp - 0x50], edi
je 0x6d667d72
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 0x6d667ed5
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
jmp 0x6d667d72
jne 0x6d667e8e
push str.Peek_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d667eb1
cmp eax, 0xffffffff
jne 0x6d667ea2
push str.timeout_in_datagram_socket_peek
push esi
call fcn.6d663a00
pop ecx
pop ecx
jmp 0x6d667eb7
cmp eax, 0xfffffffe
jne 0x6d667eb7
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp dword [ebp - 0x4c], 0x800
jle 0x6d668031
push dword [ebp - 0x48]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x6d668031
jne 0x6d667edc
push str.Receive_timed_out
jmp 0x6d667e87
cmp eax, 0xffffffff
jne 0x6d667ea2
push str.Socket_closed
push str.java_net_SocketException
jmp 0x6d667eb1
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x6d667eb1
cmp ebx, dword [ebp - 0x4c]
jle 0x6d667f01
mov ebx, dword [ebp - 0x4c]
cmp ebx, edi
jge 0x6d667f2a
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x6d667f17
mov ebx, dword [ebp - 0x4c]
jmp 0x6d667f2a
mov eax, dword [esi]
push edi
push dword [0x6d671660]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x1b4]
cmp ebx, 0xffffffff
jne 0x6d667f3b
push str.socket_closed
push str.java_net_SocketException
jmp 0x6d667f4a
cmp ebx, 0xfffffffe
jne 0x6d667f55
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d667ff4
cmp ebx, edi
jge 0x6d667f6b
push str.Datagram_receive_failed
push esi
call fcn.6d663a00
pop ecx
pop ecx
jmp 0x6d667ff4
push dword [0x6d67165c]
mov eax, dword [esi]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x17c]
mov edi, eax
test edi, edi
je 0x6d667f98
push edi
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.6d66946d
test eax, eax
jne 0x6d667f94
xor edi, edi
test edi, edi
jne 0x6d667fb9
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.6d66946d
mov ecx, dword [esi]
push eax
push dword [0x6d67165c]
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 [0x6d67164c]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push ebx
push dword [0x6d671660]
push dword [ebp - 0x58]
push esi
call dword [eax + 0x1b4]
push dword [ebp - 0x54]
mov eax, dword [esi]
push dword [0x6d671590]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x4c], 0x800
jle 0x6d66801c
push dword [ebp - 0x48]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov eax, dword [ebp - 0x70]
jmp 0x6d668034
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.6d66b1da
add ebp, 0x7dc
leave
ret 0xc