Function at 0xe1ff60
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0
push 0
push 0xd2d61642
push 7
push 0xe24d48
call fcn.00e117f0
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0xe1ffac
jmp 0xe201be
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax + 0x208]
push ecx
call fcn.00e23770
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0xe1ffd5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0xe201be
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0xd2d61642
push 7
push 0xe24d48
call fcn.00e117f0
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0xe20006
jmp 0xe201be
mov dword [ebp - 0x18], 0
push 0x5b17dd70
push 0x10
push 0xe24e8c
call fcn.00e117f0
add esp, 0xc
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00e1fc80
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0xe2004a
jmp 0xe201be
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00e1ff30
add esp, 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0xe2006e
jmp 0xe201be
mov edx, dword [0xe28cb8]
add edx, 0x34
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 1]
lea eax, [edx + edx + 0xa]
push eax
call fcn.00e23770
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xe200a8
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0xe201be
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, dword [ebp - 0x14]
jbe 0xe200cb
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0xe201be
cmp dword [ebp - 0x18], 0
je 0xe200fa
mov eax, dword [ebp - 0x10]
push eax
push 0xb5416aed
push 3
push 0xe24ea0
call fcn.00e117f0
add esp, 0xc
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00e16ec0
add esp, 0x10
jmp 0xe20108
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x65c1e14f
push 6
push 0xe24ea4
call fcn.00e117f0
add esp, 0xc
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00e16ec0
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0x6d362e2e
push 0xb
push 0xe24b94
call fcn.00e117f0
add esp, 0xc
push eax
call fcn.00e225e0
add esp, 0xc
test eax, eax
setne cl
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
test edx, edx
jne 0xe20169
jmp 0xe201be
cmp dword [ebp - 0xc], 0
jne 0xe20171
jmp 0xe201be
cmp dword [ebp - 4], 0
jne 0xe20179
jmp 0xe201be
mov eax, dword [ebp - 4]
push eax
push 0x8a7c48c4
push 0x19
push 0xe24eac
call fcn.00e117f0
add esp, 0xc
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00e16c20
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00e22850
add esp, 8
test eax, eax
setne cl
mov byte [ebp - 5], cl
xor edx, edx
jne 0xe1ff7f
mov eax, dword [ebp - 0x10]
push eax
call fcn.00e23970
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.00e23970
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.00e23970
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret