Function at 0x401430
Capabilities:
Get common file path
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov dword [ebp - 0x18], 0
mov eax, dword [0x44c434]
push eax
call fcn.0040a36b
mov dword [ebp - 0x1c], eax
cmp dword [0x44c080], 0
jne 0x40154c
push 0xa8
push 0
push 0x44c088
call fcn.00401100
add esp, 0xc
mov dword [0x44c088], 0x23
mov dword [0x44c08c], 0xa8
mov dword [0x44c094], 0x4013d0
mov dword [0x44c0f0], 0x401390
mov dword [0x44c0a4], 0x401290
mov dword [0x44c0cc], 0x4012d0
mov dword [0x44c11c], 0x401350
mov dword [0x44c0b8], 0x401310
push 0x30
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.00401100
add esp, 0xc
mov dword [ebp - 0x58], 0x30
mov edx, dword [0x44bf78]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x50], 0x401410
mov dword [ebp - 0x30], 0x436000
mov dword [ebp - 0x54], 3
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [0x44c080], 1
lea ecx, [ebp - 0x260]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x260]
push edx
push str.__disk_cache_dir__sWebView2_Cache_
push 0x104
lea eax, [ebp - 0x468]
push eax
call fcn.00401710
add esp, 0x10
lea ecx, [ebp - 0x468]
push ecx
push 0x436068
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [0x44c080], 0
je 0x4016a6
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
call fcn.0040d5dd
push 0
mov eax, dword [0x44bf78]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x50000000
push 0x4360b4
push 0x4360b8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4016a6
mov ecx, dword [ebp + 0x1c]
and ecx, 1
je 0x4015c3
mov dword [ebp - 0x14], 1
jmp 0x4015ca
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040d7a5
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4016a6
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040d83d
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0x20]
test eax, eax
jne 0x4016a6
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x44c430]
push edx
call fcn.0040d30a
mov dword [ebp - 4], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx + 0x10], eax
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + ecx + 0x10], eax
push 0x80
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x10]
push eax
push 0
push 7
push 8
call fcn.0040d480
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], eax
push 0x44c088
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040d632
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x24], edx
push 1
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0x18