Function at 0x140005da0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x558]
sub rsp, 0x658
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x30], 1
lea rax, [rbp + 0x340]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdi, [r13 - 1]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r13w
test eax, eax
js 0x140005e34
lea rax, [rbp + 0x340]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140005e20
lea rdx, [rbp + 0x340]
jmp 0x140005e3e
xor r8d, r8d
lea rdx, [0x14004f454]
lea rcx, [rbp - 0x60]
call fcn.14000d830
mov dword [rsp + 0x30], 0x21
mov cl, 0x3c
mov word [rsp + 0x60], 0x3c
movsx r9d, cl
movzx r8d, r9w
xor r8w, 0x60
mov word [rsp + 0x62], r8w
movzx eax, r9w
xor ax, 0x6e
mov word [rsp + 0x64], ax
movzx edx, r9w
xor dx, 0x53
mov word [rsp + 0x66], dx
movzx eax, r9w
xor ax, 0x5e
mov word [rsp + 0x68], ax
movzx ecx, r9w
xor cx, 0x50
mov word [rsp + 0x6a], cx
mov word [rsp + 0x6c], dx
movzx eax, r9w
xor ax, 0x44
mov word [rsp + 0x6e], ax
mov word [rsp + 0x70], r8w
mov word [rsp + 0x72], cx
mov word [rsp + 0x74], dx
movzx eax, r9w
xor ax, 0x5b
mov word [rsp + 0x76], ax
xor r9w, 0x4f
mov word [rsp + 0x78], r9w
mov word [rsp + 0x7a], r13w
lea rax, [rsp + 0x62]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140005ee4
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r15, qword [rbp - 0x50]
sub rax, r15
cmp rax, rdi
jb 0x140006816
lea r12, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r12, qword [rbp - 0x60]
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
lea r14, [r15 + rdi]
mov qword [rbp + 0x90], r14
mov ebx, 7
lea rsi, [rbp - 0x80]
cmp r14, rbx
jbe 0x140005fd7
mov rbx, r14
cmp r14, 8
cmovb rbx, qword [0x14004f758]
or rbx, 7
cmp rbx, rcx
jbe 0x140005f66
mov rbx, rcx
mov rcx, 0xfffffffffffffffe
jmp 0x140005f95
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000682f
add rcx, rcx
cmp rcx, 0x1000
jb 0x140005fc1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000682f
mov rcx, rax
call fcn.140017dd0
test rax, rax
je 0x14000688a
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140005fd3
test rcx, rcx
je 0x140005fd0
call fcn.140017dd0
mov rsi, rax
jmp 0x140005fd3
mov rsi, r13
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, rsi
call fcn.140019c60
lea rcx, [rsi + rbx]
lea r8, [rdi + rdi]
lea rdx, [rsp + 0x62]
call fcn.140019c60
xor r15d, r15d
mov word [rsi + r14*2], r15w
mov dword [rsp + 0x30], 0x61
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
mov r8, qword [rbp - 0x70]
lea rcx, [rbp + 0x20]
call fcn.14000d830
mov edi, 0x1e1
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14000f3c0
test eax, eax
jne 0x14000681c
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400060ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400060a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006835
call fcn.140017dc8
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400060c2
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
test rcx, rcx
je 0x1400060df
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
mov r12, 0xffffffffffffffff
test rcx, rcx
je 0x14000612c
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140006128
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140006128
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r13, qword [rsp + 0x50]
test r13, r13
je 0x1400066ef
lea rdx, [rbp + 0x40]
mov rcx, r13
call fcn.140003bf0
mov rax, qword [rbp + 0x40]
mov edx, dword [rbp + 0x48]
test edx, edx
je 0x140006160
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14000683b
cmp eax, 2
jne 0x140006493
mov dword [rbp + 0x5a8], 0x6f6c2e42
mov word [rbp + 0x5ac], 0x67
lea rax, [rbp + 0x5a9]
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x5a9]
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x140006191
mov qword [rbp + 0x78], rax
call fcn.140014080
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0xb0], xmm0
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140002c10
or edi, 0x600
or edi, 2
mov dword [rsp + 0x30], edi
lea rsi, [r13 + 0x20]
mov rax, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400061e3
mov rcx, qword [rsi]
lea rbx, [rcx + rax*2]
mov r11, rbx
mov rdx, rbx
call fcn.140002d70
cmp rax, rbx
je 0x14000623b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140006206
cmp cx, 0x2f
jne 0x140006220
add rax, 2
cmp rax, rbx
jne 0x1400061f7
mov r8, rbx
jmp 0x140006290
lea rdx, [r11 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14000623b
cmp cx, 0x2f
je 0x14000623b
mov r11, rdx
cmp rax, rdx
jne 0x140006220
mov r8, r11
cmp r11, rbx
je 0x140006290
cmp word [r8], 0x3a
je 0x140006253
add r8, 2
cmp r8, rbx
jne 0x140006243
cmp r11, r8
je 0x140006290
lea rdx, [r8 - 2]
cmp r11, rdx
je 0x140006290
cmp word [rdx], 0x2e
jne 0x140006278
lea rax, [rdx - 2]
cmp r11, rax
jne 0x140006293
cmp word [rax], 0x2e
jne 0x140006293
jmp 0x140006290
sub rdx, 2
cmp r11, rdx
je 0x140006290
cmp word [rdx], 0x2e
je 0x140006293
sub rdx, 2
cmp r11, rdx
jne 0x140006281
mov rdx, r8
sub r8, rdx
sar r8, 1
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
lea rcx, [rbp]
call fcn.14000d830
or edi, 0x3800
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rax, qword [rbp + 0x50]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x88], rax
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0xc0], xmm0
lea rdx, [rbp + 0xc0]
lea rcx, [rbp]
call fcn.140003170
test eax, eax
jne 0x140006493
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140006319
mov rsi, qword [rsi]
lea rbx, [rsi + rax*2]
mov r11, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140002d70
cmp rax, rbx
je 0x14000636b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000633f
cmp cx, 0x2f
jne 0x140006350
add rax, 2
jmp 0x14000632b
lea rdx, [r11 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14000636b
cmp cx, 0x2f
je 0x14000636b
mov r11, rdx
cmp rax, rdx
jne 0x140006350
sub rbx, r11
sar rbx, 1
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov r8, rbx
mov rdx, r11
lea rcx, [rbp - 0x40]
call fcn.14000d830
or edi, 0x1c000
or edi, 8
lea r14, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x30]
call fcn.140014080
mov r15d, eax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], al
bts edi, 0x14
mov dword [rsp + 0x30], edi
test rsi, rsi
je 0x140006454
cmp rsi, 0x7fffffff
ja 0x140006864
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, r15d
call fcn.1400140f0
mov rbx, rax
mov qword [rbp + 0x5b8], rax
shr rax, 0x20
test eax, eax
jne 0x140006858
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rbp - 0x20]
call fcn.14000f0e0
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae r9, qword [rbp - 0x20]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r14
mov ecx, r15d
call fcn.1400140f0
mov qword [rbp + 0x5b8], rax
shr rax, 0x20
test eax, eax
jne 0x14000684c
btr edi, 0x14
or edi, 0xe0000
or edi, 0x10
mov dword [rsp + 0x30], edi
mov dword [rbp + 0x5b0], 0x616c503f
mov dword [rbp + 0x5b4], 0x726579
lea rdx, [rbp + 0x5b1]
lea rcx, [rbp - 0x20]
call fcn.14000bb00
cmp rax, 0xffffffffffffffff
je 0x140006493
mov bl, 1
jmp 0x140006495
xor bl, bl
test dil, 0x10
je 0x1400064f2
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400064dd
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000686a
call fcn.140017dc8
xor r15d, r15d
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r15b
jmp 0x1400064f5
xor r15d, r15d
test dil, 8
je 0x140006553
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140006542
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000653d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006870
call fcn.140017dc8
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
test dil, 4
je 0x1400065b1
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400065a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000659b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006876
call fcn.140017dc8
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
test dil, 2
je 0x1400065fe
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x1400065fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000687c
call fcn.140017dc8
test bl, bl
je 0x140006640
lea r8, [r13 + 0x20]
mov rbx, qword [rbp + 0x5a0]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x140006629
mov rdx, r8
mov rcx, rax
call fcn.14000ba00
add qword [rbx + 8], 0x20
jmp 0x140006640
mov rdx, rax
mov rcx, rbx
call fcn.1400102e0
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 0xf0]
mov rcx, qword [r13 + 0x40]
call fcn.1400142e0
cmp eax, 0x12
je 0x140006697
test eax, eax
jne 0x140006882
cmp word [rbp + 0x11c], 0x2e
jne 0x140006683
movzx eax, word [rbp + 0x11e]
test ax, ax
je 0x140006640
cmp ax, 0x2e
jne 0x140006683
cmp word [rbp + 0x120], 0
je 0x140006640
lea rdx, [rbp + 0xf0]
mov rcx, r13
call fcn.140003f00
jmp 0x140006131
mov r13, r15
mov qword [rsp + 0x50], r15
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r15
test rbx, rbx
je 0x140006131
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400066d4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x1400066dd
mov edi, dword [rsp + 0x30]
jmp 0x14000612c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
jmp 0x14000612c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000672c
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000672c
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000672c
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140006768
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140006768
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x140006768
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400067a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000688a
call fcn.140017dc8
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400067f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006810
call fcn.140017dc8
mov rax, qword [rbp + 0x5a0]
add rsp, 0x658
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140023650
nop
call fcn.140001720
nop
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140003b80
nop
call fcn.140001680
nop
call fcn.140023650
nop
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140003b80
nop
mov ecx, dword [rbp + 0x5bc]
call fcn.140002bd0
int3
mov ecx, dword [rbp + 0x5bc]
call fcn.140002bd0
int3
call fcn.140001ad0
nop
call fcn.140023650
nop
call fcn.140023650
nop
call fcn.140023650
nop
call fcn.140023650
int3
mov edx, eax
call fcn.140003a90
nop
call fcn.140023650
int3