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

Disassembly:
push ebp
lea ebp, [esp - 0x7dc]
sub esp, 0x85c
mov eax, dword [0x100120b4]
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 [0x100125a0]
mov edi, dword [ebp + 0x7e8]
push edi
mov dword [ebp - 0x50], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x5c], edi
call dword [eax + 0x17c]
push dword [0x100125ac]
mov ebx, eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x100125a8]
mov edi, eax
push dword [ebp - 0x5c]
mov eax, dword [esi]
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], 0x1c
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
cmp ebx, eax
je 0x100075de
push dword [0x100121e0]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x60], eax
test eax, eax
js 0x1000796a
mov dword [ebp - 0x48], 1
test edi, edi
je 0x10007600
push dword [0x100121e0]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x68], eax
test eax, eax
js 0x1000796a
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
sub eax, 0
je 0x1000796a
dec eax
je 0x1000761b
dec eax
jne 0x10007628
mov dword [ebp - 0x6c], 1
jmp 0x10007628
mov eax, dword [ebp - 0x60]
test ebx, ebx
jne 0x10007625
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x50], 0
jne 0x1000763e
push str.packet
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x1000797a
push dword [0x10012638]
mov eax, dword [esi]
push dword [ebp - 0x50]
push esi
call dword [eax + 0x17c]
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x1000765e
push str.packet_buffer
jmp 0x10007633
push dword [0x1001263c]
mov eax, dword [esi]
push dword [ebp - 0x50]
push esi
call dword [eax + 0x190]
push dword [0x10012634]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x50]
mov eax, dword [esi]
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x48], eax
cmp eax, 0x800
jle 0x100076ae
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x100076b4
push str.Native_heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x1000797a
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp - 0x74]
cmp dword [ebp - 0x6c], 0
je 0x1000770a
mov ebx, dword [ebp - 0x58]
test ebx, ebx
jne 0x100076c7
or ebx, 0xffffffff
push 0
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x70], edx
push dword [ebp - 0x60]
call sym.net.dll__NET_Timeout2_16
test eax, eax
jle 0x100077c5
cmp eax, 2
jne 0x10007704
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x60]
push dword [ebp - 0x5c]
call fcn.100072b4
pop ecx
pop ecx
mov dword [ebp - 0x54], eax
and dword [ebp - 0x6c], 0
jmp 0x10007736
cmp dword [ebp - 0x58], 0
je 0x10007736
mov eax, edi
or eax, dword [ebp - 0x70]
jne 0x10007723
push eax
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
mov edi, eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x58]
push dword [ebp - 0x54]
call sym.net.dll__NET_Timeout_8
test eax, eax
jle 0x10007818
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
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 - 0x64], eax
cmp ebx, 0xffffffff
jne 0x1000783e
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x1000783e
mov ebx, dword [ebp - 0x54]
call fcn.1000687b
push dword [0x10012598]
mov eax, dword [esi]
push dword [ebp - 0x5c]
push esi
call dword [eax + 0x180]
test al, al
jne 0x10007832
cmp dword [ebp - 0x58], 0
je 0x100076b7
push 0
push esi
call sub.jvm.dll__JVM_CurrentTimeMillis_8
sub edi, eax
add dword [ebp - 0x58], edi
cmp dword [ebp - 0x58], 0
jle 0x1000781a
mov edi, eax
mov dword [ebp - 0x70], edx
jmp 0x100076b7
jne 0x100077d3
push str.Peek_timed_out
push str.java_net_SocketTimeoutException
jmp 0x100077f6
cmp eax, 0xffffffff
jne 0x100077e7
push str.timeout_in_datagram_socket_peek
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x100077fc
cmp eax, 0xfffffffe
jne 0x100077fc
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp dword [ebp - 0x48], 0x800
jle 0x1000797a
push dword [ebp - 0x4c]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x1000797a
jne 0x10007821
push str.Receive_timed_out
jmp 0x100077cc
cmp eax, 0xffffffff
jne 0x100077e7
push str.Socket_closed
push str.java_net_SocketException
jmp 0x100077f6
push str.ICMP_Port_Unreachable
push str.java_net_PortUnreachableException
jmp 0x100077f6
mov edi, dword [ebp - 0x48]
cmp ebx, edi
jle 0x10007847
mov ebx, edi
test ebx, ebx
jns 0x10007870
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2738
jne 0x1000785c
mov ebx, edi
jmp 0x10007870
mov eax, dword [esi]
push 0
push dword [0x10012644]
push dword [ebp - 0x50]
push esi
call dword [eax + 0x1b4]
cmp ebx, 0xffffffff
jne 0x10007890
push str.socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp edi, 0x800
jmp 0x10007803
cmp ebx, 0xfffffffe
jne 0x100078a1
push str.operation_interrupted
push str.java_io_InterruptedIOException
jmp 0x1000787f
test ebx, ebx
jns 0x100078b4
push str.Datagram_receive_failed
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x10007885
push dword [0x10012640]
mov eax, dword [esi]
push dword [ebp - 0x50]
push esi
call dword [eax + 0x17c]
mov edi, eax
test edi, edi
je 0x100078e1
push edi
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.10002e31
test eax, eax
jne 0x100078dd
xor edi, edi
test edi, edi
jne 0x10007902
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.10002e31
mov ecx, dword [esi]
push eax
push dword [0x10012640]
push dword [ebp - 0x50]
push esi
call dword [ecx + 0x1a0]
push dword [ebp - 0x4c]
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 [0x10012630]
push dword [ebp - 0x50]
push esi
call dword [eax + 0x1b4]
mov eax, dword [esi]
push ebx
push dword [0x10012644]
push dword [ebp - 0x50]
push esi
call dword [eax + 0x1b4]
push dword [ebp - 0x54]
mov eax, dword [esi]
push dword [0x100125a4]
push dword [ebp - 0x5c]
push esi
call dword [eax + 0x1b4]
cmp dword [ebp - 0x48], 0x800
jle 0x10007965
push dword [ebp - 0x4c]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov eax, dword [ebp - 0x64]
jmp 0x1000797d
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.1000c212
add ebp, 0x7dc
leave
ret 0xc