joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bb3e0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x14010e120]
test ecx, ecx
je 0x1400bb4d9
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400bb410
cmp qword [rax + 8], 0
je 0x1400bb410
add rax, 0x10
jmp 0x1400bb4d3
mov ecx, dword [0x14010e120]
test ecx, ecx
je 0x1400bb4ec
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400bb4b3
mov rsi, rax
test rax, rax
jne 0x1400bb483
movzx eax, byte [0x1401f5209]
mov ecx, 0x20
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400bb512
mov rsi, rax
lea rax, dbg.destroy_value_core::cell::Cell__usize__bool___
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14010e120]
test ecx, ecx
je 0x1400bb4ff
dec ecx
mov rdx, rsi
call fcn.1401030f4
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400bb4b7
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400bb4bf
xor eax, eax
jmp 0x1400bb4d3
call dbg.fallback_rng
mov rcx, rax
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
add rsp, 0x30
pop rsi
ret
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400bb3f5
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400bb420
lea rcx, dbg.destroy_value_core::cell::Cell__usize__bool___
call dbg.init
mov ecx, eax
jmp 0x1400bb47b
mov ecx, 8
mov edx, 0x20
call dbg.handle_alloc_error
ud2

Function at 0x1400bb764
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
cmp rdx, 0x20
jb sym.core::str::count::char_count_general_case::h377e411a914f0f48
jmp dbg.do_count_chars

Function at 0x1400c0c37
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rdx]
mov rcx, qword [rdx + 0x10]
mov rax, qword [rdx + 0x18]
cmp rcx, rax
jb 0x1400c0caa
mov rbx, rdx
mov rax, qword [rdx + 8]
mov r14, qword [rdx + 0x20]
mov rcx, qword [rdx + 0x28]
mov rcx, qword [rcx]
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8, rax
mov rdx, rdi
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x1400c0c8d
cdqe
cmp r14, rax
cmovbe r14, rax
jmp 0x1400c0c9b
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
Function at 0x1400e69d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.1400e69d0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

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

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e6ab0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
ret
Function at 0x1400f1680
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400f17a0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400f16e0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400f16e0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400f16e0
Function at 0x1400f5600
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400f56ae
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
cmp r8, 0x10
jb 0x1400f5759
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1400f56ae
cmp r8, 0
je 0x1400f581f
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1400f576f
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
ret
Function at 0x140103da0
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 0x140103e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401f5294]
mov rbx, rcx
test esi, esi
jle 0x140103f40
mov rax, qword [0x1401f5298]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140103e5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140103ee5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140103e40
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140103f62
mov rax, qword [0x1401f5298]
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 [0x1401f5298]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140103f47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140103ede
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140103ef0
add dword [0x1401f5294], 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 [0x1401f5298]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140103ede
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 0x140103e68
mov rax, qword [0x1401f5298]
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 0x1401044d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1401f5300]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401f52e0]
test rbx, rbx
je 0x14010452c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140104523
test rsi, rsi
je 0x140104523
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140104508
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 0x140104740
Capabilities:
Parse pe header

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

Function at 0x140104770
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 0x1401047bd
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 0x1401047b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1401047bf
add rax, 0x28
cmp rax, r9
jne 0x1401047a0
xor eax, eax
ret

Function at 0x1401047c0
Capabilities:
Parse pe header

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

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

Function at 0x1401048e0
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x1401b7430]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140104940
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140104948
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140104940
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140104990
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140104987
test rcx, rcx
je 0x140104940
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140104978
xor eax, eax
ret

Function at 0x1401049a0
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x1401b7430]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140104a92
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140104aa0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140104a92
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140104a92
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140104a92
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 0x140104af5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140104b08
add rdx, 0x28
cmp rdx, r10
jne 0x140104ae0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140104b17
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140104b27
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140104afe
test ecx, ecx
jg 0x140104b10
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140104d80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov ebp, 1
mov qword [rsp + 0x20], rcx
mov rdi, rdx
mov rdx, rcx
mov rcx, r8
mov rbx, r8
call dbg.aes_nohw_add_round_key
mov rcx, rbx
cmp rbp, rdi
jae 0x140104f5e
call dbg.aes_nohw_sub_bytes
mov rcx, rbx
call dbg.aes_nohw_shift_rows
mov r10, qword [rbx]
mov r14, qword [rbx + 8]
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
mov rcx, r10
mov r13, qword [rbx + 0x20]
mov r12, qword [rbx + 0x28]
call dbg.aes_nohw_rotate_rows_down
mov rcx, r14
mov r11, qword [rbx + 0x30]
mov rsi, qword [rbx + 0x38]
xor r10, rax
mov r15, rax
mov qword [rsp + 0x28], r10
call dbg.aes_nohw_rotate_rows_down
mov rcx, r9
xor r14, rax
mov r10, rax
mov qword [rsp + 0x30], r14
call dbg.aes_nohw_rotate_rows_down
mov rcx, r8
xor r9, rax
mov r14, rax
mov qword [rsp + 0x38], r9
call dbg.aes_nohw_rotate_rows_down
mov rcx, r13
xor r8, rax
mov r9, rax
mov qword [rsp + 0x40], r8
call dbg.aes_nohw_rotate_rows_down
mov rcx, r12
xor r13, rax
mov r8, rax
mov qword [rsp + 0x48], r13
call dbg.aes_nohw_rotate_rows_down
mov rcx, r11
xor r12, rax
mov r13, rax
mov qword [rsp + 0x50], r12
call dbg.aes_nohw_rotate_rows_down
mov rcx, rsi
xor r11, rax
mov r12, rax
mov qword [rsp + 0x58], r11
call dbg.aes_nohw_rotate_rows_down
mov rcx, qword [rsp + 0x28]
xor rsi, rax
mov r11, rax
call dbg.aes_nohw_rotate_rows_twice
mov rcx, qword [rsp + 0x30]
xor r15, rax
xor r15, rsi
mov qword [rbx], r15
call dbg.aes_nohw_rotate_rows_twice
mov rcx, qword [rsp + 0x38]
xor r10, rax
mov rax, qword [rsp + 0x28]
xor r10, rax
xor r10, rsi
mov qword [rbx + 8], r10
call dbg.aes_nohw_rotate_rows_twice
mov rcx, qword [rsp + 0x40]
xor r14, rax
mov rax, qword [rsp + 0x30]
xor r14, rax
mov qword [rbx + 0x10], r14
call dbg.aes_nohw_rotate_rows_twice
mov rcx, qword [rsp + 0x48]
xor r9, rax
mov rax, qword [rsp + 0x38]
xor r9, rax
xor r9, rsi
mov qword [rbx + 0x18], r9
call dbg.aes_nohw_rotate_rows_twice
mov rcx, qword [rsp + 0x50]
xor r8, rax
mov rax, qword [rsp + 0x40]
xor r8, rax
xor r8, rsi
mov qword [rbx + 0x20], r8
call dbg.aes_nohw_rotate_rows_twice
mov rcx, qword [rsp + 0x58]
xor r13, rax
mov rax, qword [rsp + 0x48]
xor r13, rax
mov qword [rbx + 0x28], r13
call dbg.aes_nohw_rotate_rows_twice
mov rcx, rsi
xor r12, rax
mov rax, qword [rsp + 0x50]
xor r12, rax
mov qword [rbx + 0x30], r12
call dbg.aes_nohw_rotate_rows_twice
mov rdx, rbp
mov rcx, rbx
inc rbp
xor r11, rax
mov rax, qword [rsp + 0x58]
shl rdx, 6
xor r11, rax
mov rax, qword [rsp + 0x20]
mov qword [rbx + 0x38], r11
add rdx, rax
call dbg.aes_nohw_add_round_key
jmp 0x140104dab
call dbg.aes_nohw_sub_bytes
mov rcx, rbx
shl rdi, 6
call dbg.aes_nohw_shift_rows
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
add rdx, rdi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.aes_nohw_add_round_key

Function at 0x140105850
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, qword [rcx + rax*8]
mov r9, qword [rdx + rax*8]
xor r9, r10
and r9, r8
xor r9, r10
mov qword [rcx + rax*8], r9
inc rax
cmp rax, 6
jne 0x140105852
ret
Function at 0x140105d40
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
neg r8
mov r10, qword [rcx + rax]
mov r9, qword [rdx + rax]
xor r9, r10
and r9, r8
xor r9, r10
mov qword [rcx + rax], r9
add rax, 8
cmp rax, 0x28
jne 0x140105d45
ret

Function at 0x140105d70
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
neg r8
mov r10, qword [rcx + rax]
mov r9, qword [rdx + rax]
xor r9, r10
and r9, r8
xor r10, r9
mov qword [rcx + rax], r10
xor qword [rdx + rax], r9
add rax, 8
cmp rax, 0x28
jne 0x140105d75
ret

Function at 0x140107980
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
xor edi, edi
lea rsi, [rsp + 0x20]
mov r9, rcx
lea rbx, [rsp + 0x50]
mov r10, rdx
mov rcx, rsi
lea r11, [rsp + 0x80]
call sym.limbs_zero.constprop.0
mov rcx, rbx
call sym.limbs_zero.constprop.0
mov rcx, r11
call sym.limbs_zero.constprop.0
mov rdx, r10
inc rdi
mov rax, rdi
xor rax, r8
mov rcx, rax
dec rax
not rcx
and rcx, rax
xor eax, eax
sar rcx, 0x3f
mov rbp, qword [rsi + rax*8]
mov r10, qword [rdx + rax*8]
xor r10, rbp
and r10, rcx
xor r10, rbp
mov rbp, qword [rbx + rax*8]
mov qword [rsi + rax*8], r10
mov r10, qword [rdx + rax*8 + 0x30]
xor r10, rbp
and r10, rcx
xor r10, rbp
mov rbp, qword [r11 + rax*8]
mov qword [rbx + rax*8], r10
mov r10, qword [rdx + rax*8 + 0x60]
xor r10, rbp
and r10, rcx
xor r10, rbp
mov qword [r11 + rax*8], r10
inc rax
cmp rax, 6
jne 0x1401079db
add rdx, 0x90
cmp rdi, 0x10
jne 0x1401079c0
mov rdx, rsi
mov rcx, r9
call sym.limbs_copy.constprop.0
lea rcx, [r9 + 0x30]
mov rdx, rbx
call sym.limbs_copy.constprop.0
lea rcx, [r9 + 0x60]
mov rdx, r11
call sym.limbs_copy.constprop.0
nop
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140109ce0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4d8
mov r12, rcx
mov rbp, rdx
mov rbx, r8
mov r13, r9
test r8, r8
je 0x140109e7c
lea rax, [rsp + 0x110]
mov rdx, r9
mov rcx, rax
mov qword [rsp + 0x28], rax
call dbg.aes_nohw_expand_round_keys
lea r9, [rsp + 0x50]
lea r10, [rsp + 0x90]
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x540]
mov rcx, r9
mov r8d, 0x10
add r9, 0x10
call sym.OPENSSL_memcpy.isra.0_1
cmp r9, r10
jne 0x140109d32
lea rax, [rsp + 0xd0]
lea rdx, [rsp + 0x5c]
mov r8d, 4
mov rcx, rax
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0x90]
call sym.OPENSSL_memcpy.isra.0_1
mov edi, dword [rsp + 0xd0]
bswap edi
lea r10, [rsp + 0x5c]
xor r9d, r9d
mov rdx, qword [rsp + 0x20]
lea eax, [rdi + r9]
mov rcx, r10
mov r8d, 4
inc r9
bswap eax
add r10, 0x10
mov dword [rsp + 0xd0], eax
call sym.OPENSSL_memcpy.isra.0_1
cmp r9, 4
jne 0x140109d8a
mov esi, 4
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
lea r15, [rsp + 0x48]
cmp rbx, rsi
cmovbe rsi, rbx
mov r8, rsi
call dbg.aes_nohw_to_batch
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov edx, dword [r13 + 0xf0]
call dbg.aes_nohw_encrypt_batch
mov r8, qword [rsp + 0x20]
mov rdx, rsi
mov rcx, r14
call dbg.aes_nohw_from_batch
lea rax, [rsp + 0x40]
mov r11, rsi
xor r9d, r9d
mov qword [rsp + 0x30], rax
shl r11, 4
mov r10, r9
mov rcx, qword [rsp + 0x30]
lea rdx, [r12 + r10]
mov r8d, 8
call sym.OPENSSL_memcpy.isra.0_1
lea rdx, [r14 + r10]
mov rcx, r15
call sym.OPENSSL_memcpy.isra.0_1
mov rdx, qword [rsp + 0x48]
xor qword [rsp + 0x40], rdx
lea rcx, [rbp + r10]
mov rdx, qword [rsp + 0x30]
add r10, 8
call sym.OPENSSL_memcpy.isra.0_1
lea rdx, [r9 + 0x10]
cmp rdx, r10
jne 0x140109e17
cmp r10, r11
je 0x140109e67
mov r9, r10
jmp 0x140109e14
sub rbx, rsi
je 0x140109e7c
add r12, 0x40
add rbp, 0x40
add edi, 4
jmp 0x140109d82
add rsp, 0x4d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret