Function at 0x12edd110
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13067a61
push eax
mov dword fs:[0], esp
mov eax, dword [0x13199068]
sub esp, 0x418
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x12edd14e
push str.CTSCDTShareDataMgr::GetTempPathW_________
push str.ExpandPath
push 1
call fcn.12dad750
add esp, 0xc
mov ecx, 0x131c1720
call fcn.12edac40
mov ebx, eax
cmp ebx, edi
je 0x12edd383
push 0x1388
push 0x131c1718
lea ecx, [esp + 0x18]
call fcn.12edb100
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], edi
call fcn.12edb1a0
test eax, eax
je 0x12edd3eb
mov esi, dword [ebx + 0x210]
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], ebp
call fcn.12edb150
cmp dword [0x13199068], edi
je 0x12edd1c3
push esi
push str.CTSCDTShareDataMgr::GetTempPathW_1___d_
push str.ExpandPath
push 1
call fcn.12dad750
add esp, 0x10
cmp esi, edi
jne 0x12edd32f
mov word [esp + 0x220], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x12edd29d
mov eax, dword [0x13199068]
test eax, eax
je 0x12edd235
lea ecx, [esp + 0x18]
push ecx
push str.CTSCDTShareDataMgr::GetTempPathW_2___s_
push str.ExpandPath
push 1
call fcn.12dad750
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.12f5c51d
add esp, 4
test eax, eax
jbe 0x12edd257
cmp word [esp + eax*2 + 0x16], 0x5c
lea eax, [esp + eax*2 + 0x16]
jne 0x12edd257
mov word [eax], 0
lea eax, [esp + 0x18]
push 0x7e
push eax
call fcn.12f5d099
add esp, 8
test eax, eax
je 0x12edd283
lea ecx, [esp + 0x220]
push 0x104
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.12e30ea0
jmp 0x12edd29a
lea eax, [esp + 0x18]
push 0x103
lea ecx, [esp + 0x224]
push eax
push ecx
call fcn.12f5c57b
add esp, 0xc
mov eax, dword [0x13199068]
test eax, eax
je 0x12edd2c8
mov eax, dword [0x13196dcc]
lea edx, [esp + 0x220]
push edx
push eax
push str.__s__CTSCDTShareDataMgr::GetTempPathW_Path__s__r_n
push str.ExpandPath
push 1
call fcn.12dad750
add esp, 0x14
mov eax, dword [0x131c1734]
test eax, eax
jne 0x12edd3fc
push 0x1388
push 0x131c1718
lea ecx, [esp + 0x18]
call fcn.12edb100
mov esi, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], esi
call fcn.12edb1a0
test eax, eax
je 0x12edd438
mov dword [ebx + 0x210], esi
lea edi, [ebx + 0x214]
mov ecx, 0x82
lea esi, [esp + 0x220]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], ebp
call fcn.12edb150
push 0x1388
push 0x131c1718
lea ecx, [esp + 0x18]
call fcn.12edb100
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], 2
call fcn.12edb1a0
test eax, eax
je 0x12edd373
add ebx, 0x214
push 0x104
push ebx
push 0x131c197c
call fcn.12f5c57b
add esp, 0xc
mov dword [esp + 0x430], ebp
lea ecx, [esp + 0x10]
call fcn.12edb150
push 0x131c197c
call fcn.12f5c51d
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x12edd3b4
push str.GetTempPathW
push str._c:UsersAppDataLocalTemp
push str._c:Documents_and_SettingsLocal_SettingsTemp
push 0x131c197c
call fcn.12edcdd0
add esp, 0x10
mov eax, dword [0x13199068]
test eax, eax
je 0x12edd3d1
push str.CTSCDTShareDataMgr::GetTempPathW___
push str.ExpandPath
push 1
call fcn.12dad750
add esp, 0xc
mov ecx, dword [esp + 0x418]
mov eax, 0x131c197c
mov dword fs:[0], ecx
add esp, 0x424
ret
mov dword [esp + 0x430], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x12edd37e
mov eax, dword [0x13199068]
test eax, eax
je 0x12edd419
push str.CTSCDTShareDataMgr::GetTempPathW_____
push str.ExpandPath
push 1
call fcn.12dad750
add esp, 0xc
lea ecx, [esp + 0x220]
push 0x104
push ecx
push 0x131c197c
call fcn.12f5c57b
add esp, 0xc
jmp 0x12edd383
mov dword [esp + 0x430], ebp
lea ecx, [esp + 0x10]
jmp 0x12edd37e