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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea r8d, [r15 + 9]
lea rdx, str._unknown_
call fcn.140025740
mov dword [rsp + 0x34], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.140066580
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140066a60
mov rdx, rax
mov rcx, rsi
call fcn.14002a100
lea rcx, [rsp + 0x60]
call fcn.140025f00
mov dword [rsp + 0x80], 0x26
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r15
lea r8d, [r15 + 2]
lea rdx, [0x1402066cc]
lea rcx, [rsp + 0x88]
call fcn.140025740
nop
mov dword [rsp + 0xa8], 0x24
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xc0], xmm1
lea r8d, [r15 + 1]
lea rdx, [0x1402066d4]
lea rcx, [rsp + 0xb0]
call fcn.140025740
nop
lea r14, [rsp + 0x80]
lea r12, [rsp + 0xd0]
movzx ebx, byte [rsp + 0x30]
cmp r14, r12
je 0x140033e65
xor r8d, r8d
mov edx, 0x106
lea rcx, [rsp + 0x60]
call fcn.140035fc0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
xor r9d, r9d
mov r8d, dword [r14]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x140033e52
lea rax, [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
cmp rdi, 7
seta r11b
mov r10, qword [rsp + 0x60]
cmova rax, r10
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140033d70
mov r8, qword [rsp + 0x70]
cmp rcx, r8
ja 0x140033d9c
lea rax, [rsp + 0x60]
test r11b, r11b
cmovne rax, r10
mov qword [rsp + 0x70], rcx
mov word [rax + rcx*2], r15w
jmp 0x140033df0
mov rdx, rcx
sub rdx, r8
sub rdi, r8
cmp rdx, rdi
ja 0x140033dd9
mov qword [rsp + 0x70], rcx
lea r9, [rsp + 0x60]
test r11b, r11b
cmovne r9, r10
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140033dce
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r15w
jmp 0x140033df0
mov word [rsp + 0x20], r15w
mov r9, rdx
movzx r8d, bl
lea rcx, [rsp + 0x60]
call fcn.140028d30
lea rcx, [r14 + 8]
cmp qword [r14 + 0x20], 7
jbe 0x140033dff
mov rcx, qword [r14 + 8]
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
mov qword [rsp + 0x50], rcx
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140033e30
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140029e20
nop
lea rcx, [rsp + 0x60]
call fcn.140025f00
add r14, 0x28
jmp 0x140033d06
lea r9, [0x14002ab00]
mov edx, 0x28
lea r8d, [rdx - 0x26]
lea rcx, [rsp + 0x80]
call fcn.140144600
nop
jmp 0x140033e8a
cmp qword [rsi + 0x10], 0x96
jbe 0x140033ed9
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140033eb2
mov rdx, qword [rsi]
mov r8d, __WSAFDIsSet
lea rcx, [rsp + 0x60]
call fcn.140025740
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14002a100
lea rcx, [rsp + 0x60]
call fcn.140025f00
mov rax, rsi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret