Function at 0x140007da0
Capabilities:
Create thread
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140044040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov ebx, ecx
xor r14d, r14d
lea rcx, [0x14001d77e]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rsi, str.C:Program_FilesNotepadLICENSE
mov qword [0x140044dc8], rsi
cmp ebx, 2
jl 0x140007e1c
mov rcx, qword [rdi + 8]
call fcn.1400031e0
test al, al
je 0x140007e1c
mov rax, qword [rdi + 8]
mov qword [0x140044dc8], rax
lea rdx, str.____Config_detected
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140007e35
lea rdx, str._____No_config_file_provided__using_default_config_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d890
mov rcx, rax
mov rdx, rsi
call fcn.14000d890
lea rdx, [0x14000da60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1400059a0
test al, al
jne 0x140007eaf
lea rdx, str.__X__Error_loading_config_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d890
mov rdx, qword [0x140044dc8]
mov rcx, rax
call fcn.14000d890
lea rdx, [0x14000da60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400195a0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rbp - 0x69], 1
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov qword [rbp - 0x59], r14
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp - 0x69]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x69]
and edx, 0xffffffaf
mov dword [rbp - 0x69], edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffaffff
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea rdx, str.____Config_successfully_loaded_n_____Type_start_to_start_n__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d890
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], r14b
lea r12, [0x140007370]
lea r15, [0x140007850]
nop dword [rax]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140012f90
lea rax, [rbp - 0x29]
mov rdi, qword [rbp - 0x29]
mov rsi, qword [rbp - 0x11]
cmp rsi, 0xf
cmova rax, rdi
mov rcx, qword [rbp - 0x19]
cmp rcx, 4
jne 0x140007fd3
cmp dword [rax], 0x74697865
je 0x1400081b1
lea rax, [rbp - 0x29]
cmp rsi, 0xf
cmova rax, rdi
cmp rcx, 5
jne 0x140008188
cmp dword [rax], 0x72617473
jne 0x140008188
cmp byte [rax + 4], 0x74
jne 0x140008188
cmp byte [0x140044e13], 0
jne 0x140008031
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140007320]
mov ecx, 0xe
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x140044de0], rax
test rax, rax
setne byte [0x140044dc2]
movd xmm3, dword [0x140044e00]
cvtdq2pd xmm3, xmm3
call fcn.140004ae0
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp - 0x69]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x69]
and edx, 0xfffffff9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ecx, 8
call fcn.1400195c0
mov qword [rax], r12
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140017370]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140008298
cmp dword [rbp - 0x31], 0
je 0x14000828c
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000828c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
mov ecx, 8
call fcn.1400195c0
mov qword [rax], r15
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140017370]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14000827c
cmp dword [rbp - 0x41], 0
je 0x140008270
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140008270
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jle 0x140008171
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_DispatchMessageA]
nop
cmp dword [rbp - 0x41], 0
jne 0x140008269
cmp dword [rbp - 0x31], 0
je 0x14000819b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rdx, str.Unknown_command._Please_enter_start_or_exit._n__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d890
mov qword [rbp - 0x59], 0x64
lea rcx, [rbp - 0x59]
call fcn.14000d790
jmp 0x140007f80
mov rbx, r14
lea r15, [0x14001f440]
nop dword [rax + rax]
lea rdx, [0x140002ab0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
movzx edx, byte [rbx + r15]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x14001e188]
call fcn.14000d890
inc rbx
cmp rbx, 0x1e000
jb 0x1400081c0
cmp byte [0x140044e13], 0
jne 0x140008226
mov rcx, qword [0x140044de0]
test rcx, rcx
je 0x14000821f
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [0x140044de0], r14
mov byte [0x140044dc2], 0
cmp rsi, 0xf
jbe 0x140007e85
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000825c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000825c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140019914
jmp 0x140007e85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x41], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3