Function at 0x564520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x636958
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040e4b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp - 0x1a0]
call fcn.00564cd0
mov byte [ebp - 0xed], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.0040e530
movzx eax, byte [ebp - 0xed]
test eax, eax
je 0x5645ae
mov al, 1
jmp 0x564a1f
lea ecx, [ebp - 0x4c]
call fcn.0040e480
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x1a0]
call fcn.00564a90
movzx edx, al
test edx, edx
jne 0x5645f4
mov byte [ebp - 0x10d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040e530
mov al, byte [ebp - 0x10d]
jmp 0x564a1f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040e4b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x1a0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [edx + 0x18]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x12c]
call fcn.0040e530
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x1a0]
call fcn.00563730
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.0047e5d0
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.0047cfa0
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.0047f000
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x30]
call fcn.0040e460
mov dword [ebp - 0x1b0], eax
push 6
mov eax, dword [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0047e680
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebp - 0x1a0]
call fcn.00563730
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1b8]
call fcn.0040e460
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
push ecx
push str.select__from_urls_where_title___s_ORDER_by_last_visit_time_desc_limit_3
lea edx, [ebp - 0x70]
push edx
call fcn.0047cbb0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x148]
call fcn.0040e3e0
lea ecx, [ebp - 0x70]
call fcn.0047efe0
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0047e890
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0047d110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x160]
call fcn.0047d0a0
mov byte [ebp - 0xbd], 0
lea ecx, [ebp - 0xa4]
call fcn.0040e480
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0xbc]
call fcn.0047d730
mov byte [ebp - 0x1cd], al
movzx ecx, byte [ebp - 0x1cd]
test ecx, ecx
jne 0x5648e8
push 0
push 0
push 0x65a8c4
lea ecx, [ebp - 0xbc]
call fcn.0047d330
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], edx
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [ebp - 0x88]
jne 0x56480a
mov edx, dword [ebp - 0xe4]
cmp edx, dword [ebp - 0x84]
je 0x56481d
mov eax, dword [ebp - 0x88]
or eax, dword [ebp - 0x84]
je 0x56481d
jmp 0x5648e8
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x84], edx
lea ecx, [ebp - 0xdc]
call fcn.00414040
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0xd
push 0x65a8d4
lea ecx, [ebp - 0xbc]
call fcn.0047d240
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00414070
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0x17c]
push edx
mov ecx, dword [ebp - 0x1a0]
call fcn.00563850
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1e8]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0040e550
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x17c]
call fcn.0040e530
mov byte [ebp - 0xbd], 1
lea ecx, [ebp - 0xbc]
call fcn.0047d750
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xdc]
call fcn.0040e3e0
jmp 0x564796
movzx edx, byte [ebp - 0xbd]
test edx, edx
je 0x564943
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x198]
call fcn.0040e4b0
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x198]
push edx
mov ecx, dword [ebp - 0x1a0]
call fcn.00564c80
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x198]
call fcn.0040e530
lea eax, [ebp - 0xa4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040e550
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa4]
call fcn.0040e530
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.0047f020
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.0047d0a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.0047e630
jmp 0x5649a4
mov dword [ebp - 4], 5
jmp 0x5649dc
lea ecx, [ebp - 0x4c]
call fcn.0040e5d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x19a], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0040e530
mov al, byte [ebp - 0x19a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 8