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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rsi, rcx
call fcn.1800371a0
nop
lea rax, vtable.CFileProcessLogic.0
mov qword [rsi], rax
lea rbp, [rsi + 0x888]
mov qword [rsp + 0x68], rbp
mov rcx, rbp
call fcn.18005ca80
nop
lea r12, vtable.piy::CCSWrapper.0
mov qword [rbp + 0x20], r12
mov edx, 0xfa0
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r13d, r13d
mov dword [rbp + 0x50], r13d
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp + 0x58]
call fcn.180039ef0
nop
mov qword [rsi + 0x900], r13
mov qword [rsi + 0x908], r13
mov qword [rsi + 0x910], r13
mov qword [rsi + 0x920], r12
mov edx, 0xfa0
lea rcx, [rsi + 0x928]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea rcx, [rsi + 0x928]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsi + 0x950], r13d
lea rcx, [rsi + 0x928]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsi + 0x970], 7
mov qword [rsi + 0x968], r13
mov word [rsi + 0x958], r13w
lea rcx, [rsi + 0x980]
call fcn.180039ef0
nop
lea rcx, [rsi + 0x9a0]
call fcn.180032fc0
mov qword [rsi + 0x9c0], r12
mov edx, 0xfa0
lea rcx, [rsi + 0x9c8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea rcx, [rsi + 0x9c8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsi + 0x9f0], r13d
lea rcx, [rsi + 0x9c8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsi + 0x9f8], r13d
lea rcx, [rsi + 0xa00]
call fcn.180039ef0
mov qword [rsi + 0xa20], r12
mov edx, 0xfa0
lea rcx, [rsi + 0xa28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea rcx, [rsi + 0xa28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsi + 0xa50], r13d
lea rcx, [rsi + 0xa28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsi + 0xa58]
call fcn.1800600a0
nop
lea rbx, [rsi + 0xa78]
mov qword [rsp + 0x68], rbx
mov qword [rbx], r12
mov edx, 0xfa0
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rbx + 0x30], r13d
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbx + 0x38]
call fcn.180060c20
nop
lea rcx, [rsi + 0xad0]
call fcn.180039ef0
mov qword [rsi + 0xaf0], r12
mov edx, 0xfa0
lea rcx, [rsi + 0xaf8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea rcx, [rsi + 0xaf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsi + 0xb20], r13d
lea rcx, [rsi + 0xaf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rsi + 0xb50], 7
mov qword [rsi + 0xb48], r13
mov word [rsi + 0xb38], r13w
mov dword [rsi + 0xb30], r13d
lea rcx, [rsi + 0xb60]
call fcn.180039ef0
lea rdx, str._temp_
lea rcx, [rsi + 0xb60]
sub rcx, rdx
nop word [rax + rax]
movzx eax, word [rdx]
mov word [rdx + rcx + 0x20], ax
add rdx, 2
test ax, ax
jne 0x180049740
lea rdx, [rsi + 0xd88]
xor r9d, r9d
xor ecx, ecx
lea r8d, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [rsi + 0xf90]
xor r9d, r9d
xor ecx, ecx
lea r8d, [r9 + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
nop
lea rbx, [rsi + 0x1198]
mov qword [rsp + 0x68], rbx
lea rax, vtable.MyIDropTarget.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
call fcn.180060c20
nop
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x38], r13
mov qword [rbx + 0x40], r13
lea rcx, [rbx + 8]
call fcn.1800610f0
nop
mov qword [rsi + 0x1218], 7
mov qword [rsi + 0x1210], r13
mov word [rsi + 0x1200], r13w
mov eax, dword [0x1800d331c]
test eax, eax
je 0x180049810
cmp eax, 1
je 0x180049804
call fcn.180011f40
mov ecx, r13d
cmp eax, 2
sete cl
test ecx, ecx
je 0x1800497fb
mov dword [0x1800d331c], 1
jmp 0x180049804
mov dword [0x1800d331c], r13d
jmp 0x180049810
call fcn.18005dea0
mov qword [rsi + 0x11e8], rax
mov qword [rsi + 0x11f0], r13
mov dword [rsi + 0xb28], r13d
mov rdi, qword [0x1800d6f10]
test rdi, rdi
jne 0x180049855
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18004984b
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x18004984e
mov rdi, r13
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.180017d00
test eax, eax
jne 0x180049868
mov qword [rsi + 0x11d0], rbp
test rdi, rdi
jne 0x180049898
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18004988e
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x180049891
mov rdi, r13
mov qword [0x1800d6f10], rdi
mov rcx, rdi
call fcn.180017d00
test eax, eax
je 0x180049934
test rdi, rdi
jne 0x1800498d8
mov ecx, 0x2a8
call fcn.18007b11c
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1800498ce
mov rcx, rax
call fcn.180015880
mov rdi, rax
jmp 0x1800498d1
mov rdi, r13
mov qword [0x1800d6f10], rdi
lea rdx, [rdi + 0x258]
cmp qword [rdx + 0x18], 8
jb 0x1800498e9
mov rdx, qword [rdx]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsi + 0x1200]
call fcn.180004cc0
lea rdx, [rsi + 0x1200]
lea rcx, [rsi + 0x1200]
call fcn.180027250
mov r8d, 9
lea rdx, str.Resources
lea rcx, [rsi + 0x1200]
call fcn.180006db0
mov qword [rsi + 0x11f8], r13
mov rax, rsi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret