joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f1b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14004f283
cmp byte [rcx + 0x71], 0
je 0x14004f283
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14004f27f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14004f244
sub eax, 1
je 0x14004f248
cmp eax, 2
jne 0x14004f27f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14022d970
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14004f276
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14004f27f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004f22c
xor al, al
jmp 0x14004f22c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14022d970
add rsp, 0x60
pop rbx
ret

Function at 0x140050dd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rdi, rcx
mov dword [rsp + 0x20], esi
call fcn.140208570
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov qword [rsp + 0x28], rax
jb 0x140050dff
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140050e26
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140203230
mov esi, dword [rsp + 0x20]
mov ebx, dword [rax]
jmp 0x140050e5f
call fcn.140208570
bt ebx, 0xa
jae 0x140050e56
mov rcx, rdi
call fcn.140203150
test al, al
je 0x140050e4f
test bl, 0x10
mov eax, 0xb
mov ebx, 4
cmovne ebx, eax
jmp 0x140050e5f
mov ebx, 9
jmp 0x140050e63
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
test ebx, ebx
je 0x140050e65
xor esi, esi
lea r9, str.boost::filesystem::remove
xor r8d, r8d
mov rdx, rdi
mov ecx, esi
call fcn.140202bf0
test al, al
je 0x140050e8f
xor al, al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, ebx
mov rcx, rdi
call fcn.140202d80
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400679b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140067b44
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140067b44
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x140067a4b
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x140067b6b
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140067a62
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140067a62
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140067a75
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x140067ac2
mov r8d, eax
cmp eax, 0x800
jae 0x140067a8f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140067ac2
cmp eax, 0x10000
jae 0x140067aa9
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140067ac2
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x140067b44
add qword [r14], 2
test sil, sil
jne 0x140067ae3
cmp r10d, 3
jae 0x140067aef
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140067b21
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x140067b00
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x1400679ff
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x140067b52
Function at 0x14006cb00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14006cb38
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400633f0
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14006cc76
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006cbf0
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14006cc65
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x14006cc2d
mov r8, qword [rax]
cmp r8, rcx
je 0x14006cc27
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14006cc65
cmp r9, rax
je 0x14006cc41
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x14006cc8b
cmp r9, rax
jne 0x14006cc32
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14006cba0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14006cc65
Function at 0x14007ace0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x13d0
call fcn.14022ed60
sub rsp, rax
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x20], rdx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov r8d, 1
mov ecx, r8d
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
mov dword [rsp + rcx*4 + 0x34], edx
inc r8d
inc rcx
cmp rcx, 0x270
jl 0x14007ad40
mov dword [rsp + 0x30], 0x270
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14007ad78
mov rbx, qword [rdi]
mov rcx, rdi
jb 0x14007ad80
mov rcx, qword [rdi]
mov rsi, qword [rdi + 0x10]
add rsi, rcx
cmp rbx, rsi
je 0x14007adb4
lea r14, str.0123456789abcdef
cmp byte [rbx], 0x25
jne 0x14007adac
lea rcx, [rsp + 0x30]
call fcn.1400d5b10
and eax, 0xf
movzx eax, byte [rax + r14]
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x14007ad93
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 0xf
mov byte [rdi], al
mov rcx, rdi
call fcn.14004f4d0
mov rax, rbp
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14022d970
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14007b940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rdi, rcx
mov dword [rsp + 0x20], esi
call fcn.140208570
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov qword [rsp + 0x28], rax
jb 0x14007b96f
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14007b996
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140203230
mov esi, dword [rsp + 0x20]
mov ebx, dword [rax]
jmp 0x14007b9cf
call fcn.140208570
bt ebx, 0xa
jae 0x14007b9c6
mov rcx, rdi
call fcn.140203150
test al, al
je 0x14007b9bf
test bl, 0x10
mov eax, 0xb
mov ebx, 4
cmovne ebx, eax
jmp 0x14007b9cf
mov ebx, 9
jmp 0x14007b9d3
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
test ebx, ebx
je 0x14007b9d5
xor esi, esi
lea r9, str.boost::filesystem::remove_all
xor r8d, r8d
mov rdx, rdi
mov ecx, esi
call fcn.140202bf0
test al, al
jne 0x14007ba0c
cmp ebx, 1
jbe 0x14007ba0c
mov edx, ebx
mov rcx, rdi
call fcn.140202e70
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
xor eax, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140084580
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov rbx, qword [rcx]
mov edx, dword [rdx]
lea rcx, [rsp + 0x60]
call fcn.14004b930
nop
lea r9d, [rdi + 0x45]
lea r8, str.SELECT_key_id_FROM_Preset_Id_WHERE_favorite__1_and_instrument_key_
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x20]
lea r8, [0x1400c97e0]
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x328]
call fcn.140080c10
nop
lea rcx, [rsp + 0x40]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x60]
call fcn.14004f4d0
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
cmp rbx, rdi
je 0x1400846bd
nop
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi]
call fcn.140095320
nop
lea rcx, [rbp - 0x80]
call fcn.14004bd50
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14005d090
test al, al
je 0x1400846a0
mov byte [rbp + 0x41], 1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14005cab0
nop
lea rcx, [rbp - 0x80]
call fcn.14004c0a0
nop
lea rcx, [rsp + 0x40]
call fcn.14004f4d0
add rbx, 0x20
cmp rbx, rdi
jne 0x140084660
lea rcx, [rsp + 0x28]
call fcn.14004f120
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14022d970
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14008abb0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], 0xf
mov byte [rdx], sil
mov dword [rsp + 0x20], 1
cmp qword [r8 + 0x10], rsi
je 0x14008acdc
lea rbx, [rcx + 0x328]
mov rdx, r8
lea rcx, [rsp + 0x78]
call fcn.140080f00
nop
lea r9d, [rsi + 0x2a]
lea r8, str.SELECT_key_id_FROM_Types_V2_WHERE_name__
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x58]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov dword [rsp + 0x20], 7
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x28]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140080c10
nop
lea rcx, [rsp + 0x38]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x58]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x78]
call fcn.14004f4d0
mov rax, rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14022d970
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008ad00
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], 0xf
mov byte [rdx], sil
mov dword [rsp + 0x20], 1
cmp qword [r8 + 0x10], rsi
je 0x14008ae2c
lea rbx, [rcx + 0x328]
mov rdx, r8
lea rcx, [rsp + 0x78]
call fcn.140080f00
nop
lea r9d, [rsi + 0x37]
lea r8, str.SELECT_key_id_FROM_Characteristics_Types_WHERE_name__
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x58]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov dword [rsp + 0x20], 7
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x28]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140080c10
nop
lea rcx, [rsp + 0x38]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x58]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x78]
call fcn.14004f4d0
mov rax, rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14022d970
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140091960
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
lea rbx, [rcx + 0x328]
lea rcx, [rsp + 0x88]
call fcn.140080f00
nop
mov r9d, 0x2c
lea r8, str.SELECT_file_path_FROM_Preset_Id_WHERE_name
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x68]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x20]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140080c10
nop
lea rcx, [rsp + 0x48]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x88]
call fcn.14004f4d0
cmp qword [rsp + 0x38], 0
setne bl
lea rcx, [rsp + 0x28]
call fcn.14004f4d0
movzx eax, bl
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14022d970
add rsp, 0xb0
pop rbx
ret

