Function at 0x51b1d0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x568
mov rbx, rcx
lea rcx, [rsp + 0x2d0]
lea rsi, [rsp + 0x228]
call fcn.005c40b0
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x80], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x80]
cmp qword [rsp + 0x68], rdx
je 0x51ba91
lea rax, [rsp + 0x330]
add rdx, 0x20
mov rcx, rax
mov qword [rsp + 0x30], rax
call fcn.005ccea0
lea r15, [rsp + 0xc8]
mov rdx, qword [rsp + 0x30]
mov rcx, r15
call fcn.005d8360
lea rax, [rsp + 0x2f8]
lea rdx, [rsp + 0x350]
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.0052db70
mov rcx, qword [0x0062bc60]
mov rdx, r15
call fcn.005fef20
mov rcx, rax
call fcn.005fc1f0
lea r12, [rsp + 0x388]
lea r8, [0x00615a70]
lea rdx, [0x0066e6c0]
mov rcx, r12
call fcn.005ff440
lea r13, [rsp + 0xe8]
mov r8, r15
mov rdx, r12
mov rcx, r13
call fcn.005ff300
mov rcx, r12
call fcn.005d5f80
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
call fcn.0040600c
mov rcx, r12
call fcn.0059a0f0
mov edi, eax
mov rcx, r12
call fcn.00405940
test dil, dil
jne 0x51b322
mov rdx, r13
mov rcx, r12
call fcn.0040600c
mov rcx, r12
call fcn.00597780
mov rcx, r12
call fcn.00405940
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rdi
je 0x51ba4e
lea r14, [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call fcn.005d8360
mov rcx, qword [0x0062bc60]
mov rdx, r14
call fcn.005fef20
mov rcx, rax
call fcn.005fc1f0
or r8, 0xffffffffffffffff
lea rdx, [0x00615a70]
mov rcx, r14
call fcn.005467b0
cmp rax, 0xffffffffffffffff
je 0x51ba36
lea rbp, [rsp + 0x128]
or r9, 0xffffffffffffffff
lea r8, [rax + 1]
mov rdx, r14
mov rcx, rbp
call fcn.00546fd0
lea r8, [0x00615a70]
mov rdx, r13
mov rcx, r12
call fcn.005ff440
lea rdi, [rsp + 0x148]
mov r8, rbp
mov rdx, r12
mov rcx, rdi
call fcn.005ff300
mov rcx, r12
call fcn.005d5f80
mov rdx, rdi
mov rcx, r12
call fcn.0040600c
mov rcx, r12
call fcn.0059a0f0
mov ebp, eax
mov rcx, r12
call fcn.00405940
test bpl, bpl
jne 0x51b41d
mov rdx, rdi
mov rcx, r12
call fcn.0040600c
mov rcx, r12
call fcn.00597780
mov rcx, r12
call fcn.00405940
lea r8, str.Cookies
mov rdx, r14
mov rcx, r12
call fcn.005ff440
lea rdi, [rsp + 0x3a8]
lea r8, str.NetworkCookies
mov rdx, r14
mov rcx, rdi
call fcn.005ff440
lea rax, [rsp + 0xb0]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x70], r12
mov rcx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x78], 2
call fcn.004062a6
mov rcx, rdi
call fcn.005d5f80
mov rcx, r12
call fcn.005d5f80
mov rax, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
jmp 0x51b4f6
lea r14, [rsp + 0x168]
mov rdx, rbp
mov rcx, r14
call fcn.005d8360
mov rdx, r14
mov rcx, r12
call fcn.0040600c
mov rcx, r12
call fcn.0059a0f0
mov edi, eax
mov rcx, r12
call fcn.00405940
test dil, dil
jne 0x51b502
lea rcx, [rsp + 0x168]
add rbp, 0x20
call fcn.005d5f80
cmp rbp, qword [rsp + 0x58]
jne 0x51b4b0
jmp 0x51ba12
mov rdx, r14
mov rcx, r12
call fcn.005d8360
lea rcx, [rsp + 0x188]
mov rdx, r12
call fcn.00404224
mov rcx, r12
call fcn.005d5f80
mov rcx, qword [0x0062bc60]
lea rdx, str.Database_copied_from_::
call fcn.005fecb0
mov rcx, rax
mov rdx, r14
call fcn.005fef20
mov rcx, rax
lea rdx, str._to_::
call fcn.005fecb0
lea rdi, [rsp + 0x188]
mov rcx, rax
mov rdx, rdi
call fcn.005fef20
mov rcx, rax
call fcn.005fc1f0
mov rcx, qword [0x0062bc60]
lea rdx, [rsp + 0x108]
call fcn.005fef20
mov rcx, rax
call fcn.005fc1f0
mov rcx, qword [rsp + 0x188]
lea rdx, [rsp + 0x88]
call fcn.004bdfc0
mov r14d, eax
test eax, eax
je 0x51b5d3
mov rcx, qword [0x0062bc60]
lea rdx, str.Fail_opening_database__sqlite3_code:
call fcn.005fecb0
mov rcx, rax
mov edx, r14d
call fcn.00591610
mov rcx, rax
call fcn.005fc1f0
mov rcx, rdi
jmp 0x51ba08
mov rcx, qword [0x0062bc60]
lea rdx, str.Database_opened
call fcn.005fecb0
mov rcx, rax
call fcn.005fc1f0
mov rdx, qword [rbx + 0x48]
mov rcx, qword [rsp + 0x88]
lea r9, [rsp + 0x90]
or r8d, 0xffffffff
mov qword [rsp + 0x20], 0
call fcn.004cc380
lea r14, [rsp + 0x2a8]
lea rdx, [rsp + 0x148]
lea r8, str.Cookies.txt
mov rcx, r14
call fcn.005ff440
lea rcx, [rsp + 0x388]
mov r8d, 0x10
mov rdx, r14
call fcn.005c1690
mov rcx, r14
call fcn.005d5f80
mov rcx, qword [0x0062bc60]
lea rdx, str.COntinued
call fcn.005fecb0
mov rcx, rax
call fcn.005fc1f0
mov rcx, qword [rsp + 0x90]
call fcn.004dcbc0
cmp eax, 0x64
jne 0x51b9cd
mov rcx, qword [0x0062bc60]
lea rdx, str.New_Cookie
call fcn.005fecb0
mov rcx, rax
call fcn.005fc1f0
mov rcx, qword [rsp + 0x90]
xor edx, edx
call fcn.00444a90
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.00405b00
mov rcx, qword [rsp + 0x90]
mov edx, 1
call fcn.00444a90
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.00405b00
mov rcx, qword [rsp + 0x90]
mov edx, 2
call fcn.00444a90
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.00405b00
lea rdi, [rsp + 0x1e8]
mov r9d, 3
xor r8d, r8d
mov rcx, rsi
lea rax, [rsp + 0x218]
mov rdx, rdi
mov qword [rsp + 0x210], 0
mov qword [rsp + 0x208], rax
mov byte [rsp + 0x218], 0
call fcn.00546fd0
cmp qword [rsp + 0x1b0], 0
je 0x51b98c
cmp qword [rsp + 0x1d0], 0
je 0x51b98c
cmp qword [rsp + 0x1f0], 0
je 0x51b98c
lea rdx, [0x00615b20]
mov rcx, rsi
call fcn.005fec30
test al, al
jne 0x51b7a8
lea rdx, [0x00615b24]
mov rcx, rsi
call fcn.005fec30
test al, al
jne 0x51b7a8
lea r14, [rsp + 0x2a8]
mov rdx, rdi
mov rcx, r14
call fcn.005d8360
jmp 0x51b815
lea rax, [rsp + 0x2a8]
lea rdx, [rsp + 0x310]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.005d8360
lea r14, [rsp + 0x288]
mov rdx, rdi
mov rcx, r14
call fcn.005d8360
lea rdi, [rsp + 0x248]
lea r8, [rsp + 0x2a8]
mov rdx, r14
mov rcx, rdi
call fcn.0040489a
lea rcx, [rsp + 0x208]
mov rdx, rdi
call fcn.005d8960
mov rcx, rdi
call fcn.005d5f80
lea rcx, [rsp + 0x288]
jmp 0x51b83b
lea rdi, [rsp + 0x268]
mov rdx, r14
mov rcx, rdi
call fcn.0040401f
lea rcx, [rsp + 0x208]
mov rdx, rdi
call fcn.005d8960
mov rcx, rdi
call fcn.005d5f80
lea r14, [rsp + 0x288]
lea rcx, [rsp + 0x2a8]
call fcn.005d5f80
lea rdx, [0x00615b28]
mov rcx, r14
call fcn.00405b00
lea rcx, [rsp + 0x208]
mov rdx, r14
call fcn.005fec00
mov rcx, r14
mov edi, eax
call fcn.005d5f80
test dil, dil
jne 0x51b98c
mov rdx, qword [rsp + 0x1b0]
test rdx, rdx
je 0x51b92a
mov rax, qword [rsp + 0x1a8]
cmp byte [rax], 0x2e
je 0x51b92a
lea r14, [rsp + 0x2a8]
inc rdx
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x2b0], 0
mov rcx, r14
mov qword [rsp + 0x2a8], rax
mov byte [rsp + 0x2b8], 0
call fcn.005d7cc0
mov r8d, 1
lea rdx, [0x00615b29]
mov rcx, r14
call fcn.005d6cc0
lea rdi, [rsp + 0x1a8]
mov rcx, r14
mov rdx, rdi
call fcn.005d6cf0
lea r14, [rsp + 0x2a8]
mov rcx, rdi
mov rdx, r14
call fcn.005d8960
mov rcx, r14
call fcn.005d5f80
jmp 0x51b92a
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x388]
call fcn.005fef20
mov rcx, rax
lea rdx, str._tTRUE_t__tFALSE_t2597573456_t
call fcn.005fecb0
mov rcx, rax
lea rdx, [rsp + 0x1c8]
call fcn.005fef20
mov rcx, rax
lea rdx, [0x00615b45]
call fcn.005fecb0
mov rcx, rax
lea rdx, [rsp + 0x208]
call fcn.005fef20
mov rcx, rax
lea rdx, [0x00615b47]
call fcn.005fecb0
mov rcx, rsi
call fcn.005d5f80
lea rcx, [rsp + 0x208]
call fcn.005d5f80
lea rcx, [rsp + 0x1e8]
call fcn.005d5f80
lea rcx, [rsp + 0x1c8]
call fcn.005d5f80
lea rcx, [rsp + 0x1a8]
call fcn.005d5f80
jmp 0x51b66c
lea r14, [rsp + 0x388]
mov rcx, r14
call fcn.005c1260
mov rcx, qword [rsp + 0x88]
call fcn.0048dc50
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, r14
call fcn.005c1dc0
lea rcx, [rsp + 0x188]
call fcn.005d5f80
jmp 0x51b4e5
mov rcx, qword [rsp + 0x48]
call fcn.00406120
lea rcx, [rsp + 0x148]
call fcn.005d5f80
lea rcx, [rsp + 0x128]
call fcn.005d5f80
lea rcx, [rsp + 0x108]
call fcn.005d5f80
add qword [rsp + 0x38], 0x20
jmp 0x51b33c
lea rcx, [rsp + 0x98]
call fcn.00406120
mov rcx, r13
call fcn.005d5f80
mov rcx, qword [rsp + 0x40]
call fcn.00406142
mov rcx, r15
call fcn.005d5f80
mov rcx, qword [rsp + 0x30]
call fcn.00406160
lea rcx, [rsp + 0x80]
call fcn.005c82f0
jmp 0x51b210
lea rcx, [rsp + 0x2c8]
call fcn.00406180
nop
add rsp, 0x568
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret