joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401354c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140135595
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdi
mov rdx, qword [rax + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rdx
lea rax, [0x140250600]
lea rbx, [rsp + 0x38]
xor ecx, ecx
xor edi, edi
nop
call dbg.runtime.cgoCheckPointer
lea rax, [0x140253b80]
mov rbx, qword [rsp + 0x60]
lea rcx, [0x140255480]
lea rdi, [0x140233748]
nop
call dbg.runtime.cgoCheckPointer
lea rax, [0x140253bc0]
mov rbx, qword [rsp + 0x68]
lea rcx, [0x140255480]
lea rdi, [0x140233748]
nop
call dbg.runtime.cgoCheckPointer
mov rdx, qword [rsp + 0x30]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], 0xffffffff
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rdx
call dbg.github.com/mattn/go-sqlite3._Cfunc__sqlite3_prepare_v2_internal
xorps xmm15, xmm15
mov r14, qword [0x14043c1e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x28]
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp dbg.github.com/mattn/go-sqlite3.(*SQLiteConn).prepare.func2

Function at 0x1401360e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14013617d
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x58], rcx
test rdi, rdi
jbe 0x140136172
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
lea rax, [0x140250780]
lea rbx, [rsp + 0x30]
xor ecx, ecx
xor edi, edi
call dbg.runtime.cgoCheckPointer
mov rdx, qword [rsp + 0x28]
mov qword [rsp], rdx
mov edx, dword [rsp + 0x50]
mov dword [rsp + 8], edx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x18], edx
call dbg.github.com/mattn/go-sqlite3._Cfunc__sqlite3_bind_text
xorps xmm15, xmm15
mov r14, qword [0x14043c1e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
pop rbp
ret
xor eax, eax
mov rcx, rax
call dbg.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp dbg.github.com/mattn/go-sqlite3.(*SQLiteStmt).bind.func13
Function at 0x140136620
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1401366bd
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x58], rcx
test rdi, rdi
jbe 0x1401366b2
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
lea rax, [0x140250780]
lea rbx, [rsp + 0x30]
xor ecx, ecx
xor edi, edi
call dbg.runtime.cgoCheckPointer
mov rdx, qword [rsp + 0x28]
mov qword [rsp], rdx
mov edx, dword [rsp + 0x50]
mov dword [rsp + 8], edx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x18], edx
call dbg.github.com/mattn/go-sqlite3._Cfunc__sqlite3_bind_text
xorps xmm15, xmm15
mov r14, qword [0x14043c1e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
pop rbp
ret
xor eax, eax
mov rcx, rax
call dbg.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp dbg.github.com/mattn/go-sqlite3.(*SQLiteStmt).bind.func6

Function at 0x140139180
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14013922d
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdi
mov rdx, qword [rax + 8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
lea rax, [0x140250600]
lea rbx, [rsp + 0x30]
xor ecx, ecx
xor edi, edi
nop
call dbg.runtime.cgoCheckPointer
lea rax, [0x140253bc0]
mov rbx, qword [rsp + 0x60]
lea rcx, [0x140255480]
lea rdi, [0x140233748]
nop
call dbg.runtime.cgoCheckPointer
mov rdx, qword [rsp + 0x28]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
call dbg.github.com/mattn/go-sqlite3._Cfunc_sqlite3_load_extension
xorps xmm15, xmm15
mov r14, qword [0x14043c1e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp dbg.github.com/mattn/go-sqlite3.(*SQLiteConn).loadExtension.func4
Function at 0x140144080
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x1401440b0
mov edx, edx
xor eax, eax
lea r9, [rcx + rdx]
nop dword [rax]
movsx r8d, byte [rcx]
lea edx, [rax*8]
add rcx, 1
xor eax, r8d
xor eax, edx
cmp r9, rcx
jne 0x140144090
and eax, 0x7fffffff
ret
xor eax, eax
ret

Function at 0x140146220
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
jle 0x140146260
mov edx, edx
xor eax, eax
lea r8, [rbx + rdx]
nop dword [rax]
movsx ecx, byte [rbx]
lea edx, [rax*8]
add rbx, 1
xor eax, ecx
xor eax, edx
cmp rbx, r8
jne 0x140146238
and eax, 0x7fffffff
add rsp, 0x20
pop rbx
ret
call sym.strlen
mov rcx, rax
mov edx, eax
xor eax, eax
test ecx, ecx
jg 0x14014622c
add rsp, 0x20
pop rbx
ret

Function at 0x14014dc60
Capabilities:
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
xor ebx, ebx
mov rsi, r8
lea rbp, [rsp + 0x20]
movsxd r8, edx
mov edi, edx
mov rcx, rsi
xor edx, edx
call sym.memset
mov rcx, rbp
call qword [sym.GetSystemTime]
mov rdx, rbp
lea r9, [rsp + 0x30]
xor r8d, r8d
nop word [rax + rax]
lea eax, [rbx + 1]
movzx ecx, byte [rdx]
xor byte [rsi + rbx], cl
cmp edi, eax
cmovle eax, r8d
add rdx, 1
movsxd rbx, eax
cmp rdx, r9
jne 0x14014dca0
call qword [sym.GetCurrentProcessId]
lea r12, [rsp + 0x24]
mov rdx, rbp
xor r8d, r8d
mov dword [rsp + 0x20], eax
lea eax, [rbx + 1]
movzx ecx, byte [rdx]
xor byte [rsi + rbx], cl
cmp edi, eax
cmovle eax, r8d
add rdx, 1
movsxd rbx, eax
cmp rdx, r12
jne 0x14014dcd0
call qword [sym.GetTickCount]
mov rdx, rbp
xor r8d, r8d
mov dword [rsp + 0x20], eax
nop dword [rax + rax]
lea eax, [rbx + 1]
movzx ecx, byte [rdx]
xor byte [rsi + rbx], cl
cmp edi, eax
cmovle eax, r8d
add rdx, 1
movsxd rbx, eax
cmp r12, rdx
jne 0x14014dd00
mov rcx, rbp
call qword [sym.QueryPerformanceCounter]
mov rax, rbp
lea r9, [rsp + 0x28]
xor r8d, r8d
nop
lea edx, [rbx + 1]
movzx ecx, byte [rax]
xor byte [rsi + rbx], cl
cmp edi, edx
cmovle edx, r8d
add rax, 1
movsxd rbx, edx
cmp r9, rax
jne 0x14014dd30
mov eax, 0x20
cmp edi, eax
cmovle eax, edi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140150a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r13d, dword [rcx + 0x80]
movsxd rax, edx
mov r12, rcx
mov rcx, qword [rcx + 0x78]
lea rdx, [rax*8]
mov rsi, rax
sub rdx, rax
shl rdx, 3
call dbg.sqlite3Realloc
mov rdi, rax
test rax, rax
je 0x140150be8
movsxd rdx, r13d
xor ebp, ebp
lea rax, [rdx*8]
sub rax, rdx
xor edx, edx
lea rbx, [rdi + rax*8]
mov eax, esi
sub eax, r13d
mov rcx, rbx
cdqe
lea r8, [rax*8]
sub r8, rax
shl r8, 3
call sym.memset
mov qword [r12 + 0x78], rdi
cmp r13d, esi
jl 0x140150b9a
jmp 0x140150c10
lea rdi, [rax + 8]
mov rcx, rax
mov qword [rax], 0
mov qword [rax + 0x1f8], 0
and rdi, 0xfffffffffffffff8
mov rax, rbp
sub rcx, rdi
add ecx, 0x200
shr ecx, 3
rep stosq qword [rdi], rax
mov dword [rdx], r14d
mov qword [rbx + 0x10], rdx
mov rax, qword [r12 + 0x128]
mov dword [rbx + 0x20], 1
test rax, rax
je 0x140150b85
mov edx, dword [rax + 0x58]
mov dword [rbx + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rbx + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rbx + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rbx + 0x30], eax
add r13d, 1
add rbx, 0x38
mov dword [r12 + 0x80], r13d
cmp r13d, esi
je 0x140150c10
mov rax, qword [r12 + 0x50]
mov r14d, dword [r12 + 0x20]
cmp qword [rax], 0
mov dword [rbx + 0x18], r14d
je 0x140150c00
mov rax, qword [r12 + 0x60]
test rax, rax
jle 0x140150c00
mov qword [rbx], rax
mov eax, dword [r12 + 0x3c]
mov ecx, 0x200
mov dword [rbx + 0x1c], eax
call sym.sqlite3Malloc
mov rdx, rax
test rax, rax
jne 0x140150b20
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x20], 1
mov eax, 7
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, dword [r12 + 0xb8]
jmp 0x140150bb8
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x140158100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebx, dword [rcx + 0x28]
mov rdi, rdx
mov r12, r8
test ebx, ebx
jle 0x1401581a2
mov rsi, qword [rcx + 0x20]
xor r13d, r13d
lea rbp, [0x14039ece0]
nop dword [rax + rax]
mov r10d, r13d
xor r10d, 1
cmp r13d, 2
cmovge r10d, r13d
movsxd rax, r10d
shl rax, 5
add rax, rsi
mov r9, qword [rax + 0x18]
test r12, r12
je 0x140158181
mov r8, qword [rax]
xor ecx, ecx
jmp 0x14015816f
movzx edx, byte [rbp + rdx]
cmp byte [rbp + rax], dl
jne 0x1401581b8
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [r12 + rcx]
cmp eax, edx
jne 0x140158160
test eax, eax
jne 0x14015816b
lea rcx, [r9 + 0x20]
xor r8d, r8d
mov rdx, rdi
call dbg.findElementWithHash
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401581a4
add r13d, 1
cmp r13d, ebx
jne 0x140158130
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test r10d, r10d
jne 0x140158199
mov r8, r12
lea rcx, str.main
jmp 0x1401581e3
movzx edx, byte [rbp + rdx]
cmp byte [rbp + rax], dl
jne 0x140158199
add rcx, 1
add r8, 1
movzx eax, byte [rcx]
movzx edx, byte [r8]
cmp eax, edx
jne 0x1401581d0
test eax, eax
jne 0x1401581db
jmp 0x140158181
Function at 0x140161390
Capabilities:
Create thread

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebp, ebp
movzx r13d, byte [rcx + 0x5b]
mov rsi, r13
sub r13d, 1
mov byte [rcx + 0x58], 1
mov r12, rcx
test r13d, r13d
jg 0x1401613cf
jmp 0x140161418
cmp qword [rbx + 0x60], 0
je 0x140161420
add ebp, 1
cmp ebp, r13d
je 0x140161420
movzx eax, byte [r12 + 0x5a]
lea eax, [rbp + rax + 1]
cdq
idiv r13d
movsxd rdx, edx
lea rbx, [rdx + rdx*2]
lea rcx, [rdx + rdx*2 + 3]
shl rbx, 5
shl rcx, 5
add rbx, r12
lea rdi, [r12 + rcx]
mov eax, dword [rbx + 0x68]
test eax, eax
je 0x1401613c0
mov rcx, rdi
call dbg.vdbeSorterJoinThread
test eax, eax
je 0x1401613c0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor edi, edi
nop word [rax + rax]
cmp r13d, ebp
je 0x1401614b0
lea rdx, [r12 + 0x60]
mov rax, rdi
mov rcx, qword [rdi + 0x28]
movdqu xmm0, xmmword [r12 + 0x38]
sub rax, rdx
movabs rdx, 0xaaaaaaaaaaaaaaab
sar rax, 5
imul rax, rdx
mov byte [r12 + 0x5a], al
mov rax, qword [r12 + 0x48]
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
mov qword [r12 + 0x38], 0
mov qword [r12 + 0x48], 0
test rcx, rcx
je 0x1401614d8
mov qword [r12 + 0x40], rcx
call qword [0x140245bd8]
mov dword [r12 + 0x54], eax
mov r8, rdi
lea rdx, [dbg.vdbeSorterFlushThread]
mov rcx, rdi
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, [r12 + 0x38]
shl rcx, 5
add rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp dbg.vdbeSorterListToPMA
cmp qword [r12 + 0x40], 0
je 0x14016148a
movsxd rcx, dword [r12 + 0x54]
call sym.sqlite3Malloc
mov qword [r12 + 0x40], rax
test rax, rax
jne 0x14016148a
mov eax, 7
jmp 0x14016140b
Function at 0x140168ab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xc0
mov r10, rdx
mov rax, rcx
movzx edx, byte [r8 + 8]
mov rsi, r8
mov rdi, r9
cmp byte [rcx + 0x16], dl
jne 0x140168b00
mov edx, dword [rcx + 0x10]
mov rcx, qword [r8 + 0x10]
mov r8, qword [r10 + 8]
mov r9d, dword [r10 + 0x10]
mov qword [rsp + 0x20], r8
mov r8, qword [rax + 8]
call qword [rsi + 0x18]
add rsp, 0xc0
pop rbx
pop rsi
pop rdi
ret
mov rcx, qword [rcx + 0x18]
movdqu xmm0, xmmword [rax]
mov dword [rsp + 0x60], 0
mov dword [rsp + 0xa0], 0
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x98], rcx
mov rcx, qword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rcx
movzx ecx, word [rax + 0x14]
test ch, 0x20
jne 0x140168b4a
and ch, 0x8f
or ch, 0x40
mov word [rsp + 0x54], cx
mov rax, qword [r10 + 0x10]
movdqu xmm1, xmmword [r10]
mov qword [rsp + 0x90], rax
movzx eax, word [r10 + 0x14]
movups xmmword [rsp + 0x80], xmm1
test ah, 0x20
jne 0x140168b7b
and ah, 0x8f
or ah, 0x40
mov word [rsp + 0x94], ax
xor ebx, ebx
and ecx, 1
jne 0x140168b93
lea rcx, [rsp + 0x40]
call dbg.valueToText
movzx edx, byte [rsi + 8]
mov rbx, rax
movzx eax, word [rsp + 0x94]
mov ecx, eax
not ecx
test cx, 0x202
je 0x140168c30
test al, 1
jne 0x140168c20
lea rcx, [rsp + 0x80]
call dbg.valueToText
test rbx, rbx
je 0x140168c20
test rax, rax
je 0x140168c20
mov rcx, qword [rsi + 0x10]
mov edx, dword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov r9d, dword [rsp + 0x90]
call qword [rsi + 0x18]
mov ecx, dword [rsp + 0x60]
test ecx, ecx
jne 0x140168c50
mov edx, dword [rsp + 0xa0]
test edx, edx
je 0x140168aeb
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 rdi
ret
test rdi, rdi
je 0x140168c28
mov byte [rdi], 7
xor eax, eax
jmp 0x140168be0
cmp byte [rsp + 0x96], dl
jne 0x140168baa
mov rax, qword [rsp + 0x88]
jmp 0x140168bbb
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x3c], eax
call dbg.vdbeMemClear
mov eax, dword [rsp + 0x3c]
jmp 0x140168be8
Function at 0x140168c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
movzx r9d, word [rcx + 0x14]
movzx r10d, word [rdx + 0x14]
mov eax, r9d
or eax, r10d
test al, 1
jne 0x140168ce0
test al, 0x2c
je 0x140168cb8
mov eax, r9d
and eax, r10d
test al, 0x24
jne 0x140168cf8
test al, 8
je 0x140168d10
movsd xmm1, qword [rcx]
movsd xmm0, qword [rdx]
comisd xmm0, xmm1
ja 0x140168d22
xor eax, eax
comisd xmm1, xmm0
seta al
jmp 0x140168cee
test al, 2
je 0x140168cd1
and r9d, 2
je 0x140168d30
and r10d, 2
je 0x140168d22
test r8, r8
jne 0x140168d68
add rsp, 0x28
jmp dbg.sqlite3BlobCompare
and r10d, 1
and r9d, 1
mov eax, r10d
sub eax, r9d
add rsp, 0x28
ret
mov rax, qword [rdx]
cmp qword [rcx], rax
jl 0x140168d22
setg al
movzx eax, al
add rsp, 0x28
ret
test r9b, 0x24
je 0x140168d40
test r10b, 8
jne 0x140168d78
and r10d, 0x24
jne 0x140168cf8
mov eax, 0xffffffff
jmp 0x140168cee
mov eax, 1
jmp 0x140168cee
and r9d, 8
mov eax, 1
je 0x140168cee
and r10d, 0x24
je 0x140168d22
mov rax, qword [rdx]
movsd xmm1, qword [rcx]
mov rcx, rax
call sym.sqlite3IntFloatCompare
neg eax
jmp 0x140168cee
xor r9d, r9d
add rsp, 0x28
jmp dbg.vdbeCompareMemString
mov rcx, qword [rcx]
movsd xmm1, qword [rdx]
add rsp, 0x28
jmp sym.sqlite3IntFloatCompare

