Function at 0x1000700f
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x7c0]
sub esp, 0x840
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp + 0x7bc], eax
and dword [ebp - 0x70], 0
push ebx
mov ebx, dword [ebp + 0x7cc]
push esi
mov esi, dword [ebp + 0x7c8]
push edi
mov edi, dword [ebp + 0x7d0]
push 0x1c
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x74], eax
call sub.msvcr100.dll_memset
add esp, 0xc
test edi, edi
jne 0x10007064
push str.null_packet
jmp 0x10007294
push dword [0x10012640]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x10012630]
mov dword [ebp - 0x68], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
push dword [0x1001263c]
mov dword [ebp - 0x80], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
push dword [0x10012638]
mov dword [ebp - 0x7c], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x17c]
push dword [0x10012598]
mov dword [ebp - 0x78], eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x180]
cmp dword [ebp - 0x68], 0
mov byte [ebp - 0x61], al
je 0x1000728f
cmp dword [ebp - 0x78], 0
je 0x1000728f
push dword [ebp - 0x68]
push esi
call fcn.1000aba4
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x1000729a
cmp dword [ebp - 0x6c], 1
jne 0x10007104
push dword [0x100125a0]
jmp 0x10007128
call sym.net.dll__ipv6_available_0
test eax, eax
jne 0x10007122
push str.Protocol_not_allowed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
jmp 0x1000729a
push dword [0x100125ac]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
xor ebx, ebx
cmp eax, ebx
jne 0x1000713f
push str.Socket_closed
jmp 0x10007112
push dword [0x100121e0]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x190]
push dword [0x10012644]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x190]
mov edi, eax
mov eax, 0x10000
cmp edi, eax
jle 0x1000716f
mov edi, eax
cmp byte [ebp - 0x61], bl
je 0x1000717c
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
jmp 0x10007199
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x68]
push esi
call fcn.10004ac1
test eax, eax
jne 0x1000729a
cmp edi, 0x800
jle 0x1000722d
cmp dword [0x1001220c], ebx
jne 0x10007212
cmp byte [ebp - 0x61], bl
je 0x100071d2
push dword [ebp - 0x68]
push esi
call fcn.1000ab66
pop ecx
pop ecx
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x1000729a
jmp 0x100071dd
push dword [ebp - 0x5c]
call dword [sym.imp.ws2_32.dll_ntohl]
mov ebx, eax
push edi
push ebx
push dword [ebp - 0x6c]
push esi
call fcn.10006614
add esp, 0x10
test al, al
je 0x10007212
mov eax, dword [esi]
push esi
call dword [eax + 0x3c]
test eax, eax
jne 0x1000729a
push str.Datagram_send_failed
push 0x2738
push esi
call fcn.10004ac1
jmp 0x1000729a
push edi
call dword [sym.imp.msvcr100.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x10007230
push str.Send_buf_native_heap_allocation_failed
push esi
call sub.java.dll__JNU_ThrowOutOfMemoryError_8
jmp 0x1000729a
lea ebx, [ebp - 0x44]
mov eax, dword [esi]
push ebx
push edi
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push esi
call dword [eax + 0x320]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push 0
push edi
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.ws2_32.dll_sendto]
cmp eax, 0xfffffffe
je 0x1000726d
cmp eax, 0xffffffff
jne 0x1000727d
push str.Datagram_send_failed
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x1000727d
push str.operation_interrupted
push str.java_io_InterruptedIOException
push esi
call sub.java.dll__JNU_ThrowByName_12
cmp edi, 0x800
jle 0x1000729a
push ebx
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x1000729a
push str.null_address__null_buffer
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
mov ecx, dword [ebp + 0x7bc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c212
add ebp, 0x7c0
leave
ret 0xc