Function at 0x1400048c0
Capabilities:
Delete file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x380
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x378], rax
mov rsi, rdx
mov edi, ecx
xor r12d, r12d
lea rcx, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
jne 0x14000493d
lea rdx, str.Could_not_find_the_home_directory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140007940
lea rdx, [0x140007900]
mov rcx, rax
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]
mov eax, 1
jmp 0x140005fa3
lea rax, str.MalwreTest
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xa
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x300]
call fcn.140001910
nop
lea rax, str.Pictures
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 8
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x2a0]
call fcn.140001910
nop
mov qword [rsp + 0x40], rbx
mov r13, 0xffffffffffffffff
mov rax, r13
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400049d0
mov qword [rsp + 0x48], rax
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x2e0]
call fcn.140001910
nop
lea r8, [rsp + 0x2a0]
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x2c0]
call fcn.140001e10
nop
lea r8, [rsp + 0x300]
mov rdx, rax
lea rcx, [rsp + 0x320]
call fcn.140001e10
nop
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 7
jbe 0x140004a8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
movdqa xmm0, xmmword [0x14000ce40]
movdqu xmmword [rsp + 0x2d0], xmm0
mov word [rsp + 0x2c0], r12w
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 7
jbe 0x140004af8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004aeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004aeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
movdqa xmm0, xmmword [0x14000ce40]
movdqu xmmword [rsp + 0x2f0], xmm0
mov word [rsp + 0x2e0], r12w
mov rdx, qword [rsp + 0x2b8]
cmp rdx, 7
jbe 0x140004b5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b50
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
movdqa xmm0, xmmword [0x14000ce40]
movdqu xmmword [rsp + 0x2b0], xmm0
mov word [rsp + 0x2a0], r12w
mov rdx, qword [rsp + 0x318]
cmp rdx, 7
jbe 0x140004bc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004bb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
movdqa xmm0, xmmword [0x14000ce40]
movdqu xmmword [rsp + 0x310], xmm0
mov word [rsp + 0x300], r12w
mov edx, 0x400
lea rcx, [rsp + 0xf0]
call qword [sym.imp.botan_3.dll_public:_void___cdecl_Botan::AutoSeeded_RNG::constructor_unsigned_long_long_unsigned___int64_____ptr64]
nop
mov ecx, 0x10
call fcn.14000a1b0
mov r14, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x90], rax
lea r15, [rax + 0x10]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0xa0], r15
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rsp + 0x98], r15
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xf0]
call fcn.140007b20
nop
lea rcx, [rsp + 0x100]
call fcn.140006cc0
nop
mov r8d, 3
lea rdx, str.data.enc
lea rcx, [rsp + 0x118]
call fcn.1400073d0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x100]
je 0x140004c85
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140004c93
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x100]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
mov byte [rsp + 0x20], al
test al, al
je 0x140004f3e
cmp edi, 2
je 0x140004e72
lea rdx, str.Provide_the_encryption_code_as_the_only_argument.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007940
nop
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x100], rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0xfc], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x198], 0
je 0x140004d63
lea rcx, [rsp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rsp + 0x188]
cmp rax, rcx
jne 0x140004d63
mov r9, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1a0]
mov r8, rdx
lea rcx, [rsp + 0x118]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
cmp byte [rsp + 0x194], 0
je 0x140004d7a
lea rcx, [rsp + 0x118]
call fcn.140007310
lea rcx, [rsp + 0x118]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x120]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140004dd3
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov r8d, 1
call qword [sym.imp.botan_3.dll_void___cdecl_Botan::deallocate_memory_void____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
test r14, r14
je 0x140004e11
mov rdx, qword [rsp + 0xa0]
sub rdx, r14
cmp rdx, 0x1000
jb 0x140004e08
add rdx, 0x27
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x140005f37
mov r14, rcx
mov rcx, r14
call fcn.14000a1f4
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.botan_3.dll_public_virtual:_void___cdecl_Botan::AutoSeeded_RNG::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x338]
cmp rdx, 7
jbe 0x140004e68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005f95
call fcn.14000a1f4
mov eax, 1
jmp 0x140005fa3
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x40], rcx
mov rax, r13
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140004e80
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
mov r8b, 1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.botan_3.dll_class_std::vector_unsigned_char__class_Botan::secure_allocator_unsigned_char_____cdecl_Botan::hex_decode_locked_class_std::basic_string_view_char__struct_std::char_traits_char____bool_]
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140004f14
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140004eef
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov r8d, 1
call qword [sym.imp.botan_3.dll_void___cdecl_Botan::deallocate_memory_void____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov rcx, qword [rsp + 0x2a0]
test rcx, rcx
je 0x140004f39
mov rdx, qword [rsp + 0x2b0]
sub rdx, rcx
mov r8d, 1
call qword [sym.imp.botan_3.dll_void___cdecl_Botan::deallocate_memory_void____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
nop
jmp 0x140004fcf
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2c0], xmm0
mov qword [rsp + 0x2d0], r12
mov rbx, qword [rsp + 0x30]
sub rbx, qword [rsp + 0x28]
je 0x140004fc2
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x140005fd5
mov edx, 1
mov rcx, rbx
call qword [sym.imp.botan_3.dll_void____ptr64___cdecl_Botan::allocate_memory_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov rdi, rax
mov qword [rsp + 0x2c0], rax
mov qword [rsp + 0x2c8], rax
lea rcx, [rax + rbx]
mov qword [rsp + 0x2d0], rcx
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
sub rbx, rdx
mov r8, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x2c8], rax
lea rcx, [rsp + 0x2c0]
call fcn.1400046c0
lea rdx, str.IV:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007940
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140007940
lea rdx, [0x140007900]
mov rcx, rax
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
movdqu xmmword [rsp + 0x2c0], xmm0
mov qword [rsp + 0x2d0], r12
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x60]
call fcn.140007760
test eax, eax
jne 0x140005fdb
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x14000506a
lock inc dword [rbx + 8]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x58], r14
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
test rbx, rbx
je 0x1400050a2
lock inc dword [rbx + 8]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov r14, qword [rsp + 0x90]
mov qword [rsp + 0x58], r14
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x228], xmm1
test rbx, rbx
je 0x140005113
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400050ef
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400050ef
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x1400050f9
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rcx
mov r14, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0x2c8]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x40]
cmp rsi, qword [rsp + 0x228]
je 0x140005cc2
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.140002b70
mov edx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
test edx, edx
je 0x140005165
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140005ff2
cmp eax, 2
jne 0x140005a3a
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x140005184
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x240], rcx
mov qword [rsp + 0x248], rax
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x240]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x2e0]
call fcn.1400097e0
nop
lea rdx, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0xf
cmova rdx, qword [rsp + 0x2e0]
mov r8, qword [rsp + 0x2f0]
mov rcx, rdi
call fcn.140008df0
lea rdx, [0x14000cbf4]
mov rcx, rax
call fcn.140007940
mov rdi, rax
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.140002b70
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
test edx, edx
je 0x140005236
lea r9d, [rcx - 1]
test r9d, 0xfffffff7
jne 0x140006003
cmp ecx, 2
sete dl
mov rcx, rdi
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___bool____ptr64]
lea rdx, [0x140007900]
mov rcx, rax
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
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 0xf
jbe 0x14000529d
inc rdx
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005297
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005297
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
nop
cmp byte [rsp + 0x20], 0
je 0x14000570d
lea rdx, str.already_exists_ig_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007940
lea rdx, [0x140007900]
mov rcx, rax
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 [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2f0], r12
mov qword [rsp + 0x2f8], 0xf
mov byte [rsp + 0x2e0], 0
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x100]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x100]
call fcn.140008fb0
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14000538b
cmp r15, qword [rsp + 0x2d0]
je 0x140005366
lea rdx, [rsp + 0x2e0]
mov rcx, r15
call fcn.140006f90
add r15, 0x20
mov qword [rsp + 0x2c8], r15
jmp 0x1400052f2
lea r8, [rsp + 0x2e0]
mov rdx, r15
lea rcx, [rsp + 0x2c0]
call fcn.140009160
mov r15, qword [rsp + 0x2c8]
jmp 0x1400052f2
mov rbx, qword [rsp + 0x2c0]
cmp rbx, r15
je 0x1400056be
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400053a9
mov rdx, qword [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007940
lea rdx, [0x140007900]
mov rcx, rax
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]
mov rdi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400053d2
mov rdi, qword [rbx]
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x1400053e1
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x250], rcx
mov qword [rsp + 0x258], rax
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x2a0]
call fcn.1400097e0
mov rax, r13
inc rax
cmp byte [rdi + rax], 0
jne 0x140005425
lea rcx, [rsp + 0x2a0]
mov rsi, qword [rsp + 0x2a0]
mov r14, qword [rsp + 0x2b8]
cmp r14, 0xf
cmova rcx, rsi
mov r8, qword [rsp + 0x2b0]
cmp r8, rax
jne 0x14000546c
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000546c
mov dil, 1
jmp 0x14000546f
xor dil, dil
cmp r14, 0xf
jbe 0x1400054a9
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400054a1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400054a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000a1f4
test dil, dil
je 0x1400056ab
lea rdx, str.Starting_decrytion__Top_level
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007940
lea rdx, [0x140007900]
mov rcx, rax
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, [rsp + 0x300]
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], r12
mov rdi, qword [rsp + 0x30]
sub rdi, qword [rsp + 0x28]
je 0x140005569
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140006014
mov edx, 1
mov rcx, rdi
call qword [sym.imp.botan_3.dll_void____ptr64___cdecl_Botan::allocate_memory_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov rsi, rax
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x308], rax
lea rcx, [rax + rdi]
mov qword [rsp + 0x310], rcx
mov rdi, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
sub rdi, rdx
mov r8, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rdi]
mov qword [rsp + 0x308], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x220], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], r12
mov rsi, qword [rsp + 0x70]
mov rdi, rsi
mov r14, qword [rsp + 0x58]
sub rdi, r14
je 0x14000562a
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14000601a
cmp rdi, 0x1000
jb 0x1400055ee
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000601f
call fcn.14000a1b0
mov rcx, rax
test rax, rax
je 0x1400055e7
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400055f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000a1b0
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0x2a8], rax
add rdi, rax
mov qword [rsp + 0x2b0], rdi
mov r8, rsi
sub r8, r14
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x2a8], rdi
mov rsi, qword [rsp + 0x40]
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x14000563e
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x260], rcx
mov qword [rsp + 0x268], rax
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x260]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x280]
call fcn.1400097e0
nop
lea r9, [rsp + 0x300]
lea r8, [rsp + 0x2a0]
mov edx, 1
lea rcx, [rsp + 0x280]
call fcn.140003670
add rbx, 0x20
jmp 0x140005393
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
add rbx, 0x20
jmp 0x140005393
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 0xf
jbe 0x140005a3a
inc rdx
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005703
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005703
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
jmp 0x140005a3a
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x100]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x14000577f
mov r8d, 0xb
lea rdx, str.data.enc
lea rcx, [rsp + 0x118]
call fcn.1400073d0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x100]
je 0x140005771
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x14000577f
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, str.test______
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007940
lea rdx, [0x140007900]
mov rcx, rax
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 rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x1400057b1
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x270], rcx
mov qword [rsp + 0x278], rax
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x270]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x2e0]
call fcn.1400097e0
nop
lea rdx, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0xf
cmova rdx, qword [rsp + 0x2e0]
mov r8, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x110]
call fcn.140008df0
lea rdx, [0x140007900]
mov rcx, rax
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
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 0xf
jbe 0x140005879
inc rdx
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005874
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005874
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], r12
mov rbx, qword [rsp + 0x30]
sub rbx, qword [rsp + 0x28]
je 0x14000590d
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x140006025
mov edx, 1
mov rcx, rbx
call qword [sym.imp.botan_3.dll_void____ptr64___cdecl_Botan::allocate_memory_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov rdi, rax
mov qword [rsp + 0x2a0], rax
mov qword [rsp + 0x2a8], rax
lea rcx, [rax + rbx]
mov qword [rsp + 0x2b0], rcx
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
sub rbx, rdx
mov r8, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x2a8], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x220], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], r12
mov rdi, qword [rsp + 0x70]
mov rbx, rdi
sub rbx, r14
je 0x1400059c9
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14000602b
cmp rbx, 0x1000
jb 0x14000598d
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140006030
call fcn.14000a1b0
mov rcx, rax
test rax, rax
je 0x140005986
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140005995
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000a1b0
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x308], rax
add rbx, rax
mov qword [rsp + 0x310], rbx
mov r8, rdi
sub r8, r14
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x308], rbx
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x1400059d8
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
call fcn.1400099ec
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xe0], xmm0
lea r8, [rsp + 0xe0]
mov edx, eax
lea rcx, [rsp + 0x280]
call fcn.1400097e0
nop
lea r9, [rsp + 0x2a0]
lea r8, [rsp + 0x300]
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.140003670
nop
lea rcx, [rsp + 0x40]
call fcn.140003160
test eax, eax
jne 0x140006036
jmp 0x140005120
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005d15
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140005cfe
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140005cfe
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x68]
jmp 0x140005d1f
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140005d65
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140005d55
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x140005d55
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov r15, qword [rsp + 0x2c8]
mov rdi, qword [rsp + 0x90]
lea rcx, [rsp + 0x118]
call fcn.140007310
test rax, rax
jne 0x140005d9c
mov rax, qword [rsp + 0x100]
movsxd r8, dword [rax + 4]
lea rcx, [rsp + 0x100]
add rcx, r8
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp byte [rsp + 0x20], 0
je 0x140005db1
lea rcx, str.data.enc
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rbx, qword [rsp + 0x2c0]
test rbx, rbx
je 0x140005e09
mov rdx, r15
mov rcx, rbx
call fcn.1400083b0
mov rdx, qword [rsp + 0x2d0]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140005e00
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000a1f4
nop
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x100], rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rsp + rcx + 0xfc], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x198], 0
je 0x140005e96
lea rcx, [rsp + 0x188]
mov rax, qword [rsp + 0x130]
cmp qword [rax], rcx
jne 0x140005e96
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x150]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x168]
mov dword [rax], edx
cmp byte [rsp + 0x194], 0
je 0x140005ead
lea rcx, [rsp + 0x118]
call fcn.140007310
lea rcx, [rsp + 0x118]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x120]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1b8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140005f06
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov r8d, 1
call qword [sym.imp.botan_3.dll_void___cdecl_Botan::deallocate_memory_void____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
test rdi, rdi
je 0x140005f47
mov rdx, qword [rsp + 0xa0]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140005f3e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000a1f4
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.botan_3.dll_public_virtual:_void___cdecl_Botan::AutoSeeded_RNG::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x338]
cmp rdx, 7
jbe 0x140005fa1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1f4
xor eax, eax
mov rcx, qword [rsp + 0x378]
xor rcx, rsp
call fcn.14000a190
lea r11, [rsp + 0x380]
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 r13
ret
call fcn.140008b20
nop
lea r8, [rsp + 0x320]
mov edx, eax
lea rcx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.140002b00
nop
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140002b00
nop
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140002b00
nop
call fcn.140008b20
nop
call fcn.140008b20
call fcn.1400011a0
nop
call fcn.140008b20
nop
call fcn.140008b20
call fcn.1400011a0
nop
mov edx, eax
call fcn.140002a10
int3