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

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x6d671098]
xor eax, ebp
mov dword [ebp + 0x7c4], eax
push ebx
push esi
mov esi, dword [ebp + 0x7d0]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x7dc]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x70], 0x1c
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x78], ebx
cmp byte [ebp + 0x7e8], bl
je 0x6d669aff
mov dword [ebp - 0x6c], 2
push dword [0x6d671654]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x6d671658]
mov dword [ebp - 0x80], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
push dword [0x6d671650]
mov dword [ebp - 0x74], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x5c], eax
cmp eax, 0x800
jle 0x6d669b70
mov eax, 0x10000
cmp dword [ebp - 0x5c], eax
jle 0x6d669b4c
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x5c]
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x6d669b76
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
or eax, 0xffffffff
jmp 0x6d669d9f
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x60], eax
cmp dword [ebp + 0x7e0], 0
je 0x6d669ba7
mov eax, ebx
or eax, dword [ebp - 0x78]
jne 0x6d669b92
push eax
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov ebx, eax
mov dword [ebp - 0x78], edx
push dword [ebp + 0x7e0]
push dword [ebp + 0x7d8]
call sym.net.dll__NET_Timeout_8
test eax, eax
jle 0x6d669c20
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp + 0x7d8]
call dword [sym.imp.ws2_32.dll_recvfrom]
mov edi, eax
cmp edi, 0xffffffff
jne 0x6d669c7c
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d669c7c
mov edi, dword [ebp + 0x7d8]
call fcn.6d669708
cmp byte [ebp + 0x7e4], 0
jne 0x6d669c70
cmp dword [ebp + 0x7e0], 0
je 0x6d669ba7
push 0
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
sub ebx, eax
add dword [ebp + 0x7e0], ebx
cmp dword [ebp + 0x7e0], 0
jle 0x6d669c22
mov ebx, eax
mov dword [ebp - 0x78], edx
jmp 0x6d669b76
jne 0x6d669c2e
push str.Receive_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d669c4e
cmp eax, 0xffffffff
jne 0x6d669c3f
push str.Socket_closed
push str.java_net_SocketException
jmp 0x6d669c4e
cmp eax, 0xfffffffe
jne 0x6d669c54
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp dword [ebp - 0x5c], 0x800
jle 0x6d669b68
push dword [ebp - 0x60]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x6d669b68
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x6d669c4e
movzx eax, word [ebp - 0x56]
push eax
call dword [sym.imp.ws2_32.dll_ntohs]
movzx eax, ax
mov dword [ebp - 0x68], eax
cmp edi, dword [ebp - 0x5c]
jle 0x6d669c95
mov edi, dword [ebp - 0x5c]
test edi, edi
jns 0x6d669cbf
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x6d669cab
mov edi, dword [ebp - 0x5c]
jmp 0x6d669cbf
mov eax, dword [esi]
push 0
push dword [0x6d671660]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp edi, 0xffffffff
jne 0x6d669cd0
push str.socket_closed
push str.java_net_SocketException
jmp 0x6d669cdf
cmp edi, 0xfffffffe
jne 0x6d669cea
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d669d89
test edi, edi
jns 0x6d669d00
push str.Datagram_receive_failed
push esi
call fcn.6d663a00
pop ecx
pop ecx
jmp 0x6d669d89
push dword [0x6d67165c]
mov eax, dword [esi]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x17c]
mov ebx, eax
test ebx, ebx
je 0x6d669d2d
push ebx
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.6d66af8c
test eax, eax
jne 0x6d669d29
xor ebx, ebx
test ebx, ebx
jne 0x6d669d4e
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.6d66af8c
mov ecx, dword [esi]
push eax
push dword [0x6d67165c]
push dword [ebp - 0x64]
push esi
call dword [ecx + 0x1a0]
push dword [ebp - 0x60]
mov eax, dword [esi]
push edi
push dword [ebp - 0x74]
push dword [ebp - 0x80]
push esi
call dword [eax + 0x340]
push dword [ebp - 0x68]
mov eax, dword [esi]
push dword [0x6d67164c]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push edi
push dword [0x6d671660]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x5c], 0x800
jle 0x6d669d9c
push dword [ebp - 0x60]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 0x7c4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d66b1da
add ebp, 0x7c8
leave
ret 0x1c