Function at 0x414740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437ad6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x90]
mov ecx, 0x21
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
push 0x400
push 0
push 9
push 0x10
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call sub.MFC42D.DLL_Ordinal_1602
push 1
push 0xd
push 9
push 0x10
push 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_1602
push 0x96
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0x9d
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0x9e
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0x9f
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa0
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa1
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa2
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa3
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa4
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa5
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa6
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xa8
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0xab
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call sub.MFC42D.DLL_Ordinal_979
push 0x9e
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x80], eax
push 0xac
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_3432
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x43d0e0
call sub.MFC42D.DLL_Ordinal_487
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x43d0e0
call sub.MFC42D.DLL_Ordinal_487
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0041a240
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x15c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1a4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x154], 0
mov esi, esp
push str.FileOperationPath
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x160], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x164], 0
push 0x43d0e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x168
call sub.MFC42D.DLL_Ordinal_736
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x16c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x170], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x174], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x150], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1b0], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1b8], 0
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0xcc]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x10]
add eax, 0x88
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x6c]
call fcn.004073f0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x188], 0
push 0x80
push 0x80
mov ecx, dword [ebp - 0x10]
add ecx, 0x218
call sub.MFC42D.DLL_Ordinal_4853
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 1
mov esi, esp
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x5c
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4403
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push str.FileCache
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x190
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_684
push str.FileViewer
push str.Client_Setting
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00421440
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18c
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call sub.MFC42D.DLL_Ordinal_684
push 0x43d0e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18c
push ecx
call sub.MFC42D.DLL_Ordinal_813
and eax, 0xff
test eax, eax
je 0x414bf6
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 4
mov esi, esp
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_2295
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_4302
push str._notepad.exe
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18c
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x90
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret