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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400fa9d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14026a1a4]
mov rbx, rcx
test esi, esi
jle 0x1400fab00
mov rax, qword [0x14026a1a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400faa1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400faaa5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400faa00
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400fab22
mov rax, qword [0x14026a1a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14026a1a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400fab07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400faa9e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400faab0
add dword [0x14026a1a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14026a1a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400faa9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400faa28
mov rax, qword [0x14026a1a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400fb0b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14026a200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14026a1e0]
test rbx, rbx
je 0x1400fb10c
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 rsi, rsi
je 0x1400fb103
test eax, eax
jne 0x1400fb103
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400fb0e8
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 0x1400fb320
Capabilities:
Parse pe header

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

Function at 0x1400fb350
Capabilities:
Enumerate pe sections

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

Function at 0x1400fb3a0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400fb430
mov rdx, qword [0x14023b3a0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400fb41e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400fb41e
cmp word [rax + 0x18], 0x20b
jne 0x1400fb41e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400fb430
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400fb409
add rbx, 0x28
cmp rbx, rdi
je 0x1400fb430
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400fb400
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 0x1400fb440
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14023b3a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400fb460
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400fb468
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400fb460
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400fb4bd
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]
mov rdx, r8
cmp rcx, r8
jb 0x1400fb4b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400fb460
add rax, 0x28
cmp rax, r9
jne 0x1400fb4a0
xor eax, eax
ret

Function at 0x1400fb4c0
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x14023b3a0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400fb520
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400fb528
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400fb520
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400fb570
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400fb567
test rcx, rcx
je 0x1400fb520
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400fb558
xor eax, eax
ret

Function at 0x1400fb580
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x14023b3a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400fb5e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400fb5e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400fb5e0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400fb5e0
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]
mov rax, r8
cmp rcx, r8
jb 0x1400fb634
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400fb640
add rdx, 0x28
cmp rdx, r9
jne 0x1400fb620
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x14023b3a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400fb672
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400fb680
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400fb672
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400fb672
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400fb672
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]
mov r8, r9
cmp rax, r9
jb 0x1400fb6d5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400fb6e8
add rdx, 0x28
cmp r10, rdx
jne 0x1400fb6c0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400fb6f7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400fb707
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400fb6de
test ecx, ecx
jg 0x1400fb6f0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x1400fb790
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2d
lea rdx, global_msg.0
call sym.write
mov ecx, 0x17
call sym.IsProcessorFeaturePresent
test eax, eax
je 0x1400fb7c0
mov ecx, 8
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400fb800
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
mov r8d, 0x2c
lea rdx, [0x14023a740]
call sym.write
mov ecx, 0x17
call sym.IsProcessorFeaturePresent
test eax, eax
je 0x1400fb830
mov ecx, 2
int 0x29
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140108190
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x14023afa0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x1401081d8
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x14026ac60], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x1401081be

Function at 0x140108be0
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x28
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movdqu xmm3, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx + 0x20]
movdqu xmm0, xmmword [rcx + 0x30]
add rdx, r8
cmp r8, rdx
jae 0x140108c61
movdqu xmm7, xmmword [0x140237650]
movdqu xmm6, xmmword [0x140237660]
movdqu xmm5, xmmword [0x140237670]
movdqu xmm4, xmmword [0x140237680]
nop dword [rax + rax]
aesdec xmm3, xmm7
aesenc xmm2, xmm6
aesdec xmm1, xmm5
add r8, 0x40
aesenc xmm0, xmm4
movups xmmword [r8 - 0x40], xmm3
movups xmmword [r8 - 0x30], xmm2
movups xmmword [r8 - 0x20], xmm1
movups xmmword [r8 - 0x10], xmm0
cmp r8, rdx
jb 0x140108c30
movups xmm6, xmmword [rsp]
movups xmm7, xmmword [rsp + 0x10]
movups xmmword [rcx], xmm3
movups xmmword [rcx + 0x10], xmm2
movups xmmword [rcx + 0x20], xmm1
movups xmmword [rcx + 0x30], xmm0
add rsp, 0x28
ret
Function at 0x140108e10
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x68
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movups xmmword [rsp + 0x30], xmm9
movups xmmword [rsp + 0x40], xmm10
movups xmmword [rsp + 0x50], xmm11
movdqu xmm11, xmmword [rcx]
movdqu xmm10, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx + 0x20]
movdqu xmm0, xmmword [rcx + 0x30]
add rdx, r8
cmp r8, rdx
jae 0x140108f17
movdqu xmm7, xmmword [0x1402376b0]
movdqu xmm6, xmmword [0x1402376c0]
movdqu xmm5, xmmword [0x1402376d0]
movdqu xmm4, xmmword [0x1402376e0]
movdqu xmm3, xmmword [0x1402376f0]
movdqu xmm2, xmmword [0x140237700]
movdqu xmm9, xmmword [0x140237690]
movdqu xmm8, xmmword [0x1402376a0]
nop dword [rax + rax]
aesdec xmm11, xmm9
aesenc xmm10, xmm9
aesdec xmm1, xmm8
add r8, 0x40
aesenc xmm0, xmm8
aesdec xmm11, xmm7
aesenc xmm10, xmm7
aesdec xmm1, xmm6
aesenc xmm0, xmm6
aesdec xmm11, xmm5
aesenc xmm10, xmm5
aesdec xmm1, xmm4
aesenc xmm0, xmm4
aesdec xmm11, xmm3
aesenc xmm10, xmm3
aesdec xmm1, xmm2
aesenc xmm0, xmm2
movups xmmword [r8 - 0x40], xmm11
movups xmmword [r8 - 0x30], xmm10
movups xmmword [r8 - 0x20], xmm1
movups xmmword [r8 - 0x10], xmm0
cmp r8, rdx
jb 0x140108ea0
movups xmm6, xmmword [rsp]
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
movups xmm9, xmmword [rsp + 0x30]
movups xmm10, xmmword [rsp + 0x40]
movups xmm11, xmmword [rsp + 0x50]
add rsp, 0x68
ret

Function at 0x140109270
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm0, xmmword [str._f__nc]
movdqu xmm1, xmmword [0x140237600]
movdqu xmm2, xmmword [0x140237610]
movdqu xmm3, xmmword [0x140237620]
add rdx, rcx
cmp rcx, rdx
jae 0x1401092c0
nop dword [rax + rax]
aesenc xmm3, xmmword [rcx]
aesdec xmm2, xmmword [rcx + 0x10]
aesenc xmm1, xmmword [rcx + 0x20]
add rcx, 0x40
aesdec xmm0, xmmword [rcx - 0x10]
cmp rcx, rdx
jb 0x1401092a0
movdqu xmm4, xmmword [0x140237630]
aesenc xmm3, xmm4
aesdec xmm2, xmm4
aesenc xmm1, xmm4
aesdec xmm0, xmm4
movdqu xmm4, xmmword [0x140237640]
aesenc xmm3, xmm4
aesdec xmm2, xmm4
aesenc xmm1, xmm4
aesdec xmm0, xmm4
movups xmmword [r8], xmm3
movups xmmword [r8 + 0x10], xmm2
movups xmmword [r8 + 0x20], xmm1
movups xmmword [r8 + 0x30], xmm0
ret
Function at 0x140109560
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
endbr64
push r14
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r10, qword [rcx + 8]
movzx r11d, byte [rcx + 0x18]
mov rsi, rdx
mov rdx, qword [rcx]
mov rdi, rcx
add r10, rdx
cmp rdx, r10
je 0x1401096da
xor ebx, ebx
xor eax, eax
mov r12d, 0x40
mov ebp, 1
jmp 0x1401095c4
mov r9, r8
mov ecx, eax
and r9d, 0x7f
shl r9, cl
or rbx, r9
test r8b, r8b
jns 0x1401096a0
add eax, 7
cmp r10, rdx
je 0x1401096a0
movzx r8d, byte [rdx]
add rdx, 1
cmp eax, 0x38
jle 0x1401095e5
mov ecx, r12d
mov r14d, ebp
movzx r9d, r8b
sub ecx, eax
shl r14d, cl
cmp r9d, r14d
jge 0x1401095ee
test r8b, r8b
jne 0x1401095a0
test eax, eax
je 0x1401095a0
cmp r10, rdx
cmovbe rdx, r10
xor r11d, r11d
xor eax, eax
mov byte [rdi + 0x18], r11b
sub r10, rdx
mov qword [rdi], rdx
mov qword [rdi + 8], r10
cmp rax, rbx
jb 0x1401096c7
mov rcx, rbx
call sym.operator_new___unsigned_long_long_
mov rdx, qword [rdi]
mov rbp, rax
mov rax, qword [rdi + 8]
cmp rbx, rax
mov r8, rax
cmovbe r8, rbx
lea rcx, [rdx + r8]
mov qword [rdi], rcx
mov rcx, rax
sub rcx, r8
cmp rax, rbx
setae al
and byte [rdi + 0x18], al
mov qword [rdi + 8], rcx
mov rcx, rbp
call sym.memcpy
mov rax, qword [rsi]
mov qword [rsi + 8], 0
mov byte [rax], 0
movabs rax, 0x3fffffffffffffff
sub rax, qword [rsi + 8]
cmp rax, rbx
jb 0x1401096e9
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::_M_append_char_const__unsigned_long_long_
mov rcx, rbp
call sym.operator_delete___void_
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r14
ret
cmp r10, rdx
mov byte [rdi + 0x18], r11b
cmovbe rdx, r10
xor eax, eax
sub r10, rdx
test r11b, r11b
mov qword [rdi], rdx
cmovne rax, r10
mov qword [rdi + 8], r10
cmp rax, rbx
jae 0x140109611
xor eax, eax
mov byte [rdi + 0x18], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r14
ret
mov qword [rcx + 8], 0
xor ebx, ebx
jmp 0x140109611
lea rcx, [0x14017bfbe]
call sym.std::__throw_length_error_char_const_
endbr64
mov rbx, rax
mov rcx, rbp
call sym.operator_delete___void_
mov rcx, rbx
call sym._Unwind_Resume
nop
nop
nop
nop
Function at 0x140109710
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
endbr64
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
mov rax, qword [rdi]
mov rbp, rdx
sub rbp, rax
cmp rdx, rax
je 0x14010973c
mov qword [rdi + 8], rax
cmp byte [rbx + 0x18], 0
jne 0x140109760
test rbp, rbp
je 0x1401097c4
mov byte [rbx + 0x18], 0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
cmp qword [rbx + 8], rbp
jb 0x140109747
movabs rdx, 0x7fffffffffffffc0
cmp rdx, rbp
jb 0x140109948
mov rdx, qword [rdi + 0x10]
sub rdx, rax
cmp rdx, rbp
jae 0x1401097c4
mov r12, qword [rdi + 8]
mov rcx, rbp
sub r12, rax
call sym.operator_new_unsigned_long_long_
mov r13, qword [rdi]
mov r8, qword [rdi + 8]
mov rsi, rax
sub r8, r13
test r8, r8
jg 0x140109920
test r13, r13
jne 0x14010993f
add r12, rsi
mov qword [rdi], rsi
add rsi, rbp
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], rsi
sar rbp, 6
xor esi, esi
cmp rsi, rbp
je 0x14010987b
nop dword [rax + rax]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi]
add rsi, 1
mov rax, rdx
sub rax, r8
sar rax, 6
cmp rax, rsi
jb 0x1401098d8
cmp rsi, rax
jae 0x14010980e
mov rax, rsi
shl rax, 6
add rax, r8
cmp rdx, rax
je 0x14010980e
mov qword [rdi + 8], rax
mov rcx, qword [rbx + 8]
mov eax, 0x40
mov rdx, qword [rbx]
cmp rcx, rax
cmovbe rax, rcx
lea r9, [rdx + rax]
mov qword [rbx], r9
mov r9, rcx
sub r9, rax
cmp rcx, 0x3f
seta cl
and byte [rbx + 0x18], cl
mov rcx, rsi
shl rcx, 6
mov qword [rbx + 8], r9
lea rcx, [r8 + rcx - 0x40]
cmp eax, 8
jae 0x140109890
test al, 4
jne 0x1401098f0
test eax, eax
je 0x140109868
movzx r8d, byte [rdx]
mov byte [rcx], r8b
test al, 2
jne 0x140109908
cmp byte [rbx + 0x18], 0
je 0x14010974b
cmp rsi, rbp
jne 0x1401097d8
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r8, qword [rdx]
mov qword [rcx], r8
mov r8d, eax
mov r9, qword [rdx + r8 - 8]
mov qword [rcx + r8 - 8], r9
lea r9, [rcx + 8]
and r9, 0xfffffffffffffff8
sub rcx, r9
add eax, ecx
sub rdx, rcx
and eax, 0xfffffff8
cmp eax, 8
jb 0x140109868
and eax, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov r10, qword [rdx + r8]
mov qword [r9 + r8], r10
cmp ecx, eax
jb 0x1401098c0
jmp 0x140109868
mov rdx, rsi
mov rcx, rdi
sub rdx, rax
call method.std::vector_crypto::signature__std::allocator_crypto::signature___._M_default_append_unsigned_long_long_
mov r8, qword [rdi]
jmp 0x14010980e
mov r8d, dword [rdx]
mov eax, eax
mov dword [rcx], r8d
mov edx, dword [rdx + rax - 4]
mov dword [rcx + rax - 4], edx
jmp 0x140109868
mov eax, eax
movzx edx, word [rdx + rax - 2]
mov word [rcx + rax - 2], dx
jmp 0x140109868
mov rdx, r13
mov rcx, rax
call sym.memmove
mov rdx, qword [rdi + 0x10]
sub rdx, r13
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
jmp 0x1401097b3
mov rdx, qword [rdi + 0x10]
sub rdx, r13
jmp 0x140109932
lea rcx, [0x14017c2f0]
call sym.std::__throw_length_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140109960
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
sub rsp, 0x60
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movups xmmword [rsp + 0x30], xmm9
movups xmmword [rsp + 0x40], xmm10
movups xmmword [rsp + 0x50], xmm11
movdqu xmm4, xmmword [str._f__nc]
movdqu xmm5, xmmword [0x140237600]
movdqu xmm6, xmmword [0x140237610]
movdqu xmm7, xmmword [0x140237620]
movdqu xmm3, xmmword [r9]
movdqu xmm2, xmmword [r9 + 0x10]
movdqu xmm1, xmmword [r9 + 0x20]
movdqu xmm0, xmmword [r9 + 0x30]
movdqu xmm11, xmmword [0x140237650]
movdqu xmm10, xmmword [0x140237660]
movdqu xmm9, xmmword [0x140237670]
movdqu xmm8, xmmword [0x140237680]
mov rax, rdx
mov r11, rcx
lea rdx, [rcx + 0x1000]
lea rcx, [rcx + rax - 0x1000]
mov r10, r11
lea rbx, [rcx + 0x2000]
mov rax, r10
cmp r10, rcx
jae 0x140109a72
nop dword [rax + rax]
aesdec xmm3, xmm11
aesenc xmm2, xmm10
aesenc xmm7, xmmword [rax]
add rax, 0x40
aesdec xmm1, xmm9
aesenc xmm0, xmm8
prefetcht0 byte [rdx]
aesdec xmm6, xmmword [rax - 0x30]
aesenc xmm5, xmmword [rax - 0x20]
aesdec xmm4, xmmword [rax - 0x10]
movups xmmword [rax - 0x40], xmm3
add rdx, 0x40
movups xmmword [rax - 0x30], xmm2
movups xmmword [rax - 0x20], xmm1
movups xmmword [rax - 0x10], xmm0
cmp rax, rcx
jb 0x140109a10
mov rax, rcx
sub rax, r10
sub rax, 1
and rax, 0xffffffffffffffc0
lea r10, [r10 + rax + 0x40]
add rcx, 0x1000
cmp rcx, rbx
je 0x140109a90
mov rdx, r11
jmp 0x140109a00
movups xmmword [r9], xmm3
movups xmm8, xmmword [rsp + 0x20]
movups xmm9, xmmword [rsp + 0x30]
movups xmmword [r9 + 0x30], xmm0
movdqu xmm0, xmmword [0x140237630]
movups xmm10, xmmword [rsp + 0x40]
movups xmmword [r9 + 0x10], xmm2
movups xmm11, xmmword [rsp + 0x50]
aesenc xmm7, xmm0
aesdec xmm6, xmm0
aesenc xmm5, xmm0
movups xmmword [r9 + 0x20], xmm1
aesdec xmm4, xmm0
movdqu xmm0, xmmword [0x140237640]
aesenc xmm7, xmm0
aesdec xmm6, xmm0
aesenc xmm5, xmm0
movups xmmword [r8], xmm7
movups xmm7, xmmword [rsp + 0x10]
aesdec xmm4, xmm0
movups xmmword [r8 + 0x10], xmm6
movups xmm6, xmmword [rsp]
movups xmmword [r8 + 0x20], xmm5
movups xmmword [r8 + 0x30], xmm4
add rsp, 0x60
pop rbx
ret

Function at 0x14012b520
Capabilities:
Encode data using xor

Disassembly:
endbr64
cmp rcx, rdx
je 0x14012b590
xor r9d, r9d
nop dword [rax]
mov r8, r9
mov rax, r9
add rcx, 1
shr rax, 2
shl r8, 6
add r8, rax
movsx eax, byte [rcx - 1]
sub eax, 0x61c88647
add r8, rax
xor r9, r8
cmp rdx, rcx
jne 0x14012b530
movabs rax, 0x200000005
mul r9
mov rax, r9
sub rax, rdx
shr rax, 1
add rdx, rax
mov rax, r9
shr rdx, 0x1e
mov rcx, rdx
shl rcx, 0x1f
sub rcx, rdx
sub rax, rcx
or eax, 0x40000000
ret
mov eax, 0x40000000
ret

Function at 0x14013f420
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
add rdx, qword [rcx + 0x9e8]
nop dword [rax]
mov rcx, qword [rdx + rax]
xor qword [r8 + rax], rcx
add rax, 8
cmp rax, 0x40
jne 0x14013f430
ret
Function at 0x14013f9d0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
add rdx, qword [rcx + 0x9e8]
nop dword [rax]
mov rcx, qword [rdx + rax]
xor qword [r8 + rax], rcx
add rax, 8
cmp rax, 0x40
jne 0x14013f9e0
ret
Function at 0x14013ff80
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
add rdx, qword [rcx + 0x9e8]
nop dword [rax]
mov rcx, qword [rdx + rax]
xor qword [r8 + rax], rcx
add rax, 8
cmp rax, 0x40
jne 0x14013ff90
ret
Function at 0x140140530
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
add rdx, qword [rcx + 0x9e8]
nop dword [rax]
mov rcx, qword [rdx + rax]
xor qword [r8 + rax], rcx
add rax, 8
cmp rax, 0x40
jne 0x140140540
ret