Function at 0x401590
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4037be
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x406008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.DDOS_Mitigation___by_coeur
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call fcn.00401190
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0x406030
mov edx, str.IP_Filtering_for__
lea ecx, [ebp - 0x88]
call fcn.004020c0
add esp, 4
mov edi, eax
mov dword [ebp - 4], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 3
jb 0x401627
lea eax, [ecx + 3]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x40160e
mov eax, dword [edi]
push 3
lea esi, [eax + ecx]
push 0x4042c0
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
jmp 0x401640
push 3
push 0x4042c0
mov byte [ebp - 0x10], 0
mov ecx, edi
push dword [ebp - 0x10]
push 3
call fcn.00402510
mov edi, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402670
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4016cb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4016c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40170d
push ecx
push edx
call fcn.00402c39
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x40171d
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401713
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401713
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402c39
add esp, 8
mov edx, dword [0x406474]
lea ecx, [ebp - 0x88]
call fcn.00401f60
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
mov edx, str.Max_conns:
lea ecx, [ebp - 0x58]
call fcn.004021f0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 3
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x401778
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x401770
mov eax, dword [ecx]
mov word [eax + edx], 0xa
jmp 0x40178f
push 1
push 0x4042d8
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push 1
call fcn.00402510
mov ecx, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402670
mov byte [ebp - 4], 3
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40181e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401814
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018a6
push ecx
push edx
call fcn.00402c39
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x401864
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40185a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4018a6
push ecx
push edx
call fcn.00402c39
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x4018b6
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4018ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4018ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402c39
add esp, 8
mov edx, dword [0x406470]
lea ecx, [ebp - 0x88]
call fcn.00401f60
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 5
push eax
mov edx, str.Refresh_time:
lea ecx, [ebp - 0x58]
call fcn.004021f0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 6
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x401911
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x401909
mov eax, dword [ecx]
mov word [eax + edx], 0xa
jmp 0x401928
push 1
push 0x4042d8
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push 1
call fcn.00402510
mov ecx, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402670
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4019b7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4019ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a3f
push ecx
push edx
call fcn.00402c39
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4019fd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4019f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a3f
push ecx
push edx
call fcn.00402c39
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x401a4f
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401a45
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402c39
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._n
call fcn.004022f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._loadAllowedIPs____OK_n
call fcn.004022f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._loadBlockedIPs____OK_n
call fcn.004022f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Threads_started___n
call fcn.004022f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._n
call fcn.004022f0
push 0x406018
mov edx, str.WARNING_:
lea ecx, [ebp - 0x70]
call fcn.004020c0
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 8
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 2
jb 0x401aeb
lea eax, [edx + 2]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x401adb
mov eax, dword [ecx]
mov esi, 0xa20
mov word [eax + edx], si
mov byte [eax + edx + 2], 0
jmp 0x401b02
push 2
push 0x404364
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push 2
call fcn.00402510
mov ecx, eax
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00402670
mov byte [ebp - 4], 8
add esp, 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x401b8d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401b83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bcc
push ecx
push edx
call fcn.00402c39
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x401bdc
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401bd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401bd2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00402c39
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret