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

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x6d781098]
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 0x6d779aff
mov dword [ebp - 0x6c], 2
push dword [0x6d781654]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x6d781658]
mov dword [ebp - 0x80], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
push dword [0x6d781650]
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 0x6d779b70
mov eax, 0x10000
cmp dword [ebp - 0x5c], eax
jle 0x6d779b4c
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 0x6d779b76
push str.heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
or eax, 0xffffffff
jmp 0x6d779d9f
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x60], eax
cmp dword [ebp + 0x7e0], 0
je 0x6d779ba7
mov eax, ebx
or eax, dword [ebp - 0x78]
jne 0x6d779b92
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 0x6d779c20
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 0x6d779c7c
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x6d779c7c
mov edi, dword [ebp + 0x7d8]
call fcn.6d779708
cmp byte [ebp + 0x7e4], 0
jne 0x6d779c70
cmp dword [ebp + 0x7e0], 0
je 0x6d779ba7
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 0x6d779c22
mov ebx, eax
mov dword [ebp - 0x78], edx
jmp 0x6d779b76
jne 0x6d779c2e
push str.Receive_timed_out
push str.java_net_SocketTimeoutException
jmp 0x6d779c4e
cmp eax, 0xffffffff
jne 0x6d779c3f
push str.Socket_closed
push str.java_net_SocketException
jmp 0x6d779c4e
cmp eax, 0xfffffffe
jne 0x6d779c54
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp dword [ebp - 0x5c], 0x800
jle 0x6d779b68
push dword [ebp - 0x60]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x6d779b68
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x6d779c4e
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 0x6d779c95
mov edi, dword [ebp - 0x5c]
test edi, edi
jns 0x6d779cbf
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x6d779cab
mov edi, dword [ebp - 0x5c]
jmp 0x6d779cbf
mov eax, dword [esi]
push 0
push dword [0x6d781660]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp edi, 0xffffffff
jne 0x6d779cd0
push str.socket_closed
push str.java_net_SocketException
jmp 0x6d779cdf
cmp edi, 0xfffffffe
jne 0x6d779cea
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x6d779d89
test edi, edi
jns 0x6d779d00
push str.Datagram_receive_failed
push esi
call fcn.6d773a00
pop ecx
pop ecx
jmp 0x6d779d89
push dword [0x6d78165c]
mov eax, dword [esi]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x17c]
mov ebx, eax
test ebx, ebx
je 0x6d779d2d
push ebx
lea eax, [ebp - 0x58]
push eax
push esi
call sym.net.dll__NET_SockaddrToInetAddress_12
test eax, eax
jne 0x6d779d29
xor ebx, ebx
test ebx, ebx
jne 0x6d779d4e
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
call sym.net.dll__NET_SockaddrToInetAddress_12
mov ecx, dword [esi]
push eax
push dword [0x6d78165c]
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 [0x6d78164c]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push edi
push dword [0x6d781660]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x5c], 0x800
jle 0x6d779d9c
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.6d77b1da
add ebp, 0x7c8
leave
ret 0x1c