joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14016da30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rsi
push rbx
sub rsp, 0x30
mov r13, qword [rsp + 0x80]
mov rbp, rdx
mov rsi, rcx
mov rdx, r8
test rbp, rbp
mov r8d, r9d
je 0x14016dacf
mov r12, qword [rcx + 0x80]
mov qword [rsp + 0x28], rdx
mov rcx, r12
call sym.sqlite3VdbeAllocUnpackedRecord
mov rbx, rax
mov eax, 7
test rbx, rbx
je 0x14016dae2
mov rdx, qword [rsp + 0x28]
mov r9, rbx
mov r8, rbp
mov rcx, r12
call sym.sqlite3VdbeRecordUnpack
mov eax, dword [rbx + 0x1c]
test ax, ax
je 0x14016da98
cmp word [r12 + 8], ax
jae 0x14016daa4
mov ecx, 0x10e85
call sym.sqlite3CorruptError
jmp 0x14016dab2
mov r8, r13
mov rdx, rbx
mov rcx, rsi
call sym.sqlite3BtreeIndexMoveto
mov rdx, qword [rsi + 0x80]
mov dword [rsp + 0x28], eax
mov rcx, qword [rdx + 0x10]
mov rdx, rbx
call sym.sqlite3DbFree
mov eax, dword [rsp + 0x28]
jmp 0x14016dae2
mov r9, r13
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
jmp sym.sqlite3BtreeTableMoveto
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
ret
Function at 0x140192260
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
xor edi, edi
movsxd r12, edx
mov rbp, rcx
mov r14, r8
cmp qword [rcx + r12*8 + 0x28], 0
mov r15, r12
mov r13, r9
jne 0x14019243d
lea rdi, [rsp + 0x38]
cmp r12d, 4
mov ecx, 0x16
lea rsi, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_ASC
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rbp]
jg 0x1401922e0
cmp r12d, 2
jg 0x140192332
je 0x140192306
test r12d, r12d
js 0x1401923a2
mov r9, qword [rsi + 0x50]
mov r8, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsp + r12*8 + 0x38]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call sym.sqlite3_mprintf
jmp 0x14019231e
cmp r12d, 0xa
jne 0x1401923a2
mov rdx, qword [rsi + 0x60]
lea rcx, str.SELECT__s_FROM__s_AS_T
mov r8, qword [rsi + 0x48]
call sym.sqlite3_mprintf
mov rbx, rax
jmp 0x14019242d
mov rdx, qword [rsi + 0x60]
lea rcx, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov r9, qword [rsi + 0x50]
mov r8, qword [rsi + 0x48]
call sym.sqlite3_mprintf
test rax, rax
mov rbx, rax
mov r9d, 1
jne 0x1401923cf
jmp 0x14019234e
mov edi, dword [rsi + 0x18]
lea ecx, [rdi + rdi + 3]
lea ebx, [rdi + 1]
movsxd rcx, ecx
call sym.sqlite3_malloc64
mov r15, rax
xor eax, eax
test r15, r15
jne 0x140192358
mov edi, 7
jmp 0x14019243d
cmp ebx, eax
jle 0x14019236c
mov byte [r15 + rax*2], 0x3f
mov byte [r15 + rax*2 + 1], 0x2c
inc rax
jmp 0x140192358
xor eax, eax
add rbx, rbx
inc edi
mov rcx, qword [rsp + r12*8 + 0x38]
cmovl rbx, rax
mov r9, r15
mov byte [r15 + rbx - 1], 0
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
call sym.sqlite3_mprintf
mov rcx, r15
mov rbx, rax
call sym.sqlite3_free
jmp 0x14019242d
mov rdx, qword [rsi + 8]
mov rcx, qword [rsp + r12*8 + 0x38]
mov r8, qword [rsi + 0x10]
call sym.sqlite3_mprintf
test rax, rax
mov rbx, rax
je 0x14019234e
xor r9d, r9d
cmp r15d, 2
setg r9b
lea r9d, [r9*4 + 1]
mov rax, qword [rbp]
or r8d, 0xffffffff
mov rdx, rbx
inc dword [rax + 0x78]
xor eax, eax
mov qword [rsp + 0x28], rax
lea rax, [rbp + r12*8 + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsi]
call sym.sqlite3_prepare_v3
mov rcx, rbx
mov edi, eax
mov rax, qword [rbp]
dec dword [rax + 0x78]
call sym.sqlite3_free
test edi, edi
je 0x14019243d
test r13, r13
je 0x14019243d
mov rcx, qword [rsi]
call sym.sqlite3_errmsg
lea rcx, [0x1402ed35a]
mov rdx, rax
call sym.sqlite3_mprintf
mov qword [r13], rax
jmp 0x14019243d
test rbx, rbx
mov r9d, 5
jne 0x1401923cf
jmp 0x14019234e
mov rcx, qword [rbp + r12*8 + 0x28]
mov qword [r14], rcx
call sym.sqlite3_reset
mov eax, edi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401960a0
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
xor r10d, r10d
xor r11d, r11d
cmp dword [rcx + 0x3c], 0
mov r8, qword [rcx + 0x18]
mov r9, qword [rcx + 0x20]
mov rbx, rcx
mov rbp, rdx
mov dword [rsp + 0x34], r10d
mov qword [rsp + 0x38], r11
je 0x1401960eb
lea rcx, str.recursive_definition_for__s._s
mov rdx, r9
call sym.sqlite3_mprintf
mov qword [rbx + 0x10], rax
mov eax, 1
jmp 0x140196254
lea r12, [rsp + 0x34]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r8
lea rdx, str.SELECT_t._Q_FROM__Q._Q_AS_t_WHERE_t._Q_MATCH_id
mov rcx, r12
call sym.sqlite3Fts5Mprintf
test rax, rax
mov rsi, rax
je 0x140196132
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
or r8d, 0xffffffff
mov rdx, rax
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x38]
call sym.sqlite3_prepare_v2
mov dword [rsp + 0x34], eax
mov rcx, rsi
call sym.sqlite3_free
cmp dword [rsp + 0x34], 1
jne 0x140196149
xor r8d, r8d
mov dword [rsp + 0x34], r8d
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x3c], 1
test rdi, rdi
jne 0x14019615e
xor esi, esi
jmp 0x140196191
mov rcx, rdi
call sym.sqlite3_step
cmp eax, 0x64
jne 0x14019615a
xor edx, edx
mov rcx, rdi
call sym.sqlite3_column_int64
mov rdx, qword [rbx + 0x30]
mov rdx, qword [rdx + 0x48]
test rdx, rdx
je 0x14019615a
cmp rax, qword [rdx + 0x18]
je 0x14019618e
mov rdx, qword [rdx + 8]
jmp 0x14019617d
mov rsi, qword [rdx]
xor ecx, ecx
cmp dword [rsp + 0x34], 0
mov dword [rbx + 0x3c], ecx
jne 0x140196246
test rsi, rsi
jne 0x1401961e3
mov rcx, rdi
call sym.sqlite3_finalize
xor edx, edx
test eax, eax
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x38], rdx
jne 0x140196246
mov rdx, qword [rbx + 0x20]
lea rcx, str.no_such_fts5_table:__s._s
mov r8, qword [rbx + 0x18]
call sym.sqlite3_mprintf
mov dword [rsp + 0x34], 1
mov qword [rbx + 0x10], rax
jmp 0x140196246
mov rcx, rsi
call sym.fts5TripCursors
mov rcx, qword [rsi + 0x28]
call sym.sqlite3Fts5StorageSync
test eax, eax
mov dword [rsp + 0x34], eax
jne 0x140196246
mov rax, qword [rsi + 0x18]
mov rcx, r12
movsxd rdx, dword [rax + 0x18]
add rdx, 8
shl rdx, 4
call sym.sqlite3Fts5MallocZero
test rax, rax
je 0x140196246
mov rcx, qword [rsi + 0x18]
lea rdx, [rax + 0x80]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x48], rdx
mov qword [rax + 8], rdi
movsxd rcx, dword [rcx + 0x18]
lea rdx, [rdx + rcx*8]
mov qword [rax + 0x50], rdx
mov qword [rbp], rax
mov eax, dword [rsp + 0x34]
jmp 0x140196254
mov rcx, qword [rsp + 0x38]
call sym.sqlite3_finalize
xor eax, eax
jmp 0x14019623c
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1401a2750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call sym.sqlite3Realloc
test rax, rax
mov r8, rax
jne 0x1401a2786
mov eax, 7
jmp 0x1401a2822
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x1401a2820
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x1401a27c7
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x1401a27cd
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call sym.sqlite3BitvecCreate
mov dword [rdi + 0x20], 1
test rax, rax
mov qword [rdi + 0x10], rax
je 0x1401a277c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x1401a2812
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x1401a27aa
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1401aa010
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
sub rsp, 0x58
mov r12d, dword [rsp + 0xa0]
mov byte [rcx + 0x1c], 1
mov ebp, r8d
mov rsi, rdx
mov rdi, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov dword [rsp + 0x20], r8d
mov r8, rdx
mov dword [rsp + 0x30], r12d
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 qword [rsp + 0x48], rcx
call sym.sqlite3NestedParse
test ebp, ebp
mov rcx, qword [rsp + 0x48]
jne 0x1401aa080
mov r9, rdi
mov r8, rsi
mov dword [rsp + 0xa0], r12d
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
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.sqlite3NestedParse
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1401ad280
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 r12, edx
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rsi, r8
cmp qword [rcx + r12*8 + 0x28], 0
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov rbp, r12
mov rdi, r9
mov qword [rsp + 0x48], rax
lea r13, [r12 + 4]
jne 0x1401ad2d7
mov rdx, qword [rsp + r12*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call sym.rtreeCheckPrepare
mov qword [rbx + r13*8 + 8], rax
cmp dword [rbx + 0x40], 0
jne 0x1401ad390
mov r12, qword [rbx + r12*8 + 0x28]
mov r8, rsi
mov edx, 1
mov rcx, r12
call sym.sqlite3_bind_int64
mov rcx, r12
call sym.sqlite3_step
cmp eax, 0x65
jne 0x1401ad333
test ebp, ebp
mov r9, rdi
mov r8, rsi
lea rdx, str.__rowid
mov rcx, rbx
lea rax, str.__parent
cmovne rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call sym.rtreeCheckAppendMsg
jmp 0x1401ad37f
cmp eax, 0x64
jne 0x1401ad37f
xor edx, edx
mov rcx, r12
call sym.sqlite3_column_int64
cmp rdi, rax
mov r9, rax
je 0x1401ad37f
test ebp, ebp
mov qword [rsp + 0x30], rdi
mov r8, rsi
mov rcx, rbx
lea rdx, str.__rowid
mov qword [rsp + 0x28], rsi
lea rax, str.__parent
cmovne rax, rdx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call sym.rtreeCheckAppendMsg
mov rcx, r12
call sym.sqlite3_reset
cmp dword [rbx + 0x40], 0
jne 0x1401ad390
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1401af5e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0xa], 0
mov rbx, rcx
je 0x1401af5fb
mov byte [rcx + 0xa], 0
mov rcx, qword [rcx + 0x38]
call sym.sqlite3_reset
mov rcx, rbx
call sym.rtreeSearchPointPop
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.rtreeStepToLeaf
Function at 0x1401cde00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
cmp ecx, 0x7f
mov r9d, edx
jg 0x1401cde1e
lea eax, [rcx - 0x41]
cmp eax, 0x19
ja 0x1401cdec5
add ecx, 0x20
jmp 0x1401cdec5
cmp ecx, 0xffff
jg 0x1401cdeb7
or r8d, 0xffffffff
xor r11d, r11d
mov ebx, 0xa2
lea r10, [0x1402f7340]
mov esi, 2
lea eax, [rbx + r11]
cdq
idiv esi
movsxd rdx, eax
movzx edx, word [r10 + rdx*4]
cmp ecx, edx
jl 0x1401cde5e
lea r11d, [rax + 1]
mov r8d, eax
jmp 0x1401cde61
lea ebx, [rax - 1]
cmp ebx, r11d
jge 0x1401cde42
movsxd rax, r8d
movzx edx, word [r10 + rax*4]
movzx r8d, byte [r10 + rax*4 + 3]
add r8d, edx
cmp ecx, r8d
jge 0x1401cdea2
mov al, byte [r10 + rax*4 + 2]
xor edx, ecx
mov r8d, eax
and r8d, 1
test r8d, edx
jne 0x1401cdea2
lea rdx, [0x1402faa80]
shr al, 1
and eax, 0x7f
add cx, word [rdx + rax*2]
movzx ecx, cx
test r9d, r9d
je 0x1401cdec5
xor edx, edx
cmp r9d, 2
sete dl
pop rbx
pop rsi
jmp sym.remove_diacritic
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x1401cdec5
add ecx, 0x28
mov eax, ecx
pop rbx
pop rsi
ret

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

Disassembly:
cmp dword [rcx + 0x80], edx
jge 0x1401d58a3
cmp byte [rcx + 0xa], 0
je 0x1401d58a3
jmp sym.pagerOpenSavepoint
xor eax, eax
ret
Function at 0x140201440
Capabilities:
Reference sql statements

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, qword [rcx]
mov r13, qword [rsp + 0xa0]
mov rbx, rcx
mov edi, edx
call sym.statResetCsr
mov rcx, qword [rbx + 8]
mov esi, edi
call sym.sqlite3_finalize
xor ecx, ecx
and esi, 1
mov qword [rbx + 8], rcx
je 0x1402014a2
mov rcx, qword [r13]
call sym.sqlite3_value_text
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call sym.sqlite3FindDbName
test eax, eax
jns 0x1402014a5
xor edx, edx
mov byte [rbx + 0x10], 1
xor eax, eax
mov dword [rbx + 0x14], edx
jmp 0x1402015b3
mov eax, dword [rbp + 0x20]
xor r12d, r12d
test edi, 2
mov dword [rbx + 0x14], eax
je 0x1402014ca
lea r14d, [rsi + 1]
movsxd rsi, esi
mov rcx, qword [r13 + rsi*8]
mov esi, r14d
call sym.sqlite3_value_text
mov r12, rax
xor eax, eax
test edi, 4
je 0x1402014f3
movsxd rsi, esi
mov rcx, qword [r13 + rsi*8]
call sym.sqlite3VdbeRealValue
mov dl, 1
movaps xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
setp al
cmovne eax, edx
mov byte [rbx + 0x11], al
mov rcx, qword [rbp + 0x18]
call sym.sqlite3_str_new
mov rdx, qword [rbp + 0x18]
mov rsi, rax
movsxd rax, dword [rbx + 0x14]
mov rcx, rsi
shl rax, 5
add rax, qword [rdx + 0x20]
lea rdx, str.SELECT__FROM__SELECT_sqlite_schema_AS_name_1_AS_rootpage_table_AS_type_UNION_ALL_SELECT_name_rootpage_type_FROM___w_.sqlite_schema_WHERE_rootpage_0_
mov r8, qword [rax]
call sym.sqlite3_str_appendf
test r12, r12
je 0x14020153b
lea rdx, str.WHERE_name_Q
mov r8, r12
mov rcx, rsi
call sym.sqlite3_str_appendf
and edi, 8
je 0x14020154f
lea rdx, str._ORDER_BY_name
mov rcx, rsi
call sym.sqlite3_str_appendf
mov rcx, rsi
call sym.sqlite3_str_finish
test rax, rax
mov rdi, rax
je 0x1402015ae
mov rcx, qword [rbp + 0x18]
xor eax, eax
or r8d, 0xffffffff
mov rdx, rdi
lea r9, [rbx + 8]
mov qword [rsp + 0x20], rax
call sym.sqlite3_prepare_v2
mov rcx, rdi
mov dword [rsp + 0x3c], eax
call sym.sqlite3_free
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x1402015b3
mov dword [rbx + 0x818], 0xffffffff
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.statNext
mov eax, 7
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140207160
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor ebp, ebp
xor esi, esi
movzx r12d, byte [rcx + 0x5b]
mov rbx, rcx
dec r12d
mov byte [rcx + 0x58], 1
cmp esi, r12d
jge 0x140207255
movzx eax, byte [rbx + 0x5a]
lea eax, [rsi + rax + 1]
cdq
idiv r12d
movsxd rdi, edx
imul rax, rdi, 0x68
cmp dword [rbx + rax + 0x68], 0
lea rbp, [rbx + rax + 0x60]
jne 0x1402071b5
imul rdi, rdi, 0x68
cmp qword [rbx + rdi + 0x60], 0
je 0x1402071c6
inc esi
jmp 0x14020717d
mov rcx, rbp
call sym.vdbeSorterJoinThread
test eax, eax
je 0x1402071a5
jmp 0x14020727a
lea rcx, [rbx + 0x60]
mov rax, rbp
mov rdx, qword [rbp + 0x28]
lea rdi, [rbp + 0x20]
sub rax, rcx
movabs rcx, 0x4ec4ec4ec4ec4ec5
lea rsi, [rbx + 0x38]
sar rax, 3
imul rax, rcx
mov ecx, 6
mov byte [rbx + 0x5a], al
xor eax, eax
rep movsd dword [rdi], dword [rsi]
xor ecx, ecx
test rdx, rdx
mov qword [rbx + 0x38], rax
mov dword [rbx + 0x48], ecx
je 0x140207219
mov qword [rbx + 0x40], rdx
mov rcx, rdx
call sym.sqlite3MallocSize
mov dword [rbx + 0x54], eax
jmp 0x140207232
cmp qword [rbx + 0x40], 0
je 0x140207232
movsxd rcx, dword [rbx + 0x54]
call sym.sqlite3Malloc
test rax, rax
mov qword [rbx + 0x40], rax
je 0x14020724e
lea rdx, [sym.vdbeSorterFlushThread]
mov r8, rbp
mov rcx, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.sqlite3ThreadCreate
mov eax, 7
jmp 0x14020727a
jne 0x1402071c6
lea rdx, [rbx + 0x38]
movsxd rsi, esi
imul rsi, rsi, 0x68
lea rcx, [rbx + rsi + 0x60]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.vdbeSorterListToPMA
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1402126d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
xor r11d, r11d
movsxd rax, dword [rcx + 0xc]
lea r10d, [rax + 1]
add rax, qword [rcx]
mov bl, byte [rdx + r9]
xor byte [rax], bl
movsxd rax, r10d
cmp dword [rcx + 8], r10d
cmovle rax, r11
inc r9
cmp r8d, r9d
jg 0x1402126db
add dword [rcx + 0x10], r8d
mov dword [rcx + 0xc], eax
pop rbx
ret
Function at 0x180001000
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lea rcx, [0x18000b041]
nop dword [rax]
xor byte [rax + rcx - 1], 0x33
xor byte [rax + rcx], 0x33
add rax, 2
cmp rax, 0x104
jl 0x180001010
mov eax, 1
ret

