Function at 0x4a48d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d54a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
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 - 0x2a0], ecx
mov eax, dword [ebp - 0x2a0]
movzx ecx, byte [eax + 8]
test ecx, ecx
jne 0x4a4916
mov al, 1
jmp 0x4a4c53
mov byte [ebp - 0x225], 0
lea ecx, [ebp - 0x18]
call fcn.004b34a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x224]
push edx
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4a4c32
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b38f0
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004b4e90
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jle 0x4a4c32
mov ecx, dword [ebp - 0x22c]
add ecx, 1
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x22c]
push edx
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004b4ed0
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jle 0x4a4c32
lea ecx, [ebp - 0x18]
call fcn.00404b70
sub eax, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004b5a90
mov dword [ebp - 0x230], str.Application_DataMozillaFirefoxProfiles
push 0
lea ecx, [ebp - 0x23c]
call fcn.00430200
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004a3e50
add esp, 8
movzx eax, al
test eax, eax
je 0x4a4c23
mov dword [ebp - 0x240], 0
jmp 0x4a4a1a
mov ecx, dword [ebp - 0x240]
add ecx, 1
mov dword [ebp - 0x240], ecx
lea ecx, [ebp - 0x23c]
call fcn.004b9730
cmp dword [ebp - 0x240], eax
jge 0x4a4c23
mov edx, dword [ebp - 0x230]
push edx
lea ecx, [ebp - 0x274]
call fcn.004b3550
mov byte [ebp - 4], 2
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.00430700
push eax
lea edx, [ebp - 0x280]
push edx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a8]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x280]
call fcn.004b3860
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x274]
call fcn.004b3860
push 0
lea ecx, [ebp - 0x258]
call fcn.00430200
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.004a3e50
add esp, 8
movzx eax, al
test eax, eax
je 0x4a4c00
mov dword [ebp - 0x25c], 0
jmp 0x4a4b0b
mov ecx, dword [ebp - 0x25c]
add ecx, 1
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x258]
call fcn.004b9730
cmp dword [ebp - 0x25c], eax
jge 0x4a4c00
push str.cookies.sqlite
lea ecx, [ebp - 0x28c]
call fcn.004b3550
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x258]
call fcn.00430700
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.00412f50
add esp, 0xc
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.00412f50
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x298]
call fcn.004b3860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28c]
call fcn.004b3860
lea eax, [ebp - 0x268]
push eax
call fcn.004bc0e0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4a4bec
mov edx, dword [ebp + 8]
push edx
push 0
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x2a0]
call fcn.004a5060
movzx ecx, al
test ecx, ecx
je 0x4a4bec
mov byte [ebp - 0x225], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.004b3860
jmp 0x4a4afc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.00430250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.004b3860
jmp 0x4a4a0b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00430250
mov dl, byte [ebp - 0x225]
mov byte [ebp - 0x299], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b3860
mov al, byte [ebp - 0x299]
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