Function at 0x4013df
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x2c0
lea rax, [0x00402089]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_LoadLibraryA
mov qword [rbp - 0x248], rax
lea rax, str.user32.dll
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_LoadLibraryA
mov qword [rbp - 0x250], rax
mov rax, qword [rbp - 0x248]
cmp rax, 0
je 0x401438
mov rax, qword [rbp - 0x250]
cmp rax, 0
je 0x401438
jmp 0x401454
lea rax, str.Failed_to_load_kernel32.dll_and_or_user32.dll.__Quitting_program._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 1
jmp 0x401986
lea rax, str.GetConsoleWindow
mov r11, rax
mov rax, qword [rbp - 0x248]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x258], rax
lea rax, str.ShowWindow
mov r11, rax
mov rax, qword [rbp - 0x250]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x260], rax
mov rax, qword [rbp - 0x258]
cmp rax, 0
je 0x4014c7
mov rax, qword [rbp - 0x260]
cmp rax, 0
je 0x4014c7
jmp 0x401507
lea rax, str.Failed_to_find_GetConsoleWindow_and_or_ShowWindow_functions.__Quitting_program._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x248]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FreeLibrary
mov rax, qword [rbp - 0x250]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FreeLibrary
mov eax, 1
jmp 0x401986
mov r11, qword [rbp - 0x258]
call r11
mov qword [rbp - 0x268], rax
mov eax, 6
mov r11, rax
mov rax, qword [rbp - 0x268]
mov r10, rax
mov rcx, r10
mov rdx, r11
mov r11, qword [rbp - 0x260]
call r11
mov rax, qword [rbp - 0x248]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FreeLibrary
lea rax, [0x0040215e]
mov r11, rax
lea rax, str.settings.txt
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fopen
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
cmp rax, 0
je 0x401734
mov rax, qword [rbp - 0x18]
mov r8, rax
mov eax, 0x100
mov r11, rax
lea rax, [rbp - 0x240]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fgets
lea rax, [rbp - 0x240]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_atoi
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp - 0x18]
mov r8, rax
mov eax, 0x100
mov r11, rax
lea rax, [rbp - 0x240]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fgets
lea rax, [rbp - 0x240]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_atoi
mov dword [rbp - 0x20], eax
mov rax, qword [rbp - 0x18]
mov r8, rax
mov eax, 0x20
mov r11, rax
lea rax, [rbp - 0x40]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fgets
mov eax, 0
mov dword [rbp - 0x26c], eax
mov eax, dword [rbp - 0x26c]
cmp eax, 0x20
je 0x401683
jmp 0x401643
mov eax, dword [rbp - 0x26c]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x26c], eax
jmp 0x40161b
mov eax, dword [rbp - 0x26c]
movsxd rax, eax
lea rcx, [rbp - 0x40]
add rcx, rax
movsx eax, byte [rcx]
cmp eax, 0xa
jne 0x401681
mov eax, dword [rbp - 0x26c]
movsxd rax, eax
lea rcx, [rbp - 0x40]
add rcx, rax
mov eax, 0
mov byte [rcx], al
mov eax, 0x1f
mov dword [rbp - 0x26c], eax
jmp 0x40162f
mov rax, qword [rbp - 0x18]
mov r8, rax
mov eax, 0x100
mov r11, rax
lea rax, [rbp - 0x140]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fgets
mov eax, 0
mov dword [rbp - 0x270], eax
mov eax, dword [rbp - 0x270]
cmp eax, 0x20
je 0x401720
jmp 0x4016da
mov eax, dword [rbp - 0x270]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x270], eax
jmp 0x4016b2
mov eax, dword [rbp - 0x270]
movsxd rax, eax
lea rcx, [rbp - 0x140]
add rcx, rax
movsx eax, byte [rcx]
cmp eax, 0xa
jne 0x40171e
mov eax, dword [rbp - 0x270]
movsxd rax, eax
lea rcx, [rbp - 0x140]
add rcx, rax
mov eax, 0
mov byte [rcx], al
mov eax, 0x1f
mov dword [rbp - 0x270], eax
jmp 0x4016c6
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
jmp 0x401750
lea rax, str.Error_opening_settings.txt___Fatal_error.__Quitting_program._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 1
jmp 0x401986
lea rax, [rbp - 0x40]
mov r10, rax
mov rcx, r10
call section..text
cmp eax, 0
je 0x40176d
jmp 0x4017af
lea rax, [rbp - 0x40]
mov r9, rax
lea rax, [rbp - 0x140]
mov r8, rax
lea rax, str.cd___s___start______s_
mov r11, rax
lea rax, [rbp - 0x240]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf
lea rax, [rbp - 0x240]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
call sub.kernel32.dll_GetTickCount
mov dword [rbp - 4], eax
lea rax, str.LockWorkStation
mov r11, rax
mov rax, qword [rbp - 0x250]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x280], rax
mov rax, qword [rbp - 0x280]
cmp rax, 0
je 0x4017f3
jmp 0x401821
lea rax, str.Failed_to_get_the_address_of_LockWorkStation_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x250]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FreeLibrary
mov eax, 1
jmp 0x401986
lea rax, str.GetLastInputInfo
mov r11, rax
mov rax, qword [rbp - 0x250]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x288], rax
mov rax, qword [rbp - 0x288]
cmp rax, 0
je 0x40185d
jmp 0x40188b
lea rax, str.Failed_to_get_the_address_of_GetLastInputInfo_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov rax, qword [rbp - 0x250]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FreeLibrary
mov eax, 1
jmp 0x401986
mov eax, 0
mov dword [rbp - 0x28c], eax
mov eax, dword [rbp - 0x28c]
cmp eax, 0
jne 0x40196f
mov eax, dword [rbp - 0x1c]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
lea rax, [rbp - 0x40]
mov r10, rax
mov rcx, r10
call section..text
cmp eax, 0
je 0x4018d0
jmp 0x4018db
mov eax, 1
mov dword [rbp - 0x28c], eax
mov eax, 8
mov dword [rbp - 0x294], eax
lea rax, [rbp - 0x294]
mov r10, rax
mov rcx, r10
mov r11, qword [rbp - 0x288]
call r11
cmp eax, 0
je 0x40192a
call sub.kernel32.dll_GetTickCount
mov dword [rbp - 0x298], eax
mov eax, dword [rbp - 0x298]
mov ecx, dword [rbp - 0x290]
sub eax, ecx
mov dword [rbp - 0x274], eax
jmp 0x40193c
lea rax, str.Failed_to_retrieve_the_last_input_info._n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, dword [rbp - 0x274]
mov ecx, dword [rbp - 0x20]
cmp eax, ecx
jbe 0x40196a
mov r11, qword [rbp - 0x280]
call r11
cmp eax, 0
je 0x401965
jmp 0x401965
jmp 0x40196a
jmp 0x401896
mov rax, qword [rbp - 0x250]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FreeLibrary
mov eax, 0
leave
ret