Function at 0x14006e610
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x218]
sub rsp, 0x300
movaps xmmword [rax - 0x28], xmm6
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov dword [rbp + 0x228], 0x65735c6f
mov dword [rbp + 0x22c], 0x78656e
lea rax, [rbp - 0x20]
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
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], si
jne 0x14006e690
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.14000f260
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x60]
cmova rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000e960
mov dword [rsp + 0x40], 2
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14006e725
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e71f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e71f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d795c
nop
lea rax, [rbp + 0x229]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14006e730
lea rdx, [rbp + 0x229]
lea rcx, [rbp - 0x60]
call fcn.14000dca0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm6
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x40], 6
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14006e7ae
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e7a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e7a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d795c
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov dword [rsp + 0x48], 0x6f635c2e
mov dword [rsp + 0x4c], 0x6769666e
mov word [rsp + 0x50], 0x73
lea rax, [rsp + 0x49]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14006e7e0
movabs rax, 0x7fffffffffffffff
movq rcx, xmm6
sub rax, rcx
cmp rax, rbx
jb 0x14006ea3f
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.140065fe0
mov dword [rsp + 0x40], 0xf
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14006e847
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
call fcn.1400d88a4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.14005cab0
mov dword [rsp + 0x40], 0x3f
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14005e460
movsd xmm0, qword [rax]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x14011a3c0]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14006e8fb
cmp eax, 1
sete bl
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14006e90c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e907
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e907
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 0x14006ea29
jmp 0x14006e8bd
call fcn.1400d795c
test bl, bl
je 0x14006e9ba
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14006e925
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
call fcn.1400d88a4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.14005cab0
mov dword [rsp + 0x40], 0xff
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call fcn.1400d8b04
shr rax, 0x20
test eax, eax
jne 0x14006ea16
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14006e9ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e9b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e9b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d795c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14006e9f8
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e9f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006e9f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d795c
mov rax, rdi
mov rbx, qword [rsp + 0x330]
movaps xmm6, xmmword [rsp + 0x2f0]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, str.create_directory
call fcn.14005dbd0
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, str.exists
call fcn.14005dc40
nop
call fcn.140001e20
int3