Function at 0x180003c6a
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1800e0310
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r13, rcx
mov rbx, r8
add rcx, 0x38
call fcn.1800046dd
test eax, eax
jne 0x1800e05d3
lea rax, [r13 + 0x48]
mov qword [r13 + 0x30], rbx
mov qword [rsp + 0x50], rax
lea r14, [rsp + 0x50]
lea rax, str.SELECT_Name__Path__pid_FROM_Process_WHERE_Snapshot_id___
xor esi, esi
mov qword [rsp + 0x58], rax
mov r12d, esi
lea rax, [r13 + 0x70]
mov qword [rsp + 0x60], rax
lea rax, str.SELECT_COUNT___FROM_Process_WHERE_Snapshot_id___
mov qword [rsp + 0x68], rax
nop dword [rax + rax]
mov rbx, qword [r14]
mov rbp, qword [r14 + 8]
mov r15, qword [r13 + 0x40]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800e039c
call qword [0x1802495e0]
mov qword [rbx], rsi
test rbp, rbp
jne 0x1800e03b7
mov edx, 0x200
xor ecx, ecx
call fcn.180005df3
xor ecx, ecx
mov rsi, rax
mov word [rax], cx
jmp 0x1800e03f4
mov edi, esi
mov rax, rbp
cmp si, word [rbp]
je 0x1800e03cd
inc edi
lea rax, [rax + 2]
cmp si, word [rax]
jne 0x1800e03c2
lea edx, [rdi + 0x100]
xor ecx, ecx
add rdx, rdx
call fcn.180005df3
lea r8d, [rdi + 1]
mov rdx, rbp
add r8, r8
mov rcx, rax
mov rsi, rax
call fcn.180004e58
xor ecx, ecx
test rsi, rsi
jne 0x1800e0425
cmp dword [rbx + 0x24], esi
ja 0x1800e0417
mov rcx, qword [rbx + 0x18]
mov edx, 0x200
mov dword [rbx + 0x24], 0xff
call fcn.180005df3
mov qword [rbx + 0x18], rax
xor esi, esi
mov dword [rbx + 0x20], esi
mov rax, qword [rbx + 0x18]
mov word [rax], si
jmp 0x1800e047c
mov edi, ecx
mov rax, rsi
cmp cx, word [rsi]
je 0x1800e043b
nop
inc edi
lea rax, [rax + 2]
cmp cx, word [rax]
jne 0x1800e0430
cmp edi, dword [rbx + 0x24]
jb 0x1800e045c
mov rcx, qword [rbx + 0x18]
lea eax, [rdi + 0xff]
lea edx, [rax + 1]
mov dword [rbx + 0x24], eax
add rdx, rdx
call fcn.180005df3
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], edi
lea r8d, [rdi + 1]
mov rcx, qword [rbx + 0x18]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rcx, rsi
call fcn.180003427
xor esi, esi
mov rcx, rbp
mov qword [rbx + 8], r15
call qword [0x180259130]
mov r9, rbx
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, r15
lea r8d, [rax + rax]
call qword [0x1802495f0]
mov dword [rbx + 0x10], eax
test eax, eax
je 0x1800e054d
cmp eax, 0x65
je 0x1800e054d
mov rcx, r15
call qword [0x180249668]
cmp dword [0x1802492d4], 0
mov rdi, rax
je 0x1800e05b0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Prepare
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_prepare16__
call fcn.180001faa
mov rcx, rax
mov rdx, rbp
call fcn.180001faa
mov rcx, rax
lea rdx, str.___failed__error_
call fcn.180002621
mov edx, dword [rbx + 0x10]
mov rcx, rax
call fcn.1800010a0
mov rcx, rax
lea rdx, str.__message:__
call fcn.180002621
mov rcx, rax
mov rdx, rdi
call fcn.180001faa
mov rcx, rax
lea rdx, [0x180158e9c]
call fcn.180002621
lea rcx, [rsp + 0x30]
jmp 0x1800e05ab
cmp dword [0x1802492d4], 0
je 0x1800e05b0
cmp dword [0x1802492d8], 4
jb 0x1800e05b0
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SQLiteWrappers::CStmt::Prepare
call fcn.180002621
mov rcx, rax
lea rdx, str.:_sqlite3_prepare16__
call fcn.180001faa
mov rcx, rax
mov rdx, rbp
call fcn.180001faa
mov rcx, rax
lea rdx, str.___returned_OK_r_n
call fcn.180002621
lea rcx, [rsp + 0x40]
call fcn.18000561e
cmp dword [rbx + 0x10], 0
jne 0x1800e05d3
inc r12d
add r14, 0x10
cmp r12d, 2
jb 0x1800e0380
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x20]
jmp 0x1800e05d8
mov eax, 0x80004005
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret