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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x607048
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 0x538537
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x538537
call fcn.005377c0
test eax, eax
je 0x538537
mov esi, dword [esp + 0x40]
push esi
call fcn.00537b00
add esp, 4
test eax, eax
je 0x538537
cmp esi, ebx
mov dword [esp + 0x18], ebx
mov eax, 0x6cd360
jne 0x5382e0
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 0x538308
mov edx, dword [esp + 0x14]
push edx
call dword [0x6cd36c]
add esp, 4
jmp 0x538537
mov eax, dword [0x6c826c]
mov dword [esp + 0x10], eax
push 0x2e
push ebp
mov dword [esp + 0x40], ebx
call fcn.005c3bf0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x538526
push 0x2e
push ebp
xor esi, esi
call fcn.005c2c70
add esp, 8
cmp eax, ebx
je 0x538351
cmp eax, edi
je 0x538351
mov esi, eax
inc eax
push 0x2e
push eax
call fcn.005c2c70
add esp, 8
cmp eax, ebx
jne 0x53833b
mov ecx, dword [0x6c826c]
mov dword [esp + 0x4c], ecx
cmp esi, ebx
mov byte [esp + 0x38], 1
je 0x538385
push esi
lea ecx, [esp + 0x50]
call fcn.005df3ef
cmp dword [esp + 0x40], ebx
je 0x5383ab
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 0x5383ba
mov eax, dword [esp + 0x40]
push ebp
cmp eax, ebx
je 0x5383a2
lea edx, [esp + 0x50]
push 0x6a36dc
push edx
call fcn.005d809b
add esp, 0xc
jmp 0x53836e
lea ecx, [esp + 0x50]
call fcn.005df3ef
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.005d809b
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.005df3ef
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x48]
cmp edx, ebx
je 0x538425
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x538425
mov al, byte [ecx + edx - 1]
push edx
cmp al, 0x2f
je 0x53842a
lea eax, [esp + 0x24]
push 0x6bade4
push eax
call fcn.005d809b
add esp, 0xc
jmp 0x538433
push 0x6a094c
lea ecx, [esp + 0x24]
call fcn.005df3ef
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0x538550
push eax
push ecx
call dword [0x6cd370]
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x538469
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 0x5384ef
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 0x5384ef
mov ecx, dword [esp + 0x50]
push edx
push 0x69dfbc
push ecx
call fcn.005d809b
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 4
call fcn.005df266
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call fcn.005df266
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.005df266
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.005df266
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005df266
mov eax, 1
jmp 0x538539
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 6
call fcn.005df266
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.005df266
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.005df266
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.005df266
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005df266
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