Function at 0x415820
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x54b99e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi + 0x7d0]
mov ecx, dword [esi + 0x7c8]
push eax
lea edx, [esp + 0x18]
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x140], ebx
call fcn.00406920
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
jne 0x4158f7
lea ecx, [esp + 0x14]
push ecx
call fcn.00408580
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x9c]
lea ecx, [esp + 0x14]
push edi
call sub.MFC42.DLL_CString::CString_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 3
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x134], bl
lea ecx, [esp + 0x14]
jmp 0x415932
push 0x577438
lea ecx, [esp + 0x14]
call fcn.00548178
lea edi, [esi + 0x9c]
lea ecx, [esp + 0x14]
push edi
call sub.MFC42.DLL_CString::CString_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 4
call sub.MFC42.DLL_CString::operator_2
mov byte [esp + 0x134], bl
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
push 0x57743c
lea ecx, [esp + 0x14]
call fcn.00548178
mov edx, dword [esp + 0x10]
lea ebp, [esi + 0x80c]
push ebp
push str.rockeng
push 1
push ebx
push edx
call fcn.004fc66d
cmp eax, 1
mov dword [esi + 0x7bc], eax
jne 0x415a9e
lea eax, [esp + 0x28]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
mov edi, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x134], 5
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
push 0x577438
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x140], 6
call sub.MFC42.DLL_operator_3
push edi
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x13c], 7
push eax
call sub.MFC42.DLL_operator
push str.101162.ini
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x140], 8
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
or edi, 0xffffffff
push 9
push eax
mov dword [esi + 0x7bc], 1
mov dword [esp + 0x24], edi
call fcn.004fc3fd
cmp eax, 1
mov dword [esi + 0x7bc], eax
jne 0x415a85
mov ecx, dword [esi + 0x7c8]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jne 0x415a85
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], edi
call sub.MFC42.DLL_CString::CString
mov al, 1
jmp 0x415abe
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x134], edi
jmp 0x415ab3
mov dword [esi + 0x7b8], 0xb
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret