Function at 0x14006c320
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 0x14006ca43
lea rax, str.ezglobal_beta
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 0xd
call fcn.14007c178
vmovups xmm0, xmmword [rbp - 0x50]
vmovdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.1400188c0
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 0x14006c400
mov qword [rbp - 0x48], rax
call fcn.14007c178
vmovups xmm0, xmmword [rbp - 0x50]
vmovdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400188c0
mov r13d, 0x79
mov dword [rsp + 0x30], r13d
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140068b20
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14006c491
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c48c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c48c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007cd3c
vmovdqu xmm0, xmmword [0x1400b0d70]
vmovdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x14006c4ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c4e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006c4e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007cd3c
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.140019280
cmp dword [rbp - 0x50], 0
jne 0x14006ca8f
test al, al
je 0x14006c9de
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.14007c504
mov edx, eax
test eax, eax
jne 0x14006c585
mov ebx, dword [rbp - 0x20]
mov eax, ebx
shr eax, 0xa
test al, 1
je 0x14006c57a
mov eax, dword [rbp - 0x1c]
cmp eax, 0xa000000c
jne 0x14006c56c
mov ebx, 4
jmp 0x14006c59b
cmp eax, 0xa0000003
jne 0x14006c57a
mov ebx, 0xa
jmp 0x14006c59b
shr ebx, 4
and ebx, 1
add ebx, 2
jmp 0x14006c59b
sub eax, 2
je 0x14006c59b
sub eax, 1
je 0x14006c59b
sub eax, 0x32
je 0x14006c59b
cmp eax, 0x46
je 0x14006c59b
mov ebx, esi
test edx, edx
je 0x14006c5ad
lea eax, [rbx - 1]
test eax, 0xfffffff7
jne 0x14006ca9d
cmp ebx, 3
jne 0x14006c9de
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x40]
call fcn.140066670
test eax, eax
jne 0x14006ca7c
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x14006c5eb
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 0x14006c60e
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 0x14006c659
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14006c650
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 0x14006c650
mov r14, qword [rbp - 0x38]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
jmp 0x14006c654
mov r14, qword [rbp - 0x38]
mov r13d, dword [rsp + 0x30]
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x14006c970
lea rax, [0x1400aef20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 3
vmovups xmm6, xmmword [rsp + 0x40]
call fcn.14007c178
vmovdqa xmmword [rsp + 0x40], xmm6
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400188c0
or r13d, 6
mov dword [rsp + 0x30], r13d
lea rdi, [rbx + 0x20]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140065d70
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.140065b70
mov r12d, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14006c73f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c730
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ca1c
call fcn.14007cd3c
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 0x14006c78c
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006c784
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ca23
mov rcx, rbx
call fcn.14007cd3c
test r12d, r12d
jne 0x14006c950
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14006c7a2
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.140065830
cmp rax, rdi
je 0x14006c7fb
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14006c7cf
cmp cx, 0x2f
jne 0x14006c7d8
add rax, 2
cmp rax, rdi
jne 0x14006c7c0
cmp rax, rdi
je 0x14006c7fb
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14006c7fb
cmp cx, 0x2f
je 0x14006c7fb
mov rbx, rdx
cmp rax, rdx
jne 0x14006c7e0
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.1400669e0
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.14007c178
vmovups xmm0, xmmword [rsp + 0x70]
vmovdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140066e80
or r13d, 0x700
mov dword [rsp + 0x30], r13d
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14006c8aa
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 0x14006c8be
lea r8, [rsp + 0x50]
mov rcx, r15
call fcn.140066b30
mov rax, qword [rsp + 0x68]
xor ebx, ebx
cmp rax, 0xf
jbe 0x14006c8fa
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c8f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ca2a
vzeroupper
call fcn.14007cd3c
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14006c950
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006c948
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ca34
vzeroupper
call fcn.14007cd3c
lea rcx, [rbp - 0x50]
vzeroupper
call fcn.140066520
mov rbx, qword [rbp - 0x50]
test rbx, rbx
jne 0x14006c681
mov rdi, 0xffffffffffffffff
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14006c9ab
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006c9a7
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 0x14006c9a7
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14, qword [rbp - 0x38]
test r14, r14
je 0x14006c9de
mov eax, edi
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14006c9de
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 0x14006c9de
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14006ca43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ca3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ca3e
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.14007cd3c
mov rax, r15
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14007c8b0
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.1400191b0
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x50]
call fcn.140019220
int3
lea r8, [rbp - 0x10]
lea rcx, str.status
call fcn.1400191b0
int3