Function at 0x12dac290
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x13057700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push 0x13198dc0
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0
call fcn.12f41640
mov eax, dword [esp + 0x140]
push 0x130cc1fc
push eax
mov byte [esp + 0x12c], 1
call fcn.12f5de16
add esp, 8
test eax, eax
jne 0x12dac2ec
push 0x130cc798
jmp 0x12dac32a
mov ecx, dword [esp + 0x140]
push 0x130cc1a4
push ecx
call fcn.12f5de16
add esp, 8
test eax, eax
jne 0x12dac30c
push 0x130cc784
jmp 0x12dac32a
mov edx, dword [esp + 0x140]
push 0x130cc1d0
push edx
call fcn.12f5de16
add esp, 8
test eax, eax
jne 0x12dac333
push 0x130cc770
lea ecx, [esp + 4]
call fcn.12f421d0
mov eax, dword [esp]
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov ecx, dword [eax - 8]
push esi
test ecx, ecx
push edi
je 0x12dac396
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x28]
push 0x103
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x12dac396
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push eax
push 0x130c4bec
push ebx
call fcn.12f44dd0
add esp, 0x10
mov eax, dword [0x13199068]
test eax, eax
je 0x12dac407
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push eax
call fcn.12f469f0
mov esi, eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x134], 2
push ecx
lea ecx, [esp + 0x18]
call fcn.12f469f0
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
push str.GetWPSRegItemRoute:_strDllName__s__strModulePath__s_
push str.CurrentFileMgr
push 1
mov byte [esp + 0x148], 3
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 2
call fcn.12f472f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 1
call fcn.12f472f0
mov ecx, dword [esp + 0x150]
push 0x130cc1fc
push ecx
call fcn.12f5de16
mov esi, dword [esp + 0x154]
mov edi, dword [esp + 0x150]
mov ebp, dword [esp + 0x14c]
add esp, 8
test eax, eax
jne 0x12dac468
mov ecx, dword [esp + 0x13c]
push str.D77E2F43_BA5D_4BF5_8204_F2FA2C5EA2CB
call fcn.12f421d0
push str.TSafeWordAddin.Addin.1
mov ecx, ebp
call fcn.12f421d0
push str.19497662_61CD_4938_86DD_D13681B4DAA0
mov ecx, edi
call fcn.12f421d0
push str.TSafeWord_Addin
jmp 0x12dac4f8
mov edx, dword [esp + 0x150]
push 0x130cc1a4
push edx
call fcn.12f5de16
add esp, 8
test eax, eax
jne 0x12dac4b1
mov ecx, dword [esp + 0x13c]
push str.9FBA480C_2C08_48F4_8C71_6B5C5A41A9B2
call fcn.12f421d0
push str.TSafeExcelAddin.Addin.1
mov ecx, ebp
call fcn.12f421d0
push str.F2E3F548_B85D_4731_940C_4536A530220D
mov ecx, edi
call fcn.12f421d0
push str.TSafeExcel_Addin
jmp 0x12dac4f8
mov eax, dword [esp + 0x150]
push 0x130cc1d0
push eax
call fcn.12f5de16
add esp, 8
test eax, eax
jne 0x12dac4ff
mov ecx, dword [esp + 0x13c]
push str.A814E58B_C192_4F6E_B659_6B82D6194DA6
call fcn.12f421d0
push str.TSafePPTAddin.Addin.1
mov ecx, ebp
call fcn.12f421d0
push str.F2B3B99B_E67E_48B7_9A91_4544483E7772
mov ecx, edi
call fcn.12f421d0
push str.TSafePPT_Addin
mov ecx, esi
call fcn.12f421d0
mov eax, dword [0x13199068]
test eax, eax
je 0x12dac5f9
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push eax
call fcn.12f469f0
mov esi, eax
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x138], 4
call fcn.12f469f0
mov edi, eax
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x138], 5
call fcn.12f469f0
mov ebp, eax
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x138], 6
call fcn.12f469f0
mov ebx, eax
mov ecx, dword [esp + 0x13c]
mov byte [esp + 0x134], 7
mov eax, dword [ecx]
lea ecx, [esp + 0x18]
push eax
call fcn.12f469f0
mov edx, dword [esi]
mov ecx, dword [edi]
push edx
mov edx, dword [ebp]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [eax]
push ecx
push edx
push str.GetWPSRegItemRoute:_strCLSID__s__strModulePath__s__strCurVer__s__strTypeLib__s__strComDescription__s_
push str.CurrentFileMgr
push 1
mov byte [esp + 0x154], 8
call fcn.12dad750
add esp, 0x20
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 7
call fcn.12f472f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 6
call fcn.12f472f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 5
call fcn.12f472f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 4
call fcn.12f472f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 1
call fcn.12f472f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 0
call fcn.12f41f70
lea ecx, [esp + 0x150]
mov dword [esp + 0x134], 0xffffffff
call fcn.12f41f70
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 0x18