Function at 0x10006dd0
Capabilities:
Execute command
Manipulate console buffer
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 0x1000b7f1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14c], eax
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
mov dword [eax + 0x8368], 0
mov dword [eax + 0x8370], 0
mov dword [eax + 0x836c], 0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x148], esi
cmp ecx, edx
je 0x10006e60
push ecx
call fcn.10004b10
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], eax
sub esp, 8
lea ecx, [ebp - 0x208]
push 1
push 0x1000c2f8
call fcn.100066c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x208]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x10006ed8
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x1000c300
call esi
add esp, 4
mov edx, 0x1000c7e8
push 0x10004ae0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.100048c0
add esp, 4
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 str.pause
call esi
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0xc8
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x138], 0
push eax
lea ecx, [ebp - 0x208]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::getline_char___long_long___int64__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
je 0x100075f9
mov esi, dword [ebp - 0x14c]
add esi, 0x24
mov dword [ebp - 0x134], esi
mov eax, dword [ebp - 0xe0]
cmp al, 0x23
je 0x100073a0
cmp al, 0x20
je 0x100073a0
lea ecx, [ebp - 0xe0]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006f40
sub ecx, edx
cmp ecx, 0x3a
jne 0x100075f9
xor ecx, ecx
lea edx, [ebp - 0xe0]
mov dword [ebp - 0x13c], ecx
mov al, byte [edx + ecx*2]
mov byte [ebp - 0x144], al
mov al, byte [ebp + ecx*2 - 0xdf]
lea ecx, [ebp - 0xf8]
mov byte [ebp - 0x143], al
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 0x142], 0
call fcn.10004700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 0xf
mov edi, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xe8]
seta byte [ebp - 0x129]
cmova ecx, edi
cmp eax, 2
jne 0x10006fe2
mov edx, 0x2020
cmp word [ecx], dx
jne 0x10006fe2
sub esp, 0x18
mov dword [esi], 0
mov ecx, esp
push 0x1000c3e0
call fcn.10004700
lea ecx, [esi - 0x24]
jmp 0x1000730f
mov dl, byte [ebp - 0x129]
lea ecx, [ebp - 0xf8]
test dl, dl
cmovne ecx, edi
cmp eax, 2
jne 0x10007031
mov eax, 0xf6a1
cmp word [ecx], ax
mov eax, dword [ebp - 0xe8]
jne 0x10007031
sub esp, 0x18
mov dword [esi], 1
mov ecx, esp
push 0x1000c87c
call fcn.10004700
lea ecx, [esi - 0x24]
call fcn.100080e0
mov dword [esi - 4], 3
jmp 0x10007314
test dl, dl
lea ecx, [ebp - 0xf8]
cmovne ecx, edi
cmp eax, 2
jne 0x10007086
mov eax, 0xa4a1
cmp word [ecx], ax
mov eax, dword [ebp - 0xe8]
jne 0x10007086
sub esp, 0x18
mov dword [esi], 2
mov ecx, esp
push 0x1000c880
call fcn.10004700
lea ecx, [esi - 0x24]
call fcn.100080e0
mov eax, dword [ebp - 0x14c]
mov dword [esi - 4], 0xe
inc dword [eax + 0x836c]
jmp 0x10007314
test dl, dl
lea ecx, [ebp - 0xf8]
cmovne ecx, edi
cmp eax, 2
jne 0x100070cf
mov eax, 0x92a8
cmp word [ecx], ax
mov eax, dword [ebp - 0xe8]
jne 0x100070cf
sub esp, 0x18
mov dword [esi], 3
mov ecx, esp
push 0x1000c694
call fcn.10004700
lea ecx, [esi - 0x24]
call fcn.100080e0
mov dword [esi - 4], 0xa
jmp 0x10007314
test dl, dl
lea ecx, [ebp - 0xf8]
cmovne ecx, edi
cmp eax, 2
jne 0x1000729d
mov eax, 0xeca9
cmp word [ecx], ax
mov eax, dword [ebp - 0xe8]
jne 0x1000729d
sub esp, 0x18
mov dword [esi], 0
mov ecx, esp
push 0x1000c3e0
call fcn.10004700
lea ecx, [esi - 0x24]
call fcn.100080e0
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov ecx, dword [ebp - 0x138]
sub esp, 0x18
mov eax, dword [ebp - 0x13c]
mov byte [ebp - 4], 2
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x10c], ecx
mov ecx, esp
push 0x1000c670
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x108], 0xc
call fcn.10004700
lea ecx, [ebp - 0x128]
call fcn.100080e0
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 3
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x10007206
movups xmm0, xmmword [ebp - 0x128]
mov eax, dword [ebp - 0x110]
mov edx, 0xf
mov byte [ebp - 0x128], 0
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x118]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x148]
add dword [eax + 4], 0x30
jmp 0x1000721b
lea edx, [ebp - 0x128]
push edx
push ecx
mov ecx, eax
call fcn.10007bd0
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 1
cmp edx, 0xf
jbe 0x10007255
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x128]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000724b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100075f3
push ecx
push edx
call fcn.1000a53f
add esp, 8
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x130], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
ja 0x100075c1
mov edx, dword [ebp - 0x130]
lea ecx, [eax + eax*2]
mov eax, dword [eax*4 + 0x1000c6ec]
add ecx, ecx
mov dword [edx + ecx*8 - 0x10], eax
jmp 0x10007314
test dl, dl
lea ecx, [ebp - 0xf8]
cmovne ecx, edi
cmp eax, 2
jne 0x10007314
mov eax, 0xfca1
cmp word [ecx], ax
jne 0x10007314
sub esp, 0x18
mov dword [esi], 0
mov ecx, esp
push 0x1000c3e0
call fcn.10004700
lea ecx, [esi - 0x24]
call fcn.100080e0
mov ecx, dword [ebp - 0x140]
sub esp, 0x18
mov eax, dword [ebp - 0x13c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x138]
mov dword [ecx + 0x20], 0xb
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x24], 0
mov ecx, esp
push 0x1000c664
call fcn.10004700
mov ecx, dword [ebp - 0x140]
call fcn.100080e0
cmp byte [ebp - 0x129], 0
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x138]
mov dword [esi - 0xc], ecx
mov dword [esi - 8], eax
mov byte [ebp - 4], 0
je 0x1000736e
mov ecx, dword [ebp - 0xe4]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x10007358
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100075f3
push ecx
push edi
call fcn.1000a53f
mov ecx, dword [ebp - 0x13c]
add esp, 8
mov eax, dword [ebp - 0x138]
inc ecx
lea edx, [ebp - 0xe0]
add esi, 0x488
mov dword [ebp - 0x13c], ecx
cmp ecx, 0x1d
jl 0x10006f60
mov esi, dword [ebp - 0x134]
inc eax
add esi, 0x28
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], esi
push 0
push 0xc8
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x208]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::getline_char___long_long___int64__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x10006f20
cmp dword [ebp - 0x138], 0x1d
jne 0x100075f9
lea ecx, [ebp - 0x1f8]
call fcn.10006960
test eax, eax
jne 0x10007403
push eax
mov eax, dword [ebp - 0x208]
lea ecx, [ebp - 0x208]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0x140]
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push dword [eax + 0x20]
push 0xfffffffffffffff5
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
call esi
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
add eax, eax
mov word [ebp - 0x132], cx
mov word [ebp - 0x134], ax
push dword [ebp - 0x134]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 0x140]
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x1000745c
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call esi
mov esi, dword [ebp - 0x148]
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov dword [ebp - 0x130], eax
cmp esi, eax
je 0x100074f8
nop dword [eax + eax]
push dword [esi + 0x20]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, eax
mov word [ebp - 0x134], ax
mov word [ebp - 0x132], cx
push dword [ebp - 0x134]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x100074cf
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
add esi, 0x30
cmp esi, dword [ebp - 0x130]
jne 0x10007490
mov eax, dword [ebp - 0x208]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x20c], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x1ac], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x10007569
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1bc]
cmp dword [eax], ecx
jne 0x10007569
mov edx, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1a8]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x1dc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1cc]
mov dword [eax], edx
cmp byte [ebp - 0x1b0], 0
je 0x1000757d
lea ecx, [ebp - 0x1f8]
call fcn.10006960
lea ecx, [ebp - 0x1f8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1f0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x198]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000a46c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x1000c300
call esi
add esp, 4
mov edx, 0x1000c884
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.100048c0
push str.pause
call esi
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x1000c300
call esi
add esp, 4
mov edx, 0x1000c840
jmp 0x100075d6