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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432d7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push esi
push edi
mov dword [0x43f5b0], 1
lea ecx, [ebp - 0x1c]
call fcn.00430110
mov dword [ebp - 4], 0
push 0
push 0x1001
push str..dat
lea eax, [ebp - 0x134]
push eax
call fcn.004207a0
add esp, 4
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x154], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x154]
push edx
push 0x435bd4
push 0x43f5a8
lea eax, [ebp - 0x138]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0x13c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x164]
push edx
lea eax, [ebp - 0x140]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x16c]
call fcn.00408e10
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Open
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x130], al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x130]
and edx, 0xff
test edx, edx
je 0x420cbb
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
push 0x436948
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00408dd0
push eax
lea ecx, [ebp - 0x20]
call fcn.00408e10
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Close
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 0x124], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
push 0
lea edx, [ebp - 0x124]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 5
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x128]
call fcn.004300a4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::TrimLeft
push 0x435bd4
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::TrimLeft_1
push str..dat
lea edx, [ebp - 0x144]
push edx
call fcn.004207a0
add esp, 4
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x174]
push ecx
push 0x435bd4
lea edx, [ebp - 0x148]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x17c]
push ecx
lea edx, [ebp - 0x14c]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00430092
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x148]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x144]
call sub.MFC42.DLL_CString::CString
push 0
push 0x1001
lea ecx, [ebp - 0x128]
call fcn.00408e10
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x420e6b
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 0xa
mov edx, dword [ebp + 8]
push edx
push 0x436948
lea eax, [ebp - 0x12c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.00408dd0
push eax
lea ecx, [ebp - 0x12c]
call fcn.00408e10
push eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::Close
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
push ecx
call fcn.004209d0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret