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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x608fe8
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 0x53a307
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x53a307
call fcn.00539590
test eax, eax
je 0x53a307
mov esi, dword [esp + 0x40]
push esi
call fcn.005398d0
add esp, 4
test eax, eax
je 0x53a307
cmp esi, ebx
mov dword [esp + 0x18], ebx
mov eax, 0x6cf370
jne 0x53a0b0
mov eax, 0x6cf36c
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [0x6cf378]
add esp, 8
cmp eax, ebx
je 0x53a0d8
mov edx, dword [esp + 0x14]
push edx
call dword [0x6cf37c]
add esp, 4
jmp 0x53a307
mov eax, dword [0x6ca27c]
mov dword [esp + 0x10], eax
push 0x2e
push ebp
mov dword [esp + 0x40], ebx
call fcn.005c5b00
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x53a2f6
push 0x2e
push ebp
xor esi, esi
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x53a121
cmp eax, edi
je 0x53a121
mov esi, eax
inc eax
push 0x2e
push eax
call fcn.005c4b80
add esp, 8
cmp eax, ebx
jne 0x53a10b
mov ecx, dword [0x6ca27c]
mov dword [esp + 0x4c], ecx
cmp esi, ebx
mov byte [esp + 0x38], 1
je 0x53a155
push esi
lea ecx, [esp + 0x50]
call fcn.005e1315
cmp dword [esp + 0x40], ebx
je 0x53a17b
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 0x53a18a
mov eax, dword [esp + 0x40]
push ebp
cmp eax, ebx
je 0x53a172
lea edx, [esp + 0x50]
push 0x6a56e4
push edx
call fcn.005d9fbb
add esp, 0xc
jmp 0x53a13e
lea ecx, [esp + 0x50]
call fcn.005e1315
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.005d9fbb
mov eax, dword [0x6ca27c]
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.005e1315
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x48]
cmp edx, ebx
je 0x53a1f5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x53a1f5
mov al, byte [ecx + edx - 1]
push edx
cmp al, 0x2f
je 0x53a1fa
lea eax, [esp + 0x24]
push 0x6bcdf0
push eax
call fcn.005d9fbb
add esp, 0xc
jmp 0x53a203
push 0x6a2958
lea ecx, [esp + 0x24]
call fcn.005e1315
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0x53a320
push eax
push ecx
call dword [0x6cf380]
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x53a239
mov edx, dword [esp + 0x18]
push edx
call dword [0x6cf384]
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call dword [0x6cf37c]
add esp, 4
cmp esi, ebx
jne 0x53a2bf
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 0x53a2bf
mov ecx, dword [esp + 0x50]
push edx
push 0x69ffbc
push ecx
call fcn.005d9fbb
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 4
call fcn.005e118c
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call fcn.005e118c
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.005e118c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.005e118c
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005e118c
mov eax, 1
jmp 0x53a309
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 6
call fcn.005e118c
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.005e118c
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.005e118c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.005e118c
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.005e118c
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