Function at 0x140091ab0
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
lea rbx, [rcx + 0x328]
lea rcx, [rsp + 0x88]
call fcn.140080f00
nop
mov r9d, 0x23
lea r8, str.SELECT_name_FROM_Packs_WHERE_name
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x68]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x20]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140080c10
nop
lea rcx, [rsp + 0x48]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x88]
call fcn.14004f4d0
cmp qword [rsp + 0x38], 0
setne bl
lea rcx, [rsp + 0x28]
call fcn.14004f4d0
movzx eax, bl
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14022d970
add rsp, 0xb0
pop rbx
ret
Function at 0x140095320
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0xf
mov byte [rdx], al
lea rsi, [rcx + 0x328]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], al
mov dword [rsp + 0x20], 3
mov rdx, qword [r8 + 0x10]
add rdx, 0x2f
lea rcx, [rsp + 0x38]
call fcn.140068500
mov r8d, 0x2f
lea rdx, str.SELECT_file_path_FROM_Preset_Id_WHERE_key_id_
lea rcx, [rsp + 0x38]
call fcn.14007a550
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400953ae
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14007a550
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x28]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140080c10
nop
lea rcx, [rsp + 0x38]
call fcn.14004f4d0
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14022d970
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400954a0
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov rax, qword [rcx]
lea r8, [rcx + 0x2f0]
mov r9b, 1
lea rdx, [rsp + 0x50]
call qword [rax + 0x198]
nop
mov r9d, 0x59
lea r8, str.SELECT_COUNT_pi.key_id__FROM_Preset_Id_pi_INNER_JOIN_Packs_p_ON_p.key_id__pi.pack_WHERE
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x50]
call fcn.14004f4d0
lea rcx, [rbx + 0x328]
mov qword [rsp + 0x20], 0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x28]
lea r8, [0x1400c98a0]
lea rdx, [rsp + 0x30]
call fcn.140080c10
nop
lea rcx, [rsp + 0x30]
call fcn.14004f4d0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14022d970
add rsp, 0x80
pop rbx
ret
Function at 0x14009b0d0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movzx esi, r8b
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x59], r15d
cmp qword [rdx + 0x10], r15
jne 0x14009b111
xor eax, eax
jmp 0x14009b2d4
lea rcx, [rbp - 0x11]
call fcn.140080f00
nop
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], 0
mov dword [rbp - 0x59], 1
mov rdx, qword [rbp - 1]
add rdx, 0x35
lea rcx, [rbp - 0x51]
call fcn.140068500
mov r8d, 0x35
lea rdx, str.INSERT_OR_IGNORE_INTO_Packs__name__factory__VALUES__
lea rcx, [rbp - 0x51]
call fcn.14007a550
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
lea rcx, [rbp - 0x51]
call fcn.14007a550
lea rax, str.__1__
lea rdx, str.__0__
test sil, sil
cmovne rdx, rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x14009b193
lea rcx, [rbp - 0x51]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp - 0x59], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x31]
lea rcx, [rdi + 0x328]
call fcn.140080c10
nop
lea rcx, [rbp - 0x31]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x51]
call fcn.14004f4d0
lea r8, [rbp - 0x11]
lea rdx, str.SELECT_key_id_FROM_Packs_WHERE_name__
lea rcx, [rbp + 0xf]
call fcn.140064ac0
nop
mov r8d, 0x10
lea rdx, str._AND_factory_
mov rcx, rax
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [0x14026d4e8]
lea rdx, [0x14029e424]
test sil, sil
cmovne rdx, rax
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14009b262
mov r8, rbx
lea rcx, [rbp - 0x51]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x21], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.14009b040
mov ebx, eax
lea rcx, [rbp - 0x31]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x51]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0xf]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x11]
call fcn.14004f4d0
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14022d970
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret