Function at 0x12edd100
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13067991
push eax
mov dword fs:[0], esp
mov eax, dword [0x13198f68]
sub esp, 0x418
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x12edd13e
push 0x13150f00
push 0x13146bd8
push 1
call fcn.12dad750
add esp, 0xc
mov ecx, 0x131c1620
call fcn.12edac30
mov ebx, eax
cmp ebx, edi
je 0x12edd373
push 0x1388
push 0x131c1618
lea ecx, [esp + 0x18]
call fcn.12edb0f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], edi
call fcn.12edb190
test eax, eax
je 0x12edd3db
mov esi, dword [ebx + 0x210]
or ebp, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], ebp
call fcn.12edb140
cmp dword [0x13198f68], edi
je 0x12edd1b3
push esi
push 0x13150eb0
push 0x13146bd8
push 1
call fcn.12dad750
add esp, 0x10
cmp esi, edi
jne 0x12edd31f
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 0x12edd28d
mov eax, dword [0x13198f68]
test eax, eax
je 0x12edd225
lea ecx, [esp + 0x18]
push ecx
push 0x13150e60
push 0x13146bd8
push 1
call fcn.12dad750
add esp, 0x10
lea edx, [esp + 0x18]
push edx
call fcn.12f5c44d
add esp, 4
test eax, eax
jbe 0x12edd247
cmp word [esp + eax*2 + 0x16], 0x5c
lea eax, [esp + eax*2 + 0x16]
jne 0x12edd247
mov word [eax], 0
lea eax, [esp + 0x18]
push 0x7e
push eax
call fcn.12f5cfc9
add esp, 8
test eax, eax
je 0x12edd273
lea ecx, [esp + 0x220]
push 0x104
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.12e30ea0
jmp 0x12edd28a
lea eax, [esp + 0x18]
push 0x103
lea ecx, [esp + 0x224]
push eax
push ecx
call fcn.12f5c4ab
add esp, 0xc
mov eax, dword [0x13198f68]
test eax, eax
je 0x12edd2b8
mov eax, dword [0x13196ccc]
lea edx, [esp + 0x220]
push edx
push eax
push 0x13150dfc
push 0x13146bd8
push 1
call fcn.12dad750
add esp, 0x14
mov eax, dword [0x131c1634]
test eax, eax
jne 0x12edd3ec
push 0x1388
push 0x131c1618
lea ecx, [esp + 0x18]
call fcn.12edb0f0
mov esi, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], esi
call fcn.12edb190
test eax, eax
je 0x12edd428
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.12edb140
push 0x1388
push 0x131c1618
lea ecx, [esp + 0x18]
call fcn.12edb0f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x430], 2
call fcn.12edb190
test eax, eax
je 0x12edd363
add ebx, 0x214
push 0x104
push ebx
push 0x131c187c
call fcn.12f5c4ab
add esp, 0xc
mov dword [esp + 0x430], ebp
lea ecx, [esp + 0x10]
call fcn.12edb140
push 0x131c187c
call fcn.12f5c44d
add esp, 4
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x12edd3a4
push 0x13150de0
push 0x13150da0
push 0x13150d3c
push 0x131c187c
call fcn.12edcdc0
add esp, 0x10
mov eax, dword [0x13198f68]
test eax, eax
je 0x12edd3c1
push 0x13150ce8
push 0x13146bd8
push 1
call fcn.12dad750
add esp, 0xc
mov ecx, dword [esp + 0x418]
mov eax, 0x131c187c
mov dword fs:[0], ecx
add esp, 0x424
ret
mov dword [esp + 0x430], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x12edd36e
mov eax, dword [0x13198f68]
test eax, eax
je 0x12edd409
push 0x13150c9c
push 0x13146bd8
push 1
call fcn.12dad750
add esp, 0xc
lea ecx, [esp + 0x220]
push 0x104
push ecx
push 0x131c187c
call fcn.12f5c4ab
add esp, 0xc
jmp 0x12edd373
mov dword [esp + 0x430], ebp
lea ecx, [esp + 0x10]
jmp 0x12edd36e