joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014fb10
Capabilities:
Create thread

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor edi, edi
movzx r12d, byte [rcx + 0x5b]
mov rsi, r12
sub r12d, 1
mov byte [rcx + 0x58], 1
mov rbp, rcx
test r12d, r12d
jg 0x14014fb4f
jmp 0x14014fb9b
cmp qword [rbx + 0x60], 0
je 0x14014fba0
add edi, 1
cmp edi, r12d
je 0x14014fba0
movzx eax, byte [rbp + 0x5a]
lea eax, [rdi + rax + 1]
cdq
idiv r12d
lea eax, [rdx + 1]
movsxd rdx, edx
lea rbx, [rdx + rdx*2]
cdqe
shl rbx, 5
lea r8, [rax + rax*2]
add rbx, rbp
shl r8, 5
mov eax, dword [rbx + 0x68]
lea r13, [rbp + r8]
test eax, eax
je 0x14014fb40
mov rcx, r13
call dbg.vdbeSorterJoinThread
test eax, eax
je 0x14014fb40
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r13d, r13d
nop
cmp r12d, edi
je 0x14014fc20
lea rdx, [rbp + 0x60]
mov rax, r13
mov rcx, qword [r13 + 0x28]
movdqu xmm0, xmmword [rbp + 0x38]
sub rax, rdx
movabs rdx, 0xaaaaaaaaaaaaaaab
sar rax, 5
imul rax, rdx
mov byte [rbp + 0x5a], al
mov rax, qword [rbp + 0x48]
movups xmmword [r13 + 0x20], xmm0
mov qword [r13 + 0x30], rax
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
test rcx, rcx
je 0x14014fc40
mov qword [rbp + 0x40], rcx
call qword [0x140248dd8]
mov dword [rbp + 0x54], eax
mov r8, r13
lea rdx, [dbg.vdbeSorterFlushThread]
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp dbg.sqlite3ThreadCreate
lea rcx, [rsi + rsi*2]
lea rdx, [rbp + 0x38]
shl rcx, 5
add rcx, rbp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp dbg.vdbeSorterListToPMA
cmp qword [rbp + 0x40], 0
je 0x14014fbfc
movsxd rcx, dword [rbp + 0x54]
call sym.sqlite3Malloc
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x14014fbfc
mov eax, 7
jmp 0x14014fb8e
Function at 0x140156c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0xc0
mov rbx, r8
mov rsi, r9
movzx r8d, byte [r8 + 8]
cmp byte [rcx + 0x16], r8b
jne 0x140156c80
mov r11d, dword [rcx + 0x10]
mov rax, qword [rdx + 8]
mov r10, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, dword [rdx + 0x10]
mov edx, r11d
mov r8, qword [rcx + 8]
mov rcx, r10
call qword [rbx + 0x18]
add rsp, 0xc0
pop rbx
pop rsi
pop r12
ret
mov rax, qword [rcx + 0x18]
movdqu xmm0, xmmword [rcx]
mov dword [rsp + 0x60], 0
mov dword [rsp + 0xa0], 0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x10]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
movzx eax, word [rcx + 0x14]
test ah, 0x20
jne 0x140156cca
and ah, 0x8f
or ah, 0x40
mov word [rsp + 0x54], ax
movdqu xmm1, xmmword [rdx]
mov rcx, qword [rdx + 0x10]
movzx edx, word [rdx + 0x14]
mov qword [rsp + 0x90], rcx
movaps xmmword [rsp + 0x80], xmm1
test dh, 0x20
jne 0x140156cf9
and dh, 0x8f
or dh, 0x40
mov word [rsp + 0x94], dx
movzx edx, r8b
xor r12d, r12d
test al, 1
jne 0x140156d18
lea rcx, [rsp + 0x40]
call dbg.valueToText
movzx edx, byte [rbx + 8]
mov r12, rax
mov r8d, edx
movzx eax, word [rsp + 0x94]
mov ecx, eax
and cx, 0x202
cmp cx, 0x202
je 0x140156dd0
test al, 1
jne 0x140156da0
lea rcx, [rsp + 0x80]
call dbg.valueToText
test r12, r12
je 0x140156da0
test rax, rax
je 0x140156da0
mov rcx, qword [rbx + 0x10]
mov edx, dword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9d, dword [rsp + 0x90]
call qword [rbx + 0x18]
mov ecx, dword [rsp + 0x60]
test ecx, ecx
jne 0x140156db2
mov edx, dword [rsp + 0xa0]
test edx, edx
je 0x140156c6e
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x3c], eax
call dbg.vdbeMemClear
mov eax, dword [rsp + 0x3c]
add rsp, 0xc0
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x140156da8
mov byte [rsi], 7
mov ecx, dword [rsp + 0x60]
xor eax, eax
test ecx, ecx
je 0x140156d70
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x3c], eax
call dbg.vdbeMemClear
mov eax, dword [rsp + 0x3c]
jmp 0x140156d70
cmp byte [rsp + 0x96], r8b
jne 0x140156d32
mov rax, qword [rsp + 0x88]
jmp 0x140156d43
Function at 0x140156df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
movzx eax, word [rcx + 0x14]
movzx r9d, word [rdx + 0x14]
mov r10d, eax
or r10d, r9d
test r10b, 1
jne 0x140156e68
test r10b, 0x2c
je 0x140156e40
mov r8d, eax
and r8d, r9d
test r8b, 0x24
jne 0x140156e80
and r8d, 8
je 0x140156ea0
movsd xmm1, qword [rcx]
movsd xmm0, qword [rdx]
comisd xmm0, xmm1
ja 0x140156eb0
xor r8d, r8d
comisd xmm1, xmm0
seta r8b
jmp 0x140156e75
and r10d, 2
je 0x140156e59
test al, 2
je 0x140156ec0
and r9d, 2
je 0x140156eb0
test r8, r8
jne 0x140156ef8
add rsp, 0x28
jmp dbg.sqlite3BlobCompare
and r9d, 1
and eax, 1
sub r9d, eax
mov r8d, r9d
mov eax, r8d
add rsp, 0x28
ret
mov rax, qword [rdx]
cmp qword [rcx], rax
jl 0x140156eb0
setg r8b
movzx r8d, r8b
mov eax, r8d
add rsp, 0x28
ret
test al, 0x24
je 0x140156ed0
test r9b, 8
jne 0x140156f08
and r9d, 0x24
jne 0x140156e80
mov r8d, 0xffffffff
jmp 0x140156e75
mov r8d, 1
jmp 0x140156e75
mov r8d, 1
test al, 8
je 0x140156e75
and r9d, 0x24
je 0x140156eb0
movsd xmm1, qword [rcx]
mov rcx, qword [rdx]
call sym.sqlite3IntFloatCompare
neg eax
mov r8d, eax
jmp 0x140156e75
xor r9d, r9d
add rsp, 0x28
jmp dbg.vdbeCompareMemString
movsd xmm1, qword [rdx]
mov rcx, qword [rcx]
add rsp, 0x28
jmp sym.sqlite3IntFloatCompare