Function at 0x180001030
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
lea rdi, [0x18000b150]
lea r9, [rsp + 0x40]
lea r8d, [rbx + 0x40]
mov edx, 0x800
mov rcx, rdi
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [0x18000c760]
nop word [rax + rax]
movzx eax, byte [rcx + 0xc]
add rbx, 4
xor byte [rbx + rdi - 4], al
movzx eax, byte [rcx + 0xc]
xor byte [rbx + rdi - 3], al
movzx eax, byte [rcx + 0xc]
xor byte [rbx + rdi - 2], al
movzx eax, byte [rcx + 0xc]
xor byte [rbx + rdi - 1], al
cmp rbx, 0x800
jl 0x180001070
call rdi
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1800010b0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, str.p_tocATARwRGRojR_WVKoF_VA
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x60], 0x104
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001131
mov rdx, qword [0x18000c760]
lea r9, [rsp + 0x60]
mov r8d, 0x25800
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x180001593
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x18000119a
rol rcx, 0x10
test cx, 0xffff
jne 0x180001196
repz ret
ror rcx, 0x10
jmp 0x1800014ec
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18000ba20]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18000bb18]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180001571
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18000ba20]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180001593
mov rax, qword [rsp + 0x88]
mov qword [0x18000bb18], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18000bab8], rax
mov rax, qword [0x18000bb18]
mov qword [0x18000b990], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18000baa0], rax
mov dword [0x18000b980], 0xc0000409
mov dword [0x18000b984], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18000a008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18000ba18], eax
mov ecx, 1
call fcn.18000309c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180007268]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18000ba18], 0
jne 0x18000161a
mov ecx, 1
call fcn.18000309c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x180001980
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1800017f4
Function at 0x180003a44
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180001d88
xor ebx, ebx
mov rdi, rax
cmp qword [0x18000c618], rbx
jne 0x180003b4a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180003c1f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180003c1f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18000c618], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18000c620], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x18000c628], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18000c638], rax
test rax, rax
je 0x180003b41
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18000c630], rax
jmp 0x180003b51
mov rax, qword [0x18000c630]
jmp 0x180003b58
mov rax, qword [0x18000c630]
mov r11, qword [0x18000c638]
cmp rax, rdi
je 0x180003bc0
cmp r11, rdi
je 0x180003bc0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18000c638]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180003bc0
test rax, rax
je 0x180003bc0
call rsi
test rax, rax
je 0x180003bba
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180003bba
test byte [rsp + 0x38], 1
jne 0x180003bc0
bts ebp, 0x15
jmp 0x180003bfe
mov rcx, qword [0x18000c620]
cmp rcx, rdi
je 0x180003bfe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180003bfe
call rax
mov rbx, rax
test rax, rax
je 0x180003bfe
mov rcx, qword [0x18000c628]
cmp rcx, rdi
je 0x180003bfe
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180003bfe
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18000c618]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180003c1f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180003c21
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret