Function at 0x140003000
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 [0x1400a4040]
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 0x14000310c
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 0x140003080
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400054f0
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.1400051d0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000312c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003105
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003105
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f764
jmp 0x14000312c
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
xor r8d, r8d
lea rdx, [0x140084da8]
lea rcx, [rbp - 0x70]
call fcn.1400058e0
nop
movabs rcx, 0x7fffffffffffffff
mov r14, rcx
mov rax, qword [rbp - 0x60]
sub r14, rax
cmp r14, 8
jb 0x140003a09
lea r13, [rbp - 0x70]
mov r15, qword [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r12, [rax + 8]
mov edi, 0xf
mov ebx, edi
lea rsi, [rsp + 0x70]
movabs rdx, 0x8000000000000000
mov r8d, 0x16
cmp r12, rbx
jbe 0x1400031fe
mov rbx, r12
or rbx, rdi
cmp rbx, rcx
jbe 0x1400031c1
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.14007f720
test rax, rax
je 0x140003349
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400031f5
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400031d5
xor esi, esi
jmp 0x1400031f9
cmp rcx, 0x1000
jb 0x1400031ed
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400039c3
jmp 0x1400031a2
call fcn.14007f720
mov rsi, rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rbx
mov r8, rax
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x616973656e6d415c
mov r13, qword [rbp - 0x60]
mov qword [rsi + r13], rax
mov byte [rsi + r12], 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.14007eb98
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002420
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140002e20
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1400a40c8]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400032f0
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140003301
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032fc
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 0x1400039c9
jmp 0x1400032b0
call fcn.14007f764
movdqa xmm0, xmmword [0x1400942f0]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003357
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003350
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003350
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f764
xor eax, eax
test bl, bl
je 0x14000353a
lea r13, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r13, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov rbx, rdi
lea rsi, [rsp + 0x70]
cmp r12, rbx
jbe 0x14000340e
mov rbx, r12
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x1400033d3
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14007f720
test rax, rax
je 0x14000352e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003409
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x140003406
cmp rcx, 0x1000
jb 0x140003401
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400039e0
jmp 0x1400033b4
call fcn.14007f720
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rbx
mov r8, qword [rbp - 0x60]
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp - 0x60]
movabs rax, 0x616973656e6d415c
mov qword [rsi + r13], rax
mov byte [rsi + r12], 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.14007eb98
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002420
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.14007edf8
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140003a0f
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400034e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f764
movdqa xmm0, xmmword [0x1400942f0]
movdqu xmmword [rsp + 0x40], xmm0
xor eax, eax
mov word [rsp + 0x30], ax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000353c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003535
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f764
xor eax, eax
cmp r14, 0x10
jb 0x140003a25
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r12, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r14, [r13 + 0x10]
mov rbx, rdi
lea rsi, [rsp + 0x70]
cmp r14, rbx
jbe 0x1400035f9
mov rbx, r14
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x1400035be
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14007f720
test rax, rax
je 0x140003740
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400035f4
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
je 0x1400035f1
cmp rcx, 0x1000
jb 0x1400035ec
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400039e6
jmp 0x14000359f
call fcn.14007f720
mov rsi, rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
mov r8, r13
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.AmnesiaConfigs]
movups xmmword [rsi + r13], xmm0
mov byte [rsi + r14], 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.14007eb98
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002420
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140002e20
movsd xmm0, qword [rax]
movsd qword [rsp + 0x50], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1400a40c8]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400036e5
cmp eax, 1
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400036f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036f1
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 0x1400039ec
jmp 0x1400036a5
call fcn.14007f764
movdqa xmm0, xmmword [0x1400942f0]
movdqu xmmword [rsp + 0x40], xmm0
xor r12d, r12d
mov word [rsp + 0x30], r12w
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000374c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003747
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003747
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f764
test bl, bl
je 0x14000392a
lea rsi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rsi, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rbx, [rsp + 0x70]
cmp r14, 0xf
jbe 0x140003806
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x1400037c6
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14007f720
test rax, rax
je 0x14000391e
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140003801
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400037e1
mov rbx, r12
jmp 0x140003801
cmp rcx, 0x1000
jb 0x1400037f9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003a03
jmp 0x1400037a7
call fcn.14007f720
mov rbx, rax
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rdi
mov r8, r13
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.AmnesiaConfigs]
movups xmmword [rbx + r13], xmm0
mov byte [rbx + r14], 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.14007eb98
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002420
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call fcn.14007edf8
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400039ad
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400038d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f764
movdqa xmm0, xmmword [0x1400942f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000392a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003925
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003925
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f764
call fcn.14000d880
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, qword [rbp - 0x58]
cmp rax, 0xf
jbe 0x14000397b
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140003973
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003973
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14007f764
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14007f700
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.140002d50
nop
call fcn.140001a50
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.140002dc0
nop
call fcn.140001a50
int3
call fcn.140001a50
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.140002dc0
nop
call fcn.140001a50
int3
call fcn.140001af0
nop
shr rdx, 0x20
lea r8, [rsp + 0x30]
lea rcx, str.create_directory
call fcn.140002d50
nop
call fcn.140001af0
int3