joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014ac60
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 0x14014ac9f
jmp 0x14014aceb
cmp qword [rbx + 0x60], 0
je 0x14014acf0
add edi, 1
cmp edi, r12d
je 0x14014acf0
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 0x14014ac90
mov rcx, r13
call dbg.vdbeSorterJoinThread
test eax, eax
je 0x14014ac90
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r13d, r13d
nop
cmp r12d, edi
je 0x14014ad70
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 0x14014ad90
mov qword [rbp + 0x40], rcx
call qword [0x140241bb8]
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 0x14014ad4c
movsxd rcx, dword [rbp + 0x54]
call sym.sqlite3Malloc
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x14014ad4c
mov eax, 7
jmp 0x14014acde
Function at 0x140151d80
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 0x140151dd0
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 0x140151e1a
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 0x140151e49
and dh, 0x8f
or dh, 0x40
mov word [rsp + 0x94], dx
movzx edx, r8b
xor r12d, r12d
test al, 1
jne 0x140151e68
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 0x140151f20
test al, 1
jne 0x140151ef0
lea rcx, [rsp + 0x80]
call dbg.valueToText
test r12, r12
je 0x140151ef0
test rax, rax
je 0x140151ef0
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 0x140151f02
mov edx, dword [rsp + 0xa0]
test edx, edx
je 0x140151dbe
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 0x140151ef8
mov byte [rsi], 7
mov ecx, dword [rsp + 0x60]
xor eax, eax
test ecx, ecx
je 0x140151ec0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x3c], eax
call dbg.vdbeMemClear
mov eax, dword [rsp + 0x3c]
jmp 0x140151ec0
cmp byte [rsp + 0x96], r8b
jne 0x140151e82
mov rax, qword [rsp + 0x88]
jmp 0x140151e93
Function at 0x140151f40
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 0x140151fb8
test r10b, 0x2c
je 0x140151f90
mov r8d, eax
and r8d, r9d
test r8b, 0x24
jne 0x140151fd0
and r8d, 8
je 0x140151ff0
movsd xmm1, qword [rcx]
movsd xmm0, qword [rdx]
comisd xmm0, xmm1
ja 0x140152000
xor r8d, r8d
comisd xmm1, xmm0
seta r8b
jmp 0x140151fc5
and r10d, 2
je 0x140151fa9
test al, 2
je 0x140152010
and r9d, 2
je 0x140152000
test r8, r8
jne 0x140152048
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 0x140152000
setg r8b
movzx r8d, r8b
mov eax, r8d
add rsp, 0x28
ret
test al, 0x24
je 0x140152020
test r9b, 8
jne 0x140152058
and r9d, 0x24
jne 0x140151fd0
mov r8d, 0xffffffff
jmp 0x140151fc5
mov r8d, 1
jmp 0x140151fc5
mov r8d, 1
test al, 8
je 0x140151fc5
and r9d, 0x24
je 0x140152000
movsd xmm1, qword [rcx]
mov rcx, qword [rdx]
call sym.sqlite3IntFloatCompare
neg eax
mov r8d, eax
jmp 0x140151fc5
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 0x140154970
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, [0x140387cc0]
mov r15, r8
mov r8, qword [r8]
mov r12, rcx
movzx eax, word [r8 + 0x14]
and eax, 0x3f
cmp byte [rbp + rax], 5
je 0x140154a18
cmp edx, 1
jle 0x140154a37
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 0x140154a06
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 0x140154a30
mov rdx, qword [r15 + rbx*8]
movzx eax, word [rdx + 0x14]
and eax, 0x3f
cmp byte [rbp + rax], 5
jne 0x1401549e8
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 0x1401552c0
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 0x1401552e8
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rcx, qword [r8]
test rcx, rcx
je 0x1401552d7
mov rax, qword [r12]
mov rdi, qword [rax + 0x18]
movzx eax, word [rcx + 0x14]
mov edx, eax
and dx, 0x202
cmp dx, 0x202
je 0x1401553d8
test al, 1
jne 0x1401552d7
mov edx, 1
call dbg.valueToText
mov rdx, rax
test rdx, rdx
je 0x1401552d7
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 0x1401553aa
mov eax, r8d
mov byte [rdx + rax], 0
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1401553a5
test byte [rsp + 0x6d], 4
je 0x1401553f0
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 0x14015530e
mov rdx, qword [rcx + 8]
jmp 0x14015531f
mov rcx, r13
mov dword [rsp + 0x3c], r8d
call dbg.strAccumFinishRealloc
mov r8d, dword [rsp + 0x3c]
mov rdx, rax
jmp 0x1401553aa
Function at 0x140159420
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 0x140159570
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 0x140159550
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 0x14015952d
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 0x1401594f9
test byte [rbp + 4], 0x10
je 0x14015953f
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 0x140186a50
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
sub rsp, 0x28
mov eax, dword [0x140241cd4]
mov r12d, ecx
mov r13, rdx
test eax, eax
jne 0x140186a88
call dbg.sqlite3MutexInit
test eax, eax
jne 0x140186a7a
call sym.sqlite3_initialize.part.0
test eax, eax
je 0x140186a8b
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 0x140193aa0
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 0x140193bb0
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 0x140193b90
call sym.sqlite3DbMallocRawNN
mov r14, rax
test r14, r14
je 0x140193ba4
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 0x140193b38
cmp ax, word [rdi + 8]
jbe 0x140193bd0
lea rax, [0x14037c6ec]
mov r9d, 0x116fd
lea r8, [0x14037e3f8]
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 0x140193afc
mov r13d, 7
jmp 0x140193b7c
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 0x140193b68
Function at 0x1401a3c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
jne 0x1401a3ca8
movzx eax, byte [rcx + 0x10]
test al, al
je 0x1401a3ca8
cmp al, 1
je 0x1401a3cb0
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
je 0x1401a3c9e
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 0x1401a3cc8
xor eax, eax
ret
jmp dbg.btreeBeginTrans
test edx, edx
jne 0x1401a3ca8
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
jne 0x1401a3c8e
jmp 0x1401a3ca2
mov rcx, qword [rcx]
mov edx, dword [r9 + 0x2e0]
cmp edx, dword [rcx + 0x80]
jle 0x1401a3ca2
cmp byte [rcx + 0xa], 0
je 0x1401a3ca2
jmp dbg.pagerOpenSavepoint
Function at 0x1401bc000
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 0x1401bc025
movzx edx, byte [r12 + 2]
cmp dl, 0xb1
je 0x1401bc138
cmp dl, 0x8a
je 0x1401bc050
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 0x1401bc033
mov dword [r8], 0
cmp al, 0x8a
je 0x1401bc148
mov eax, dword [r15 + 0x38]
lea r13d, [rax + 1]
add eax, ebx
mov dword [r15 + 0x38], eax
test ebx, ebx
jle 0x1401bc120
xor r14d, r14d
lea rdi, [dbg.exprNodeIsConstant]
lea rbp, [rsp + 0x30]
lea rsi, [dbg.sqlite3SelectWalkFail]
jmp 0x1401bc0d5
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 0x1401bc10f
mov rcx, r15
add r14d, 1
call dbg.sqlite3ExprCodeCopy
cmp r14d, ebx
je 0x1401bc120
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 0x1401bc0c4
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 0x1401bc0a0
mov rcx, r15
add r14d, 1
call dbg.sqlite3ExprCodeRunJustOnce
cmp r14d, ebx
jne 0x1401bc0d5
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 0x1401bc05b
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 0x1401bf930
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 0x1401bf9c8
test r13b, r13b
je 0x1401bf9c8
mov eax, dword [r14]
lea rbx, [r14 + 8]
test eax, eax
jle 0x1401bf9c8
sub eax, 1
shl rax, 5
lea rbp, [r14 + rax + 0x28]
jmp 0x1401bf981
add rbx, 0x20
cmp rbp, rbx
je 0x1401bf9c8
test byte [rbx + 0x14], 8
je 0x1401bf978
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401bfa68
test r12, r12
je 0x1401bfa68
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, r12
call sym.sqlite3ExprCompare.part.0
test eax, eax
jne 0x1401bf978
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 0x1401bfa60
mov rcx, qword [rsi]
mov rdx, r12
xor r9d, r9d
xor r8d, r8d
call dbg.exprDup
mov r12, rax
test rax, rax
je 0x1401bfa60
test byte [rax + 4], 8
jne 0x1401bfa80
mov rdx, r14
mov r8, r12
mov rcx, rsi
call sym.sqlite3ExprListAppend
mov rdx, rax
mov eax, edi
test rdx, rdx
je 0x1401bfa49
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 0x1401bfa3f
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 0x1401bf9f4
cmp rdx, r12
jne 0x1401bf978
mov eax, dword [rbx + 0x18]
jmp 0x1401bf9b3
mov rbx, qword [rsi + 0x10]
movsxd rbp, dword [rbx + 0x90]
cmp ebp, dword [rbx + 0x94]
jge 0x1401bfb54
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 0x1401bfafc
test edi, edi
js 0x1401bfb49
cmp qword [rsi + 0x10], 0
je 0x1401bfafc
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, [0x1403f0300]
mov ecx, dword [rbx + 0x90]
cmp byte [r8 + 0x67], 0
jne 0x1401bfb37
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 0x1401bfadc
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rbx
mov dword [rsp + 0x20], 0
call dbg.growOp3
movsxd rbp, eax
jmp 0x1401bfac9
Function at 0x1401bfb80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x60
cmp byte [rcx + 0x23], 0
mov r12, rcx
je 0x1401bfbe1
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 0x1401bfbf0
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 0x1401bfbf0
mov rcx, r12
add rsp, 0x60
pop r12
jmp dbg.sqlite3ExprCodeCopy
mov rcx, r12
add rsp, 0x60
pop r12
jmp dbg.sqlite3ExprCodeRunJustOnce

