Function at 0x140028c20
Capabilities:
Create thread
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r12d, r12d
mov dword [rbp - 0x48], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rsi, rax
test rax, rax
je 0x140028d7d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140028d7d
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
test eax, eax
je 0x140028d7d
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x140028d7d
mov edi, dword [rbp - 0x28]
sub edi, dword [rbp - 0x30]
mov r15d, dword [rbp - 0x24]
sub r15d, dword [rbp - 0x2c]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x140028d7d
mov ebx, dword [rbp - 0x28]
sub ebx, edi
sub ebx, dword [rbp - 0x30]
mov edi, dword [rbp - 0x24]
sub edi, r15d
sub edi, dword [rbp - 0x2c]
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x140028d7d
movzx eax, word [rbp - 0x10]
mov word [rbp - 0x48], ax
movzx ecx, word [rbp - 0xe]
mov word [rbp - 0x46], cx
cmp ax, 0x40
jl 0x140028d1f
cmp cx, 0x12
jge 0x140028d47
jmp 0x140028d28
mov eax, 0x40
mov word [rbp - 0x48], ax
cmp cx, 0x12
jge 0x140028d37
mov eax, 0x12
mov word [rbp - 0x46], ax
mov edx, dword [rbp - 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
test eax, eax
je 0x140028d7d
movsx eax, word [rbp - 0x3a]
lea ecx, [rax + rax*8]
lea eax, [rdi + rcx*2]
movsx ecx, word [rbp - 0x3c]
shl ecx, 6
add ecx, ebx
mov dword [rsp + 0x30], 0x216
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rbp - 0x2c]
mov r8d, dword [rbp - 0x30]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 0x10
call fcn.14002bd88
mov rbx, rax
mov qword [rbp - 0x40], rax
mov ecx, 8
call fcn.14002bd88
lea rcx, [0x1400280f0]
mov qword [rax], rcx
mov qword [rbp - 0x48], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14002b3f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140029146
mov rcx, qword [0x14003eae8]
mov qword [0x14003eae8], rbx
test rcx, rcx
je 0x140028dfb
cmp dword [rcx + 8], 0
jne 0x140028e75
mov edx, 0x10
call fcn.14002bc60
mov ecx, 0x10
call fcn.14002bd88
mov rbx, rax
mov qword [rbp - 0x40], rax
mov ecx, 8
call fcn.14002bd88
lea rcx, [0x140028bb0]
mov qword [rax], rcx
mov r14d, 6
mov dword [rbp - 0x48], r14d
mov qword [rbp - 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14002b3f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140029139
mov rcx, qword [0x14003eae0]
mov qword [0x14003eae0], rbx
test rcx, rcx
je 0x140028e86
cmp dword [rcx + 8], 0
je 0x140028e7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, 0x10
call fcn.14002bc60
lea rcx, [0x14003851c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140024540]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
nop dword [rax]
mov qword [rbp - 0x20], 5
mov qword [rbp - 0x18], 0xf
mov eax, dword [str.Key:]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x140038b48]
mov byte [rbp - 0x2c], al
mov byte [rbp - 0x2b], 0
lea rcx, [rbp - 0x30]
call fcn.140027e50
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
lea rdx, [rbp + 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140029ca0
lea rcx, [rbp + 0x10]
mov rdi, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x28]
cmp rsi, 0xf
cmova rcx, rdi
cmp qword [rbp + 0x20], 0x22
jne 0x140028f4c
mov r8d, 0x22
lea rdx, str.Hollow_P5fwNB_zp7p2o_DC1m90_uQGDxf
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140029074
lea rdx, [0x140024540]
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rax, [rsp + 0x78]
mov qword [rbp - 0x30], rax
lea rdx, [0x140038460]
lea rcx, [rsp + 0x78]
call fcn.140022300
mov rbx, rax
lea rdx, str.____Wrong_key.
lea rcx, [rbp - 0x68]
call fcn.140022300
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14002a600
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.14002a430
or r14d, 1
mov dword [rbp - 0x48], r14d
lea r9, [0x1400222a0]
mov edx, 0x28
mov r8d, 1
lea rcx, [rsp + 0x50]
call fcn.14002c2d8
lea rdx, [rbp - 0x10]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140029b30
mov rcx, rax
lea rdx, [0x140024540]
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]
and r14d, 0xfffffffe
mov dword [rbp - 0x48], r14d
lea rcx, [rbp - 0x10]
call fcn.140029160
mov edx, 0x3e8
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
cmp rsi, 0xf
jbe 0x140028e86
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14002906c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029132
mov rcx, rdi
jmp 0x140028e81
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], 9
mov qword [rbp + 8], 0xf
movsd xmm0, qword [str.Valid_Key]
movsd qword [rbp - 0x10], xmm0
movzx eax, byte [0x140038b80]
mov byte [rbp - 8], al
mov byte [rbp - 7], 0
lea rcx, [rbp - 0x10]
call fcn.140027b90
mov edx, 0x64
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140028500
nop
cmp rsi, 0xf
jbe 0x140029103
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400290fb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029132
mov rcx, rdi
call fcn.14002bc60
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14002bc40
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rdi], r12d
mov ecx, r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rdi], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3