Function at 0x140159820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [0x140398f60]
mov r15, r8
mov r8, qword [r8]
mov r12, rcx
movzx eax, word [r8 + 0x14]
and eax, 0x3f
cmp byte [rbp + rax], 5
je 0x1401598c8
cmp edx, 1
jle 0x1401598e7
mov rax, qword [rcx + 8]
mov rcx, qword [rcx + 0x18]
xor r13d, r13d
movsxd rdi, edx
mov ebx, 1
cmp qword [rax + 8], 0
movsxd rax, dword [r12 + 0x20]
mov r8, qword [rcx + 0x88]
setne r13b
xor esi, esi
lea rax, [rax + rax*2]
neg r13d
lea rax, [r8 + rax*8]
mov r14, qword [rax - 8]
jmp 0x1401598b6
movsxd rax, esi
mov r8, r14
mov rcx, qword [r15 + rax*8]
call dbg.sqlite3MemCompare
xor eax, r13d
cmovns esi, ebx
add rbx, 1
cmp rdi, rbx
je 0x1401598e0
mov rdx, qword [r15 + rbx*8]
movzx eax, word [rdx + 0x14]
and eax, 0x3f
cmp byte [rbp + rax], 5
jne 0x140159898
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd rsi, esi
mov r8, qword [r15 + rsi*8]
mov rdx, r8
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.sqlite3_result_value
Function at 0x14015a170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x70
mov r12, rcx
mov ebx, edx
mov rsi, r8
test edx, edx
jg 0x14015a198
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rcx, qword [r8]
test rcx, rcx
je 0x14015a187
mov rax, qword [r12]
mov rdi, qword [rax + 0x18]
movzx eax, word [rcx + 0x14]
mov edx, eax
and dx, 0x202
cmp dx, 0x202
je 0x14015a288
test al, 1
jne 0x14015a187
mov edx, 1
call dbg.valueToText
mov rdx, rax
test rdx, rdx
je 0x14015a187
mov eax, dword [rdi + 0x88]
lea r8, [rsi + 8]
mov ecx, 0x200
sub ebx, 1
lea r13, [rsp + 0x50]
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0x40]
mov word [rsp + 0x6c], cx
mov rcx, r13
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], 0
call dbg.sqlite3_str_appendf
mov rdx, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x68]
test rdx, rdx
je 0x14015a25a
mov eax, r8d
mov byte [rdx + rax], 0
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x14015a255
test byte [rsp + 0x6d], 4
je 0x14015a2a0
mov rdx, qword [rsp + 0x58]
lea rax, [sym.sqlite3OomClear]
mov r9d, 1
mov rcx, r12
mov qword [rsp + 0x20], rax
call dbg.setResultStrOrError
nop
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
cmp byte [rcx + 0x16], 1
jne 0x14015a1be
mov rdx, qword [rcx + 8]
jmp 0x14015a1cf
mov rcx, r13
mov dword [rsp + 0x3c], r8d
call dbg.strAccumFinishRealloc
mov r8d, dword [rsp + 0x3c]
mov rdx, rax
jmp 0x14015a25a
Function at 0x14015e2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r15d, dword [rsp + 0xb0]
mov rdi, qword [rcx + 0x10]
mov rbp, qword [rsp + 0xb8]
mov r12d, dword [rsp + 0xc0]
mov rsi, rcx
mov r13d, edx
mov rcx, qword [rcx]
mov dword [rsp + 0x3c], r9d
lea edx, [r15*8 + 0x30]
mov r14d, r8d
movsxd rdx, edx
call sym.sqlite3DbMallocRawNN
mov rbx, rax
test rax, rax
je 0x14015e420
mov byte [rax + 0x2a], r15b
mov edx, dword [rdi + 0x90]
cmp r12d, 1
mov r10d, 0x41
mov qword [rax], 0
adc r10d, 0
mov qword [rax + 8], rbp
mov qword [rax + 0x18], 0
mov dword [rax + 0x24], 0
mov dword [rax + 0x20], edx
cmp edx, dword [rdi + 0x94]
jge 0x14015e400
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
xor ecx, ecx
mov word [rax + 2], cx
mov ecx, dword [rsp + 0x3c]
mov byte [rax], r10b
mov dword [rax + 4], r13d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], ecx
mov qword [rax + 0x10], 0
mov byte [rax + 1], 0
mov r9d, 0xfffffff1
mov r8, rbx
mov rcx, rdi
call sym.sqlite3VdbeChangeP4
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x14015e3dd
mov rdx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
and r12d, 0x2e
lea rax, [rdx + rax*8]
mov word [rax - 0x16], r12w
mov rax, qword [rsi + 0xb0]
test rax, rax
cmove rax, rsi
mov byte [rax + 0x21], 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x3c]
mov edx, r10d
mov r9d, r14d
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call dbg.growOp3
mov edx, eax
jmp 0x14015e3a9
test byte [rbp + 4], 0x10
je 0x14015e3ef
mov rcx, qword [rsi]
mov rdx, rbp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3DbNNFreeNN
Function at 0x14018b900
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
sub rsp, 0x28
mov eax, dword [0x140248ef4]
mov r12d, ecx
mov r13, rdx
test eax, eax
jne 0x14018b938
call dbg.sqlite3MutexInit
test eax, eax
jne 0x14018b92a
call sym.sqlite3_initialize.part.0
test eax, eax
je 0x14018b93b
add rsp, 0x28
pop r12
pop r13
ret
mfence
mov rdx, r13
mov ecx, r12d
add rsp, 0x28
pop r12
pop r13
jmp sym.sqlite3_randomness.part.0

Function at 0x140198950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rsi, qword [rsp + 0x90]
mov r13, r8
mov r12, rcx
mov rbx, rdx
mov r8d, r9d
test rdx, rdx
je 0x140198a60
mov rdi, qword [rcx + 0x80]
movzx eax, word [rdi + 6]
mov rcx, qword [rdi + 0x10]
add eax, 1
imul eax, eax, 0x38
lea edx, [rax + 0x28]
test rcx, rcx
je 0x140198a40
call sym.sqlite3DbMallocRawNN
mov r14, rax
test r14, r14
je 0x140198a54
lea rax, [r14 + 0x28]
mov qword [r14], rdi
mov r9, r14
mov r8, rbx
mov qword [r14 + 8], rax
movzx eax, word [rdi + 6]
mov edx, r13d
mov rcx, rdi
add eax, 1
mov word [r14 + 0x1c], ax
call dbg.sqlite3VdbeRecordUnpack
movzx eax, word [r14 + 0x1c]
test ax, ax
je 0x1401989e8
cmp ax, word [rdi + 8]
jbe 0x140198a80
lea rax, [0x14038d98c]
mov r9d, 0x116fd
lea r8, [0x14038f698]
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov r13d, 0xb
call dbg.sqlite3_log
mov rax, qword [r12 + 0x80]
mov rdx, r14
mov rcx, qword [rax + 0x10]
call sym.sqlite3DbFreeNN
mov eax, r13d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov rcx, rdx
call sym.sqlite3Malloc
mov r14, rax
test r14, r14
jne 0x1401989ac
mov r13d, 7
jmp 0x140198a2c
mov r9, rsi
mov rdx, r13
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
jmp dbg.sqlite3BtreeTableMoveto
mov r8, rsi
mov rdx, r14
mov rcx, r12
call dbg.sqlite3BtreeIndexMoveto
mov r13d, eax
jmp 0x140198a18
Function at 0x1401a8b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
jne 0x1401a8b58
movzx eax, byte [rcx + 0x10]
test al, al
je 0x1401a8b58
cmp al, 1
je 0x1401a8b60
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
je 0x1401a8b4e
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x50]
mov eax, dword [rax + 0x28]
bswap eax
mov dword [r8], eax
test edx, edx
jne 0x1401a8b78
xor eax, eax
ret
jmp dbg.btreeBeginTrans
test edx, edx
jne 0x1401a8b58
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
jne 0x1401a8b3e
jmp 0x1401a8b52
mov rcx, qword [rcx]
mov edx, dword [r9 + 0x2e0]
cmp edx, dword [rcx + 0x80]
jle 0x1401a8b52
cmp byte [rcx + 0xa], 0
je 0x1401a8b52
jmp dbg.pagerOpenSavepoint
Function at 0x1401c0eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
movzx eax, byte [rdx]
mov r12, rdx
mov r15, rcx
mov edx, eax
cmp al, 0xb0
jne 0x1401c0ed5
movzx edx, byte [r12 + 2]
cmp dl, 0xb1
je 0x1401c0fe8
cmp dl, 0x8a
je 0x1401c0f00
mov rdx, r12
mov rcx, r15
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.sqlite3ExprCodeTemp
mov rdx, qword [r12 + 0x20]
mov rdx, qword [rdx + 0x20]
mov ebx, dword [rdx]
cmp ebx, 1
je 0x1401c0ee3
mov dword [r8], 0
cmp al, 0x8a
je 0x1401c0ff8
mov eax, dword [r15 + 0x38]
lea r13d, [rax + 1]
add eax, ebx
mov dword [r15 + 0x38], eax
test ebx, ebx
jle 0x1401c0fd0
xor r14d, r14d
lea rdi, [dbg.exprNodeIsConstant]
lea rbp, [rsp + 0x30]
lea rsi, [dbg.sqlite3SelectWalkFail]
jmp 0x1401c0f85
mov rcx, rbp
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x20], rdx
call dbg.sqlite3WalkExprNN
cmp word [rsp + 0x54], 0
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x2c]
jne 0x1401c0fbf
mov rcx, r15
add r14d, 1
call dbg.sqlite3ExprCodeCopy
cmp r14d, ebx
je 0x1401c0fd0
movsxd rax, r14d
lea r8d, [r13 + r14]
shl rax, 5
add rax, qword [r12 + 0x20]
cmp byte [r15 + 0x23], 0
mov rdx, qword [rax + 8]
je 0x1401c0f74
mov eax, 2
mov qword [rsp + 0x30], r15
mov word [rsp + 0x54], ax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
test rdx, rdx
jne 0x1401c0f50
mov rcx, r15
add r14d, 1
call dbg.sqlite3ExprCodeRunJustOnce
cmp r14d, ebx
jne 0x1401c0f85
mov eax, r13d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [r12 + 0x20]
mov ebx, dword [rdx]
jmp 0x1401c0f0b
mov rdx, r12
mov rcx, r15
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.sqlite3CodeSubselect
Function at 0x1401c47e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r14, qword [rcx + 0x58]
mov r13d, r8d
mov rsi, rcx
mov r12, rdx
mov edi, r8d
shr r13d, 0x1f
test r14, r14
je 0x1401c4878
test r13b, r13b
je 0x1401c4878
mov eax, dword [r14]
lea rbx, [r14 + 8]
test eax, eax
jle 0x1401c4878
sub eax, 1
shl rax, 5
lea rbp, [r14 + rax + 0x28]
jmp 0x1401c4831
add rbx, 0x20
cmp rbp, rbx
je 0x1401c4878
test byte [rbx + 0x14], 8
je 0x1401c4828
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401c4918
test r12, r12
je 0x1401c4918
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, r12
call sym.sqlite3ExprCompare.part.0
test eax, eax
jne 0x1401c4828
mov eax, dword [rbx + 0x18]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
test r12, r12
je 0x1401c4910
mov rcx, qword [rsi]
mov rdx, r12
xor r9d, r9d
xor r8d, r8d
call dbg.exprDup
mov r12, rax
test rax, rax
je 0x1401c4910
test byte [rax + 4], 8
jne 0x1401c4930
mov rdx, r14
mov r8, r12
mov rcx, rsi
call sym.sqlite3ExprListAppend
mov rdx, rax
mov eax, edi
test rdx, rdx
je 0x1401c48f9
mov eax, dword [rdx]
shl r13d, 3
sub eax, 1
cdqe
mov rcx, rax
shl rcx, 5
lea r8, [rdx + rcx + 0x10]
movzx ecx, byte [r8 + 0xc]
and ecx, 0xfffffff7
or r13d, ecx
mov byte [r8 + 0xc], r13b
test edi, edi
jns 0x1401c48ef
mov edi, dword [rsi + 0x38]
add edi, 1
mov dword [rsi + 0x38], edi
shl rax, 5
mov dword [rdx + rax + 0x20], edi
mov eax, edi
mov qword [rsi + 0x58], rdx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor r12d, r12d
jmp 0x1401c48a4
cmp rdx, r12
jne 0x1401c4828
mov eax, dword [rbx + 0x18]
jmp 0x1401c4863
mov rbx, qword [rsi + 0x10]
movsxd rbp, dword [rbx + 0x90]
cmp ebp, dword [rbx + 0x94]
jge 0x1401c4a04
lea eax, [rbp + 1]
mov dword [rbx + 0x90], eax
movsxd rax, ebp
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0xf
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rcx, qword [rsi]
mov byte [rsi + 0x23], 0
mov eax, edi
cmp byte [rcx + 0x67], 0
jne 0x1401c49ac
test edi, edi
js 0x1401c49f9
cmp qword [rsi + 0x10], 0
je 0x1401c49ac
mov r8d, eax
mov rcx, rsi
mov rdx, r12
mov dword [rsp + 0x3c], eax
call sym.sqlite3ExprCode.part.0
mov rcx, qword [rsi]
mov eax, dword [rsp + 0x3c]
mov byte [rsi + 0x23], 1
mov rdx, r12
mov dword [rsp + 0x3c], eax
call dbg.sqlite3ExprDeleteNN
mov r8, qword [rbx]
mov eax, dword [rsp + 0x3c]
lea rdx, [0x1404013a0]
mov ecx, dword [rbx + 0x90]
cmp byte [r8 + 0x67], 0
jne 0x1401c49e7
mov rdx, qword [rbx + 0x88]
lea r8, [rbp + rbp*2]
lea rdx, [rdx + r8*8]
mov dword [rdx + 8], ecx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, dword [rsi + 0x38]
add eax, 1
mov dword [rsi + 0x38], eax
jmp 0x1401c498c
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbx
mov dword [rsp + 0x20], 0
call dbg.growOp3
movsxd rbp, eax
jmp 0x1401c4979
Function at 0x1401c4a30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x60
cmp byte [rcx + 0x23], 0
mov r12, rcx
je 0x1401c4a91
mov eax, 2
mov qword [rsp + 0x30], rcx
mov word [rsp + 0x54], ax
lea rax, [dbg.exprNodeIsConstant]
mov qword [rsp + 0x38], rax
lea rax, [dbg.sqlite3SelectWalkFail]
mov qword [rsp + 0x40], rax
test rdx, rdx
je 0x1401c4aa0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x20], rdx
call dbg.sqlite3WalkExprNN
cmp word [rsp + 0x54], 0
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x2c]
jne 0x1401c4aa0
mov rcx, r12
add rsp, 0x60
pop r12
jmp dbg.sqlite3ExprCodeCopy
mov rcx, r12
add rsp, 0x60
pop r12
jmp dbg.sqlite3ExprCodeRunJustOnce

Function at 0x1401c5590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x60
mov r12, rcx
mov rbx, r8
test rdx, rdx
jne 0x1401c55b5
jmp 0x1401c55d8
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1401c55d8
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1401c5628
test eax, 0x80000
jne 0x1401c55a8
cmp byte [rdx], 0x71
jne 0x1401c5628
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1401c55b5
nop dword [rax]
movzx eax, byte [r12 + 0x1f]
test al, al
je 0x1401c56d8
sub eax, 1
mov byte [r12 + 0x1f], al
movzx eax, al
mov esi, dword [r12 + rax*4 + 0xe8]
mov r8d, esi
mov rcx, r12
call sym.sqlite3ExprCodeTarget
cmp eax, esi
je 0x1401c56c8
test esi, esi
jne 0x1401c56a0
mov dword [rbx], 0
add rsp, 0x60
pop rbx
pop rsi
pop r12
ret
cmp byte [r12 + 0x23], 0
je 0x1401c55d8
cmp byte [rdx], 0xb0
je 0x1401c55d8
mov eax, 2
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov word [rsp + 0x54], ax
lea rax, [dbg.exprNodeIsConstant]
mov qword [rsp + 0x38], rax
lea rax, [dbg.sqlite3SelectWalkFail]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], rax
call dbg.sqlite3WalkExprNN
cmp word [rsp + 0x54], 0
mov rdx, qword [rsp + 0x28]
je 0x1401c55d8
mov r8d, 0xffffffff
mov rcx, r12
mov dword [rbx], 0
add rsp, 0x60
pop rbx
pop rsi
pop r12
jmp dbg.sqlite3ExprCodeRunJustOnce
movzx edx, byte [r12 + 0x1f]
cmp dl, 7
ja 0x1401c5614
lea ecx, [rdx + 1]
mov byte [r12 + 0x1f], cl
mov dword [r12 + rdx*4 + 0xe8], esi
jmp 0x1401c5614
mov dword [rbx], esi
add rsp, 0x60
pop rbx
pop rsi
pop r12
ret
mov eax, dword [r12 + 0x38]
lea esi, [rax + 1]
mov dword [r12 + 0x38], esi
jmp 0x1401c55f9
Function at 0x1401c6320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
mov rbx, qword [rsp + 0x30]
mov r10, qword [rsp + 0x38]
mov r11, rcx
movzx ecx, byte [rdx]
cmp cl, 0xb0
je 0x1401c6348
cmp cl, 0x8a
je 0x1401c6390
xor eax, eax
cmp cl, 0xb1
je 0x1401c6370
pop rbx
ret
movzx eax, byte [rdx + 2]
cmp al, 0xb1
je 0x1401c63d0
mov rcx, rdx
cmp al, 0x8a
je 0x1401c63b0
mov eax, dword [rdx + 0x2c]
mov qword [rbx], rcx
add eax, r8d
pop rbx
ret
movsxd r8, r8d
mov rcx, r11
shl r8, 5
add r8, qword [rdx + 0x20]
mov rdx, qword [r8 + 8]
mov r8, r10
mov qword [rbx], rdx
pop rbx
jmp dbg.sqlite3ExprCodeTemp
mov rdx, qword [rdx + 0x20]
movsxd rax, r8d
shl rax, 5
add rax, qword [rdx + 0x20]
mov rax, qword [rax + 8]
mov qword [rbx], rax
lea eax, [r8 + r9]
pop rbx
ret
mov rax, qword [rdx + 0x20]
mov r9, qword [rax + 0x20]
cmp dword [r9], 1
jle 0x1401c635b
movsxd rax, r8d
shl rax, 5
mov rcx, qword [r9 + rax + 8]
jmp 0x1401c635b
mov rcx, qword [rdx + 0x20]
cmp dword [rcx], 1
jle 0x1401c63ea
movsxd rax, r8d
shl rax, 5
mov rcx, qword [rcx + rax + 8]
jmp 0x1401c635b
mov rcx, rdx
jmp 0x1401c635b
Function at 0x1401d23a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor r9d, r9d
mov r8d, 6
jmp dbg.openDatabase
Function at 0x1402086a0
Capabilities:
Reference sql statements

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd rdi, edx
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rbp, r8
cmp qword [rcx + rdi*8 + 0x28], 0
mov rsi, rdi
lea r12, [rdi + 4]
mov r13, r9
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov qword [rsp + 0x48], rax
je 0x140208740
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x1402086f8
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rbx + rdi*8 + 0x28]
mov r8, rbp
mov edx, 1
mov rcx, r12
call sym.sqlite3_bind_int64
mov rcx, r12
call dbg.sqlite3_step
cmp eax, 0x65
je 0x140208760
cmp eax, 0x64
je 0x140208790
mov rcx, r12
call dbg.sqlite3_reset
mov edx, dword [rbx + 0x40]
test edx, edx
jne 0x1402086e6
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rdx, qword [rsp + rdi*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call dbg.rtreeCheckPrepare
mov qword [rbx + r12*8 + 8], rax
jmp 0x1402086df
test esi, esi
lea rdx, str.__parent
mov r9, r13
mov r8, rbp
lea rax, str.__rowid
mov rcx, rbx
cmove rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call dbg.rtreeCheckAppendMsg
jmp 0x14020871f
xor edx, edx
mov rcx, r12
call sym.sqlite3_column_int64
mov r9, rax
cmp rax, r13
je 0x14020871f
test esi, esi
lea rdx, str.__parent
mov r8, rbp
mov rcx, rbx
lea rax, str.__rowid
mov qword [rsp + 0x30], r13
cmove rax, rdx
mov qword [rsp + 0x28], rbp
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call dbg.rtreeCheckAppendMsg
jmp 0x14020871f
Function at 0x1402116e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x20
cmp byte [rcx + 0xa], 0
mov r12, rcx
jne 0x140211708
mov rcx, r12
call sym.rtreeSearchPointPop
mov rcx, r12
add rsp, 0x20
pop r12
jmp dbg.rtreeStepToLeaf
mov byte [rcx + 0xa], 0
mov rcx, qword [rcx + 0x38]
call dbg.sqlite3_reset
jmp 0x1402116ef