Function at 0x538490
Capabilities:
Gather firefox profile information
Reference sql statements

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x607348
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x44]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
je 0x538757
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x538757
call fcn.005379e0
test eax, eax
je 0x538757
mov esi, dword [esp + 0x40]
push esi
call fcn.00537d20
add esp, 4
test eax, eax
je 0x538757
cmp esi, ebx
mov dword [esp + 0x18], ebx
mov eax, 0x6cd360
jne 0x538500
mov eax, 0x6cd35c
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [0x6cd368]
add esp, 8
cmp eax, ebx
je 0x538528
mov edx, dword [esp + 0x14]
push edx
call dword [0x6cd36c]
add esp, 4
jmp 0x538757
mov eax, dword [0x6c826c]
mov dword [esp + 0x10], eax
push 0x2e
push ebp
mov dword [esp + 0x40], ebx
call fcn.005c3ed0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x538746
push 0x2e
push ebp
xor esi, esi
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x538571
cmp eax, edi
je 0x538571
mov esi, eax
inc eax
push 0x2e
push eax
call fcn.005c2f50
add esp, 8
cmp eax, ebx
jne 0x53855b
mov ecx, dword [0x6c826c]
mov dword [esp + 0x4c], ecx
cmp esi, ebx
mov byte [esp + 0x38], 1
je 0x5385a5
push esi
lea ecx, [esp + 0x50]
call fcn.005df6df
cmp dword [esp + 0x40], ebx
je 0x5385cb
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
push str.SELECT_name__value__path__host__isSecure_FROM_moz_cookies_WHERE_host_like____s
push ecx
jmp 0x5385da
mov eax, dword [esp + 0x40]
push ebp
cmp eax, ebx
je 0x5385c2
lea edx, [esp + 0x50]
push 0x6a36e0
push edx
call fcn.005d838b
add esp, 0xc
jmp 0x53858e
lea ecx, [esp + 0x50]
call fcn.005df6df
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x10]
push edx
push str.SELECT_creation_utc__name__value__path__host_key__secure_FROM_cookies_WHERE_host_key_like____s
push eax
call fcn.005d838b
mov eax, dword [0x6c826c]
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x44]
push ebp
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 2
call fcn.005df6df
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x48]
cmp edx, ebx
je 0x538645
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x538645
mov al, byte [ecx + edx - 1]
push edx
cmp al, 0x2f
je 0x53864a
lea eax, [esp + 0x24]
push 0x6bade8
push eax
call fcn.005d838b
add esp, 0xc
jmp 0x538653
push 0x6a0958
lea ecx, [esp + 0x24]
call fcn.005df6df
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0x538770
push eax
push ecx
call dword [0x6cd370]
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x538689
mov edx, dword [esp + 0x18]
push edx
call dword [0x6cd374]
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call dword [0x6cd36c]
add esp, 4
cmp esi, ebx
jne 0x53870f
mov edx, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x53870f
mov ecx, dword [esp + 0x50]
push edx
push 0x69dfbc
push ecx
call fcn.005d838b
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 4
call fcn.005df556
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call fcn.005df556
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.005df556
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.005df556
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005df556
mov eax, 1
jmp 0x538759
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 6
call fcn.005df556
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.005df556
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.005df556
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.005df556
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005df556
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x14