Function at 0x4465d0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x476465
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10b4
call fcn.0046eb00
mov eax, dword [0x49b3d4]
xor eax, esp
mov dword [esp + 0x10b0], eax
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, esp
push eax
lea eax, [esp + 0x10c8]
mov dword fs:[0], eax
push str.Wow64DisableWow64FsRedirection
xor esi, esi
push str.kernel32.dll
mov edi, ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x44663f
lea ecx, [esp + 0x24]
push ecx
call eax
lea eax, [esp + 0x70]
call fcn.004025a9
mov dword [esp + 0x10d0], esi
push 0x48
mov dword [esp + 0x20], esi
call fcn.00459337
add esp, 4
cmp eax, esi
je 0x4468c9
mov dword [esp + 0x18], eax
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov edx, dword [esp + 0x18]
mov al, 1
mov byte [edx + 0x44], al
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x45], al
lea edx, [esp + 0xbc]
push edx
push esi
push esi
push 0x1c
push esi
mov byte [esp + 0x10e4], al
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x58]
call fcn.004025d0
mov esi, eax
push str.localappdata
lea eax, [esp + 0x3c]
mov byte [esp + 0x10d4], 2
call fcn.004025d0
mov edx, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x10d0], 3
call fcn.004262b0
mov ebx, eax
mov eax, esi
call fcn.00404e4c
mov esi, eax
call fcn.0040388e
lea ecx, [esp + 0x38]
call fcn.00402601
lea ecx, [esp + 0x54]
mov byte [esp + 0x10d0], 1
call fcn.00402601
push 0x800
lea ecx, [esp + 0xc0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x3c]
call fcn.004025d0
mov esi, eax
push str.windir
lea eax, [esp + 0x58]
mov byte [esp + 0x10d4], 4
call fcn.004025d0
mov edx, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x10d0], 5
call fcn.004262b0
mov ebx, eax
mov eax, esi
call fcn.00404e4c
mov esi, eax
call fcn.0040388e
lea ecx, [esp + 0x54]
call fcn.00402601
lea ecx, [esp + 0x38]
mov byte [esp + 0x10d0], 1
call fcn.00402601
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x18]
call fcn.00441700
mov bl, 6
mov byte [esp + 0x10d0], bl
push ecx
mov eax, esp
lea esi, [edi + 4]
mov dword [esp + 0x2c], esp
call fcn.00404e4c
lea eax, [esp + 0x3c]
call fcn.00404e50
push 0
push 0
lea edi, [esp + 0x40]
call fcn.0040327c
push 0xffffffffffffffff
push esi
xor eax, eax
mov ecx, edi
call fcn.0040317c
lea ecx, [esp + 0x70]
push ecx
mov edx, edi
push edx
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x10dc], 7
call fcn.00447490
mov ecx, edi
mov byte [esp + 0x10d0], bl
call fcn.00402601
lea eax, [esp + 0x70]
call fcn.0040263b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x446815
test al, 0x10
jne 0x446815
mov bl, 1
jmp 0x446817
xor bl, bl
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446839
lea ecx, [esp + 0x24]
push ecx
call eax
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x446858
push eax
call fcn.004592db
add esp, 4
mov dword [esp + 0x8c], 0
lea edi, [esp + 0xb0]
call fcn.00442f10
lea ecx, [esp + 0x90]
call fcn.00402601
mov byte [esp + 0x10d0], 8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x1c]
call fcn.00426430
mov edx, dword [esp + 0x18]
push edx
call fcn.004592db
add esp, 4
lea ecx, [esp + 0x70]
call fcn.00402601
mov al, bl
mov ecx, dword [esp + 0x10c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10b0]
xor ecx, esp
call fcn.00458db6
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [esp + 0x30]
call fcn.00401039
push 0x4916c4
lea eax, [esp + 0x30]
push eax
call fcn.0045d391
int3