Function at 0x46259d
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4ed6a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c0
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 + 0x9e4]
mov edx, dword [esp + 0x9e8]
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 + 0x128]
xor ebx, ebx
cmp eax, ebx
jne 0x4625f2
cmp dword [esi + 0x12c], ebx
je 0x4627e1
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [edx + 0x74]
mov eax, dword [esi + 0x12c]
mov ebp, dword [sym.imp.USER32.dll_SetRect]
cmp eax, ebx
je 0x46262b
push ebx
push ebx
push ebx
lea ecx, [esi + 0xf0]
push ebx
push ecx
call ebp
lea edi, [esi + 0xf0]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x46294a
mov edx, dword [esi + 0x10c]
mov eax, dword [esi + 0x104]
sub edx, eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax + 0x3c]
mov edx, dword [esp + 0x38]
push edx
push ecx
mov ecx, dword [esp + 0x38]
add eax, 0x3c
push ecx
lea edx, [esp + 0x28]
push eax
push edx
call ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4627e1
cmp dword [esi - 0x4c], ebx
je 0x4627e1
or ebp, 0xffffffff
push ebx
push ebp
push 2
push ebx
lea ecx, [esp + 0x198]
call fcn.00410f60
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], ebx
call sub.MFC42.DLL_CDialog::DoModal
mov eax, dword [0x53d420]
mov ecx, 0x53d420
mov dword [esp + 0x10], ecx
call dword [eax + 4]
mov eax, dword [0x537184]
mov ebx, 1
test eax, eax
mov byte [esp + 0x9d8], bl
jne 0x462735
mov eax, dword [0x537180]
test eax, eax
jne 0x462735
push 0x24
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x9d8], 2
je 0x46270b
mov ecx, eax
call fcn.0040b9f0
jmp 0x46270d
xor eax, eax
mov ecx, dword [0x5295d0]
mov byte [esp + 0x9d8], bl
push ecx
push 0x40b4e0
mov ecx, 0x53bea0
mov dword [0x537180], eax
call fcn.00402190
mov dword [0x537184], ebx
mov edx, dword [0x53d420]
mov edi, dword [0x537180]
mov ecx, 0x53d420
mov byte [esp + 0x9d8], 0
call dword [edx + 8]
mov ecx, edi
call fcn.0040fbf0
lea ecx, [esp + 0x98c]
mov dword [esp + 0x9d8], 7
call sub.MFC42.DLL_CTabCtrl::CTabCtrl
lea ecx, [esp + 0x7f8]
mov byte [esp + 0x9d8], 6
call fcn.00408fe0
lea ecx, [esp + 0x58c]
mov byte [esp + 0x9d8], 5
call fcn.004118e0
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x9d8], 4
call fcn.00413770
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x9d8], 3
mov dword [esp + method.CBrush.virtual_0], vtable.CBrush.0
call fcn.00401770
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], ebp
call sub.MFC42.DLL_CDialog::CDialog
xor ebx, ebx
jmp 0x4627e4
or ebp, 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esi + 0x150]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x462921
mov eax, dword [esi + 0x148]
cmp dword [eax - 8], ebx
jle 0x462921
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x148]
push 0
mov ebx, 0xe
push 0
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x9e4], ebx
call fcn.0044bd50
lea ecx, [esp + 0x54]
call fcn.004dd7d0
lea ecx, [esp + 0x84]
mov byte [esp + 0x9d8], 0xf
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x84]
lea eax, [esp + 0x84]
push edx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x98]
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, ebp
jne 0x4628c1
lea ecx, [esp + 0x54]
mov byte [esp + 0x9d8], bl
call fcn.004dd850
lea ecx, [esp + 0x10]
mov dword [esp + 0x9d8], ebp
call sub.MFC42.DLL_CString::CString
jmp 0x462a4b
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 0x4628f8
mov eax, dword [esi + 0x14c]
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x84]
push edx
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.004ddf10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x54]
mov byte [esp + 0x9d8], bl
call fcn.004dd850
lea ecx, [esp + 0x10]
mov dword [esp + 0x9d8], ebp
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
mov eax, dword [esi + 0x48]
cmp dword [eax - 8], ebx
je 0x462a4b
mov esi, dword [esi + 0xb0]
cmp esi, ebx
je 0x462a4b
push eax
push esi
call fcn.004c51c0
add esp, 8
jmp 0x462a4b
mov edx, dword [edi + 8]
mov eax, dword [edi]
sub edx, eax
mov eax, dword [esp + 0x2c]
lea ecx, [edx + eax + 0x3c]
mov edx, dword [esp + 0x38]
push edx
push ecx
mov ecx, dword [esp + 0x38]
add eax, 0x3c
push ecx
lea edx, [esp + 0x28]
push eax
push edx
call ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x462a4b
cmp dword [esi - 0x4c], ebx
je 0x462a4b
push ebx
mov ebx, 1
push ebx
push ebx
push 0
lea ecx, [esp + 0x198]
call fcn.00410f60
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], 8
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x98c]
mov dword [esp + 0x9d8], 0xd
call sub.MFC42.DLL_CTabCtrl::CTabCtrl
lea ecx, [esp + 0x7f8]
mov byte [esp + 0x9d8], 0xc
call fcn.00408fe0
lea ecx, [esp + 0x58c]
mov byte [esp + 0x9d8], 0xb
call fcn.004118e0
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x9d8], 0xa
call fcn.00413770
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x9d8], 9
mov dword [esp + method.CBrush.virtual_0], vtable.CBrush.0
call fcn.00401770
lea ecx, [esp + 0x188]
mov dword [esp + 0x9d8], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov ecx, dword [esp + 0x9d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9cc
ret 0xc