Function at 0x404330
Capabilities:
Get common file path

Disassembly:
push 0x2a4
mov eax, 0x45594a
call fcn.00436bf5
mov ebx, ecx
xor esi, esi
lea eax, [ebp - 0xb4]
push eax
push esi
push esi
mov edi, esi
mov dword [ebp - 0xb0], edi
push 0x459a80
mov dword [ebp - 0xb4], esi
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x404439
push ecx
push ecx
lea ecx, [ebp - 0x200]
call fcn.004064eb
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 4], esi
push 8
push eax
call fcn.004238f8
add esp, 0xc
mov edx, str.SHGetKnownFolderPath_failed_with
mov esi, eax
push 0x402580
push ecx
lea ecx, [ebp - 0x1f0]
call fcn.004091d3
pop ecx
mov ecx, eax
call fcn.00406c57
push dword [esi + 0xc]
mov edi, eax
push dword [esi + 8]
mov esi, dword [esi]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push ecx
mov ecx, esi
call dword [0x459220]
call esi
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
mov eax, dword [eax + 4]
push dword [ebp - 0xb0]
mov byte [eax + edi + 0x40], 0x30
call fcn.00406b7b
mov edx, str.__assuming_GFE_being_out_of_standby_mode
mov ecx, eax
call fcn.004091d3
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x200]
call fcn.00406442
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x40440f
mov eax, dword [eax]
cmp dword [ebx + 8], 0
je 0x40441f
push eax
push 0x45
mov ecx, ebx
call fcn.00402891
lea ecx, [ebp - 0x40]
call fcn.00407dc4
lea ecx, [ebp - 0x200]
call fcn.0040390f
xor al, al
jmp 0x404804
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], esi
push ecx
push ecx
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 2
call fcn.00405b63
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push dword [ebp - 0xb4]
call fcn.004059e5
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x40447a
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x150]
call fcn.0040a55a
pop ecx
mov edx, str.NVIDIA_Corporation_
mov ecx, eax
call fcn.0040941e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00407c3e
mov ecx, ebx
call fcn.00404270
test al, al
je 0x4045a4
mov edx, str.NVIDIA_Quadro_ExperienceCefCache
lea ecx, [ebp - 0x150]
call fcn.0040941e
mov byte [ebp - 4], 5
xor eax, eax
and dword [ebp - 0x18], 0
test byte [ebp - 0x110], 2
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0xb0], 2
jne 0x404510
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
test ecx, ecx
je 0x404510
cmp ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x13c]
cmovb ecx, dword [ebp - 0x114]
sub ecx, dword [eax]
sar ecx, 1
push ecx
push dword [eax]
jmp 0x40453f
test byte [ebp - 0x110], 4
jne 0x404547
mov eax, dword [ebp - 0x130]
mov edx, dword [eax]
test edx, edx
je 0x404547
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407ce2
xor edi, edi
mov dword [ebp - 4], 3
inc edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x40]
call fcn.0040908f
lea ecx, [ebp - 0x40]
call fcn.0040259a
lea ecx, [ebp - 0x40]
mov byte [ebp - 0xa9], al
call fcn.00407c3e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00407c3e
cmp byte [ebp - 0xa9], 0
jne 0x4047cd
cmp dword [ebx + 8], 0
je 0x4045a4
push str.Quadro_Experience_is_installed__but_cache_directory_doesnt_exist
push 0x49
mov ecx, ebx
call fcn.00402891
mov edx, str.NVIDIA_GeForce_ExperienceCefCache
lea ecx, [ebp - 0x150]
call fcn.0040941e
mov byte [ebp - 4], 7
xor eax, eax
and dword [ebp - 0x18], 0
or edi, 8
test byte [ebp - 0x110], 2
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0xb0], edi
jne 0x404603
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
test ecx, ecx
je 0x404603
cmp ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x13c]
cmovb ecx, dword [ebp - 0x114]
sub ecx, dword [eax]
sar ecx, 1
push ecx
push dword [eax]
jmp 0x404632
test byte [ebp - 0x110], 4
jne 0x40463a
mov eax, dword [ebp - 0x130]
mov edx, dword [eax]
test edx, edx
je 0x40463a
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407ce2
and edi, 0xfffffff7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 8
push eax
lea ecx, [ebp - 0x40]
call fcn.0040908f
lea ecx, [ebp - 0x40]
call fcn.0040259a
lea ecx, [ebp - 0x40]
mov byte [ebp - 0xa9], al
call fcn.00407c3e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00407c3e
cmp byte [ebp - 0xa9], 0
jne 0x4047cd
push ecx
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.004064eb
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 9
call fcn.0040543a
mov byte [ebp - 4], 0xb
xor eax, eax
and dword [ebp - 0x18], 0
or edi, 0x24
test byte [ebp - 0x110], 2
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0xb0], edi
jne 0x4046ea
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4046ea
cmp ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x13c]
cmovb ecx, dword [ebp - 0x114]
sub ecx, dword [eax]
sar ecx, 1
push ecx
push dword [eax]
jmp 0x404719
test byte [ebp - 0x110], 4
jne 0x404721
mov eax, dword [ebp - 0x130]
mov edx, dword [eax]
test edx, edx
je 0x404721
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407ce2
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa8]
call fcn.004072b8
mov edx, str.is_directory_returned_false_for_CEF_cache:
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2a0]
call fcn.004091d3
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.0040a6e2
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00406442
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x40478f
mov eax, dword [eax]
cmp dword [ebx + 8], 0
je 0x40479f
push eax
push 0x45
mov ecx, ebx
call fcn.00402891
lea ecx, [ebp - 0x58]
call fcn.00407dc4
lea ecx, [ebp - 0x40]
call fcn.00407dc4
lea ecx, [ebp - 0x28]
call fcn.00407c3e
lea ecx, [ebp - 0xa8]
call fcn.00405418
lea ecx, [ebp - 0x2b0]
call fcn.0040390f
lea ecx, [ebp - 0x100]
call fcn.00405b20
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00423842
pop ecx
test esi, esi
je 0x4047fe
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, byte [ebp - 0xa9]
call fcn.00436b9f
ret