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

Disassembly:
push 0xffffffffffffffff
push 0x61debb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x14c]
push ebp
mov dword [esp + 0x2c], ebp
call fcn.00456340
lea eax, [ebp + 0x420]
xor ebx, ebx
mov dword [esp + 0x144], ebx
push eax
mov dword [ebp], vtable.CMainFrame.0
call fcn.004bb9c0
lea esi, [ebp + 0xcac]
call fcn.00452100
mov byte [esp + 0x144], 2
lea edi, [ebp + 0xdfc]
call fcn.0056d592
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42595b
push 0x80004005
call fcn.004012f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x144], 3
call fcn.0056d592
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42598b
push 0x80004005
call fcn.004012f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0xe08], eax
lea ecx, [ebp + 0xe30]
push ecx
mov byte [esp + 0x148], 4
call fcn.00447e90
mov byte [esp + 0x144], 5
call fcn.0056d592
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4259d3
push 0x80004005
call fcn.004012f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0x1750], eax
lea ecx, [ebp + 0x1760]
mov byte [esp + 0x144], 6
call fcn.00583fda
lea ecx, [ebp + 0x17f8]
push ecx
mov byte [esp + 0x148], 7
call fcn.0045fe80
lea esi, [ebp + 0x1ecc]
mov byte [esp + 0x144], 8
call fcn.0046d400
mov dword [esi], vtable.HS_CBCGMenuBar.0
lea ecx, [ebp + 0x25dc]
mov byte [esp + 0x144], 9
call fcn.0058718a
lea eax, [ebp + 0x269c]
call fcn.00430520
push 0x2c
lea esi, [ebp + 0x1714]
push ebx
mov byte [esp + 0x14c], 0xb
push esi
mov dword [ebp + 0x26bc], ebx
call fcn.005ab440
add esp, 0xc
push ebx
push 0x641d28
mov ecx, edi
mov dword [esi], 0x2c
mov dword [ebp + 0xdf4], ebx
mov dword [ebp + 0xdf8], ebx
call fcn.004014d0
mov eax, 1
mov dword [ebp + 0xe0c], eax
mov dword [ebp + 0xe14], eax
xor eax, eax
mov dword [ebp + 0xdc8], eax
mov ecx, 0x26c
mov dword [ebp + 0xdcc], ebx
mov edx, 0x1b8
mov dword [ebp + 0xdd0], ecx
push ebx
mov dword [ebp + 0xe00], ebx
mov dword [ebp + 0xe04], ebx
mov dword [ebp + 0xe10], ebx
mov dword [ebp + 0xdd4], edx
mov dword [ebp + 0x26b8], ebx
mov dword [ebp + 0x1758], 0x100
call dword [sym.imp.user32.dll_GetDC]
mov edi, dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov esi, eax
push 0x58
push esi
call edi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push 0x5a
push esi
fstp qword [ebp + 0x1748]
call edi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push esi
push ebx
fstp qword [ebp + 0x1740]
call dword [sym.imp.user32.dll_ReleaseDC]
mov eax, 1
mov dword [ebp + 0xe1c], ebx
mov dword [ebp + 0xe18], ebx
mov dword [ebp + 0xe20], eax
mov dword [ebp + 0xe24], ebx
mov dword [ebp + 0xe28], eax
mov dword [ebp + 0x175c], ebx
mov dword [ebp + 0x2698], ebx
call fcn.004aef50
lea edx, [esp + 0x20]
push edx
push 5
or eax, 0x10000
push ebx
mov dword [ebp + 0xddc], eax
mov byte [esp + 0x38], bl
call dword [sym.imp.shell32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.shell32.dll_SHGetPathFromIDList]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.shell32.dll_SHGetMalloc]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x2c], bl
je 0x425be3
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x425bb0
sub eax, edx
cmp byte [esp + eax + 0x2b], 0x5c
je 0x425be3
lea edi, [esp + 0x2c]
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x425bd0
mov ax, word [0x645b40]
mov word [edi], ax
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x425bf0
sub eax, edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [ebp + 0x1750]
call fcn.004014d0
lea edx, [esp + 0x24]
push edx
mov edi, 0xb6
call fcn.004e09d0
add esp, 4
push 0x645b40
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x150], 0xc
call fcn.00401c10
add esp, 0xc
mov byte [esp + 0x144], 0xd
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0x1750]
call fcn.00407400
mov byte [esp + 0x144], 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425c7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x144], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425ca3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp + 0x1754], ebx
mov dword [ebp + 0x2690], ebx
mov dword [ebp + 0xe2c], 0x64
mov dword [ebp + 0xde0], ebx
mov eax, ebp
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.005a58d9
add esp, 0x134
ret 4