Function at 0x1401c06e0
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 0x1401c0705
jmp 0x1401c0728
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1401c0728
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1401c0778
test eax, 0x80000
jne 0x1401c06f8
cmp byte [rdx], 0x71
jne 0x1401c0778
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1401c0705
nop dword [rax]
movzx eax, byte [r12 + 0x1f]
test al, al
je 0x1401c0828
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 0x1401c0818
test esi, esi
jne 0x1401c07f0
mov dword [rbx], 0
add rsp, 0x60
pop rbx
pop rsi
pop r12
ret
cmp byte [r12 + 0x23], 0
je 0x1401c0728
cmp byte [rdx], 0xb0
je 0x1401c0728
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 0x1401c0728
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 0x1401c0764
lea ecx, [rdx + 1]
mov byte [r12 + 0x1f], cl
mov dword [r12 + rdx*4 + 0xe8], esi
jmp 0x1401c0764
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 0x1401c0749
Function at 0x1401c1470
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 0x1401c1498
cmp cl, 0x8a
je 0x1401c14e0
xor eax, eax
cmp cl, 0xb1
je 0x1401c14c0
pop rbx
ret
movzx eax, byte [rdx + 2]
cmp al, 0xb1
je 0x1401c1520
mov rcx, rdx
cmp al, 0x8a
je 0x1401c1500
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 0x1401c14ab
movsxd rax, r8d
shl rax, 5
mov rcx, qword [r9 + rax + 8]
jmp 0x1401c14ab
mov rcx, qword [rdx + 0x20]
cmp dword [rcx], 1
jle 0x1401c153a
movsxd rax, r8d
shl rax, 5
mov rcx, qword [rcx + rax + 8]
jmp 0x1401c14ab
mov rcx, rdx
jmp 0x1401c14ab
Function at 0x1401cd4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor r9d, r9d
mov r8d, 6
jmp dbg.openDatabase
Function at 0x1402037f0
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 0x140203890
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x140203848
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 0x1402038b0
cmp eax, 0x64
je 0x1402038e0
mov rcx, r12
call dbg.sqlite3_reset
mov edx, dword [rbx + 0x40]
test edx, edx
jne 0x140203836
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 0x14020382f
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 0x14020386f
xor edx, edx
mov rcx, r12
call sym.sqlite3_column_int64
mov r9, rax
cmp rax, r13
je 0x14020386f
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 0x14020386f
Function at 0x14020c830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x20
cmp byte [rcx + 0xa], 0
mov r12, rcx
jne 0x14020c858
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 0x14020c83f