Function at 0x14016b410
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 rdi, [0x140398460]
mov rax, qword [rcx + 8]
mov r13, rcx
mov esi, edx
mov rcx, qword [rax + 8]
mov r15, r8
mov rdx, qword [r13 + 0x18]
movsxd rax, dword [r13 + 0x20]
mov r8, qword [rdx + 0x88]
lea rax, [rax + rax*2]
mov rdx, qword [r15]
lea rax, [r8 + rax*8]
mov rbp, qword [rax - 8]
movzx eax, word [rdx + 0x14]
and eax, 0x3f
cmp byte [rdi + rax], 5
je 0x14016b4b0
cmp esi, 1
jle 0x14016b4cf
neg rcx
mov ebx, 1
sbb r12d, r12d
xor r14d, r14d
jmp 0x14016b49f
movsxd rax, r14d
mov r8, rbp
mov rcx, qword [r15 + rax*8]
call dbg.sqlite3MemCompare
xor eax, r12d
cmovns r14d, ebx
add rbx, 1
cmp rsi, rbx
je 0x14016b4c8
mov rdx, qword [r15 + rbx*8]
movzx eax, word [rdx + 0x14]
and eax, 0x3f
cmp byte [rdi + rax], 5
jne 0x14016b480
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movsxd r14, r14d
mov rdx, qword [r15 + r14*8]
mov rcx, r13
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 0x140170430
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 r12, qword [rsp + 0xb8]
mov r14d, dword [rsp + 0xc0]
mov rsi, rcx
mov r13d, edx
mov rcx, qword [rcx]
mov dword [rsp + 0x3c], r8d
lea edx, [r15*8 + 0x30]
mov ebp, r9d
movsxd rdx, edx
call sym.sqlite3DbMallocRawNN
mov rbx, rax
test rax, rax
je 0x140170580
mov byte [rax + 0x2a], r15b
cmp r14d, 1
mov edx, dword [rdi + 0x90]
mov ecx, 0x41
mov qword [rax], 0
adc ecx, 0
mov qword [rax + 8], r12
mov qword [rax + 0x18], 0
mov dword [rax + 0x24], 0
mov dword [rax + 0x20], edx
cmp edx, dword [rdi + 0x94]
jge 0x140170560
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
movsxd rax, edx
lea r8, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + r8*8]
mov byte [rax], cl
xor ecx, ecx
mov word [rax + 2], cx
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 4], r13d
mov dword [rax + 8], ecx
mov dword [rax + 0xc], ebp
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 0x140170539
mov rdx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
and r14d, 0x2e
lea rax, [rdx + rax*8]
mov word [rax - 0x16], r14w
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 dword [rsp + 0x20], ebp
mov r9d, dword [rsp + 0x3c]
mov edx, ecx
mov r8d, r13d
mov rcx, rdi
call dbg.growOp3
mov edx, eax
jmp 0x140170505
test byte [r12 + 4], 0x10
je 0x14017054b
mov rcx, qword [rsi]
mov rdx, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3DbNNFreeNN
Function at 0x140199890
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [0x140245cf4]
mov ebx, ecx
mov rsi, rdx
test eax, eax
jne 0x1401998e0
call dbg.sqlite3MutexInit
test eax, eax
jne 0x1401998d0
call sym.sqlite3_initialize.part.0
test eax, eax
jne 0x1401998d0
mov rdx, rsi
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.sqlite3_randomness.part.0
add rsp, 0x28
pop rbx
pop rsi
ret
lock or qword [rsp], 0
mov rdx, rsi
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.sqlite3_randomness.part.0
Function at 0x1401ba240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
jne 0x1401ba278
movzx eax, byte [rcx + 0x10]
test al, al
je 0x1401ba278
cmp al, 1
je 0x1401ba280
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
je 0x1401ba26e
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 0x1401ba2a0
xor eax, eax
ret
jmp dbg.btreeBeginTrans
test edx, edx
jne 0x1401ba278
test r8, r8
je 0x1401ba272
mov rax, qword [rcx + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x50]
mov eax, dword [rax + 0x28]
bswap eax
mov dword [r8], eax
jmp 0x1401ba272
mov rcx, qword [rcx]
mov edx, dword [r9 + 0x2e0]
cmp edx, dword [rcx + 0x80]
jle 0x1401ba272
cmp byte [rcx + 0xa], 0
je 0x1401ba272
jmp dbg.pagerOpenSavepoint
Function at 0x1401d2d70
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
movups xmmword [rsp + 0x50], xmm6
movzx eax, byte [rdx]
mov rsi, rdx
mov rbx, rcx
mov edx, eax
cmp al, 0xb0
jne 0x1401d2d98
movzx edx, byte [rsi + 2]
cmp dl, 0xb1
je 0x1401d2ec0
cmp dl, 0x8a
je 0x1401d2dd0
movups xmm6, xmmword [rsp + 0x50]
mov rdx, rsi
mov rcx, rbx
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 [rsi + 0x20]
mov rdx, qword [rdx + 0x20]
mov edi, dword [rdx]
cmp edi, 1
je 0x1401d2da6
mov dword [r8], 0
cmp al, 0x8a
je 0x1401d2ed0
mov eax, dword [rbx + 0x38]
lea ebp, [rax + 1]
add eax, edi
mov dword [rbx + 0x38], eax
test edi, edi
jle 0x1401d2ea7
lea rax, [dbg.sqlite3SelectWalkFail]
lea rcx, [dbg.exprNodeIsConstant]
xor r13d, r13d
movq xmm6, rcx
movq xmm0, rax
lea r12, [rsp + 0x20]
punpcklqdq xmm6, xmm0
jmp 0x1401d2e5a
mov rdx, r14
mov rcx, r12
call dbg.sqlite3WalkExprNN
cmp word [rsp + 0x44], 0
jne 0x1401d2e90
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
add r13d, 1
call dbg.sqlite3ExprCodeCopy
cmp r13d, edi
je 0x1401d2ea7
movsxd rax, r13d
lea r15d, [rbp + r13]
shl rax, 5
add rax, qword [rsi + 0x20]
cmp byte [rbx + 0x23], 0
mov r14, qword [rax + 8]
je 0x1401d2e43
mov eax, 2
mov dword [rsp + 0x48], 0
mov word [rsp + 0x44], ax
movups xmmword [rsp + 0x28], xmm6
test r14, r14
jne 0x1401d2e30
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
add r13d, 1
call dbg.sqlite3ExprCodeRunJustOnce
cmp r13d, edi
jne 0x1401d2e5a
movups xmm6, xmmword [rsp + 0x50]
mov eax, ebp
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsi + 0x20]
mov edi, dword [rdx]
jmp 0x1401d2dda
movups xmm6, xmmword [rsp + 0x50]
mov rdx, rsi
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.sqlite3CodeSubselect