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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486c07
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 7
push 0
call esi
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
jne 0x454626
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401e60
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 1
call fcn.004548c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x22c], 8
jb 0x454626
push dword [ebp - 0x240]
call edi
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x18
push 0
call esi
test eax, eax
jne 0x45469a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401e60
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
mov byte [ebp - 4], 2
call fcn.004548c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x22c], 8
jb 0x45469a
push dword [ebp - 0x240]
call edi
add esp, 4
mov eax, dword [ebp - 0x228]
mov edi, dword [ebp - 0x224]
mov esi, eax
cmp eax, edi
je 0x454855
push 0x38
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x4546eb
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
xor eax, eax
mov word [edi], ax
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], eax
mov word [edi + 0x18], ax
mov byte [edi + 0x30], al
mov byte [edi + 0x34], 1
jmp 0x4546ed
xor edi, edi
mov dword [ebp - 0x248], edi
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x454701
mov eax, dword [esi]
jmp 0x454703
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
cmp word [edx], ax
jne 0x454732
xor ecx, ecx
jmp 0x454753
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x24c], eax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454740
sub ecx, dword [ebp - 0x24c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x240]
call fcn.00401d60
mov byte [ebp - 4], 4
cmp edi, esi
je 0x454774
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.004019d0
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push str..lnk
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4547a6
lea edx, [edi + 0x18]
mov ecx, esi
call fcn.00454aa0
test al, al
jne 0x4547bb
lea ecx, [edi + 0x18]
cmp ecx, esi
je 0x4547b7
push 0xffffffffffffffff
push 0
push esi
call fcn.004019d0
mov byte [edi + 0x30], 0
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], edi
cmp ecx, eax
jae 0x454808
mov ecx, dword [ebx]
lea edx, [ebp - 0x244]
cmp ecx, edx
ja 0x454808
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [ebx + 8]
jne 0x4547f8
push ecx
mov ecx, ebx
call fcn.00402760
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
test ecx, ecx
je 0x45481e
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x45481e
cmp eax, dword [ebx + 8]
jne 0x454815
push ecx
mov ecx, ebx
call fcn.00402760
mov eax, dword [ebx + 4]
test eax, eax
je 0x45481e
mov dword [eax], edi
add dword [ebx + 4], 4
cmp dword [ebp - 0x22c], 8
jb 0x45483a
push dword [ebp - 0x240]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x224]
add esi, 0x18
cmp esi, edi
jne 0x4546b0
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x45489b
mov esi, eax
cmp eax, edi
je 0x454891
nop
cmp dword [esi + 0x14], 8
jb 0x454871
push dword [esi]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x454860
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret 4