joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140206ba0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140391178]
test ecx, ecx
je 0x140206c98
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140206c91
je 0x140206c8f
movzx eax, byte [0x1404a5170]
mov edx, 0x20
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140206ce4
mov rsi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov dword [rax + 0x18], 0
mov word [rax + 0x1c], 0
movzx eax, byte [0x1404a5170]
mov edx, 0x10
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140206cf3
mov qword [rax], rsi
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hcda9351791b13bc4
mov rsi, rax
mov qword [rax + 8], rcx
mov ecx, dword [0x140391178]
test ecx, ecx
je 0x140206cb7
dec ecx
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x140391178]
test ecx, ecx
je 0x140206cc7
dec ecx
mov rdx, rsi
call fcn.14021a8f4
test rdi, rdi
je 0x140206c8a
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x140206c79
mov rcx, qword [rdi]
call sym.alloc::sync::Arc_T_A_::drop_slow::h4ac174f1ab8ff056
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rdi
call fcn.14021a7bc
mov rax, rsi
jmp 0x140206c91
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hcda9351791b13bc4
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140206bc5
jmp 0x140206c91
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hcda9351791b13bc4
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
jmp 0x140206c47
lea rcx, sym.std::sys::thread_local::os_local::destroy_value::hcda9351791b13bc4
call sym.std::sys::pal::windows::thread_local_key::StaticKey::init::h3a56cd97d8b2cb6b
mov ecx, eax
mov rdx, rsi
call fcn.14021a8f4
test rdi, rdi
jne 0x140206c68
jmp 0x140206c8a
mov ecx, 8
mov edx, 0x20
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3
Function at 0x140209ce0
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, 0x38
mov qword [rsp + 0x30], r8
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
cmp rbx, 0xffffffffffffffff
je 0x140209e7f
mov r14, qword [rcx + 8]
mov r12, qword [rcx + 0x18]
cmp r9, 0x7fffffff
mov r15d, 0x7fffffff
cmovb r15, r9
jmp 0x140209d55
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rbp
call fcn.14021a7bc
dec r13
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, r13
call fcn.14021a7bc
lea rcx, [rsp + 0x20]
mov rdx, r14
mov r8, rsi
mov r9b, 1
call sym.tokio::runtime::io::registration::Registration::poll_ready::h2ef2010f8f6b75bd
movzx eax, byte [rsp + 0x29]
cmp al, 3
je 0x140209e9c
mov rbp, qword [rsp + 0x20]
cmp al, 2
je 0x140209eb6
movzx edi, byte [rsp + 0x28]
mov rcx, rbx
mov rdx, qword [rsp + 0x30]
mov r8d, r15d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x140209ec0
call sub.ws2_32.dll_WSAGetLastError
mov r13d, eax
shl r13, 0x20
or r13, 2
mov rcx, r13
call sym.std::io::error::Error::kind::hc2039d206deb488f
cmp al, 0xd
jne 0x140209df2
test r12, r12
je 0x140209df2
mov rcx, qword [r12]
mov rdx, qword [r12 + 8]
lock inc qword [rdx]
jle 0x140209ed9
add rcx, 0x10
mov r8, qword [r12 + 0x10]
movzx r9d, byte [r12 + 0x18]
call sym.mio::sys::windows::selector::SelectorInner::reregister::h28157769bcb145a2
test rax, rax
cmovne r13, rax
mov rcx, r13
call sym._ZN3std2io5error5Error4kind17hc2039d206deb488fE.6136
cmp al, 0xd
jne 0x140209eaf
and ebp, 0x23
mov rax, qword [r14 + 0x90]
xor rbp, 0x2f
mov ecx, edi
shl ecx, 0x10
nop word cs:[rax + rax]
mov edx, eax
shr edx, 0x10
cmp dil, dl
jne 0x140209e3c
mov edx, ebp
and edx, eax
or rdx, rcx
lock cmpxchg qword [r14 + 0x90], rdx
jne 0x140209e20
mov eax, r13d
and eax, 3
cmp eax, 1
jne 0x140209d55
mov rbp, qword [r13 - 1]
mov rdi, qword [r13 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x140209e60
mov rcx, rbp
call rax
cmp qword [rdi + 8], 0
je 0x140209d41
cmp qword [rdi + 0x10], 0x11
jb 0x140209d30
mov rbp, qword [rbp - 8]
jmp 0x140209d30
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x20]
mov r8, rsi
mov r9b, 1
call sym.tokio::runtime::io::registration::Registration::poll_ready::h2ef2010f8f6b75bd
movzx eax, byte [rsp + 0x29]
cmp al, 3
jne 0x140209ea6
mov eax, 2
mov r13, rbp
jmp 0x140209ec5
cmp al, 2
jne 0x140209edb
mov r13, qword [rsp + 0x20]
mov eax, 1
jmp 0x140209ec5
mov eax, 1
mov r13, rbp
jmp 0x140209ec5
movsxd r13, eax
xor eax, eax
mov rdx, r13
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_srciopoll_evented.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
int3
Function at 0x14021b550
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x14021b5c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1404a51f4]
test esi, esi
mov rbx, rcx
jle 0x14021b6f0
mov rax, qword [0x1404a51f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14021b60b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14021b695
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14021b5f0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x14021b712
mov rax, qword [0x1404a51f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1404a51f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14021b6f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14021b68e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14021b6a0
add dword [0x1404a51f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x1404a51f8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14021b68e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14021b618
mov rax, qword [0x1404a51f8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14021bc80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1404a5260]
mov rcx, r12
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
mov rbx, qword [0x1404a5240]
test rbx, rbx
je 0x14021bcdc
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14021bcd3
test rsi, rsi
je 0x14021bcd3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14021bcb8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.kernel32.dll_LeaveCriticalSection]
Function at 0x14021bef0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop

Function at 0x14021bf00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [str.hJ_]
call qword [rax]
nop
nop
nop

Function at 0x14021bf10
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14021bf28
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14021bf30
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x14021bf40
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14021bf8d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x14021bf84
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14021bf8f
add rax, 0x28
cmp rax, r9
jne 0x14021bf70
xor eax, eax
ret

Function at 0x14021bf90
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14021c020
mov rdx, qword [0x140478b70]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14021c00e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14021c00e
cmp word [rax + 0x18], 0x20b
jne 0x14021c00e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14021c020
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14021bff9
add rbx, 0x28
cmp rbx, rdi
je 0x14021c020
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14021bff0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14021c030
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140478b70]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14021c050
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14021c058
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14021c050
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14021c0ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x14021c0a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14021c050
add rax, 0x28
cmp rax, r9
jne 0x14021c090
xor eax, eax
ret

Function at 0x14021c0b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140478b70]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14021c0cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14021c0d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14021c0cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x14021c0f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140478b70]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14021c110
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14021c118
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14021c110
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x14021c160
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14021c157
test rcx, rcx
je 0x14021c110
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14021c148
xor eax, eax
ret

