Function at 0x14006c390
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
vmovaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400c0040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r15, rcx
mov qword [rbp - 0x60], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [r15], xmm0
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov qword [r15 + 0x10], rsi
mov ebx, 1
mov dword [rsp + 0x30], ebx
test eax, eax
jne 0x14006cab3
lea rax, str.ezglobal_beta
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0xd
call fcn.14007c1e8
vmovups xmm0, xmmword [rbp - 0x50]
vmovdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.1400188f0
mov dword [rsp + 0x30], 0x19
lea rax, [rbp + 0x30]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x30]
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14006c470
mov qword [rbp - 0x48], rax
call fcn.14007c1e8
vmovups xmm0, xmmword [rbp - 0x50]
vmovdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400188f0
mov r13d, 0x79
mov dword [rsp + 0x30], r13d
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140068b90
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14006c501
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c4fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c4fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007cdac
vmovdqu xmm0, xmmword [0x1400b0d70]
vmovdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x14006c55f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007cdac
vmovdqu xmm0, xmmword [0x1400b0d70]
vmovdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
mov qword [rbp - 0x50], rsi
lea rax, [0x1400c00e8]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.1400192b0
cmp dword [rbp - 0x50], 0
jne 0x14006caff
test al, al
je 0x14006ca4e
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x30]
call fcn.14007c574
mov edx, eax
test eax, eax
jne 0x14006c5f5
mov ebx, dword [rbp - 0x20]
mov eax, ebx
shr eax, 0xa
test al, 1
je 0x14006c5ea
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x14006c5dc
mov ebx, 4
jmp 0x14006c60b
cmp eax, 0xa0000003
jne 0x14006c5ea
mov ebx, 0xa
jmp 0x14006c60b
shr ebx, 4
and ebx, 1
add ebx, 2
jmp 0x14006c60b
sub eax, 2
je 0x14006c60b
sub eax, 1
je 0x14006c60b
sub eax, 0x32
je 0x14006c60b
cmp eax, 0x46
je 0x14006c60b
mov ebx, esi
test edx, edx
je 0x14006c61d
lea eax, [rbx - 1]
test eax, 0xfffffff7
jne 0x14006cb0d
cmp ebx, 3
jne 0x14006ca4e
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x40]
call fcn.1400666e0
test eax, eax
jne 0x14006caec
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x14006c65b
lock inc dword [r14 + 8]
mov r14, qword [rbp - 0x38]
mov r13d, dword [rsp + 0x30]
vmovups xmm0, xmmword [rbp - 0x40]
vmovdqu xmmword [rsp + 0x70], xmm0
vmovdqu xmmword [rbp - 0x50], xmm0
test r14, r14
je 0x14006c67e
lock inc dword [r14 + 8]
mov r14, qword [rbp - 0x38]
mov r13d, dword [rsp + 0x30]
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x10], xmm1
test r14, r14
je 0x14006c6c9
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14006c6c0
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006c6c0
mov r14, qword [rbp - 0x38]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
jmp 0x14006c6c4
mov r14, qword [rbp - 0x38]
mov r13d, dword [rsp + 0x30]
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x14006c9e0
lea rax, [0x1400aef20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 3
vmovups xmm6, xmmword [rsp + 0x40]
call fcn.14007c1e8
vmovdqa xmmword [rsp + 0x40], xmm6
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400188f0
or r13d, 6
mov dword [rsp + 0x30], r13d
lea rdi, [rbx + 0x20]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140065de0
mov rcx, rax
lea rax, [rsp + 0x50]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
cmp rsi, 7
cmova rax, rbx
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
vmovups xmm0, xmmword [rbp - 0x80]
vmovdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
call fcn.140065be0
mov r12d, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14006c7af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c7a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ca8c
call fcn.14007cdac
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], ax
cmp rsi, 7
jbe 0x14006c7fc
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006c7f4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ca93
mov rcx, rbx
call fcn.14007cdac
test r12d, r12d
jne 0x14006c9c0
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14006c812
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.1400658a0
cmp rax, rdi
je 0x14006c86b
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14006c83f
cmp cx, 0x2f
jne 0x14006c848
add rax, 2
cmp rax, rdi
jne 0x14006c830
cmp rax, rdi
je 0x14006c86b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14006c86b
cmp cx, 0x2f
je 0x14006c86b
mov rbx, rdx
cmp rax, rdx
jne 0x14006c850
mov qword [rbp - 0x70], rbx
sub rdi, rbx
sar rdi, 1
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140066a50
bts r13d, 7
mov dword [rsp + 0x30], r13d
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x78], rax
call fcn.14007c1e8
vmovups xmm0, xmmword [rsp + 0x70]
vmovdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140066ef0
or r13d, 0x700
mov dword [rsp + 0x30], r13d
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14006c91a
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rdx], xmm0
xor ebx, ebx
mov qword [rdx + 0x10], rbx
mov qword [rdx + 0x18], rbx
vmovups ymm0, ymmword [rsp + 0x50]
vmovups ymmword [rdx], ymm0
mov qword [rsp + 0x60], rbx
mov eax, 0xf
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x50], bl
add qword [r15 + 8], 0x20
jmp 0x14006c92e
lea r8, [rsp + 0x50]
mov rcx, r15
call fcn.140066ba0
mov rax, qword [rsp + 0x68]
xor ebx, ebx
cmp rax, 0xf
jbe 0x14006c96a
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ca9a
vzeroupper
call fcn.14007cdac
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14006c9c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c9b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006caa4
vzeroupper
call fcn.14007cdac
lea rcx, [rbp - 0x50]
vzeroupper
call fcn.140066590
mov rbx, qword [rbp - 0x50]
test rbx, rbx
jne 0x14006c6f1
mov rdi, 0xffffffffffffffff
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14006ca1b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006ca17
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006ca17
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x14006ca4e
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14006ca4e
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006ca4e
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14006cab3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006caae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006caae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
vzeroupper
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14007cdac
mov rax, r15
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14007c920
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
vmovaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.1400191e0
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x50]
call fcn.140019250
int3
lea r8, [rbp - 0x10]
lea rcx, str.status
call fcn.1400191e0
int3