Function at 0x40112c
Capabilities:
Get common file path

Disassembly:
jmp 0x4024f0
push 0xffffffffffffffff
push 0x40d048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x413bc8
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x13c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 2
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x148]
mov eax, dword [esi + 0x20]
mov ebx, 3
push ebp
push ebx
push 0x110a
push eax
mov byte [esp + 0x14c], bl
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
je 0x4025a5
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], bl
call fcn.0040b3b0
lea edx, [esp + 0x14]
push ebp
push edx
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], bl
call fcn.0040b3b0
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x413684
push eax
call ebp
add esp, 8
test eax, eax
jne 0x402620
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push edx
call fcn.0040b3bc
jmp 0x4027dc
mov eax, dword [esp + 0x18]
push 0x413678
push eax
call ebp
add esp, 8
test eax, eax
jne 0x402667
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push 5
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push edx
call fcn.0040b3bc
jmp 0x4027dc
mov eax, dword [esp + 0x1c]
push 0x413678
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4026ae
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push 0x27
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x10]
push edx
call fcn.0040b3bc
jmp 0x4027dc
mov eax, dword [esp + 0x18]
push str.Bitmap
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4026d3
add esi, 0x68
lea ecx, [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::operator_1
jmp 0x4027dc
mov ecx, dword [esp + 0x1c]
push str.Bitmap
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x402744
add esi, 0x68
push 0x413664
lea edx, [esp + 0x28]
push esi
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x148], 6
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 6
call fcn.0040b3b0
mov byte [esp + 0x13c], bl
lea ecx, [esp + 0x24]
jmp 0x4027d7
mov eax, dword [esp + 0x1c]
push 0x413668
push eax
call ebp
add esp, 8
test eax, eax
je 0x4027dc
lea ecx, [esp + 0x2c]
push edi
push ecx
mov ecx, esi
call fcn.0040112c
push 0x413664
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x148], 8
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0x148], 9
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 9
call fcn.0040b3b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 8
call fcn.0040b3b0
mov byte [esp + 0x13c], bl
lea ecx, [esp + 0x2c]
call fcn.0040b3b0
mov esi, dword [esp + 0x144]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 2
call fcn.0040b3b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 1
call fcn.0040b3b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], 0
call fcn.0040b3b0
mov ecx, dword [esp + 0x134]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret 8