Function at 0x4ad470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5520
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x66a8c4]
xor eax, ebp
mov dword [ebp - 0xd8], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call sub.libcef.dll_cef_enable_highdpi_support
mov eax, dword [0x66e0a8]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004ad840
mov dword [ebp - 4], 0
mov dword [ebp - 0x1f4], 0
push 0x14
call fcn.005910d6
add esp, 4
mov dword [ebp - 0x414], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x414], 0
je 0x4ad4f7
push 1
mov ecx, dword [ebp - 0x414]
call fcn.004ad8c0
mov dword [ebp - 0x438], eax
jmp 0x4ad501
mov dword [ebp - 0x438], 0
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x410], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x410]
push edx
lea ecx, [ebp - 0x400]
call fcn.004ae290
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1f4]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
lea edx, [ebp - 0x400]
push edx
call fcn.004ae980
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.004d4d70
add esp, 0xc
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jl 0x4ad597
mov dword [0x6437c4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x400]
call fcn.004ab740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.004ad8a0
jmp 0x4ad808
lea ecx, [ebp - 0xd4]
call fcn.004ae2b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
test ecx, ecx
je 0x4ad5c1
lea edx, [ebp - 0xd4]
add edx, 4
mov dword [ebp - 0x444], edx
jmp 0x4ad5cb
mov dword [ebp - 0x444], 0
mov eax, dword [ebp - 0x444]
push eax
call fcn.004ad830
add esp, 4
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x5c], 0x63
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 1
push 0x208
push 0
lea ecx, [ebp - 0x3fc]
push ecx
call fcn.00591690
add esp, 0xc
push 0
push 0x28
lea edx, [ebp - 0x3fc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4ad699
push str.AppDataLocalTempCEF
push 0x208
lea eax, [ebp - 0x3fc]
push eax
call fcn.004adb00
push 1
push 0x104
lea ecx, [ebp - 0x3fc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x424]
call fcn.004242d0
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x44c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44c]
call fcn.00425a20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x424]
call fcn.00424300
mov ecx, dword [ebp - 0x1f4]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x428], esp
lea edx, [ebp - 0x400]
push edx
call fcn.004ae980
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.004d4e50
add esp, 0x10
mov byte [ebp - 0x1e4], 0
push 0x103
push 0
lea edx, [ebp - 0x1e3]
push edx
call fcn.00591690
add esp, 0xc
push 0x104
lea eax, [ebp - 0x1e4]
push eax
mov ecx, dword [0x66e0a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x1e4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
push str.cookies_
lea eax, [ebp - 0x1e4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x40c]
call fcn.004ae0e0
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x42c], esp
push 0
call fcn.004243c0
mov dword [ebp - 0x454], eax
lea edx, [ebp - 0x430]
push edx
call fcn.004d5940
add esp, 8
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x45c]
call fcn.00587180
mov dword [ebp - 0x460], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x434], esp
push 0
call fcn.004243c0
mov dword [ebp - 0x464], eax
push 1
lea ecx, [ebp - 0x40c]
push ecx
mov edx, dword [ebp - 0x460]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x460]
mov edx, dword [eax + 0x14]
call edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x430]
call fcn.00422c90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40c]
call fcn.00424300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.004ae2e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x400]
call fcn.004ab740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.004ad8a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xd8]
xor ecx, ebp
call fcn.00590c4b
mov esp, ebp
pop ebp
ret