Function at 0x140001c24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], r15
lea r8d, [r15 + 0x12]
lea rdx, str.Protected_file.exe
lea rcx, [rbp - 0x18]
call fcn.140005614
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rbx, qword [rbp - 0x18]
lea rax, [0x1400078a8]
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea edi, [r15 + 1]
mov dword [rsp + 0x50], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], r14
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x50], rax
mov byte [rbp + 0xcc], r15b
mov byte [rbp + 0xc1], r15b
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xd0], r15
mov rax, qword [0x14000b990]
mov qword [rbp + 0xc4], rax
mov qword [rbp + 0xb8], r15
lea edx, [rdi + 0x20]
lea r8d, [r15 + 0x40]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
test rax, rax
jne 0x140001d7b
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
add rcx, rax
xor r8d, r8d
lea edx, [rdi + 1]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x140001ded
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.140004f78
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.140005508
mov rbx, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x140001dbb
mov qword [rbp + 0xb8], r15
jmp 0x140001dcd
mov qword [rbp + 0xb8], rbx
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140001ded
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140001ded
mov rax, qword [rax]
mov edx, edi
call qword [rax]
nop
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x40], r14
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
cmp qword [rbp + 0xd0], r15
jne 0x140001e9f
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x40], r14
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.140004b2c
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov r8, qword [rbp]
cmp r8, 0x10
jb 0x140001e98
inc r8
mov rcx, qword [rbp - 0x18]
mov rdx, rcx
mov ebx, 0x1000
cmp r8, rbx
jb 0x140001e90
add r8, 0x27
mov rcx, qword [rcx - 8]
sub rdx, rcx
add rdx, 0xfffffffffffffff8
cmp rdx, 0x1f
ja 0x1400024b7
mov rdx, r8
call fcn.140005bd0
mov eax, edi
jmp 0x1400024c3
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
lea rbx, [rcx - 1]
add rbx, rax
js 0x140001f85
mov qword [rsp + 0x60], rbx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm0
unpckhpd xmm1, xmm1
movsd qword [rsp + 0x40], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet_____ptr64]
mov r8, rdi
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
cmp byte [rbp + 0x190], 0x5d
je 0x140001f25
sub rbx, rdi
jns 0x140001ed2
test rbx, rbx
js 0x140001f7d
mov qword [rsp + 0x30], rbx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm0
unpckhpd xmm1, xmm1
movsd qword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet_____ptr64]
mov r8, rdi
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
cmp byte [rbp + 0x190], 0x5b
je 0x140001f7d
sub rbx, rdi
jns 0x140001f2a
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r15
mov r13d, 0xf
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x58], r15b
dec rax
add rax, rcx
jmp 0x140002011
lea rax, [rbx + 1]
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm0
unpckhpd xmm1, xmm1
movsd qword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet_____ptr64]
mov r8, rdi
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov dl, byte [rbp + 0x190]
cmp dl, 0x5d
je 0x140002016
lea rcx, [rbp - 0x58]
call fcn.1400050e0
mov rax, qword [rbp + 0x28]
dec rax
add rax, qword [rbp + 0x30]
cmp rbx, rax
jl 0x140001fa6
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005370
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
mov rcx, rax
call fcn.1400059c8
mov rcx, rax
lea rdx, [0x1400054d0]
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]
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
setae r9b
mov rcx, qword [rbp - 0x58]
cmovae rax, rcx
cmp byte [rax + 1], r15b
setne byte [0x14000b069]
lea rax, [rbp - 0x58]
test r9b, r9b
cmovne rax, rcx
cmp byte [rax + 2], r15b
setne byte [0x14000b06a]
lea rax, [rbp - 0x58]
test r9b, r9b
cmovne rax, rcx
cmp byte [rax + 3], r15b
setne byte [0x14000b068]
lea rax, [rbp - 0x58]
test r9b, r9b
cmovne rax, rcx
cmp byte [rax + 4], r15b
setne byte [0x14000b06b]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8, qword [rbp - 0x48]
cmp r8, 4
jb 0x1400024ee
lea rax, [r8 - 4]
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x58]
test r9b, r9b
cmovne rdx, rcx
add rdx, 4
lea rcx, [rsp + 0x30]
call fcn.140005614
mov ebx, 0x1000
mov rdx, qword [0x14000b088]
cmp rdx, 0x10
jb 0x140002134
mov rcx, qword [0x14000b070]
inc rdx
cmp rdx, rbx
jb 0x14000212f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400023e1
mov rcx, r8
call fcn.140005bd0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [0x14000b070], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [0x14000b080], xmm1
mov dword [rsp + 0x20], 0x34656744
mov dword [rsp + 0x24], 0x2a424868
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], r13
mov eax, 9
mov qword [rbp - 0x28], rax
movsd xmm0, qword [rsp + 0x20]
movsd qword [rbp - 0x38], xmm0
mov word [rbp - 0x30], CreateDecompressor
mov dword [rsp + 0x20], 0x2b433837
mov dword [rsp + 0x24], 0x652d4e69
mov byte [rsp + 0x28], 0x4f
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x18], rax
movsd xmm0, qword [rsp + 0x20]
movsd qword [rbp + 8], xmm0
mov word [rbp + 0x10], 0x4f
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.140004bf4
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140004cd8
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.140001350
nop
mov rcx, qword [rbp - 0x48]
call fcn.140005e64
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rsi + r8], r15b
jne 0x140002202
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140005614
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x150]
call fcn.140001508
nop
cmp qword [rax + 0x18], 0x10
jb 0x14000223a
mov rax, qword [rax]
lea rsi, [0x14000b070]
mov rcx, rsi
cmp qword [0x14000b088], 0x10
cmovae rcx, qword [0x14000b070]
mov r8, qword [rbp - 0x48]
add r8, 0xfffffffffffffffc
mov rdx, rax
call fcn.140001648
mov r14, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400022a3
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rbx
jb 0x14000229e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000229e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x60], r15b
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400022ee
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, rbx
jb 0x1400022e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd0
inc rdi
cmp byte [r14 + rdi], r15b
jne 0x1400022ee
mov rax, qword [0x14000b088]
cmp rdi, rax
ja 0x14000232a
cmp rax, 0x10
cmovae rsi, qword [0x14000b070]
mov qword [0x14000b080], rdi
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], r15b
jmp 0x140002338
mov r9, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140005704
mov rcx, r14
call fcn.140005bd0
lea rcx, [rbp + 0x50]
call fcn.140005030
test rax, rax
jne 0x14000236b
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x40]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp + 0x150]
call fcn.140001b80
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400023b3
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, rbx
jb 0x1400023ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400023ed
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x1400023e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r13
mov byte [rbp - 0x38], r15b
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140002433
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14000242e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000242e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd0
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r13
mov byte [rbp - 0x58], r15b
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x40], rax
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov rax, rcx
mov dword [rbp + rcx + 0x3c], edx
lea rcx, [rbp + 0x50]
call fcn.140004b2c
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400024c3
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, rbx
jb 0x1400024be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bd0
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140005bb0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140005260
nop
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
lea rbx, [rcx + 0xb0]
movsxd rdx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rdx + rbx - 0xb0], rax
mov rax, qword [rcx]
lea rcx, [rbx - 0xa0]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xb0]
mov dword [rdx + rbx - 0xb4], r8d
call fcn.140004b2c
lea rcx, [rbx - 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]