Function at 0x180006398
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1800dda70
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xa0
mov r15, rcx
mov r13, r9
add rcx, 0x58
mov r12, r8
mov r14, rdx
call fcn.1800046dd
test eax, eax
je 0x1800ddab9
mov eax, 0x80004005
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rdi
test r14, r14
jne 0x1800ddaec
mov edx, 0x200
xor ecx, ecx
call fcn.180005df3
xor ebx, ebx
mov rsi, rax
mov word [rax], bx
jmp 0x1800ddb30
xor ebx, ebx
mov rax, r14
mov edi, ebx
cmp bx, word [r14]
je 0x1800ddb0b
nop dword [rax]
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800ddb00
lea edx, [rdi + 0x100]
xor ecx, ecx
add rdx, rdx
call fcn.180005df3
lea r8d, [rdi + 1]
mov rdx, r14
add r8, r8
mov rcx, rax
mov rsi, rax
call fcn.180004e58
test rsi, rsi
jne 0x1800ddb62
cmp dword [r15 + 0x3c], esi
ja 0x1800ddb55
mov rcx, qword [r15 + 0x30]
mov edx, 0x200
mov dword [r15 + 0x3c], 0xff
call fcn.180005df3
mov qword [r15 + 0x30], rax
mov dword [r15 + 0x38], ebx
mov rax, qword [r15 + 0x30]
mov word [rax], bx
jmp 0x1800ddbbd
mov edi, ebx
mov rax, rsi
cmp bx, word [rsi]
je 0x1800ddb7b
nop dword [rax]
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800ddb70
cmp edi, dword [r15 + 0x3c]
jb 0x1800ddb9e
mov rcx, qword [r15 + 0x30]
lea eax, [rdi + 0xff]
lea edx, [rax + 1]
mov dword [r15 + 0x3c], eax
add rdx, rdx
call fcn.180005df3
mov qword [r15 + 0x30], rax
mov dword [r15 + 0x38], edi
lea r8d, [rdi + 1]
mov rcx, qword [r15 + 0x30]
add r8, r8
mov rdx, rsi
call fcn.180004e58
mov rcx, rsi
call fcn.180003427
mov qword [r15 + 0x40], r12
lea rax, str.SELECT_rowid__classId__name__objectCount__totalSize__pid_FROM_ClrClass_WHERE_objectCount____0_AND_Snapshot_id___
mov edi, ebx
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800ddbd0
lea edx, [rdi + 0x100]
xor ecx, ecx
add rdx, rdx
lea esi, [rdi + 0xff]
call fcn.180005df3
lea r8d, [rdi + 1]
mov rcx, rax
add r8, r8
lea rdx, str.SELECT_rowid__classId__name__objectCount__totalSize__pid_FROM_ClrClass_WHERE_objectCount____0_AND_Snapshot_id___
mov r14, rax
call fcn.180004e58
mov edx, 0x200
mov qword [rbp - 0x61], rbx
xor ecx, ecx
mov dword [rbp - 0x55], 0xff
call fcn.180005df3
mov qword [rbp - 0x61], rax
lea r8, [r15 + 0x48]
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x61]
mov rcx, r13
mov word [rax], bx
call fcn.18000322e
mov r15d, eax
test eax, eax
jne 0x1800de36b
cmp dword [rbp - 0x59], eax
je 0x1800ddce5
mov r15d, ebx
lea rax, str._AND
nop dword [rax]
lea rax, [rax + 2]
lea r15d, [r15 + 1]
cmp bx, word [rax]
jne 0x1800ddc60
lea r12d, [r15 + rdi]
cmp r12d, esi
jb 0x1800ddc94
lea edx, [r12 + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [r12 + 0xff]
call fcn.180005df3
mov r14, rax
lea r8d, [r15 + 1]
add r8, r8
lea rcx, [r14 + rdi*2]
lea rdx, str._AND
call fcn.180004e58
mov r15d, dword [rbp - 0x59]
lea edi, [r12 + r15]
cmp edi, esi
jb 0x1800ddcd1
lea edx, [rdi + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [rdi + 0xff]
call fcn.180005df3
mov r14, rax
mov rdx, qword [rbp - 0x61]
lea r8d, [r15 + 1]
add r8, r8
lea rcx, [r14 + r12*2]
call fcn.180004e58
mov r15d, dword [rbp + 0x5f]
test r15d, r15d
je 0x1800ddea2
mov r12d, ebx
lea rax, str._ORDER_BY
nop dword [rax]
lea rax, [rax + 2]
lea r12d, [r12 + 1]
cmp bx, word [rax]
jne 0x1800ddd00
lea r13d, [rdi + r12]
cmp r13d, esi
jb 0x1800ddd33
lea edx, [r13 + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [r13 + 0xff]
call fcn.180005df3
mov r14, rax
lea r8d, [r12 + 1]
add r8, r8
lea rcx, [r14 + rdi*2]
lea rdx, str._ORDER_BY
call fcn.180004e58
mov edi, ebx
sub r15d, 1
je 0x1800ddddd
sub r15d, 1
je 0x1800dddbd
sub r15d, 1
je 0x1800ddd9d
cmp r15d, 1
je 0x1800ddd80
lea r12, str._name
mov rax, r12
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800ddd73
jmp 0x1800dddfb
lea r12, str._pid
mov rax, r12
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800ddd90
jmp 0x1800dddfb
lea r12, str._totalSize
mov rax, r12
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800dddb0
jmp 0x1800dddfb
lea r12, str._objectCount
mov rax, r12
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800dddd0
jmp 0x1800dddfb
lea r12, str._name
mov rax, r12
nop word [rax + rax]
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800dddf0
lea r15d, [rdi + r13]
cmp r15d, esi
jb 0x1800dde20
lea edx, [r15 + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [r15 + 0xff]
call fcn.180005df3
mov r14, rax
lea r8d, [rdi + 1]
mov rdx, r12
add r8, r8
lea rcx, [r14 + r13*2]
call fcn.180004e58
cmp dword [rbp + 0x67], 2
lea rax, str._DESC
lea r13, str._ASC
mov r12d, ebx
cmove r13, rax
mov rax, r13
cmp bx, word [r13]
je 0x1800dde6c
nop word [rax + rax]
inc r12d
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800dde60
lea edi, [r12 + r15]
cmp edi, esi
jb 0x1800dde8e
lea edx, [rdi + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [rdi + 0xff]
call fcn.180005df3
mov r14, rax
lea r8d, [r12 + 1]
mov rdx, r13
add r8, r8
lea rcx, [r14 + r15*2]
call fcn.180004e58
cmp dword [rbp + 0x6f], 0
je 0x1800de05f
mov r15d, ebx
lea rax, str._LIMIT
nop word [rax + rax]
lea rax, [rax + 2]
lea r15d, [r15 + 1]
cmp bx, word [rax]
jne 0x1800ddec0
lea r13d, [r15 + rdi]
cmp r13d, esi
jb 0x1800ddef2
lea edx, [r13 + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [r13 + 0xff]
call fcn.180005df3
mov r14, rax
lea r8d, [r15 + 1]
add r8, r8
lea rcx, [r14 + rdi*2]
lea rdx, str._LIMIT
call fcn.180004e58
mov edx, dword [rbp + 0x7f]
lea rcx, [rbp - 0x41]
call fcn.18000112c
mov rdi, rax
mov r15d, dword [rax + 8]
lea r12d, [r15 + r13]
cmp r12d, esi
jb 0x1800ddf43
lea edx, [r12 + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [r12 + 0xff]
call fcn.180005df3
mov r14, rax
mov rdx, qword [rdi]
lea r8d, [r15 + 1]
add r8, r8
lea rcx, [r14 + r13*2]
call fcn.180004e58
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1800ddf64
call fcn.180003427
mov edi, ebx
lea rax, str._OFFSET
nop dword [rax]
lea rax, [rax + 2]
lea edi, [rdi + 1]
cmp bx, word [rax]
jne 0x1800ddf70
lea r15d, [rdi + r12]
cmp r15d, esi
jb 0x1800ddfa1
lea edx, [r15 + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [r15 + 0xff]
call fcn.180005df3
mov r14, rax
lea r8d, [rdi + 1]
add r8, r8
lea rcx, [r14 + r12*2]
lea rdx, str._OFFSET
call fcn.180004e58
mov edx, dword [rbp + 0x77]
lea rcx, [rbp - 0x41]
call fcn.18000112c
mov rdi, rax
mov r12d, dword [rax + 8]
lea r13d, [r12 + r15]
cmp r13d, esi
jb 0x1800ddff0
lea edx, [r13 + 0x100]
mov rcx, r14
add rdx, rdx
lea esi, [r13 + 0xff]
call fcn.180005df3
mov r14, rax
mov rdx, qword [rdi]
lea r8d, [r12 + 1]
add r8, r8
lea rcx, [r14 + r15*2]
call fcn.180004e58
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1800de012
call fcn.180003427
mov edi, ebx
lea rax, [0x180174e58]
nop dword [rax + rax]
lea rax, [rax + 2]
lea edi, [rdi + 1]
cmp bx, word [rax]
jne 0x1800de020
lea eax, [rdi + r13]
cmp eax, esi
jb 0x1800de048
lea edx, [rax + 0x100]
mov rcx, r14
add rdx, rdx
call fcn.180005df3
mov r14, rax
lea r8d, [rdi + 1]
add r8, r8
lea rcx, [r14 + r13*2]
lea rdx, [0x180174e58]
call fcn.180004e58
mov r13, qword [rbp + 0x3f]
lea rax, [r13 + 0x68]
mov qword [rbp - 0x31], rax
test r14, r14
jne 0x1800de093
mov edx, 0x200
mov dword [rbp - 0x1d], 0xff
xor ecx, ecx
call fcn.180005df3
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x21], ebx
mov word [rax], bx
jmp 0x1800de0e1
mov edi, ebx
mov rax, r14
cmp bx, word [r14]
je 0x1800de0ab
nop
inc edi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800de0a0
lea eax, [rdi + 0xff]
xor ecx, ecx
lea edx, [rdi + 0x100]
mov dword [rbp - 0x1d], eax
add rdx, rdx
call fcn.180005df3
lea r8d, [rdi + 1]
mov qword [rbp - 0x49], rax
add r8, r8
mov qword [rbp - 0x29], rax
mov rcx, rax
mov dword [rbp - 0x21], edi
mov rdx, r14
call fcn.180004e58
lea rax, [rbp - 0x31]
mov dword [rbp + 0x3f], ebx
mov qword [rbp - 0x51], rax
nop dword [rax]
mov rcx, qword [r13 + 0x60]
mov rdi, qword [rax]
mov r12, qword [rax + 8]
mov qword [rbp - 0x41], rcx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800de110
call qword [0x1802495e0]
mov qword [rdi], rbx
test r12, r12
jne 0x1800de129
mov edx, 0x200
xor ecx, ecx
call fcn.180005df3
mov r15, rax
mov word [rax], bx
jmp 0x1800de165
mov esi, ebx
mov rax, r12
cmp bx, word [r12]
je 0x1800de140
inc esi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800de135
lea edx, [rsi + 0x100]
xor ecx, ecx
add rdx, rdx
call fcn.180005df3
lea r8d, [rsi + 1]
mov rdx, r12
add r8, r8
mov rcx, rax
mov r15, rax
call fcn.180004e58
test r15, r15
jne 0x1800de195
cmp dword [rdi + 0x24], r15d
ja 0x1800de189
mov rcx, qword [rdi + 0x18]
mov edx, 0x200
mov dword [rdi + 0x24], 0xff
call fcn.180005df3
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x20], ebx
mov rax, qword [rdi + 0x18]
mov word [rax], bx
jmp 0x1800de1ea
mov esi, ebx
mov rax, r15
cmp bx, word [r15]
je 0x1800de1ab
inc esi
lea rax, [rax + 2]
cmp bx, word [rax]
jne 0x1800de1a0
cmp esi, dword [rdi + 0x24]
jb 0x1800de1cc
mov rcx, qword [rdi + 0x18]
lea eax, [rsi + 0xff]
lea edx, [rax + 1]
mov dword [rdi + 0x24], eax
add rdx, rdx
call fcn.180005df3
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x20], esi
lea r8d, [rsi + 1]
mov rcx, qword [rdi + 0x18]
add r8, r8
mov rdx, r15
call fcn.180004e58
mov rcx, r15
call fcn.180003427
mov rsi, qword [rbp - 0x41]
mov rcx, r12
mov qword [rdi + 8], rsi
call qword [0x180259130]
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov rdx, r12
mov rcx, rsi
lea r8d, [rax + rax]
call qword [0x1802495f0]
mov dword [rdi + 0x10], eax
test eax, eax
je 0x1800de2bd
cmp eax, 0x65
je 0x1800de2bd
mov rcx, rsi
call qword [0x180249668]
cmp dword [0x1802492d4], 0
mov rsi, rax
je 0x1800de31e
xor edx, edx
lea rcx, [rbp - 0x19]
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, r12
call fcn.180001faa
mov rcx, rax
lea rdx, str.___failed__error_
call fcn.180002621
mov edx, dword [rdi + 0x10]
mov rcx, rax
call fcn.1800010a0
mov rcx, rax
lea rdx, str.__message:__
call fcn.180002621
mov rcx, rax
mov rdx, rsi
call fcn.180001faa
mov rcx, rax
lea rdx, [0x180158e9c]
call fcn.180002621
lea rcx, [rbp - 0x19]
jmp 0x1800de319
cmp dword [0x1802492d4], 0
je 0x1800de31e
cmp dword [0x1802492d8], 4
jb 0x1800de31e
mov edx, 4
lea rcx, [rbp - 9]
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, r12
call fcn.180001faa
mov rcx, rax
lea rdx, str.___returned_OK_r_n
call fcn.180002621
lea rcx, [rbp - 9]
call fcn.18000561e
cmp dword [rdi + 0x10], 0
jne 0x1800de357
mov edx, dword [rbp + 0x3f]
mov rax, qword [rbp - 0x51]
inc edx
add rax, 0x18
mov dword [rbp + 0x3f], edx
mov qword [rbp - 0x51], rax
cmp edx, 1
jb 0x1800de0f0
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x20]
mov r15d, eax
test eax, eax
jne 0x1800de35d
mov r15d, ebx
jmp 0x1800de35d
mov r15d, 0x80004005
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800de36b
call fcn.180003427
mov rcx, qword [rbp - 0x61]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
test rcx, rcx
je 0x1800de395
call fcn.180003427
mov qword [rbp - 0x61], rbx
mov qword [rbp - 0x59], 0
mov rbx, qword [rsp + 0xd8]
test r14, r14
je 0x1800de3aa
mov rcx, r14
call fcn.180003427
mov eax, r15d
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rbp
ret