joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d510
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14001d530
xor eax, eax
jmp 0x14001d616
cmp qword [rcx + 0x68], 0
je 0x14001d541
call fcn.14001f654
jmp 0x14001d616
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001d558
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001d55a
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001d58c
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14011c260
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001d610
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001d5c3
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14001d5ec
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140101250
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x14001d610
cmp rdi, rbx
ja 0x14001d5ca
test rdi, rdi
je 0x14001d610
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.140101250
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140033c98
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x140033d03
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x140033cc6
mov ecx, dword [r9]
jmp 0x140033dd9
cmp ecx, 0x4e0
jb 0x140033dd9
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140033d29
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140033d6e
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x140035284
Capabilities:
Hash data using sha1

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x14015a100]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov esi, r8d
mov rbx, rdx
mov qword [rbp - 0x41], rdx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
and qword [rbp - 0x29], 0
and qword [rbp - 0x21], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400352d7
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x39]
call fcn.140027820
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.1400c5948
test eax, eax
je 0x140035438
cmp edi, esi
ja 0x140035313
inc edi
mov qword [rbp - 0x49], 0x64
lea rcx, [rbp - 0x49]
call fcn.1400266cc
jmp 0x1400352b9
cmp eax, 0xffffffff
jne 0x14003542c
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
lea edi, [rax + 0x10]
mov qword [rbp + 0x17], rdi
mov dword [rbp - 0x19], 0x67452301
mov dword [rbp - 0x15], 0xefcdab89
mov dword [rbp - 0x11], 0x98badcfe
mov dword [rbp - 0xd], 0x10325476
mov dword [rbp - 9], 0xc3d2e1f0
and qword [rbp + 0xf], 0
mov byte [rbp - 1], 0
and qword [rbp + 0x1f], 0
lea rcx, [rbp + 0x27]
call fcn.1400c4e94
nop
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140004774
mov esi, 0x1000
mov rdx, qword [rbp - 0x21]
cmp rdx, rdi
jbe 0x1400353b1
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, rsi
jb 0x1400353ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003546d
call fcn.1400f24c0
movdqa xmm0, xmmword [0x140147a80]
movdqu xmmword [rbp - 0x29], xmm0
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, rdi
jbe 0x1400353f9
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, rsi
jb 0x1400353f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035473
call fcn.1400f24c0
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, rdi
jbe 0x14003542c
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, rsi
jb 0x140035426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035467
call fcn.1400f24c0
nop
mov rcx, rbx
call fcn.140022df0
xor al, al
jmp 0x140035442
mov rcx, rbx
call fcn.140022df0
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400f2140
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400f8648
nop
call fcn.1400f8648
nop
call fcn.1400f8648
int3
Function at 0x140035b0c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14015a100]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x70], rdx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call fcn.14011c900
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140035b69
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
add r8, rcx
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140035b7d
mov rdx, qword [rbx]
lea rcx, [rbp - 0x10]
call fcn.14002580c
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rax, qword [rbp - 0x10]
mov qword [rbp - 0x70], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140035ba5
mov rdx, qword [rdi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140035c53
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x68]
lea rcx, [rbp - 0x10]
call fcn.140022df0
nop
mov rcx, rdi
call fcn.140022df0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140035c47
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140035c42
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140035d14
mov rcx, r8
call fcn.1400f24c0
and qword [rbx + 0x10], 0
mov eax, esi
jmp 0x140035cea
call qword [sym.imp.KERNEL32.dll_GetLastError]
and qword [rsp + 0x50], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140035c9a
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x10]
call fcn.140022df0
nop
mov rcx, rdi
call fcn.140022df0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140035ce3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140035cde
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140035d1a
mov rcx, r8
call fcn.1400f24c0
and qword [rbx + 0x10], 0
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400f2140
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
call fcn.1400f8648
int3
call fcn.1400f8648
int3
Function at 0x140035f44
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14015a100]
xor rax, rsp
mov qword [rbp + 0x37], rax
and dword [rbp - 0x31], 0
mov rdi, r8
and qword [rbp - 0x59], 0
mov r8d, edx
mov rdx, rcx
mov dword [rbp - 0x51], 0x6a09e667
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x4d], 0xbb67ae85
mov rbx, r9
mov dword [rbp - 0x49], 0x3c6ef372
mov dword [rbp - 0x45], 0xa54ff53a
mov dword [rbp - 0x41], 0x510e527f
mov dword [rbp - 0x3d], 0x9b05688c
mov dword [rbp - 0x39], 0x1f83d9ab
mov dword [rbp - 0x35], 0x5be0cd19
call fcn.140036928
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x59]
call fcn.1400369d8
mov eax, 0x20
lea rdx, [rbp + 0x17]
cmp rbx, rax
mov rcx, rdi
cmova rbx, rax
mov r8, rbx
call fcn.14011c260
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400f2140
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140036724
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
lea r11, [rcx + 8]
movups xmm0, xmmword [r11]
lea r9, [rsp + 0x20]
mov qword [rbp + 0x70], r11
movups xmm1, xmmword [r11 + 0x10]
lea r8, [rdx + 2]
sub r9, rdx
movups xmmword [rsp], xmm0
mov edx, 0x10
movups xmmword [rsp + 0x10], xmm1
movzx eax, byte [r8 - 1]
movzx ecx, byte [r8 - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [r8]
shl ecx, 8
lea r8, [r8 + 4]
or ecx, eax
movzx eax, byte [r8 - 3]
shl ecx, 8
or ecx, eax
mov dword [r9 + r8 - 6], ecx
sub rdx, 1
jne 0x140036770
lea r9, [rsp + 0x58]
lea r10d, [rdx + 0x30]
mov ecx, dword [r9]
mov r8d, ecx
mov edx, dword [r9 - 0x34]
lea r9, [r9 + 4]
mov eax, ecx
ror r8d, 0x13
shr ecx, 0xa
ror eax, 0x11
xor r8d, eax
mov eax, edx
xor r8d, ecx
ror eax, 7
mov ecx, edx
shr edx, 3
ror ecx, 0x12
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 - 0x3c]
add r8d, dword [r9 - 0x18]
mov dword [r9 + 4], r8d
sub r10, 1
jne 0x1400367aa
mov r15d, dword [rsp + 0x18]
xor r14d, r14d
mov esi, dword [rsp + 0x10]
mov r12d, dword [rsp + 0xc]
mov r13d, dword [rsp + 4]
mov edi, dword [rsp]
mov ebx, dword [rsp + 0x14]
mov r11d, dword [rsp + 8]
mov edx, edi
mov eax, esi
shr eax, 0xb
mov r10d, esi
shl r10d, 0x15
mov ecx, esi
or r10d, eax
shl ecx, 0x1a
mov eax, esi
shl edx, 0x13
shr eax, 6
mov r9d, r13d
or ecx, eax
or r9d, edi
xor r10d, ecx
mov eax, esi
shl eax, 7
and r9d, r11d
mov ecx, esi
mov r8d, r13d
shr ecx, 0x19
and r8d, edi
or ecx, eax
mov eax, ebx
xor eax, r15d
xor r10d, ecx
and eax, esi
mov ecx, edi
xor eax, r15d
shr ecx, 0x16
add r10d, eax
lea rax, [0x1401384e0]
add r10d, dword [r14 + rax]
mov eax, edi
add r10d, dword [rsp + r14 + 0x20]
add r14, 4
add r10d, dword [rsp + 0x1c]
shr eax, 0xd
add r12d, r10d
or edx, eax
mov dword [rsp + 0x1c], r15d
mov eax, edi
mov r15d, ebx
shl eax, 0xa
mov ebx, esi
or ecx, eax
mov esi, r12d
mov eax, edi
xor edx, ecx
shl eax, 0x1e
mov r12d, r11d
mov r11d, r13d
mov r13d, edi
shr edi, 2
or eax, edi
mov edi, r9d
xor eax, edx
or edi, r8d
add eax, r10d
add edi, eax
cmp r14, 0x100
jl 0x140036812
lea rcx, [rsp]
mov dword [rsp + 8], r11d
sub rcx, qword [rbp + 0x60]
mov edx, 8
mov r11, qword [rbp + 0x70]
mov dword [rsp], edi
mov dword [rsp + 0x10], esi
mov dword [rsp + 0x18], r15d
mov dword [rsp + 0xc], r12d
mov dword [rsp + 4], r13d
mov dword [rsp + 0x14], ebx
mov eax, dword [rcx + r11 - 8]
add dword [r11], eax
lea r11, [r11 + 4]
sub rdx, 1
jne 0x1400368fb
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003cae0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov edi, ecx
call fcn.1400b76b4
test eax, eax
jne 0x14003cc72
cmp byte [0x14015af84], al
jne 0x14003cb13
xor ebx, ebx
jmp 0x14003cb2f
mov ecx, 5
call qword [0x14015aff0]
mov rbx, rax
test rax, rax
je 0x14003cb2f
mov rcx, rax
call qword [0x14015b000]
test edi, edi
jle 0x14003cc5d
test rsi, rsi
je 0x14003cc5d
cmp dword [0x140162010], 0
jne 0x14003cbe9
xor ecx, ecx
call fcn.140039c14
movups xmm0, xmmword [str.expand_32_byte_k]
movdqu xmmword [0x140162010], xmm0
test rax, rax
jne 0x14003cb88
xorps xmm0, xmm0
mov qword [0x140162040], rax
movups xmmword [0x140162020], xmm0
mov dword [0x140162048], eax
movups xmmword [0x140162030], xmm0
jmp 0x14003cbcc
mov ecx, dword [0x14015b130]
test ecx, ecx
je 0x14003cbba
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140162020], xmm0
mov dword [0x140162020], ecx
movups xmmword [0x140162030], xmm0
mov qword [0x140162040], rax
mov dword [0x140162048], eax
jmp 0x14003cbcc
lea r8, [0x140162020]
mov edx, 0x2c
mov rcx, rax
call qword [rax + 0x68]
mov eax, dword [0x140162040]
and dword [0x140162040], 0
xor cl, cl
mov dword [0x14016204c], eax
mov byte [0x140162090], cl
jmp 0x14003cbef
mov cl, byte [0x140162090]
movzx eax, cl
lea r14, [0x140162050]
cmp edi, eax
jle 0x14003cc3e
test cl, cl
je 0x14003cc1c
movzx r8d, cl
mov rdx, r14
mov rcx, rsi
call fcn.14011c260
movzx ecx, byte [0x140162090]
sub edi, ecx
add rsi, rcx
inc dword [0x140162040]
lea rdx, [0x140162010]
mov rcx, r14
call fcn.14003c784
mov cl, 0x40
mov byte [0x140162090], cl
cmp edi, 0x40
jg 0x14003cbfd
movzx eax, cl
mov rcx, rsi
sub eax, edi
movsxd r8, edi
movsxd rdx, eax
add rdx, r14
call fcn.14011c260
sub byte [0x140162090], dil
jmp 0x14003cc64
and dword [0x140162010], 0
test rbx, rbx
je 0x14003cc72
mov rcx, rbx
call qword [0x14015b010]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x140042168
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movsxd r10, dword [rcx + 0xc]
mov r14, rdx
movsxd rbx, r8d
mov r9, rcx
test r8d, r8d
jle 0x1400421c5
mov rdi, qword [rcx]
mov r11, r10
movsxd rsi, dword [rcx + 8]
xor edx, edx
mov al, byte [r14 + rdx]
lea rcx, [r11 + 1]
xor byte [r11 + rdi], al
lea eax, [r10 + 1]
xor r10d, r10d
cmp rcx, rsi
cmovl r10d, eax
xor r11d, r11d
inc rdx
cmp rcx, rsi
cmovl r11, rcx
cmp rdx, rbx
jl 0x140042199
add dword [r9 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
mov dword [r9 + 0xc], r10d
ret
Function at 0x140072aec
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.1400786b0
test ebx, ebx
jne 0x140072b55
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.1400786b0
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 0x1400c137c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400c13f3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400c13f3
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400c13e0
cmp rbx, rcx
jae 0x1400c13f3
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400c13cb
cmp rbx, rcx
jae 0x1400c13f3
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1400c13f5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c1f90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14015a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, rdx
mov qword [rbp - 0x38], rcx
mov rbx, rcx
lea r9, [rbp - 0x38]
xor edi, edi
mov rcx, rax
xor r8d, r8d
mov qword [rbp - 0x38], rdi
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x1400c1ffc
mov qword [rbp - 0x48], rdi
lea rax, [0x1401384dc]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x50]
mov rcx, rbx
movdqa xmmword [rbp - 0x50], xmm0
call fcn.1400320ac
jmp 0x1400c205e
mov rcx, qword [rbp - 0x38]
or rax, 0xffffffffffffffff
mov qword [rbp - 0x50], rcx
inc rax
cmp word [rcx + rax*2], di
jne 0x1400c2008
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x50]
lea rcx, [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm0
call fcn.1400320ac
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x30]
lea rcx, [rbp - 0x30]
mov word [rbp - 0x30], di
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x140147a70]
movdqu xmmword [rbp - 0x20], xmm0
movups xmmword [rbx + 0x10], xmm1
call fcn.140022df0
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f2140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400c2080
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x14015a100]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400c20b5
mov rdx, qword [rcx]
mov r8, qword [rcx + 0x10]
add r8, rdx
cmp qword [rcx + 0x18], 0xf
jbe 0x1400c20c6
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp + 0x27]
call fcn.14002580c
nop
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x1400c225f
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400c2117
mov rcx, qword [rdi]
mov r8, qword [rdi + 0x10]
add r8, rcx
cmp qword [rdi + 0x18], 0xf
jbe 0x1400c2128
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.14002580c
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], rbx
mov r8d, 0x68
lea rdx, str.TWcxXcjlq2UmpQDZ05FTUjJZudikCiVxNMHBiY1oIwIvINzFaLBgY_QCEcboXQ8gXNTQGdOiR8eRjwbRPQtQuBlw1sJxg8eOCokcJlM
lea rcx, [rbp - 0x41]
call fcn.14002772c
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x69]
call fcn.1400c7ca0
nop
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400c2181
lea rcx, [rbp - 0x61]
call fcn.14002772c
nop
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 7
cmova rdx, qword [rbp - 0x61]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r8, rdi
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400c21b5
lea rcx, [rbp - 0x19]
call fcn.14002772c
nop
lea rcx, [rbp - 0x61]
call fcn.140022df0
nop
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400c21f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x17]
lea eax, [rax*2 + 2]
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rcx, qword [rbp + 7]
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x21]
test eax, eax
je 0x1400c2243
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400c224b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
lea rcx, [rbp - 0x19]
call fcn.140022df0
nop
lea rcx, [rbp + 7]
call fcn.140022df0
nop
lea rcx, [rbp + 0x27]
call fcn.140022df0
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400f2140
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400c228c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14015a100]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
cmp qword [rdx + 0x18], 7
jbe 0x1400c22cf
mov rdx, qword [rdx]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xorps xmm0, xmm0
test eax, eax
je 0x1400c230f
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1401384dc]
jmp 0x1400c2410
mov dword [rbp - 0x78], 0x400
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, 0x36
lea rdx, str.dVZGLd1BwfdTZX7ekxjnMUlxGSTw4DNQMxyHBl6kOBkttF1gmJHw
lea rcx, [rsp + 0x60]
call fcn.14002772c
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400c7ca0
nop
mov rdx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400c2367
lea rcx, [rsp + 0x40]
call fcn.14002772c
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea rcx, [rsp + 0x40]
call fcn.140022df0
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x1400c23db
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
test esi, esi
jne 0x1400c2300
lea rax, [rbp - 0x70]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x1400c23ff
mov r8, rdi
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14002772c
mov rax, rbx
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400f2140
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret