Function at 0x14001a460
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 - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor ebx, ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x14001a56c
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x14001a4e0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140011d50
nop
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x70]
cmova rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14001af10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14001a58c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a565
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
jmp 0x14001a58c
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
xor r8d, r8d
lea rdx, [0x140122615]
lea rcx, [rbp - 0x70]
call fcn.140004800
nop
movabs rcx, 0x7fffffffffffffff
mov r12, rcx
mov rax, qword [rbp - 0x60]
sub r12, rax
cmp r12, 5
jb 0x14001aecd
lea r13, [rbp - 0x70]
mov r14, qword [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r15, [rax + 5]
mov edi, 0xf
mov ebx, edi
lea rsi, [rsp + 0x70]
movabs rdx, 0x8000000000000000
mov r8d, 0x16
cmp r15, rbx
jbe 0x14001a65f
mov rbx, r15
or rbx, rdi
cmp rbx, rcx
jbe 0x14001a621
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.1400f3f90
test rax, rax
je 0x14001a7b2
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001a656
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14001a636
mov rsi, rcx
jmp 0x14001a65a
cmp rcx, 0x1000
jb 0x14001a64e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001ae87
jmp 0x14001a602
call fcn.1400f3f90
mov rsi, rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rbx
mov r8, rax
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.hook]
mov r8, qword [rbp - 0x60]
mov dword [rsi + r8], eax
movzx eax, byte [0x140122670]
mov byte [rsi + r8 + 4], al
mov byte [rsi + r15], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400f33fc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140009ed0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14001a380
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1401ff298]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14001a759
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001a76a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a765
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a765
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x14001ae8d
jmp 0x14001a719
call fcn.1400f3fd4
movdqa xmm0, xmmword [0x140126c20]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001a7c0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a7b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a7b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
xor eax, eax
test bl, bl
je 0x14001a9aa
lea r13, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov rbx, rdi
lea rsi, [rsp + 0x70]
cmp r15, rbx
jbe 0x14001a877
mov rbx, r15
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x14001a83c
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400f3f90
test rax, rax
je 0x14001a99c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001a872
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x14001a86f
cmp rcx, 0x1000
jb 0x14001a86a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001aea4
jmp 0x14001a81d
call fcn.1400f3f90
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rbx
mov rbx, qword [rbp - 0x60]
mov r8, rbx
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str.hook]
mov dword [rsi + rbx], eax
movzx eax, byte [0x140122670]
mov byte [rsi + rbx + 4], al
mov byte [rsi + r15], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400f33fc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140009ed0
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.1400f365c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14001aed3
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001a954
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a94f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a94f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
movdqa xmm0, xmmword [0x140126c20]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001a9b0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a9a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a9a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
jmp 0x14001a9ae
mov rbx, qword [rbp - 0x60]
xor eax, eax
cmp r12, 0xd
jb 0x14001aee9
lea r12, [rbp - 0x70]
mov r13, qword [rbp - 0x58]
cmp r13, 0xf
cmova r12, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r15, [rbx + 0xd]
mov rbx, rdi
lea rsi, [rsp + 0x70]
cmp r15, rbx
jbe 0x14001aa70
mov rbx, r15
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x14001aa35
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400f3f90
test rax, rax
je 0x14001abd3
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14001aa6b
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x14001aa68
cmp rcx, 0x1000
jb 0x14001aa63
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001aeaa
jmp 0x14001aa16
call fcn.1400f3f90
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rbx
mov r8, qword [rbp - 0x60]
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.hookconfigs]
mov r12, qword [rbp - 0x60]
movsd qword [rsi + r12], xmm0
mov eax, dword [0x140122680]
mov dword [rsi + r12 + 8], eax
movzx eax, byte [0x140122684]
mov byte [rsi + r12 + 0xc], al
mov byte [rsi + r15], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400f33fc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140009ed0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14001a380
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1401ff298]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14001ab7a
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001ab8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ab86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ab86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x14001aeb0
jmp 0x14001ab3a
call fcn.1400f3fd4
movdqa xmm0, xmmword [0x140126c20]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001abe1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001abda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001abda
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
xor eax, eax
test bl, bl
je 0x14001add3
lea rsi, [rbp - 0x70]
cmp r13, 0xf
cmova rsi, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rbx, [rsp + 0x70]
cmp r15, 0xf
jbe 0x14001ac95
mov rdi, r15
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x14001ac5a
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400f3f90
test rax, rax
je 0x14001adc7
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14001ac90
cmp rdi, 0x16
mov ecx, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
je 0x14001ac8d
cmp rcx, 0x1000
jb 0x14001ac88
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14001aec7
jmp 0x14001ac3b
call fcn.1400f3f90
mov rbx, rax
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rdi
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.hookconfigs]
movsd qword [r12 + rbx], xmm0
mov eax, dword [0x140122680]
mov dword [r12 + rbx + 8], eax
movzx eax, byte [0x140122684]
mov byte [r12 + rbx + 0xc], al
mov byte [rbx + r15], 0
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x68], rax
call fcn.1400f33fc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140009ed0
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.1400f365c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14001ae71
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001ad7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ad7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ad7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
movdqa xmm0, xmmword [0x140126c20]
movdqu xmmword [rsp + 0x40], xmm0
xor ecx, ecx
mov word [rsp + 0x30], cx
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14001add3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001adce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001adce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3fd4
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140122178]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.14000c9d0
nop
cmp r13, 0xf
jbe 0x14001ae3f
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001ae37
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ae37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400f3fd4
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400f3f70
lea r11, [rsp + 0x2d0]
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
shr rdx, 0x20
lea r8, [rsp + 0x30]
lea rcx, str.create_directory
call fcn.14000a910
nop
call fcn.140001fb0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.14000a980
nop
call fcn.140001fb0
int3
call fcn.140001fb0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.14000a980
nop
call fcn.140001fb0
int3
call fcn.140002050
nop
shr rdx, 0x20
lea r8, [rsp + 0x30]
lea rcx, str.create_directory
call fcn.14000a910
nop
call fcn.140002050
int3