Function at 0x47219d
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f324d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x648
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi - 0xcc]
lea edi, [esi - 0xcc]
mov ecx, edi
call dword [eax + 0xb4]
mov ecx, dword [esp + 0x66c]
mov edx, dword [esp + 0x670]
mov eax, dword [edi]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
push ecx
mov ecx, edi
call dword [eax + 0xa4]
mov eax, dword [esi + 0x114]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
xor ebp, ebp
cmp eax, ebp
jne 0x4721f8
cmp dword [esi + 0x118], ebp
je 0x47232c
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [edx + 0x74]
lea edi, [esi + 0xf0]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x472235
mov eax, dword [esi + 0x104]
mov edi, dword [esi + 0x10c]
sub eax, edi
jmp 0x47223c
mov eax, dword [edi]
mov ecx, dword [edi + 8]
sub eax, ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
add eax, ecx
push ecx
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
push eax
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call ebx
test eax, eax
je 0x47232c
cmp dword [esi - 0x4c], ebp
je 0x47232c
push ebp
push ebp
lea ecx, [esp + 0x190]
call fcn.0040fcc0
mov eax, dword [esi + 0x114]
mov dword [esp + 0x660], ebp
cmp eax, ebp
je 0x4722ab
push 0x118
lea ecx, [esp + 0x18c]
call fcn.004100b0
lea ecx, [esp + 0x188]
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x47c]
mov dword [esp + 0x660], 4
call fcn.004101b0
lea ecx, [esp + 0x238]
mov byte [esp + 0x660], 3
call fcn.00411c00
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x660], 2
call sub.MFC42.DLL_CTabCtrl::CTabCtrl
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x660], 1
mov dword [esp + method.CBrush.virtual_0], vtable.CBrush.0
call fcn.00401780
lea ecx, [esp + 0x188]
mov dword [esp + 0x660], 0xffffffff
call fcn.004e22a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esi + 0x134]
push ecx
push edx
call ebx
test eax, eax
je 0x472460
mov eax, dword [esi + 0x12c]
cmp dword [eax - 8], ebp
jle 0x472460
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x12c]
push ebp
mov ebx, 5
push ebp
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x66c], ebx
call fcn.0045c750
lea ecx, [esp + 0x54]
call fcn.004e4010
lea ecx, [esp + 0x84]
mov byte [esp + 0x660], 6
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x84]
lea eax, [esp + 0x84]
push edx
push ebp
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebp
push ebp
push 3
push ebp
push ebp
lea ecx, [esp + 0x98]
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, ebp
jne 0x4723fe
lea ecx, [esp + 0x54]
mov byte [esp + 0x660], bl
call fcn.004e4090
lea ecx, [esp + 0x10]
mov dword [esp + 0x660], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x47247c
lea edx, [esp + 0x3c]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x472435
mov eax, dword [esi + 0x130]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x84]
push edx
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.004e40e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x54]
mov byte [esp + 0x660], bl
call fcn.004e4090
lea ecx, [esp + 0x10]
mov dword [esp + 0x660], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x48]
cmp dword [eax - 8], ebp
je 0x47247c
mov esi, dword [esi + 0xb0]
cmp esi, ebp
je 0x47247c
push eax
push esi
call fcn.004c8520
add esp, 8
mov ecx, dword [esp + 0x658]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x654
ret 0xc