Function at 0x669950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ea048
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x128
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x138]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 0x23
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxmenuhash.cpp
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047ca40
nop
mov ecx, dword [ebp + 0xc]
call fcn.00453570
test eax, eax
jne 0x6699ba
xor eax, eax
jmp 0x669dea
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x10c], ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10c]
call fcn.006696e0
test eax, eax
je 0x6699f8
mov esi, esp
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00784930
nop
lea ecx, [ebp - 0x28]
call fcn.0040be70
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x28]
call fcn.0040b9c0
mov esi, esp
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.00784930
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.0042f0c0
lea ecx, [ebp - 0x34]
call fcn.0040be70
mov byte [ebp - 4], 1
push 0x104
lea ecx, [ebp - 0x34]
call fcn.0040b9c0
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x28]
call fcn.0040b730
mov dword [ebp - 0x114], eax
push 0x104
mov edx, dword [ebp - 0x110]
push edx
push 0x81d490
mov eax, dword [ebp - 0x114]
push eax
call fcn.004f8bf0
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.0042f0c0
mov esi, esp
push 0
push 0x4000100
push 2
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x34]
call fcn.0040b730
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x669b19
push 0x3e
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxmenuhash.cpp
lea ecx, [ebp - 0xdc]
call fcn.00405460
mov dword [ebp - 0x118], eax
push str.Cant_create_temporary_file__n
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.004059e0
add esp, 8
mov dword [ebp - 0xe0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040bc80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040bc80
mov eax, dword [ebp - 0xe0]
jmp 0x669dea
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x5c]
call fcn.0062fda0
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 3
push 0
push 0x1000
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00531260
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x124], ecx
mov esi, esp
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov edi, esp
mov ecx, dword [ebp - 0x128]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp + 0xc]
call dword [ebp - 0x128]
cmp esi, esp
call fcn.00784930
nop
lea ecx, [ebp - 0xac]
call fcn.00531fc0
nop
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.005315c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0062ff40
nop
jmp 0x669d1d
mov dword [ebp - 4], 1
jmp 0x669d4f
jmp 0x669d77
jmp 0x669d9f
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x138], edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x138]
call fcn.0066a090
nop
mov dword [ebp - 0x108], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040bc80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040bc80
mov eax, dword [ebp - 0x108]
push edx
mov ecx, ebp
push eax
lea edx, [0x669e1c]
call fcn.007848d0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x138
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8