joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010ab4a
Capabilities:
Get number of processors

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, rcx
mov eax, dword [0x1402feff8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x108]
test rax, rax
je 0x14010ab8b
cmp eax, 1
je 0x14010abb8
xor esi, esi
jmp 0x14010ad39
mov eax, dword [0x1402feff8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rsi, [rax + 0xa8]
lea rdx, [0x14010afc5]
mov rcx, rsi
call fcn.1400ea110
mov byte [rsi + 0x60], 1
test rbx, rbx
je 0x14010ac7f
lea rax, [rsp + 0x58]
mov ecx, 0xc
mov rdi, rax
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov qword [rbx], 0
cmp qword [rax], 0
je 0x14010ac75
mov rbp, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov r13, qword [rsp + 0x80]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x90]
mov r10, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0xa8]
mov edx, dword [rsp + 0xac]
mov bl, byte [rsp + 0xb0]
mov cl, byte [rsp + 0xb1]
mov byte [rsp + 0x2f], cl
mov r11b, byte [rsp + 0xb2]
mov ecx, dword [rsp + 0xb3]
mov dword [rsp + 0x30], ecx
mov cl, byte [rsp + 0xb7]
mov byte [rsp + 0x34], cl
jmp 0x14010ac9a
lea rcx, [rsp + 0x58]
call fcn.14010aee2
call fcn.14010ad50
mov r10d, 2
mov r11b, 2
xor ebx, ebx
xor r15d, r15d
xor r13d, r13d
xor r14d, r14d
xor ebp, ebp
mov ecx, dword [0x1402feff8]
mov r8, qword gs:[0x58]
mov r12, qword [r8 + rcx*8]
mov ecx, 0xc
lea r8, [r12 + 0xa8]
lea r9, [rsp + 0x58]
mov rsi, r8
mov rdi, r9
rep movsq qword [rdi], qword [rsi]
mov qword [r8], 1
mov qword [r8 + 8], rbp
lea rsi, [r12 + 0xb0]
mov rcx, qword [rsp + 0x38]
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov rcx, qword [rsp + 0x40]
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x20], r13
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x28], rcx
mov qword [rsi + 0x30], r15
mov qword [rsi + 0x38], r10
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x40], rcx
mov dword [rsi + 0x48], eax
mov dword [rsi + 0x4c], edx
mov byte [rsi + 0x50], bl
mov al, byte [rsp + 0x2f]
mov byte [rsi + 0x51], al
mov byte [rsi + 0x52], r11b
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x53], eax
mov al, byte [rsp + 0x34]
mov byte [rsi + 0x57], al
mov rcx, r9
call fcn.14010aee2
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14011011e
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140110125
test al, 1
je 0x140110144
test al, 2
jne 0x140110159
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402abac8]
mov edx, 0x23
jmp 0x14011016c
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402abb08]
mov edx, 0x25
call fcn.140237a10
ud2

Function at 0x140110abc
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x140110b05
movzx eax, dl
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140110af2
xor eax, eax
jmp 0x140110b00
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.23.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140237a10
ud2
Function at 0x140110d94
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0xc0]
lea r14, [rdx + 0x10]
mov rbx, qword [rdx]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x28], rcx
mov r12, qword [rdx + 8]
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, r14
mov r8, qword [rsp + 0x38]
mov r9b, 1
call fcn.14011074f
mov rax, qword [rsp + 0x40]
cmp rax, 2
je 0x140110f02
mov rbp, qword [rsp + 0x48]
test rax, rax
jne 0x140110f10
cmp r12, 0xffffffffffffffff
je 0x140110f57
mov sil, byte [rsp + 0x50]
mov rcx, r12
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x140110f22
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rdi, rax
shl rdi, 0x20
or rdi, 2
mov ecx, eax
call fcn.1400eb110
cmp al, 0xd
jne 0x140110ea5
test rbx, rbx
je 0x140110ea5
mov rcx, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
lock inc qword [rdx]
jle 0x140110f71
add rcx, 0x10
mov r8, qword [rbx]
mov r9b, byte [rbx + 0x18]
call fcn.1400859b6
test rax, rax
je 0x140110ea5
mov r13, rax
mov rcx, rdi
call fcn.1400e12ae
mov eax, r13d
and eax, 3
lea rcx, [0x140110f78]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov rdi, r13
jmp rax
mov eax, edi
and eax, 3
lea rcx, [0x140110f78]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [rdi + 0x10]
jmp 0x140110ed0
mov al, byte [rdi + 0xf]
jmp 0x140110ed0
mov rcx, rdi
shr rcx, 0x20
call fcn.1400eb110
cmp al, 0xd
je 0x140110ee2
jmp 0x140110f36
mov rax, rdi
shr rax, 0x20
cmp eax, 0xd
jne 0x140110f36
mov qword [rsp + 0x40], rdi
mov rcx, r14
mov rdx, rbp
mov r8d, esi
call fcn.140110a29
mov rcx, r15
call fcn.14010aae0
jmp 0x140110ddc
mov rax, qword [rsp + 0x20]
mov qword [rax], 2
jmp 0x140110f46
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
mov qword [rax + 8], rbp
jmp 0x140110f46
cdqe
mov rcx, qword [rsp + 0x20]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x140110f46
mov rax, qword [rsp + 0x20]
mov qword [rax], 1
mov qword [rax + 8], rdi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.23.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140237a10
ud2
ud2
Function at 0x1401223af
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov r14, r8
mov r15, rdx
mov rsi, rcx
lea rax, [rsp + 0x60]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1402d1198]
lea r9, [0x1402d11a8]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1401224d4
lea rbx, [rsp + 0x60]
mov rdi, qword [rbx]
mov qword [rsp + 0x58], 0
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.1401221d2
mov r15b, byte [rbx]
cmp r15b, 0x14
jne 0x1401224e0
test rdi, rdi
je 0x1401225bf
mov r15, qword [rsp + 0x68]
mov rax, qword [rdi]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x14012251a
mov r14, qword [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.oleaut32.dll_SysFreeString]
test r14, r14
je 0x1401225cf
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
xor r15d, r15d
mov rcx, r14
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x1401225bb
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
mov byte [rsi], 0x14
jmp 0x1401225ab
mov ebx, eax
xor edi, edi
xor r14d, r14d
xor r15d, r15d
jmp 0x14012255d
mov al, byte [rsp + 0x63]
mov byte [rsp + 0x56], al
movzx eax, word [rsp + 0x61]
mov word [rsp + 0x54], ax
mov ebx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xc0], xmm0
jmp 0x140122528
mov ebx, eax
mov rcx, r15
call qword [sym.imp.oleaut32.dll_SysFreeString]
xor r15d, r15d
movzx ecx, word [rsp + 0x54]
mov word [rsp + 0x50], cx
mov cl, byte [rsp + 0x56]
mov byte [rsp + 0x52], cl
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
xor r14d, r14d
mov cl, byte [rsp + 0x52]
mov byte [rsi + 3], cl
movzx ecx, word [rsp + 0x50]
mov word [rsi + 1], cx
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
mov byte [rsi], r15b
mov dword [rsi + 4], ebx
mov qword [rsi + 8], rax
test r14, r14
je 0x14012259d
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test rdi, rdi
je 0x1401225ab
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ebx, eax
jmp 0x14012255d
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.11.4_srcconnection.rsROOTCIMV2
jmp 0x1401225dd
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.11.4_srcconnection.rsROOTCIMV2
mov edx, 0x2b
call fcn.140237a10
ud2
Function at 0x14012ab10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, r8
mov r14d, r9d
and ebx, 0x1f
mov rsi, rdx
mov rdi, rcx
movabs r13, 0x9e3779b185ebca87
cmp rbx, 8
jb 0x14012a9ce
mov ebp, ebx
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rbx, rax
cmp r14d, 1
jne 0x14012a996
lea r8d, [r14 + 7]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x50]
jmp 0x14012a999
mov rdx, qword [rsi]
xor ecx, ecx
call fcn.14012aad8
xor rax, rdi
mov edx, 0x1b
mov rcx, rax
add rsi, 8
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdi, rax
movabs rax, 0x7a1435883d4d519d
imul rdi, r13
sub rdi, rax
sub rbp, 1
jne 0x14012a978
mov ebp, 4
movabs r15, 0xc2b2ae3d27d4eb4f
movabs r12, 0x165667b19e3779f9
cmp rbx, rbp
jb 0x14012aa2d
cmp r14d, 1
jne 0x14012aa08
mov r8d, ebp
lea rcx, [rsp + 0x50]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x50]
jmp 0x14012aa0a
mov eax, dword [rsi]
mov ecx, eax
mov edx, 0x17
imul rcx, r13
add rsi, rbp
xor rcx, rdi
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdi, rax
imul rdi, r15
add rdi, r12
sub rbx, rbp
test rbx, rbx
je 0x14012aa60
movzx eax, byte [rsi]
movabs rcx, 0x27d4eb2f165667c5
imul rcx, rax
mov edx, 0xb
inc rsi
xor rcx, rdi
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdi, rax
imul rdi, r13
sub rbx, 1
jne 0x14012aa32
mov rbx, qword [rsp + 0x58]
mov rax, rdi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
shr rax, 0x21
xor rax, rdi
imul rax, r15
mov rcx, rax
shr rcx, 0x1d
xor rcx, rax
imul rcx, r12
mov rax, rcx
shr rax, 0x20
xor rax, rcx
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rdi, rcx
cmp r8, 0x20
jb 0x14012ab9d
mov rcx, qword [rcx + 0x20]
mov edx, 0x12
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rdi + 0x18]
mov edx, 0xc
mov rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rdi + 0x10]
mov edx, 7
add rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rdi + 8]
mov edx, 1
add rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdx, qword [rdi + 8]
lea rcx, [rbx + rax]
call fcn.14012aaa4
mov rdx, qword [rdi + 0x10]
mov rcx, rax
call fcn.14012aaa4
mov rdx, qword [rdi + 0x18]
mov rcx, rax
call fcn.14012aaa4
mov rdx, qword [rdi + 0x20]
mov rcx, rax
call fcn.14012aaa4
mov r8, qword [rdi]
jmp 0x14012abae
mov rax, qword [rcx + 0x18]
movabs rcx, 0x27d4eb2f165667c5
add rax, rcx
lea rdx, [rdi + 0x28]
xor r9d, r9d
lea rcx, [r8 + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14012a930
Function at 0x14016ff7c
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rcx + 0x60], 0
mov r8, rcx
movzx edx, byte [rcx + 0x5c]
jle 0x14016ffb7
mov ecx, dword [rcx + 0x288]
mov r9d, dword [r8 + 0x60]
mov eax, ecx
lea r11, [0x1402f9190]
shr rax, 0x18
xor rax, rdx
shl ecx, 8
xor ecx, dword [r11 + rax*4]
mov dword [r8 + 0x288], ecx
sub r9, 1
jne 0x14016ff93
mov eax, dword [r8 + 0x5c]
mov byte [rax + r8 + 0x80], 1
mov ecx, dword [r8 + 0x60]
sub ecx, 1
je 0x14017005f
sub ecx, 1
je 0x140170043
cmp ecx, 1
je 0x140170018
movsxd rax, dword [r8 + 0x60]
mov r9d, 4
mov byte [rax + r8 + 0x7c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
sub r9, 1
jne 0x14016ffeb
mov dl, byte [r8 + 0x60]
sub dl, 4
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
jmp 0x14017006a
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
jmp 0x14017000e
mov r9d, 2
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
sub r9, 1
jne 0x140170049
ret
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
ret
Function at 0x1401bb2c8
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x98]
mov rdi, rcx
mov r14d, r9d
mov r12d, 1
xor edx, edx
mov rcx, rbx
mov ebp, r9d
and r14d, 8
xor r15d, r15d
lea r8d, [r12 + 0x77]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x90]
lea r13, [rdi + 0x60]
mov qword [rbx], rax
mov rsi, qword [r13]
test rsi, rsi
jne 0x1401bb35c
mov rdx, qword [rdi]
lea rcx, str.SELECT_pgno_FROM__q._q_idx_WHERE_segid__AND_term___ORDER_BY_term_DESC_LIMIT_1
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.1401868a4
mov r8, rax
mov rdx, r13
mov rcx, rdi
call fcn.1401b66f4
mov rax, qword [rsp + 0x90]
mov rsi, qword [r13]
cmp dword [rdi + 0x34], r15d
jne 0x1401bb4ab
movsxd r8, dword [rax]
mov edx, r12d
mov rcx, rsi
call fcn.140187c84
mov r13d, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov r9d, r13d
and qword [rsp + 0x20], r15
mov rcx, rsi
call fcn.140187bbc
mov rcx, rsi
call fcn.140188220
cmp eax, 0x64
jne 0x1401bb3ba
xor edx, edx
mov rcx, rsi
call fcn.1401885bc
movsxd r15, eax
mov r12, r15
sar r12, 1
and r15d, 1
mov rcx, rsi
call fcn.14018881c
mov edx, 2
mov dword [rdi + 0x34], eax
mov rcx, rsi
call fcn.140187d0c
mov rcx, qword [rsp + 0x90]
xor esi, esi
mov rdx, rbx
mov eax, dword [rcx + 4]
cmp r12d, eax
mov rcx, rdi
cmovge eax, r12d
cmovge esi, r15d
dec eax
mov dword [rbx + 0xc], eax
call fcn.1401bab84
cmp qword [rbx + 0x10], 0
je 0x1401bb419
mov r9, qword [rsp + 0x78]
mov r8, rbx
mov edx, r14d
mov dword [rsp + 0x20], r13d
mov rcx, rdi
call fcn.1401b6ce8
cmp dword [rdi + 0x34], 0
jne 0x1401bb47b
test r14d, r14d
jne 0x1401bb47b
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x1401bb47b
and ebp, 2
je 0x1401bb441
or edx, 2
mov dword [rbx + 8], edx
test esi, esi
je 0x1401bb46c
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x1401bb45a
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x1401bb46c
mov rax, qword [rbx]
mov rcx, rdi
mov r8d, dword [rax]
call fcn.1401b19ec
mov qword [rbx + 0x50], rax
test ebp, ebp
je 0x1401bb47b
mov rdx, rbx
mov rcx, rdi
call fcn.1401bae5c
test byte [rbx + 8], 2
je 0x1401bb48e
lea rax, [0x1401badd8]
mov qword [rbx + 0x28], rax
jmp 0x1401bb4ab
mov rax, qword [rdi]
lea rcx, [0x1401ba7cc]
lea rdx, [0x1401bac28]
cmp dword [rax + 0x5c], 1
cmove rcx, rdx
mov qword [rbx + 0x28], rcx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401c1c14
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rdx, qword [rdx + 0x30]
mov r14, r9
mov rsi, rcx
test r8d, r8d
je 0x1401c1c9c
and dword [rax + 0x18], 0
lea rcx, str.PRAGMA__Q.page_size
call fcn.1401868a4
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.1401c12f4
mov edi, eax
test eax, eax
jne 0x1401c1c88
movzx ecx, byte [rbx + 0x27]
mov r8d, dword [rsp + 0x50]
imul edx, ecx, 0x33
add r8d, 0xffffffc0
mov dword [rbx + 0x20], r8d
add edx, 4
cmp edx, r8d
jge 0x1401c1ce5
mov dword [rbx + 0x20], edx
jmp 0x1401c1ce5
mov rcx, rsi
call fcn.1401877b0
mov rdx, rax
lea rcx, [0x1402e1ea0]
jmp 0x1401c1cdd
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.1401868a4
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.1401c12f4
mov edi, eax
test eax, eax
jne 0x1401c1c88
cmp dword [rbx + 0x20], 0x1c0
jge 0x1401c1ce5
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.1401868a4
mov qword [r14], rax
mov rcx, rbp
call fcn.140186c1c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1401d25fc
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
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 rsi, rcx
call fcn.1401fce34
test ebx, ebx
jne 0x1401d2665
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
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, rsi
call fcn.1401fce34
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1401f2af0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
movsxd rsi, r9d
xor ebx, ebx
mov rbp, r8
movsxd r15, edx
mov r13, rcx
mov r10d, 0xd
lea eax, [rsi - 1]
movsxd r11, eax
test eax, eax
js 0x1401f2b44
movzx r8d, byte [r11 + rbp]
lea edx, [r10*8]
xor r8d, edx
xor r10d, r8d
sub r11, 1
jns 0x1401f2b2b
xor edx, edx
mov eax, r10d
div dword [rcx + 0x14]
mov rax, qword [rcx + 0x20]
mov rdi, qword [rax + rdx*8]
test rdi, rdi
je 0x1401f2be7
mov eax, dword [rdi + 0x1c]
inc eax
cmp esi, eax
jne 0x1401f2b79
mov r8, rsi
lea rcx, [rdi + 0x30]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401f2b81
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1401f2b5d
test rdi, rdi
je 0x1401f2be7
lea r14d, [rsi + 0x31]
mov esi, dword [rdi + 0x18]
lea eax, [r15 + 0xa]
sub esi, r14d
add eax, esi
movsxd rcx, eax
call fcn.140186ad8
mov rcx, qword [rsp + 0x60]
mov rbp, rax
mov qword [rcx], rax
test rax, rax
je 0x1401f2bd9
movsxd rdx, r14d
lea rcx, [r15 + rax]
add rdx, rdi
movsxd r8, esi
call sub.VCRUNTIME140.dll_memcpy
sub r15d, r14d
mov rdx, rdi
movsxd r8, r15d
mov rcx, r13
add r8, rbp
call fcn.1401b4aec
lea ebx, [rsi + rax]
jmp 0x1401f2bef
mov rax, qword [rsp + 0x68]
mov dword [rax], ebx
mov eax, 7
jmp 0x1401f2bf8
mov rax, qword [rsp + 0x60]
mov qword [rax], rbx
mov rax, qword [rsp + 0x68]
mov dword [rax], ebx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x1401f5d88
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, qword [rsp + 0x70]
mov r12, r8
and dword [rsp + 0x50], 0
mov r15d, edx
movsxd rdi, r9d
mov r14, rcx
and dword [rbp], 0
test rcx, rcx
je 0x1401f5e70
lea eax, [rdi - 1]
mov r10d, 0xd
movsxd r9, eax
test eax, eax
js 0x1401f5de9
movsx ecx, byte [r9 + r8]
lea eax, [r10*8]
xor ecx, eax
xor r10d, ecx
sub r9, 1
jns 0x1401f5dd1
lea esi, [r10*8]
mov eax, r10d
xor rsi, rdx
xor rsi, rax
and esi, 0x1ff
mov rbx, qword [r14 + rsi*8]
test rbx, rbx
je 0x1401f5e35
cmp dword [rbx + 0xc], r15d
jne 0x1401f5e26
cmp dword [rbx + 8], edi
jne 0x1401f5e26
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401f5e2c
mov rbx, qword [rbx + 0x10]
jmp 0x1401f5e04
mov dword [rbp], 1
jmp 0x1401f5e70
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1401f3f8c
mov rbx, rax
test rax, rax
je 0x1401f5e70
lea rcx, [rax + 0x18]
mov dword [rax + 8], edi
mov r8, rdi
mov qword [rax], rcx
mov rdx, r12
mov dword [rax + 0xc], r15d
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14 + rsi*8]
mov qword [rbx + 0x10], rcx
mov qword [r14 + rsi*8], rbx
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1401f634c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r10d, edx
mov r8d, ecx
cmp ecx, 0x80
jge 0x1401f637e
lea eax, [rcx - 0x41]
add ecx, 0x20
cmp eax, 0x19
cmova ecx, r8d
mov r8d, ecx
jmp 0x1401f6441
cmp r8d, 0x10000
jge 0x1401f6432
xor r9d, r9d
lea rsi, [0x140000000]
mov edi, r9d
or r11d, 0xffffffff
mov ebx, 0xa2
lea eax, [rdi + rbx]
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
movsxd rcx, eax
movzx ecx, word [rsi + rcx*4 + 0x2d7c30]
sub edx, ecx
mov ecx, eax
cmovs ecx, r11d
test edx, edx
movsxd r11, ecx
lea ecx, [rax + 1]
cmovs ecx, edi
dec eax
test edx, edx
mov edi, ecx
cmovs ebx, eax
cmp ebx, ecx
jge 0x1401f63a1
movzx ecx, word [rsi + r11*4 + 0x2d7c30]
movzx eax, byte [rsi + r11*4 + 0x2d7c33]
add eax, ecx
cmp r8d, eax
jge 0x1401f6415
movzx eax, byte [rsi + r11*4 + 0x2d7c32]
xor ecx, r8d
and ecx, eax
test cl, 1
jne 0x1401f6415
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x2d7ec0]
add eax, r8d
movzx r8d, ax
test r10d, r10d
je 0x1401f6441
cmp r10d, 2
mov ecx, r8d
sete r9b
mov edx, r9d
call fcn.1401bfa7c
mov r8d, eax
jmp 0x1401f6441
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x1401f6441
add r8d, 0x28
mov rbx, qword [rsp + 0x30]
mov eax, r8d
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1402263ec
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rsi, rcx
mov qword [rcx], rbx
mov rbp, r8
mov r14, rdx
lea ecx, [rbx + 0x28]
call fcn.1401fc844
mov rdi, rax
test rax, rax
jne 0x140226428
lea ebx, [rax + 7]
jmp 0x1402264a2
cmp byte [0x1402f9784], bl
je 0x140226478
mov rax, qword [0x1402f9910]
test rax, rax
je 0x140226447
mov ecx, 0xc8
call rax
test eax, eax
jne 0x140226478
lea rax, [rdi + 8]
mov qword [rdi + 0x10], r14
mov qword [rsp + 0x28], rax
lea r8, [0x140209624]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
mov qword [rdi + 0x18], rbp
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
jne 0x140226486
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 0x28]
call sub.VCRUNTIME140.dll_memset
cmp qword [rdi + 0x10], rbx
jne 0x14022649f
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rdi + 8], eax
call r14
mov qword [rdi + 0x20], rax
mov qword [rsi], rdi
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret