Function at 0x196bff60
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 0x196c4d48
call fcn.196b17f0
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x196bffac
jmp 0x196c01be
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + eax + 0x208]
push ecx
call fcn.196c3770
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x196bffd5
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x196c01be
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0xd2d61642
push 7
push 0x196c4d48
call fcn.196b17f0
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x196c0006
jmp 0x196c01be
mov dword [ebp - 0x18], 0
push 0x5b17dd70
push 0x10
push 0x196c4e8c
call fcn.196b17f0
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.196bfc80
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x196c004a
jmp 0x196c01be
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.196bff30
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 0x196c006e
jmp 0x196c01be
mov edx, dword [0x196c8cb8]
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.196c3770
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x196c00a8
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x196c01be
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 0x196c00cb
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x196c01be
cmp dword [ebp - 0x18], 0
je 0x196c00fa
mov eax, dword [ebp - 0x10]
push eax
push 0xb5416aed
push 3
push 0x196c4ea0
call fcn.196b17f0
add esp, 0xc
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.196b6ec0
add esp, 0x10
jmp 0x196c0108
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 0x196c4ea4
call fcn.196b17f0
add esp, 0xc
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.196b6ec0
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0x6d362e2e
push 0xb
push 0x196c4b94
call fcn.196b17f0
add esp, 0xc
push eax
call fcn.196c25e0
add esp, 0xc
test eax, eax
setne cl
mov byte [ebp - 5], cl
movzx edx, byte [ebp - 5]
test edx, edx
jne 0x196c0169
jmp 0x196c01be
cmp dword [ebp - 0xc], 0
jne 0x196c0171
jmp 0x196c01be
cmp dword [ebp - 4], 0
jne 0x196c0179
jmp 0x196c01be
mov eax, dword [ebp - 4]
push eax
push 0x8a7c48c4
push 0x19
push 0x196c4eac
call fcn.196b17f0
add esp, 0xc
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.196b6c20
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.196c2850
add esp, 8
test eax, eax
setne cl
mov byte [ebp - 5], cl
xor edx, edx
jne 0x196bff7f
mov eax, dword [ebp - 0x10]
push eax
call fcn.196c3970
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.196c3970
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.196c3970
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret