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

Disassembly:
push ebp
lea ebp, [esp - 0x7c8]
sub esp, 0x848
mov eax, dword [0x100120b4]
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 0x10001a20
mov dword [ebp - 0x6c], 2
push dword [0x10012638]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x1001263c]
mov dword [ebp - 0x80], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
push dword [0x10012634]
mov dword [ebp - 0x74], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x5c], eax
mov eax, 0x10000
cmp dword [ebp - 0x5c], eax
jle 0x10001a66
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x800
jle 0x10001a93
push dword [ebp - 0x5c]
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x10001a99
push str.Native_heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
or eax, 0xffffffff
jmp 0x10001cd3
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x60], eax
cmp dword [ebp + 0x7e0], 0
je 0x10001aca
mov eax, ebx
or eax, dword [ebp - 0x78]
jne 0x10001ab5
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 0x10001b43
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 0x10001b9f
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x10001b9f
mov edi, dword [ebp + 0x7d8]
call fcn.100015be
cmp byte [ebp + 0x7e4], 0
jne 0x10001b93
cmp dword [ebp + 0x7e0], 0
je 0x10001aca
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 0x10001b45
mov ebx, eax
mov dword [ebp - 0x78], edx
jmp 0x10001a99
jne 0x10001b51
push str.Receive_timed_out
push str.java_net_SocketTimeoutException
jmp 0x10001b71
cmp eax, 0xffffffff
jne 0x10001b62
push str.Socket_closed
push str.java_net_SocketException
jmp 0x10001b71
cmp eax, 0xfffffffe
jne 0x10001b77
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp dword [ebp - 0x5c], 0x800
jle 0x10001a8b
push dword [ebp - 0x60]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x10001a8b
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x10001b71
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 0x10001bb8
mov edi, dword [ebp - 0x5c]
test edi, edi
jns 0x10001be2
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x10001bce
mov edi, dword [ebp - 0x5c]
jmp 0x10001be2
mov eax, dword [esi]
push 0
push dword [0x10012644]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp edi, 0xffffffff
jne 0x10001bf3
push str.socket_closed
push str.java_net_SocketException
jmp 0x10001c02
cmp edi, 0xfffffffe
jne 0x10001c0d
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x10001cbd
test edi, edi
jns 0x10001c23
push str.Datagram_receive_failed
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x10001cbd
push dword [0x10012640]
mov eax, dword [esi]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x17c]
mov ebx, eax
test ebx, ebx
je 0x10001c4c
push ebx
lea eax, [ebp - 0x58]
push eax
push esi
call sym.net.dll__NET_BindV6_8
test eax, eax
jne 0x10001c4c
xor ebx, ebx
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x10001cbd
test ebx, ebx
jne 0x10001c82
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
call sym.net.dll__NET_BindV6_8
test eax, eax
je 0x10001c82
mov ecx, dword [esi]
push eax
push dword [0x10012640]
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 [0x10012630]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push edi
push dword [0x10012644]
push dword [ebp - 0x64]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x5c], 0x800
jle 0x10001cd0
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.1000c212
add ebp, 0x7c8
leave
ret 0x1c