Function at 0x140071440
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 - 0x1f8]
sub rsp, 0x2e0
movaps xmmword [rax - 0x28], xmm6
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x40], 0x69735c1b
mov dword [rsp + 0x44], 0x636e656c
mov word [rsp + 0x48], 0x65
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x1400714c0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140063b50
nop
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 7
jbe 0x1400714f6
mov rdx, qword [rsp + 0x58]
lea r8, [rdx + rax*2]
jmp 0x1400714ff
lea r8, [rcx + rax*2]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.140062d70
mov dword [rsp + 0x50], 2
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140071556
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071551
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140071551
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e246c
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
lea rax, [rsp + 0x41]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140071571
lea rdx, [rsp + 0x41]
lea rcx, [rsp + 0x78]
call fcn.140011270
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm6
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x50], 6
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400715ef
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400715ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400715ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e246c
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x40], 0x6f635c32
mov dword [rsp + 0x44], 0x6769666e
mov word [rsp + 0x48], 0x73
lea rax, [rsp + 0x41]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140071620
movabs rax, 0x7fffffffffffffff
movq rcx, xmm6
sub rax, rcx
cmp rax, rbx
jb 0x140071830
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova r9, qword [rbp - 0x68]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.140012730
mov dword [rsp + 0x50], 0xf
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140071687
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
call fcn.1400e3348
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140058c20
mov dword [rsp + 0x50], 0x3f
lea rcx, [rsp + 0x58]
call fcn.1400679f0
movzx ebx, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14007170c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071707
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140071707
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e246c
test bl, bl
jne 0x1400717c0
mov rcx, qword [rdi + 0x10]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140071725
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
call fcn.1400e3348
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140058c20
mov dword [rsp + 0x50], 0xff
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
call fcn.1400e35a8
shr rax, 0x20
test eax, eax
jne 0x14007181c
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400717c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400717ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400717ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e246c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400717fe
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400717f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400717f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e246c
mov rax, rdi
mov rbx, qword [rsp + 0x310]
movaps xmm6, xmmword [rsp + 0x2d0]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret
lea r8, [rsp + 0x58]
mov edx, eax
lea rcx, str.create_directory
call fcn.140059dd0
nop
call fcn.140002040
int3