joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140224d50
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.140224d50
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 0x140224e5a
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 0x140224e30
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 0x14022fa00
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 0x14022fb20
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 0x14022fa60
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 0x14022fa60
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 0x14022fa60
Function at 0x140233980
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x140233a2e
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 0x140233ad9
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 0x140233a2e
cmp r8, 0
je 0x140233b9f
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 0x140233aef
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 0x1402436f0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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 fcn.140244510
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.140244510
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x140243760
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14039c264]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140243910
mov rax, qword [0x14039c268]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1402437ac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140243837
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140243790
mov rcx, r12
call fcn.140244210
mov rbp, rax
test rax, rax
je 0x14024396d
mov rax, qword [0x14039c268]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.140244340
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14039c268]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140243952
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140243830
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1402438c0
add dword [0x14039c264], 1
cmp ebx, 8
jae 0x140243868
test bl, 4
jne 0x140243920
test ebx, ebx
je 0x140243859
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140243940
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140243859
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14024389a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14039c268]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140243830
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1402436f0
xor edi, edi
jmp 0x1402437b7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140243859
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140243859
mov rax, qword [0x14039c268]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.1402436f0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1402436f0
nop
nop dword [rax]
Function at 0x140243e80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14039c2c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14039c2a0]
test rbx, rbx
je 0x140243ed4
mov rdi, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rsi, qword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140243ecb
test r12, r12
je 0x140243ecb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140243eb0
lea rcx, [0x14039c2c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140244210
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140347d20]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140244289
mov rcx, r10
call fcn.1402440e0
test eax, eax
je 0x140244289
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140244286
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14024427d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140244289
add r8, 0x28
cmp r8, r9
jne 0x140244268
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140244720
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r8, qword [rdx + rax*8]
xor qword [rcx + rax*8], r8
inc rax
cmp rax, 8
jne 0x140244642
ret
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov esi, 1
mov qword [rsp + 0x50], rdx
mov rbx, rcx
mov rdx, rcx
mov rcx, r8
mov r12, r8
call 0x140244640
mov rcx, r12
cmp rsi, qword [rsp + 0x50]
jae 0x1402448ec
call fcn.140244ba0
call fcn.140244ac0
mov r9, qword [r12]
mov rbp, qword [r12 + 8]
mov rdi, qword [r12 + 0x10]
mov r8, qword [r12 + 0x18]
mov rcx, r9
mov r10, qword [r12 + 0x20]
mov r14, qword [r12 + 0x28]
call fcn.140244a60
mov rcx, rbp
mov r13, qword [r12 + 0x30]
mov r11, qword [r12 + 0x38]
xor r9, rax
mov r15, rax
mov qword [rsp + 0x20], r9
call fcn.140244a60
mov rcx, rdi
xor rbp, rax
mov r9, rax
mov qword [rsp + 0x28], rbp
call fcn.140244a60
mov rcx, r8
xor rdi, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rdi
call fcn.140244a60
mov rcx, r10
xor r8, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r8
call fcn.140244a60
mov rcx, r14
xor r10, rax
mov r8, rax
mov qword [rsp + 0x48], r10
call fcn.140244a60
mov rcx, r13
xor r14, rax
mov rbp, rax
call fcn.140244a60
mov rcx, r11
xor r13, rax
mov rdi, rax
call fcn.140244a60
mov rcx, qword [rsp + 0x20]
xor r11, rax
mov r10, rax
call fcn.140244a90
mov rcx, qword [rsp + 0x28]
xor r15, rax
xor r15, r11
mov qword [r12], r15
call fcn.140244a90
mov rcx, qword [rsp + 0x30]
xor r9, rax
xor r9, qword [rsp + 0x20]
xor r9, r11
mov qword [r12 + 8], r9
call fcn.140244a90
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
xor rdx, rax
xor rdx, qword [rsp + 0x28]
mov qword [r12 + 0x10], rdx
call fcn.140244a90
xor rax, qword [rsp + 0x38]
xor rax, qword [rsp + 0x30]
xor rax, r11
mov rcx, qword [rsp + 0x48]
mov qword [r12 + 0x18], rax
call fcn.140244a90
mov rcx, r14
xor r8, rax
xor r8, qword [rsp + 0x40]
xor r8, r11
mov qword [r12 + 0x20], r8
call fcn.140244a90
mov rcx, r13
xor rbp, rax
xor rbp, qword [rsp + 0x48]
mov qword [r12 + 0x28], rbp
call fcn.140244a90
mov rcx, r11
xor rdi, rax
xor r14, rdi
mov qword [r12 + 0x30], r14
call fcn.140244a90
mov rdx, rsi
mov rcx, r12
inc rsi
xor r10, rax
shl rdx, 6
xor r13, r10
add rdx, rbx
mov qword [r12 + 0x38], r13
call 0x140244640
jmp 0x14024474b
call fcn.140244ba0
call fcn.140244ac0
mov rdx, qword [rsp + 0x50]
mov rcx, r12
shl rdx, 6
add rdx, rbx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x140244640

Function at 0x1402451f0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r9, rdx
mov r10, qword [rcx + rax*8]
mov rdx, qword [r9 + rax*8]
xor rdx, r10
and rdx, r8
xor rdx, r10
mov qword [rcx + rax*8], rdx
inc rax
cmp rax, 6
jne 0x1402451f5
ret

Function at 0x140245720
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r9, rdx
neg r8
mov r10, qword [rcx + rax]
mov rdx, qword [r9 + rax]
xor rdx, r10
and rdx, r8
xor rdx, r10
mov qword [rcx + rax], rdx
add rax, 8
cmp rax, 0x28
jne 0x140245728
ret
Function at 0x140245750
Capabilities:
Encode data using xor

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

Function at 0x1402473f0
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0xb8
lea r13, [rsp + 0x20]
mov r9, rcx
lea r12, [rsp + 0x50]
mov rbx, r8
mov rcx, r13
lea r11, [rsp + 0x80]
call fcn.140246bb0
mov rcx, r12
call fcn.140246bb0
mov rcx, r11
call fcn.140246bb0
mov rcx, rdx
xor r8d, r8d
inc r8
mov rax, r8
xor rax, rbx
mov rdx, rax
dec rax
not rdx
and rdx, rax
xor eax, eax
sar rdx, 0x3f
mov rsi, qword [r13 + rax*8]
mov r10, qword [rcx + rax*8]
xor r10, rsi
and r10, rdx
xor r10, rsi
mov rsi, qword [r12 + rax*8]
mov qword [r13 + rax*8], r10
mov r10, qword [rcx + rax*8 + 0x30]
xor r10, rsi
and r10, rdx
xor r10, rsi
mov rsi, qword [r11 + rax*8]
mov qword [r12 + rax*8], r10
mov r10, qword [rcx + rax*8 + 0x60]
xor r10, rsi
and r10, rdx
xor r10, rsi
mov qword [r11 + rax*8], r10
inc rax
cmp rax, 6
jne 0x14024744e
add rcx, 0x90
cmp r8, 0x10
jne 0x140247433
mov rdx, r13
mov rcx, r9
call fcn.140246b70
lea rcx, [r9 + 0x30]
mov rdx, r12
call fcn.140246b70
lea rcx, [r9 + 0x60]
mov rdx, r11
call fcn.140246b70
nop
add rsp, 0xb8
pop rbx
pop rsi
pop r12
pop r13
ret
Function at 0x1402499a0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r11, rcx
mov rbx, r8
cmp edx, 0x80
je 0x140249a36
mov eax, 1
cmp edx, 0x100
jne 0x140249c5c
lea rdi, [rsp + 0x20]
mov rdx, rcx
lea rbp, [rsp + 0x30]
mov dword [r8 + 0xf0], 0xe
mov rcx, rdi
mov esi, 2
lea r12, [rsp + 0x40]
lea r13, [0x1403483a0]
call fcn.140244660
mov r8d, 0x10
mov rcx, rbx
mov rdx, rdi
call fcn.140244570
lea rdx, [r11 + 0x10]
mov rcx, rbp
call fcn.140244660
lea rcx, [rbx + 0x10]
mov rdx, rbp
add rbx, 0x20
mov r8d, 0x10
call fcn.140244570
jmp 0x140249b2d
lea rdi, [rsp + 0x30]
mov rdx, rcx
lea rsi, [rbx + 0x10]
mov dword [r8 + 0xf0], 0xa
mov rcx, rdi
lea rbp, [0x1403483a0]
lea r12, [rsp + 0x40]
call fcn.140244660
mov rcx, rbx
mov r8d, 0x10
mov rdx, rdi
call fcn.140244570
add rbx, 0xb0
mov rdx, rdi
mov rcx, r12
inc rbp
call fcn.140244b30
mov rcx, qword [rsp + 0x40]
mov r8b, byte [rbp - 1]
call fcn.140244a60
mov rdx, qword [rsp + 0x30]
shr rax, 0x30
xor rdx, rax
mov rax, r8
shr r8, 4
and eax, 0xf
and r8d, 0xf
xor rdx, rax
mov rax, rdx
mov rcx, rdx
shl rcx, 0x10
shl rax, 0x20
xor rax, rcx
mov rcx, qword [rsp + 0x48]
xor rax, rdx
shl rdx, 0x30
xor rdx, rax
mov qword [rsp + 0x30], rdx
call fcn.140244a60
shr rax, 0x30
xor rax, qword [rsp + 0x38]
xor rax, r8
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
mov rcx, rsi
add rsi, 0x10
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rdi
mov qword [rsp + 0x38], rax
call fcn.140244570
cmp rbx, rsi
jne 0x140249a79
xor eax, eax
jmp 0x140249c5c
mov rdx, rbp
mov rcx, r12
lea r14, [rbx + 0x20]
call fcn.140244b30
mov rcx, qword [rsp + 0x40]
mov rax, rsi
shr rax, 1
mov r8b, byte [r13 + rax - 1]
call fcn.140244a60
mov rdx, qword [rsp + 0x20]
shr rax, 0x30
xor rdx, rax
mov rax, r8
shr r8, 4
and eax, 0xf
and r8d, 0xf
xor rdx, rax
mov rax, rdx
mov rcx, rdx
shl rcx, 0x10
shl rax, 0x20
xor rax, rcx
mov rcx, qword [rsp + 0x48]
xor rax, rdx
shl rdx, 0x30
xor rdx, rax
mov qword [rsp + 0x20], rdx
call fcn.140244a60
shr rax, 0x30
xor rax, qword [rsp + 0x28]
xor rax, r8
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
mov rcx, rbx
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rdi
mov qword [rsp + 0x28], rax
call fcn.140244570
cmp rsi, 0xe
je 0x140249b26
mov rdx, rdi
mov rcx, r12
add rsi, 2
call fcn.140244b30
movzx eax, word [rsp + 0x46]
xor rax, qword [rsp + 0x30]
mov r8d, 0x10
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov qword [rsp + 0x30], rax
movzx eax, word [rsp + 0x4e]
xor rax, qword [rsp + 0x38]
mov rdx, rax
mov rcx, rax
shl rcx, 0x20
shl rdx, 0x10
xor rdx, rcx
lea rcx, [rbx + 0x10]
mov rbx, r14
xor rdx, rax
shl rax, 0x30
xor rax, rdx
mov rdx, rbp
mov qword [rsp + 0x38], rax
call fcn.140244570
jmp 0x140249b2d
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140249c70
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov ebx, 1
xor r8d, r8d
mov edx, 1
shl rbx, 0x3f
mov r10, rcx
mov ecx, 0x40
mov rax, rdx
mov r11, r10
shr r8, 1
and eax, 1
neg rax
and r11, rax
and rax, rbx
mov r9, r11
add r8, rax
xor r9, rdx
and rdx, r11
shr r9, 1
add rdx, r9
dec rcx
jne 0x140249c8a
mov rax, r8
pop rbx
ret

