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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x420
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1409c3db8]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
movdqa xmm6, xmmword [0x14012b760]
movdqu xmmword [rbp + 0xd8], xmm6
mov word [rbp + 0xc8], r12w
lea rdx, [rbp + 0xf0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [r12 - 1]
lea r14, [0x1409c3d28]
test eax, eax
je 0x14005e580
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea rax, [rbp + 0xf0]
mov rbx, rdx
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14005e422
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14005ea42
mov qword [rsp + 0x50], 7
cmp rbx, 8
jae 0x14005e472
mov qword [rsp + 0x48], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x38], r12w
jmp 0x14005e4c7
mov rax, rbx
or rax, 7
cmp rax, rsi
ja 0x14005e48d
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x38]
call fcn.140008760
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0xf0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r12w
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140061750
mov rdx, rax
mov rcx, r14
call fcn.14005e0c0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14005e521
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e51c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdc90
movdqa xmm0, xmmword [0x140139cf0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14005e579
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e574
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e574
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdc90
mov rdx, 0xffffffffffffffff
mov rsi, qword [0x1409c3d38]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rsi
cmp rax, 0x10
jb 0x14005ea48
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r14, qword [0x1409c3d28]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], r12
lea r15, [rsi + 0x10]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp + 0x88]
lea eax, [rbx + 7]
cmp r15, rbx
jbe 0x14005e652
mov rbx, r15
or rbx, 0xf
cmp rbx, r13
jbe 0x14005e5f2
mov rbx, r13
jmp 0x14005e5f9
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x14005e639
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005ea4e
mov rcx, rax
call fcn.1400be34c
test rax, rax
je 0x14005e996
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14005e64b
test rcx, rcx
je 0x14005e648
call fcn.1400be34c
mov rdi, rax
jmp 0x14005e64b
mov rdi, r12
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], rbx
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.applecleaner.exe]
movups xmmword [rdi + rsi], xmm0
mov byte [rdi + r15], 0
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rdx, qword [rbp + 0x88]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14005cfb0
nop
mov r8d, 0x395810
lea rdx, [0x14031ea60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140006930
lea rcx, [rbp - 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 + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov r15, qword [rbp + 0x98]
mov rax, r13
sub rax, r15
cmp rax, 0xa
jb 0x14005ea54
lea r14, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae r14, qword [rbp + 0x88]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rsi, [r15 + 0xa]
mov edi, reloc.WS2_32.dll_ntohs
lea rbx, [rsp + 0x38]
cmp rsi, rdi
jbe 0x14005e7d9
mov rdi, rsi
or rdi, 0xf
cmp rdi, r13
jbe 0x14005e76e
mov rdi, r13
jmp 0x14005e77b
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14005e7c2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005ea3c
mov rcx, rax
call fcn.1400be34c
test rax, rax
je 0x14005e8da
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14005e7d4
test rcx, rcx
je 0x14005e7d1
call fcn.1400be34c
mov rbx, rax
jmp 0x14005e7d4
mov rbx, r12
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
movsd xmm0, qword [str.start_____]
movsd qword [rbx], xmm0
movzx eax, word [0x14012b260]
mov word [rbx + 8], ax
lea rcx, [rbx + 0xa]
mov r8, r15
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14005e848
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], Ordinal_35
lea rax, [rsp + 0x38]
jmp 0x14005e86d
mov qword [rsp + 0x20], 1
lea r9, [0x14012b250]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.14005c7b0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14005e8e6
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e8e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e8e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdc90
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rcx, qword [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x14005e947
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e942
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdc90
movdqa xmm0, xmmword [0x140139cf0]
movdqu xmmword [rbp + 0xb8], xmm0
mov byte [rbp + 0xa8], 0
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x14005e9a2
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e99d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e99d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdc90
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x88], 0
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 8
jb 0x14005ea07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ea02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ea02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdc90
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400be120
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400015d0
nop
call fcn.140001670
int3
call fcn.140001670
int3
call fcn.1400015d0
nop
call fcn.140001670
int3