Function at 0x431bd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43e421
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd64
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x25d]
mov byte [esp + 0x25c], 0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x1c], ebp
add ebp, 0x13c
mov dword [esp + 0x24], str._FONTS
mov dword [esp + 0x28], str._WINDOWS
mov dword [esp + 0x2c], str._DESKTOPDIRECTORY
mov dword [esp + 0x30], str._PROGRAMS
mov dword [esp + 0x34], str._STARTUP
mov dword [esp + 0x38], str._SYSTEM
mov dword [esp + 0x3c], str._PROGRAM_FILES
mov dword [esp + 0x40], 0x14
mov dword [esp + 0x44], 0x24
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], 7
mov dword [esp + 0x54], 0x25
mov dword [esp + 0x58], 0x26
stosb byte es:[edi], al
xor esi, esi
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x25c]
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + esi + 0x44]
lea ecx, [esp + 0x260]
push eax
push ecx
push 0
call ebx
push 4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0xd7c], edi
je 0x431cdc
lea edx, [esp + 0x25c]
mov ecx, eax
push edx
call sub.MFC42.DLL_CString::CString_1
mov edi, eax
mov eax, dword [esp + esi + 0x24]
mov ecx, ebp
push eax
mov dword [esp + 0xd80], 0xffffffff
call sub.MFC42.DLL_CMapStringToOb::operator__
add esi, 4
mov dword [eax], edi
cmp esi, 0x1c
jl 0x431c8e
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x1c]
stosb byte es:[edi], al
lea eax, [esp + 0x5c]
push eax
push str._WINDOWS
call fcn.00431fd0
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x975]
mov byte [esp + 0x974], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x65d]
mov byte [esp + 0x65c], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x5c]
stosw word es:[edi], ax
push ecx
lea edx, [esp + 0x978]
push str._sSystem32
push edx
stosb byte es:[edi], al
call esi
add esp, 0xc
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x65c]
push eax
push str._sSysWOW64
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x85c]
lea eax, [esp + 0x65c]
push edx
push eax
call sub.MFC42.DLL_CFile::GetStatus
cmp eax, 1
push 4
jne 0x431df5
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xd7c], 1
je 0x431dd9
lea ecx, [esp + 0x65c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CString::CString_1
mov edi, eax
jmp 0x431ddb
xor edi, edi
or ebx, 0xffffffff
push str._SYSTEM_32BIT
mov ecx, ebp
mov dword [esp + 0xd80], ebx
call sub.MFC42.DLL_CMapStringToOb::operator__
mov dword [eax], edi
jmp 0x431e41
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xd7c], 2
je 0x431e23
lea edx, [esp + 0x974]
mov ecx, eax
push edx
call sub.MFC42.DLL_CString::CString_1
mov edi, eax
jmp 0x431e25
xor edi, edi
push str._SYSTEM_32BIT
mov ecx, ebp
mov dword [esp + 0xd80], 0xffffffff
call sub.MFC42.DLL_CMapStringToOb::operator__
mov dword [eax], edi
or ebx, 0xffffffff
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xb75]
mov byte [esp + 0xb74], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x45d]
mov byte [esp + 0x45c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movsx eax, byte [esp + 0x5c]
push eax
lea ecx, [esp + 0xb78]
push str._c:Program_Files
push ecx
call esi
movsx edx, byte [esp + 0x68]
add esp, 0xc
lea eax, [esp + 0x45c]
push edx
push str._c:Program_Files__x86_
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x85c]
lea edx, [esp + 0x45c]
push ecx
push edx
call sub.MFC42.DLL_CFile::GetStatus
cmp eax, 1
push 4
jne 0x431ef1
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xd7c], 3
je 0x431f1f
lea ecx, [esp + 0x45c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CString::CString_1
mov esi, eax
jmp 0x431f21
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xd7c], 4
je 0x431f1f
lea edx, [esp + 0xb74]
mov ecx, eax
push edx
call sub.MFC42.DLL_CString::CString_1
mov esi, eax
jmp 0x431f21
xor esi, esi
push str._PROGRAM_FILES_32BIT
mov ecx, ebp
mov dword [esp + 0xd80], ebx
call sub.MFC42.DLL_CMapStringToOb::operator__
lea ecx, [esp + 0x14]
mov dword [eax], esi
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd7c], 5
mov eax, dword [eax + 0x148]
neg eax
sbb eax, eax
test eax, eax
mov dword [esp + 0x18], eax
je 0x431fa5
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CMapStringToOb::GetNextAssoc
mov ecx, dword [esp + 0x20]
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x14]
mov edx, dword [0x450ba4]
push eax
push ecx
push str.CXSyncDlg::LoadSpecialDirMap___s____s_
push 1
push edx
call fcn.00404960
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jne 0x431f60
lea ecx, [esp + 0x14]
mov dword [esp + 0xd7c], ebx
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xd74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd70
ret