Function at 0x14024aad0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov al, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rcx + 0x1f], al
ret

Function at 0x14024d290
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rbx
sub rsp, 0x198
movsx r10, r8b
mov eax, r8d
mov r9d, r8d
mov r12, rcx
mov rbx, r10
lea rdi, [rsp + 0xb8]
mov ecx, 0x18
movsxd rdx, edx
sar rbx, 0x3f
imul rdx, rdx, 0x300
lea r11, [rsp + 0xb8]
and eax, ebx
add eax, eax
sub r9d, eax
xor eax, eax
rep stosd dword [rdi], eax
mov rax, r10
dec r10
movzx r9d, r9b
not rax
and rax, r10
mov r10d, 1
sar rax, 0x3f
and eax, 1
mov byte [rsp + 0xb8], al
mov byte [rsp + 0xd8], al
lea rax, [0x14036e000]
add rdx, rax
mov rcx, r9
xor rcx, r10
mov rax, rcx
dec rcx
not rax
and rax, rcx
xor ecx, ecx
sar rax, 0x3f
mov r8b, byte [rdx + rcx]
and r8d, eax
xor byte [r11 + rcx], r8b
inc rcx
cmp rcx, 0x60
jne 0x14024d32c
inc r10
add rdx, 0x60
cmp r10, 9
jne 0x14024d314
lea r14, [rsp + 0x40]
mov rdx, r11
lea r15, [rsp + 0x68]
neg rbx
mov rcx, r14
lea r13, [rsp + 0x90]
call fcn.140245f50
lea rdx, [rsp + 0xd8]
mov rcx, r15
call fcn.140245f50
lea rdx, [rsp + 0xf8]
mov rcx, r13
call fcn.140245f50
lea r10, [r12 + 0x28]
mov rdx, r14
mov rcx, r12
lea r9, [r12 + 0x50]
lea r11, [rsp + 0x118]
call fcn.140245800
mov rcx, r10
mov rdx, r15
mov qword [rsp + 0x38], r10
call fcn.140245800
mov rcx, r9
mov rdx, r13
mov qword [rsp + 0x30], r9
call fcn.140245800
mov rcx, r11
mov rdx, r15
mov qword [rsp + 0x28], r11
call fcn.140245800
lea r15, [rsp + 0x140]
mov rdx, r14
lea r14, [rsp + 0x168]
mov rcx, r15
call fcn.140245800
mov rdx, r13
mov rcx, r14
call fcn.140246130
mov r11, qword [rsp + 0x28]
mov r8, rbx
mov rcx, r12
mov rdx, r11
call fcn.140245720
mov r10, qword [rsp + 0x38]
mov r8, rbx
mov rdx, r15
mov rcx, r10
call fcn.140245720
mov r9, qword [rsp + 0x30]
mov r8, rbx
mov rdx, r14
mov rcx, r9
call fcn.140245720
nop
add rsp, 0x198
pop rbx
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400038c0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rdx
mov rsi, r9
mov rbp, r8
sub r14, qword [r9 + 0x30]
je 0x140003a42
test byte [r9 + 0x5e], 0x40
jne 0x1400038ed
xor al, al
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx edx, word [r9 + 0x14]
movzx eax, word [r9 + 6]
add rdx, 0x18
mov r8d, dword [r9 + 0xb0]
add rdx, rsi
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140003a42
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140003928
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000393c
add rdx, 0x28
cmp rdx, r9
jb 0x140003916
mov al, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x140003a38
cmp rbx, r15
jae 0x140003a38
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x140003a33
add eax, 0xfffffff8
shr eax, 1
je 0x140003a24
lea r11, [rbx + 8]
mov edi, eax
nop
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x1400039b2
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x1400039be
cmp ax, 0xa
jne 0x140003a16
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x140003a0b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x1400039f2
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x1400039fd
add rax, 0x28
cmp rax, r10
jb 0x1400039e0
jmp 0x140003a0b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x140003a0e
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x140003990
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x140003973
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov al, 1
pop r14
pop rsi
ret