Function at 0x403cf0
Capabilities:
Execute command
Get common file path
Get session user name
Set console window title
Set current directory
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a30f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3f0
mov eax, dword [0x40f004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00403320
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b4], 0x64
push ecx
push eax
mov dword [ebp - 0x2b0], 1
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x101
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x29c], 0
push str.SuperTerminal_
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x298], 0
movups xmmword [ebp - 0x2ac], xmm0
call fcn.00407960
lea edi, [ebp - 0x120]
mov dword [ebp - 4], 0
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x403dc0
mov edx, dword [ebp - 0x298]
sub edi, ecx
mov ecx, dword [ebp - 0x29c]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x403e0f
lea eax, [edi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x29c], eax
lea esi, [ebp - 0x2ac]
cmovae esi, dword [ebp - 0x2ac]
lea eax, [ebp - 0x120]
add esi, ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x403e2f
lea eax, [ebp - 0x120]
mov byte [ebp - 0x348], 0
push eax
push dword [ebp - 0x348]
lea ecx, [ebp - 0x2ac]
push edi
call fcn.00407ef0
mov esi, dword [ebp - 0x298]
lea ecx, [ebp - 0x2ac]
mov edx, dword [ebp - 0x29c]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x403e6c
cmp esi, 0x10
lea eax, [edx + 1]
mov dword [ebp - 0x29c], eax
cmovae ecx, dword [ebp - 0x2ac]
mov al, byte [0x40b730]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x403e87
push 1
push 0x40b730
mov byte [ebp - 0x348], 0
push dword [ebp - 0x348]
push 1
call fcn.00407ef0
cmp dword [ebp - 0x298], 0x10
lea eax, [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_35m
call fcn.00407610
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.____________
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40b76c
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._______________________________
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40b7cc
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.__________________________________
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___________________________________
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._________________________________
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._____________________________
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.____________________________________________
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_35m
call fcn.00407610
mov edx, str.Super
mov ecx, eax
call fcn.00407610
mov edx, str.e_32m
mov ecx, eax
call fcn.00407610
mov edx, str.Terminal
mov ecx, eax
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_33m
call fcn.00407610
mov edx, str.Type_exit_to_quit
mov ecx, eax
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_33m
call fcn.00407610
mov edx, str.Type_cmds_to_list_all_Commands
mov ecx, eax
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x340]
call fcn.00402350
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x32c]
mov eax, edx
mov ecx, dword [ebp - 0x330]
sub eax, ecx
push 8
push 0x40b948
cmp eax, 8
jb 0x4040c6
cmp edx, 0x10
lea esi, [ebp - 0x340]
lea eax, [ecx + 8]
cmovae esi, dword [ebp - 0x340]
add esi, ecx
mov dword [ebp - 0x330], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x4040e0
mov byte [ebp - 0x348], 0
lea ecx, [ebp - 0x340]
push dword [ebp - 0x348]
push 8
call fcn.00407ef0
cmp dword [ebp - 0x32c], 0x10
lea eax, [ebp - 0x340]
cmovae eax, dword [ebp - 0x340]
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_90m_
call fcn.00407610
mov edx, str.e_34m
mov ecx, eax
call fcn.00407610
lea edx, [ebp - 0x120]
mov ecx, eax
call fcn.00407610
mov edx, str.e_35m
mov ecx, eax
call fcn.00407610
mov edx, 0x40b968
mov ecx, eax
call fcn.00407610
mov edx, str.e_34m
mov ecx, eax
call fcn.00407610
lea edx, [ebp - 0x228]
mov ecx, eax
call fcn.00407610
mov edx, 0x40b958
mov ecx, eax
call fcn.00407610
mov edx, str.e_35m
mov ecx, eax
call fcn.00407610
mov edx, 0x40b954
mov ecx, eax
call fcn.00407610
mov edx, str.e_32m
mov ecx, eax
call fcn.00407610
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0xa
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x258]
push eax
mov ecx, esi
call fcn.00408220
add esp, 4
lea edx, [ebp - 0x258]
lea ecx, [ebp - 0x270]
call fcn.00403260
mov byte [ebp - 4], 3
lea eax, [ebp - 0x270]
mov ecx, 4
mov dword [ebp - 0x374], 0
cmp dword [ebp - 0x260], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x378], 0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0x10
push ecx
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x388]
push eax
movups xmmword [ebp - 0x388], xmm0
call fcn.00407960
cmp dword [ebp - 0x374], 0x10
lea ecx, [ebp - 0x388]
mov edi, dword [ebp - 0x388]
mov esi, dword [ebp - 0x378]
setae byte [ebp - 0x342]
cmovae ecx, edi
cmp esi, 4
jne 0x4042d7
mov edx, 0x40b974
sub esi, esi
jb 0x404291
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404296
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404280
cmp esi, 0xfffffffc
je 0x4042ca
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4042c3
cmp esi, 0xfffffffd
je 0x4042ca
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4042c3
cmp esi, 0xfffffffe
je 0x4042ca
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4042c3
cmp esi, 0xffffffff
je 0x4042ca
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4042ca
sbb eax, eax
or eax, 1
jmp 0x4042cc
xor eax, eax
mov byte [ebp - 0x341], 1
test eax, eax
je 0x4042de
mov byte [ebp - 0x341], 0
cmp byte [ebp - 0x342], 0
je 0x404316
mov ecx, dword [ebp - 0x374]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x40430c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edi
call fcn.00409084
add esp, 8
cmp byte [ebp - 0x341], 0
jne 0x405a58
mov ecx, 4
mov dword [ebp - 0x390], 0
cmp dword [ebp - 0x260], ecx
lea eax, [ebp - 0x270]
xorps xmm0, xmm0
mov dword [ebp - 0x38c], 0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0x10
push ecx
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x3a0]
push eax
movups xmmword [ebp - 0x3a0], xmm0
call fcn.00407960
cmp dword [ebp - 0x38c], 0x10
lea ecx, [ebp - 0x3a0]
mov edi, dword [ebp - 0x3a0]
mov esi, dword [ebp - 0x390]
setae byte [ebp - 0x342]
cmovae ecx, edi
cmp esi, 4
jne 0x4043fc
mov edx, str.cmds
sub esi, esi
jb 0x4043b6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4043bb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4043a5
cmp esi, 0xfffffffc
je 0x4043ef
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4043e8
cmp esi, 0xfffffffd
je 0x4043ef
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4043e8
cmp esi, 0xfffffffe
je 0x4043ef
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4043e8
cmp esi, 0xffffffff
je 0x4043ef
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4043ef
sbb eax, eax
or eax, 1
jmp 0x4043f1
xor eax, eax
mov byte [ebp - 0x341], 1
test eax, eax
je 0x404403
mov byte [ebp - 0x341], 0
cmp byte [ebp - 0x342], 0
je 0x40443b
mov ecx, dword [ebp - 0x38c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x404431
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edi
call fcn.00409084
add esp, 8
cmp byte [ebp - 0x341], 0
je 0x404532
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.All_current_Commands:
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.exit___Exit_SuperTerminal
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._Module_Name___Arguments____Run_a_custom_Module
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.modules___List_all_Modules
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.cd__Directory____Change_the_current_Directory
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.restart___Restart_SuperTerminal
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.All_normal_Windows_Commands_work_in_SuperTerminal
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4058b2
mov ecx, 7
mov dword [ebp - 0x3a8], 0
cmp dword [ebp - 0x260], ecx
lea eax, [ebp - 0x270]
xorps xmm0, xmm0
mov dword [ebp - 0x3a4], 0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0x10
push ecx
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x3b8]
push eax
movups xmmword [ebp - 0x3b8], xmm0
call fcn.00407960
cmp dword [ebp - 0x3a4], 0x10
lea ecx, [ebp - 0x3b8]
mov edi, dword [ebp - 0x3b8]
mov esi, dword [ebp - 0x3a8]
setae byte [ebp - 0x342]
cmovae ecx, edi
cmp esi, 7
jne 0x40460c
mov edx, str.modules
sub esi, 4
jb 0x4045c6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4045cb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4045b5
cmp esi, 0xfffffffc
je 0x4045ff
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4045f8
cmp esi, 0xfffffffd
je 0x4045ff
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4045f8
cmp esi, 0xfffffffe
je 0x4045ff
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4045f8
cmp esi, 0xffffffff
je 0x4045ff
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4045ff
sbb eax, eax
or eax, 1
jmp 0x404601
xor eax, eax
mov byte [ebp - 0x341], 1
test eax, eax
je 0x404613
mov byte [ebp - 0x341], 0
cmp byte [ebp - 0x342], 0
je 0x40464b
mov ecx, dword [ebp - 0x3a4]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x404641
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edi
call fcn.00409084
add esp, 8
cmp byte [ebp - 0x341], 0
xorps xmm0, xmm0
je 0x4046ed
mov esi, dword [ebp - 0x368]
mov ecx, esi
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404681
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x240]
call fcn.00407960
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 4
call fcn.00402590
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0x10
jb 0x4058b2
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4046de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
jmp 0x4058b2
mov ecx, 4
mov dword [ebp - 0x3c0], 0
cmp dword [ebp - 0x260], ecx
lea eax, [ebp - 0x270]
movups xmmword [ebp - 0x3d0], xmm0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0x10
push ecx
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x3d0]
push eax
mov dword [ebp - 0x3bc], 0
call fcn.00407960
cmp dword [ebp - 0x3bc], 0x10
lea ecx, [ebp - 0x3d0]
mov edi, dword [ebp - 0x3d0]
mov esi, dword [ebp - 0x3c0]
setae byte [ebp - 0x342]
cmovae ecx, edi
cmp esi, 4
jne 0x4047c7
mov edx, str.font
sub esi, esi
jb 0x404781
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404786
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404770
cmp esi, 0xfffffffc
je 0x4047ba
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4047b3
cmp esi, 0xfffffffd
je 0x4047ba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4047b3
cmp esi, 0xfffffffe
je 0x4047ba
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4047b3
cmp esi, 0xffffffff
je 0x4047ba
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4047ba
sbb eax, eax
or eax, 1
jmp 0x4047bc
xor eax, eax
mov byte [ebp - 0x341], 1
test eax, eax
je 0x4047ce
mov byte [ebp - 0x341], 0
cmp byte [ebp - 0x342], 0
je 0x404806
mov ecx, dword [ebp - 0x3bc]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x4047fc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edi
call fcn.00409084
add esp, 8
cmp byte [ebp - 0x341], 0
je 0x4048a8
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
movups xmm0, xmmword [str.CodeNewRoman_Nerd_Font]
mov ecx, eax
mov dword [ebp - 0x328], 0x54
mov eax, dword [0x40bac0]
mov dword [ebp - 0x2ec], eax
mov ax, word [0x40bac4]
movups xmmword [ebp - 0x314], xmm0
mov word [ebp - 0x2e8], ax
lea eax, [ebp - 0x328]
movups xmm0, xmmword [0x40baa8]
push eax
push 0
movups xmmword [ebp - 0x304], xmm0
push ecx
movq xmm0, qword [0x40bab8]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0x100008
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0x190
movq qword [ebp - 0x2f4], xmm0
call dword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
jmp 0x4058b2
sub esp, 0x18
lea eax, [ebp - 0x258]
mov ecx, esp
push eax
call fcn.004070a0
call fcn.00402870
add esp, 0x18
xorps xmm0, xmm0
test al, al
je 0x40523d
or ecx, 0xffffffff
mov dword [ebp - 0x278], 0
cmp dword [ebp - 0x248], 0xffffffff
lea eax, [ebp - 0x258]
movups xmmword [ebp - 0x288], xmm0
cmovb ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x244], 0x10
push ecx
cmovae eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x288]
push eax
mov dword [ebp - 0x274], 0
call fcn.00407960
mov byte [ebp - 4], 5
lea edi, [ebp - 0x288]
cmp dword [ebp - 0x274], 0x10
mov eax, dword [ebp - 0x278]
cmovae edi, dword [ebp - 0x288]
test eax, eax
je 0x404951
push eax
push 0x20
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x404951
sub esi, edi
jmp 0x404954
or esi, 0xffffffff
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], 0
push 0x40b477
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x2b8], 0
movups xmmword [ebp - 0x2cc], xmm0
call fcn.00407960
mov byte [ebp - 4], 6
cmp esi, 0xffffffff
je 0x404aea
mov eax, dword [ebp - 0x278]
lea edx, [esi + 1]
mov dword [ebp - 0x230], 0
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
movups xmmword [ebp - 0x240], xmm0
cmp eax, edx
jb 0x405a4d
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x274], 0x10
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push ecx
add eax, edx
lea ecx, [ebp - 0x240]
push eax
call fcn.00407960
mov ecx, dword [ebp - 0x2b8]
cmp ecx, 0x10
jb 0x404a28
mov edx, dword [ebp - 0x2cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404a1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
movups xmm0, xmmword [ebp - 0x240]
cmp dword [ebp - 0x278], esi
lea eax, [ebp - 0x288]
lea ecx, [ebp - 0x240]
cmovb esi, dword [ebp - 0x278]
cmp dword [ebp - 0x274], 0x10
movups xmmword [ebp - 0x2cc], xmm0
cmovae eax, dword [ebp - 0x288]
movq xmm0, qword [ebp - 0x230]
movq qword [ebp - 0x2bc], xmm0
xorps xmm0, xmm0
push esi
push eax
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
call fcn.00407960
mov ecx, dword [ebp - 0x274]
cmp ecx, 0x10
jb 0x404acc
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404ac2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
movups xmm0, xmmword [ebp - 0x240]
movups xmmword [ebp - 0x288], xmm0
movq xmm0, qword [ebp - 0x230]
movq qword [ebp - 0x278], xmm0
mov esi, dword [ebp - 0x368]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x230], 0
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x22c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404b13
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x240]
call fcn.00407960
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x240]
mov esi, dword [ebp - 0x22c]
mov eax, esi
mov edx, dword [ebp - 0x230]
sub eax, edx
cmp eax, 1
jb 0x404b70
cmp esi, 0x10
lea eax, [edx + 1]
mov dword [ebp - 0x230], eax
cmovae ecx, dword [ebp - 0x240]
mov al, byte [0x40bac8]
mov byte [ecx + edx], al
lea eax, [ebp - 0x240]
mov byte [ecx + edx + 1], 0
jmp 0x404b8b
push 1
push 0x40bac8
mov byte [ebp - 0x370], 0
push dword [ebp - 0x370]
push 1
call fcn.00407ef0
mov dword [ebp - 0x354], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x364], xmm0
mov dword [ebp - 0x350], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x364], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x354], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x288]
cmp dword [ebp - 0x274], 0x10
mov edx, dword [ebp - 0x354]
cmovae ecx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x350]
mov edi, dword [ebp - 0x278]
sub eax, edx
mov dword [ebp - 0x348], edx
push edi
push ecx
cmp edi, eax
ja 0x404c47
cmp dword [ebp - 0x350], 0x10
lea esi, [ebp - 0x364]
lea eax, [edi + edx]
cmovae esi, dword [ebp - 0x364]
mov dword [ebp - 0x354], eax
lea eax, [esi + edx]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x348]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x364]
jmp 0x404c60
mov byte [ebp - 0x2b0], 0
lea ecx, [ebp - 0x364]
push dword [ebp - 0x2b0]
push edi
call fcn.00407ef0
mov dword [ebp - 0x2dc], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2ec], xmm0
mov dword [ebp - 0x2d8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2ec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2dc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x350]
cmp ecx, 0x10
jb 0x404ce4
mov edx, dword [ebp - 0x364]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404cda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0xf
mov byte [ebp - 0x364], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0x10
jb 0x404d3d
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404d33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
cmp dword [ebp - 0x2d8], 0x10
lea eax, [ebp - 0x2ec]
push 8
cmovae eax, dword [ebp - 0x2ec]
push 0
push eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
jne 0x404e91
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error_loading_Module
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2d8]
cmp ecx, 0x10
jb 0x404dda
mov edx, dword [ebp - 0x2ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404dd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0xf
mov byte [ebp - 0x2ec], 0
cmp ecx, 0x10
jb 0x404e33
mov edx, dword [ebp - 0x2cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404e29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
cmp ecx, 0x10
jb 0x404e71
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404e67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
jmp 0x4058b2
push str.custom_command
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x348], eax
test eax, eax
jne 0x404fc1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error_retrieving_custom_command_Function
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2d8]
cmp ecx, 0x10
jb 0x404f06
mov edx, dword [ebp - 0x2ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404efc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0xf
mov byte [ebp - 0x2ec], 0
cmp ecx, 0x10
jb 0x404f5f
mov edx, dword [ebp - 0x2cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
cmp ecx, 0x10
jb 0x404e71
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
jmp 0x4058b2
xorps xmm0, xmm0
mov dword [ebp - 0x28c], 0
push ecx
lea edx, [ebp - 0x2cc]
movq qword [ebp - 0x294], xmm0
lea ecx, [ebp - 0x294]
call fcn.00402f00
add esp, 4
mov byte [ebp - 4], 0xc
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x290]
sub ecx, dword [ebp - 0x294]
imul ecx
xor ecx, ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, 4
mov eax, edi
mov dword [ebp - 0x36c], edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409092
add esp, 4
mov dword [ebp - 0x34c], eax
xor esi, esi
test edi, edi
jle 0x4050ba
xor edi, edi
nop
mov eax, dword [ebp - 0x294]
mov eax, dword [eax + edi + 0x10]
inc eax
push eax
call fcn.00409092
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x34c]
mov dword [eax + esi*4], edx
mov ecx, dword [ebp - 0x294]
add ecx, edi
cmp dword [ecx + 0x14], 0x10
jb 0x40506f
mov ecx, dword [ecx]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x405071
inc esi
add edi, 0x18
cmp esi, dword [ebp - 0x36c]
jl 0x405040
push dword [ebp - 0x34c]
mov edi, dword [ebp - 0x36c]
push edi
call dword [ebp - 0x348]
add esp, 8
xor esi, esi
mov eax, dword [ebp - 0x34c]
push dword [eax + esi*4]
call fcn.0040904f
inc esi
add esp, 4
cmp esi, edi
jl 0x4050a2
jmp 0x4050c5
push eax
push edi
call dword [ebp - 0x348]
add esp, 8
push dword [ebp - 0x34c]
call fcn.0040904f
mov byte [ebp - 4], 0xb
add esp, 4
mov ecx, dword [ebp - 0x294]
test ecx, ecx
je 0x40515f
mov edx, dword [ebp - 0x290]
push ecx
call fcn.00407a50
mov ecx, dword [ebp - 0x28c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x294]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x405137
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push esi
call fcn.00409084
add esp, 8
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2d8]
cmp ecx, 0x10
jb 0x40519d
mov edx, dword [ebp - 0x2ec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405193
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0xf
mov byte [ebp - 0x2ec], 0
cmp ecx, 0x10
jb 0x4051f6
mov edx, dword [ebp - 0x2cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4051ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
cmp ecx, 0x10
jb 0x4058b2
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40522e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
jmp 0x4058b2
mov ecx, 3
mov dword [ebp - 0x3d8], 0
cmp dword [ebp - 0x260], ecx
lea eax, [ebp - 0x270]
movups xmmword [ebp - 0x3e8], xmm0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0x10
push ecx
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x3e8]
push eax
mov dword [ebp - 0x3d4], 0
call fcn.00407960
cmp dword [ebp - 0x3d4], 0x10
lea ecx, [ebp - 0x3e8]
mov edi, dword [ebp - 0x3e8]
mov esi, dword [ebp - 0x3d8]
setae byte [ebp - 0x342]
cmovae ecx, edi
cmp esi, 3
jne 0x405317
mov edx, 0x40bb20
sub esi, 4
jb 0x4052d1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4052d6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4052c0
cmp esi, 0xfffffffc
je 0x40530a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405303
cmp esi, 0xfffffffd
je 0x40530a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405303
cmp esi, 0xfffffffe
je 0x40530a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405303
cmp esi, 0xffffffff
je 0x40530a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40530a
sbb eax, eax
or eax, 1
jmp 0x40530c
xor eax, eax
mov byte [ebp - 0x341], 1
test eax, eax
je 0x40531e
mov byte [ebp - 0x341], 0
cmp byte [ebp - 0x342], 0
je 0x405356
mov ecx, dword [ebp - 0x3d4]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x40534c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edi
call fcn.00409084
add esp, 8
cmp byte [ebp - 0x341], 0
xorps xmm0, xmm0
je 0x405760
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
movups xmmword [ebp - 0x240], xmm0
cmp eax, 3
jb 0x405a4d
add eax, 0xfffffffd
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push ecx
add eax, 3
lea ecx, [ebp - 0x240]
push eax
call fcn.00407960
cmp dword [ebp - 0x22c], 0x10
lea ecx, [ebp - 0x308]
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
mov ecx, dword [ebp - 0x22c]
add esp, 8
test eax, eax
setne al
mov byte [ebp - 0x342], al
cmp ecx, 0x10
jb 0x405430
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405420
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
mov al, byte [ebp - 0x342]
add esp, 8
test al, al
je 0x40551a
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Can_not_access
call fcn.00407610
mov esi, eax
mov dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x248]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
movups xmmword [ebp - 0x240], xmm0
cmp eax, 3
jb 0x405a4d
add eax, 0xfffffffd
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push ecx
add eax, 3
lea ecx, [ebp - 0x240]
push eax
call fcn.00407960
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x240]
cmp dword [ebp - 0x22c], 0x10
mov ecx, esi
cmovae edx, dword [ebp - 0x240]
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0x10
jb 0x4058b2
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40550b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
jmp 0x4058b2
test dword [ebp - 0x302], 0x4000
xorps xmm0, xmm0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
movups xmmword [ebp - 0x240], xmm0
je 0x4056a2
cmp eax, 3
jb 0x405a4d
add eax, 0xfffffffd
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push ecx
add eax, 3
lea ecx, [ebp - 0x240]
push eax
call fcn.00407960
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x240]
cmp dword [ebp - 0x22c], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x240]
sub esp, 0x18
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4055c0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00407960
lea ecx, [ebp - 0x364]
call fcn.00403620
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4055e8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 0x350]
test eax, eax
sete al
mov byte [ebp - 0x342], al
cmp ecx, 0x10
jb 0x40563a
mov edx, dword [ebp - 0x364]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40562a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
mov al, byte [ebp - 0x342]
add esp, 8
test al, al
je 0x40565b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Error_changing_Directory
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0x10
jb 0x4058b2
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405693
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
jmp 0x4058b2
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp eax, 3
jb 0x405a4d
add eax, 0xfffffffd
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push ecx
add eax, 3
lea ecx, [ebp - 0x240]
push eax
call fcn.00407960
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x240]
cmp dword [ebp - 0x22c], 0x10
mov ecx, esi
cmovae edx, dword [ebp - 0x240]
call fcn.00407610
mov edx, str._is_not_a_Directory
mov ecx, eax
call fcn.00407610
push 0x407830
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0x10
jb 0x4058b2
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
jmp 0x4058b2
mov ecx, 7
mov dword [ebp - 0x3f0], 0
cmp dword [ebp - 0x260], ecx
lea eax, [ebp - 0x270]
movups xmmword [ebp - 0x400], xmm0
cmovb ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x25c], 0x10
push ecx
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x400]
push eax
mov dword [ebp - 0x3ec], 0
call fcn.00407960
cmp dword [ebp - 0x3ec], 0x10
lea ecx, [ebp - 0x400]
mov edi, dword [ebp - 0x400]
mov esi, dword [ebp - 0x3f0]
setae byte [ebp - 0x342]
cmovae ecx, edi
cmp esi, 7
jne 0x405837
mov edx, str.restart
sub esi, 4
jb 0x4057f1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4057f6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4057e0
cmp esi, 0xfffffffc
je 0x40582a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405823
cmp esi, 0xfffffffd
je 0x40582a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405823
cmp esi, 0xfffffffe
je 0x40582a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405823
cmp esi, 0xffffffff
je 0x40582a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40582a
sbb eax, eax
or eax, 1
jmp 0x40582c
xor eax, eax
mov byte [ebp - 0x341], 1
test eax, eax
je 0x40583e
mov byte [ebp - 0x341], 0
cmp byte [ebp - 0x342], 0
je 0x405876
mov ecx, dword [ebp - 0x3ec]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x40586c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edi
call fcn.00409084
add esp, 8
cmp byte [ebp - 0x341], 0
je 0x405894
push 0x40bb6c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
call main
jmp 0x4058b2
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x25c]
cmp ecx, 0x10
jb 0x4058f0
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4058e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
cmp ecx, 0x10
jb 0x405949
mov edx, dword [ebp - 0x258]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40593f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a52
push ecx
push edx
call fcn.00409084
add esp, 8
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_90m_
call fcn.00407610
mov edx, str.e_34m
mov ecx, eax
call fcn.00407610
lea edx, [ebp - 0x120]
mov ecx, eax
call fcn.00407610
mov edx, str.e_35m
mov ecx, eax
call fcn.00407610
mov edx, 0x40b968
mov ecx, eax
call fcn.00407610
mov edx, str.e_34m
mov ecx, eax
call fcn.00407610
lea edx, [ebp - 0x228]
mov ecx, eax
call fcn.00407610
mov edx, 0x40b958
mov ecx, eax
call fcn.00407610
mov edx, str.e_35m
mov ecx, eax
call fcn.00407610
mov edx, 0x40b954
mov ecx, eax
call fcn.00407610
mov edx, str.e_32m
mov ecx, eax
call fcn.00407610
xorps xmm0, xmm0
mov dword [ebp - 0x248], 0
movups xmmword [ebp - 0x258], xmm0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
push 0xa
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x258]
push eax
mov ecx, esi
call fcn.00408220
add esp, 4
lea edx, [ebp - 0x258]
lea ecx, [ebp - 0x270]
call fcn.00403260
jmp 0x4041f9
call fcn.00407490
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3