Function at 0x14021c170
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140478b70]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14021c18f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14021c198
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14021c1b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140478b70]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14021c1d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14021c1d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14021c1d0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x14021c1d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14021c224
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14021c230
add rdx, 0x28
cmp r9, rdx
jne 0x14021c210
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14021c240
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140478b70]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14021c262
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14021c270
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14021c262
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14021c262
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x14021c262
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x14021c2c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14021c2d8
add rdx, 0x28
cmp rdx, r10
jne 0x14021c2b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14021c2e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14021c2f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14021c2ce
test ecx, ecx
jg 0x14021c2e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14022b570
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9d, dword [rcx + 0x60]
mov ebx, dword [rcx + 0x5c]
test r9d, r9d
mov r8, rcx
jle 0x14022b638
mov r10, qword [0x140478af0]
movzx r11d, bl
mov edx, dword [rcx + 0x288]
xor ecx, ecx
nop word [rax + rax]
mov eax, edx
add ecx, 1
shl edx, 8
shr eax, 0x18
xor eax, r11d
xor edx, dword [r10 + rax*4]
cmp ecx, r9d
jne 0x14022b5a0
mov eax, ebx
mov dword [r8 + 0x288], edx
mov byte [r8 + rax + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
add rax, qword [r8 + 0x40]
cmp ecx, 2
je 0x14022b630
cmp ecx, 3
je 0x14022b5f0
cmp ecx, 1
jne 0x14022b642
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
jmp 0x14022b606
mov eax, ebx
mov byte [rcx + rax + 0x80], 1
sub r9d, 4
movsxd r9, r9d
mov byte [r8 + r9 + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov edx, dword [r8 + 0x60]
mov rcx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
sub edx, 4
cdqe
mov byte [rcx + rax], dl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
Function at 0x14022f970
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, 0x38
lea rbp, [0x14047c700]
mov r13, qword [rcx + 0xa0]
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test r13, r13
mov rsi, rcx
jne 0x14022fa8b
jmp 0x14022fae0
sub eax, 1
mov byte [rsi + 0x1f], al
movzx eax, al
mov r14d, dword [rsi + rax*4 + 0xe4]
movsxd rax, dword [rdi + 0x90]
lea edx, [rbx + 2]
cmp eax, dword [rdi + 0x94]
lea r9d, [rax + 7]
jge 0x14022fac0
lea ecx, [rax + 1]
mov dword [rdi + 0x90], ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 4], edx
mov dword [rax + 8], r9d
mov dword [rax + 0xc], ebx
mov qword [rax + 0x10], 0
mov dword [rax], 0x37
mov rax, qword [r15 + 0x18]
xor edx, edx
mov rcx, rsi
mov r9, qword [rax + 0x68]
mov dword [rsp + 0x20], 0x71
call sym.sqlite3OpenTable
mov rdx, rbp
mov rcx, rdi
call sym.sqlite3VdbeAddOpList.constprop.1
test rax, rax
je 0x14022fae0
lea edx, [rbx + 1]
movd xmm0, r14d
sub ebx, 1
mov dword [rax + 0x3c], r14d
movd xmm1, edx
mov dword [rax + 4], edx
test r14d, r14d
mov dword [rax + 0x20], edx
mov edx, 8
punpckldq xmm0, xmm1
mov dword [rax + 0x34], ebx
movq qword [rax + 0x50], xmm0
mov word [rax + 0x4a], dx
je 0x14022fa82
movzx eax, byte [rsi + 0x1f]
cmp al, 7
ja 0x14022fa82
lea edx, [rax + 1]
mov byte [rsi + 0x1f], dl
mov dword [rsi + rax*4 + 0xe4], r14d
mov r13, qword [r13]
test r13, r13
je 0x14022fae0
movsxd r15, dword [r13 + 0x10]
movzx eax, byte [rsi + 0x1f]
mov ebx, dword [r13 + 0x14]
mov r8, r15
shl r15, 5
add r15, qword [r12 + 0x20]
test al, al
jne 0x14022f9b0
mov eax, dword [rsi + 0x38]
lea r14d, [rax + 1]
mov dword [rsi + 0x38], r14d
jmp 0x14022f9c1
mov r8d, edx
mov dword [rsp + 0x20], ebx
mov edx, 0x37
mov rcx, rdi
call sym.growOp3
mov r8d, dword [r13 + 0x10]
jmp 0x14022fa0b
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140246010
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, 0x78
movaps xmmword [rsp + 0x60], xmm6
movzx eax, byte [rdx]
cmp al, 0xb0
mov rdi, rdx
mov rsi, rcx
mov edx, eax
jne 0x140246038
movzx edx, byte [rdi + 2]
cmp dl, 0xb1
je 0x1402461c8
cmp dl, 0x8a
je 0x140246070
movaps xmm6, xmmword [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3ExprCodeTemp
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdx + 0x20]
mov ebp, dword [rcx]
cmp ebp, 1
je 0x140246046
cmp al, 0x8a
mov dword [r8], 0
je 0x1402461d8
mov eax, dword [rsi + 0x38]
lea r13d, [rax + 1]
add eax, ebp
test ebp, ebp
mov dword [rsi + 0x38], eax
jle 0x1402461aa
lea rax, [sym.sqlite3SelectWalkFail]
xor ebx, ebx
lea rcx, [sym.exprNodeIsConstant]
movq xmm0, rax
lea r14, [rsp + 0x30]
movq xmm6, rcx
punpcklqdq xmm6, xmm0
jmp 0x140246157
mov eax, 2
test rdx, rdx
movups xmmword [rsp + 0x38], xmm6
mov word [rsp + 0x54], ax
mov dword [rsp + 0x58], 0
je 0x140246198
mov rcx, r14
mov qword [rsp + 0x28], rdx
call sym.walkExpr
cmp word [rsp + 0x54], 0
mov rdx, qword [rsp + 0x28]
jne 0x140246198
mov r15, qword [rsi]
mov rcx, r15
call sym.exprDup.constprop.0
cmp byte [r15 + 0x67], 0
mov rdx, rax
jne 0x14024613f
cmp qword [rsi + 0x10], 0
je 0x14024613f
mov r8d, r12d
mov rcx, rsi
mov qword [rsp + 0x28], rax
call sym.sqlite3ExprCode.part.0
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14024614c
mov rcx, r15
call sym.sqlite3ExprDeleteNN
add ebx, 1
cmp ebx, ebp
je 0x1402461aa
mov rdx, qword [rdi + 0x20]
lea r12d, [r13 + rbx]
movsxd rax, ebx
shl rax, 5
cmp byte [rsi + 0x23], 0
mov rdx, qword [rdx + rax + 8]
jne 0x1402460d0
test rdx, rdx
mov r15, qword [rsi]
jne 0x140246111
cmp byte [r15 + 0x67], 0
jne 0x14024614c
cmp qword [rsi + 0x10], 0
je 0x14024614c
mov r8d, r12d
mov rcx, rsi
call sym.sqlite3ExprCode.part.0
jmp 0x14024614c
mov r8d, r12d
mov rcx, rsi
add ebx, 1
call sym.sqlite3ExprCodeRunJustOnce
cmp ebx, ebp
jne 0x140246153
movaps xmm6, xmmword [rsp + 0x60]
mov eax, r13d
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rdi + 0x20]
mov ebp, dword [rdx]
jmp 0x14024607a
movaps xmm6, xmmword [rsp + 0x60]
mov rdx, rdi
mov rcx, rsi
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3CodeSubselect

Function at 0x14024ede0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x14024ee10
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 rcx, r9
jne 0x14024edf0
and eax, 0x7fffffff
ret
xor eax, eax
ret
Function at 0x140268aa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
test edx, edx
mov rbx, rcx
jle 0x140268ae0
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 0x140268ab8
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 0x140268aac
add rsp, 0x20
pop rbx
ret
Function at 0x1402a9e10
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, 0x28
mov r14d, dword [rcx + 0x80]
movsxd rdx, edx
mov rsi, rcx
mov rcx, qword [rcx + 0x78]
mov rbp, rdx
imul rdx, rdx, 0x38
call sym.sqlite3Realloc
test rax, rax
mov rdi, rax
je 0x1402a9f67
movsxd rbx, r14d
mov r8d, ebp
xor edx, edx
imul rbx, rbx, 0x38
sub r8d, r14d
xor r13d, r13d
lea r12, [0x140395120]
movsxd r8, r8d
imul r8, r8, 0x38
add rbx, rax
mov rcx, rbx
call sub.msvcrt.dll_memset
cmp r14d, ebp
mov qword [rsi + 0x78], rdi
jge 0x1402a9f3f
nop dword [rax]
mov rax, qword [rsi + 0x50]
mov r15d, dword [rsi + 0x20]
cmp qword [rax], 0
mov dword [rbx + 0x18], r15d
je 0x1402a9f48
mov rax, qword [rsi + 0x60]
test rax, rax
jle 0x1402a9f48
mov qword [rbx], rax
mov eax, dword [rsi + 0x3c]
mov dword [rbx + 0x1c], eax
mov eax, dword [r12]
test eax, eax
je 0x1402a9fa0
mov rcx, qword [0x140394dc0]
test rcx, rcx
je 0x1402a9ed2
call qword [0x1403951a0]
mov ecx, 0x200
call sym.sqlite3Malloc.part.0
mov rdx, rax
test rdx, rdx
je 0x1402a9f58
mov rax, r13
mov ecx, 0x40
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rdx], r15d
mov qword [rbx + 0x10], rdx
mov rax, qword [rsi + 0x128]
mov dword [rbx + 0x20], 1
test rax, rax
je 0x1402a9f80
mov edx, dword [rax + 0x58]
add r14d, 1
add rbx, 0x38
mov dword [rbx - 0x14], edx
mov edx, dword [rax + 0x60]
mov dword [rbx - 0x10], edx
mov edx, dword [rax + 0x64]
mov dword [rbx - 0xc], edx
mov eax, dword [rax + 0x88]
mov dword [rbx - 8], eax
cmp ebp, r14d
mov dword [rsi + 0x80], r14d
jne 0x1402a9e88
xor eax, eax
jmp 0x1402a9f6c
mov eax, dword [rsi + 0xb8]
jmp 0x1402a9eab
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x20], 1
mov eax, 7
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add r14d, 1
add rbx, 0x38
cmp r14d, ebp
mov dword [rsi + 0x80], r14d
jne 0x1402a9e88
xor eax, eax
jmp 0x1402a9f6c
mov ecx, 0x200
call qword [0x140395140]
mov rdx, rax
jmp 0x1402a9edf