joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bce0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1401b7098]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3.exe_sqlite3_bind_parameter_count
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x14001bd29
jmp 0x14001beaa
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [0x1401a22c4]
lea r8, str.sqlite_parameters
lea rdx, [0x1401a2a04]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
call sym.sqlite3.exe_sqlite3_table_column_metadata
test eax, eax
je 0x14001bd84
jmp 0x14001beaa
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, 0xffffffff
lea rdx, str.SELECT_value_FROM_temp.sqlite_parameters_WHERE_key_1
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jne 0x14001bdc2
cmp qword [rsp + 0x58], 0
jne 0x14001bdc7
jmp 0x14001beaa
mov dword [rsp + 0x50], 1
jmp 0x14001bddb
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x50], eax
jg 0x14001bea0
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3.exe_sqlite3_bind_parameter_name
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14001be2c
mov r9d, dword [rsp + 0x50]
lea r8, [0x1401a230c]
lea rdx, [rsp + 0x70]
mov ecx, 0x1e
call sym.sqlite3.exe_sqlite3_snprintf
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x68]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_bind_text
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x14001be80
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_column_value
mov r8, rax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3.exe_sqlite3_bind_value
jmp 0x14001be91
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xb8]
call sym.sqlite3.exe_sqlite3_bind_null
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_reset
jmp 0x14001bdd1
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_finalize
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140157ff0
add rsp, 0xa8
ret
Function at 0x140020070
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rdx, [0x1401a35e4]
mov rcx, qword [rsp + 0x50]
call fcn.14015c570
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400200a3
xor eax, eax
jmp 0x140020160
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.14015cda4
mov rcx, qword [rsp + 0x28]
call fcn.14015d2a0
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call fcn.14015df90
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rcx, rax
call sym.sqlite3.exe_sqlite3_malloc64
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400200f8
mov rcx, qword [rsp + 0x28]
call fcn.14015be10
xor eax, eax
jmp 0x140020160
movsxd rax, dword [rsp + 0x20]
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14015cad4
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x28]
call fcn.14015be10
cmp qword [rsp + 0x38], 1
je 0x14002013a
mov rcx, qword [rsp + 0x30]
call sym.sqlite3.exe_sqlite3_free
xor eax, eax
jmp 0x140020160
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
cmp qword [rsp + 0x58], 0
je 0x14002015b
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140020170
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1401b7098]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rdx, [0x1401a35e8]
mov rcx, qword [rsp + 0xd0]
call fcn.14015c570
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
jne 0x1400201f6
cmp dword [rsp + 0xd8], 0
je 0x1400201ec
xor r8d, r8d
mov rdx, qword [rsp + 0xd0]
lea rcx, [0x1401a35ec]
call sym.sqlite3.exe_sqlite3_strlike
test eax, eax
jne 0x1400201ec
mov eax, 3
jmp 0x140020385
mov eax, 1
jmp 0x140020385
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov edx, 0x10
lea rcx, [rsp + 0x40]
call fcn.14015cad4
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 1
jne 0x14002024c
mov r8d, 0x10
lea rdx, str.SQLite_format_3
lea rcx, [rsp + 0x40]
call fcn.140158be0
test eax, eax
jne 0x14002024c
mov rcx, qword [rsp + 0x28]
call fcn.14015be10
mov eax, 1
jmp 0x140020385
mov r8d, 2
mov edx, 0xffffffe7
mov rcx, qword [rsp + 0x28]
call fcn.14015cda4
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov edx, 0x19
lea rcx, [rsp + 0x40]
call fcn.14015cad4
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 1
jne 0x1400202b0
mov r8d, 0x11
lea rdx, str.Start_Of_SQLite3_
lea rcx, [rsp + 0x40]
call fcn.140158be0
test eax, eax
jne 0x1400202b0
mov dword [rsp + 0x20], 2
jmp 0x140020377
mov r8d, 2
mov edx, 0xffffffea
mov rcx, qword [rsp + 0x28]
call fcn.14015cda4
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov edx, 0x16
lea rcx, [rsp + 0x40]
call fcn.14015cad4
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 1
jne 0x140020342
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x40]
cmp eax, 0x50
jne 0x140020342
mov eax, 1
imul rax, rax, 1
movsx eax, byte [rsp + rax + 0x40]
cmp eax, 0x4b
jne 0x140020342
mov eax, 1
imul rax, rax, 2
movsx eax, byte [rsp + rax + 0x40]
cmp eax, 5
jne 0x140020342
mov eax, 1
imul rax, rax, 3
movsx eax, byte [rsp + rax + 0x40]
cmp eax, 6
jne 0x140020342
mov dword [rsp + 0x20], 3
jmp 0x140020377
cmp qword [rsp + 0x30], 0
jne 0x140020377
cmp dword [rsp + 0xd8], 0
je 0x140020377
xor r8d, r8d
mov rdx, qword [rsp + 0xd0]
lea rcx, str._.zip
call sym.sqlite3.exe_sqlite3_strlike
test eax, eax
jne 0x140020377
mov dword [rsp + 0x20], 3
mov rcx, qword [rsp + 0x28]
call fcn.14015be10
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140157ff0
add rsp, 0xc8
ret
Function at 0x140034e40
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call sym.sqlite3.exe_sqlite3_initialize
test eax, eax
je 0x140034e65
jmp 0x1400350a0
mov ecx, 5
call fcn.140052a30
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call sym.sqlite3.exe_sqlite3_mutex_enter
cmp dword [rsp + 0x50], 0
jle 0x140034e8d
cmp qword [rsp + 0x58], 0
jne 0x140034eb3
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401bff80]
mov dword [rcx + rax], 0
mov rcx, qword [rsp + 0x28]
call sym.sqlite3.exe_sqlite3_mutex_leave
jmp 0x1400350a0
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401bff80]
cmp dword [rcx + rax], 0
jne 0x140034fa1
xor ecx, ecx
call sym.sqlite3.exe_sqlite3_vfs_find
mov qword [rsp + 0x30], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x1401bff80]
add rcx, rax
mov rax, rcx
mov r8d, 0x10
lea rdx, str.expand_32_byte_k8
mov rcx, rax
call fcn.140158ce0
cmp qword [rsp + 0x30], 0
jne 0x140034f34
mov eax, 4
imul rax, rax, 4
lea rcx, [0x1401bff80]
add rcx, rax
mov rax, rcx
mov r8d, 0x2c
xor edx, edx
mov rcx, rax
call fcn.140159140
jmp 0x140034f5c
mov eax, 4
imul rax, rax, 4
lea rcx, [0x1401bff80]
add rcx, rax
mov rax, rcx
mov r8, rax
mov edx, 0x2c
mov rcx, qword [rsp + 0x30]
call fcn.140041640
mov eax, 4
imul rax, rax, 0xc
lea rcx, [0x1401bff80]
mov edx, 4
imul rdx, rdx, 0xf
lea r8, [0x1401bff80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx], eax
mov eax, 4
imul rax, rax, 0xc
lea rcx, [0x1401bff80]
mov dword [rcx + rax], 0
mov byte [0x1401c0000], 0
xor eax, eax
cmp eax, 1
je 0x140035096
movzx eax, byte [0x1401c0000]
cmp dword [rsp + 0x50], eax
jg 0x140034fff
movsxd rax, dword [rsp + 0x50]
movzx ecx, byte [0x1401c0000]
sub ecx, dword [rsp + 0x50]
movsxd rcx, ecx
lea rdx, [0x1401bffc0]
add rdx, rcx
mov rcx, rdx
mov r8, rax
mov rdx, rcx
mov rcx, qword [rsp + 0x20]
call fcn.140158ce0
movzx eax, byte [0x1401c0000]
sub eax, dword [rsp + 0x50]
mov byte [0x1401c0000], al
jmp 0x140035096
movzx eax, byte [0x1401c0000]
test eax, eax
jle 0x14003504f
movzx eax, byte [0x1401c0000]
mov r8d, eax
lea rdx, [0x1401bffc0]
mov rcx, qword [rsp + 0x20]
call fcn.140158ce0
movzx eax, byte [0x1401c0000]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1401c0000]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 4
imul rax, rax, 0xc
lea rcx, [0x1401bff80]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x1401bff80]
mov dword [rdx + rcx], eax
lea rdx, [0x1401bff80]
lea rcx, [0x1401bffc0]
call fcn.1400a33f0
mov byte [0x1401c0000], 0x40
jmp 0x140034fa1
mov rcx, qword [rsp + 0x28]
call sym.sqlite3.exe_sqlite3_mutex_leave
add rsp, 0x48
ret
Function at 0x14008e730
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov ecx, 0x28
call fcn.140051e70
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14008e770
mov eax, 7
jmp 0x14008e844
movzx eax, byte [0x1401aa124]
test eax, eax
je 0x14008e789
mov ecx, 0xc8
call fcn.140060520
test eax, eax
je 0x14008e79d
mov r8d, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140159140
jmp 0x14008e809
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
lea r8, [0x1400a4490]
xor edx, edx
xor ecx, ecx
call fcn.14016a6e8
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
jne 0x14008e809
mov r8d, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140159140
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
jne 0x14008e835
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x48
ret
Function at 0x1400d7810
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x1c], 1
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x58]
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rcx, qword [rsp + 0x50]
call fcn.140083c00
cmp dword [rsp + 0x60], 0
jne 0x1400d7890
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, qword [rsp + 0x50]
call fcn.140083c00
add rsp, 0x48
ret
Function at 0x140127430
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, str.SELECT_stat_FROM__Q.sqlite_stat1_WHERE_tbl___q_rowid
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], 0x64
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.sqlite_stat1
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x90]
call sym.sqlite3.exe_sqlite3_table_column_metadata
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1401274e3
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x48], 0x100000
cmp dword [rsp + 0x50], 1
jne 0x1401274d2
mov dword [rsp + 0x54], 0
jmp 0x1401274da
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
jmp 0x1401275b7
mov rax, qword [rsp + 0x98]
mov r8, qword [rax + 0x38]
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x78]
call sym.sqlite3.exe_sqlite3_mprintf
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14012751c
mov dword [rsp + 0x50], 7
jmp 0x140127585
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14012757b
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x14012756d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_column_int64
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_finalize
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_free
cmp qword [rsp + 0x68], 0x64
jle 0x140127599
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
jmp 0x1401275a2
mov qword [rsp + 0x70], 0x64
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x48], rcx
mov eax, dword [rsp + 0x50]
add rsp, 0x88
ret
Function at 0x140127c30
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [rsp + 0x50], 0
je 0x140127cfb
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x30]
lea rcx, str.PRAGMA__Q.page_size
call sym.sqlite3.exe_sqlite3_mprintf
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140127b90
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x140127cd5
mov eax, dword [rsp + 0x24]
sub eax, 0x40
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x27]
imul eax, eax, 0x33
add eax, 4
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x20]
jge 0x140127cd3
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x27]
imul eax, eax, 0x33
add eax, 4
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x20], eax
jmp 0x140127cf6
mov rcx, qword [rsp + 0x40]
call sym.sqlite3.exe_sqlite3_errmsg
mov rdx, rax
lea rcx, [0x1401ae984]
call sym.sqlite3.exe_sqlite3_mprintf
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
jmp 0x140127d9a
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x38]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x30]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call sym.sqlite3.exe_sqlite3_mprintf
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
add rax, 0x20
mov r8, rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140127b90
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140127d67
mov rcx, qword [rsp + 0x40]
call sym.sqlite3.exe_sqlite3_errmsg
mov rdx, rax
lea rcx, [0x1401ae9f4]
call sym.sqlite3.exe_sqlite3_mprintf
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
jmp 0x140127d9a
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x20], 0x1c0
jge 0x140127d9a
mov dword [rsp + 0x20], 0x10b
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
call sym.sqlite3.exe_sqlite3_mprintf
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x28]
call sym.sqlite3.exe_sqlite3_free
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140128350
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x40], 0
jne 0x1401283af
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x20], 0
jne 0x1401283af
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 8]
lea rdx, str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
mov rcx, qword [rsp + 0x50]
call fcn.140128190
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x40], 0
jne 0x140128498
mov r8, qword [rsp + 0x58]
mov edx, 1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call sym.sqlite3.exe_sqlite3_bind_int64
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x14012845c
xor edx, edx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call sym.sqlite3.exe_sqlite3_column_bytes
mov dword [rsp + 0x20], eax
xor edx, edx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x20]
call sym.sqlite3.exe_sqlite3_column_blob
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, rax
call sym.sqlite3.exe_sqlite3_malloc64
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14012843a
mov rax, qword [rsp + 0x50]
mov dword [rax + 0x40], 7
jmp 0x14012845c
movsxd rax, dword [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140158ce0
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140128150
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x40], 0
jne 0x140128498
cmp qword [rsp + 0x28], 0
jne 0x140128498
mov r8, qword [rsp + 0x58]
lea rdx, str.Node__lld_missing_from_database
mov rcx, qword [rsp + 0x50]
call fcn.140128250
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1401284b0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov qword [rsp + 0x68], rax
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
cmp qword [rcx + rax*8 + 0x28], 0
jne 0x140128541
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov r9, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x90]
mov r8, qword [rcx + 8]
mov rdx, qword [rsp + rax*8 + 0x68]
mov rcx, qword [rsp + 0x90]
call fcn.140128190
movsxd rcx, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov qword [rdx + rcx*8 + 0x28], rax
mov rax, qword [rsp + 0x90]
cmp dword [rax + 0x40], 0
je 0x140128554
jmp 0x140128697
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + rax*8 + 0x28]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0xa0]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_bind_int64
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_step
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x65
jne 0x1401285f1
cmp dword [rsp + 0x98], 0
je 0x1401285b2
lea rax, [0x1401b3ce0]
mov qword [rsp + 0x50], rax
jmp 0x1401285be
lea rax, [0x1401b3ce8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xa0]
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov rcx, qword [rsp + 0x90]
call fcn.140128250
jmp 0x140128685
cmp dword [rsp + 0x40], 0x64
jne 0x140128685
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_column_int64
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x60], rax
je 0x140128685
cmp dword [rsp + 0x98], 0
je 0x140128634
lea rax, str.__rowid
mov qword [rsp + 0x58], rax
jmp 0x140128640
lea rax, str.__parent
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0xa0]
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov rcx, qword [rsp + 0x90]
call fcn.140128250
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
call fcn.140128150
add rsp, 0x88
ret
Function at 0x1401286b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x30], 0
jmp 0x1401286dc
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x30], eax
jge 0x140128923
mov eax, dword [rsp + 0x30]
shl eax, 3
cdqe
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x34]
mov rcx, rax
call fcn.14011f320
mov eax, dword [rsp + 0x30]
shl eax, 1
lea eax, [rax*4 + 4]
cdqe
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.14011f320
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x140128773
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jle 0x140128761
mov dword [rsp + 0x3c], 1
jmp 0x140128769
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
jmp 0x14012879a
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x38]
jbe 0x14012878a
mov dword [rsp + 0x40], 1
jmp 0x140128792
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1401287cf
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x30]
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt
mov rcx, qword [rsp + 0x80]
call fcn.140128250
cmp qword [rsp + 0xa0], 0
je 0x14012891e
mov eax, dword [rsp + 0x30]
shl eax, 3
cdqe
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x4c]
mov rcx, rax
call fcn.14011f320
mov eax, dword [rsp + 0x30]
shl eax, 1
lea eax, [rax*4 + 4]
cdqe
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x5c]
mov rcx, rax
call fcn.14011f320
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x140128860
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x34], eax
jge 0x14012884e
mov dword [rsp + 0x48], 1
jmp 0x140128856
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x54], eax
jmp 0x140128887
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rsp + 0x34]
jbe 0x140128877
mov dword [rsp + 0x50], 1
jmp 0x14012887f
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1401288f0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x18], 0
je 0x1401288c2
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x38], eax
jle 0x1401288b0
mov dword [rsp + 0x58], 1
jmp 0x1401288b8
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x64], eax
jmp 0x1401288e9
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rsp + 0x5c]
jbe 0x1401288d9
mov dword [rsp + 0x60], 1
jmp 0x1401288e1
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x14012891e
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
mov r8d, dword [rsp + 0x30]
lea rdx, str.Dimension__d_of_cell__d_on_node__lld_is_corrupt_relative_to_parent
mov rcx, qword [rsp + 0x80]
call fcn.140128250
jmp 0x1401286d2
add rsp, 0x78
ret