Function at 0x414280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a2d3
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov ecx, dword [ebp - 0x128]
call dword [sym.imp.pblcdlg.dll_protected:_void___thiscall_CSingleEleDoc::constructor_void_]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x128]
mov dword [eax], vtable.CArtcut6Doc.0
mov ecx, dword [ebp - 0x128]
movsd xmm0, qword [0x4a6370]
movsd qword [ecx + 0x99c], xmm0
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 2
push 0x67
push 0x65
push 0x72
push 0x2e
push 0x64
push 0x79
push 0x63
push 0x74
push 0x77
push 0x4a5ff8
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0x2c
push 0x100
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
movsx edx, byte [ebp + ecx - 0x121]
cmp edx, 0x5c
jne 0x4143c3
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00413a60
add esp, 0xc
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x150], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x150]
push edx
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x41447a
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
push 0x5c
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.004139b0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x140]
push ecx
call fcn.00413a60
add esp, 0xc
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x170]
call sub.mfc120.dll_Ordinal_503
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0x170]
call sub.mfc120.dll_Ordinal_4662
test eax, eax
jne 0x4144d8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x170]
call sub.mfc120.dll_Ordinal_1139
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x414507
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x170]
call sub.mfc120.dll_Ordinal_1139
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret