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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140002e60
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x1400020d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008094]
test esi, esi
mov rbx, rcx
jle 0x140002200
mov rax, qword [0x140008098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000211b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400021a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002100
mov rcx, rbx
call fcn.140002b40
test rax, rax
mov rdi, rax
je 0x140002222
mov rax, qword [0x140008098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002c80
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002207
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000219e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400021b0
add dword [0x140008094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140008098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000219e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002060
nop dword [rax]
xor esi, esi
jmp 0x140002128
mov rax, qword [0x140008098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.140002060
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.140002060
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140002790
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x1400027ec
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 0x1400027e3
test rsi, rsi
je 0x1400027e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400027c8
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 0x140002a00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002a38
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002a40
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002a10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002a38
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002a40
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002a20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002a38
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002a40
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

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

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

Function at 0x140002bc0
Capabilities:
Parse pe header

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

Disassembly:
mov rax, qword [0x1400055d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002c9f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002ca8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140013d40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or r9d, 0xffffffff
mov r11d, edx
xor r10d, r10d
test edx, edx
je 0x140013d74
movzx edx, byte [r10 + rcx]
mov eax, r9d
xor rdx, rax
shr r9d, 8
movzx r8d, dl
lea rax, [0x14017e910]
inc r10
xor r9d, dword [rax + r8*4]
cmp r10, r11
jb 0x140013d4e
not r9d
mov eax, r9d
ret
Function at 0x140016f20
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

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, 0x20
mov rdi, r9
mov rbp, r8
mov esi, edx
mov rbx, rcx
cmp edx, 1
jbe 0x140016f53
mov eax, 0xffffffdf
jmp 0x140017023
mov ecx, 0x2000000
call fcn.140017660
test eax, eax
je 0x140016f76
mov rcx, rbx
shr rcx, 2
and ecx, 3
je 0x140016f76
mov eax, 4
sub eax, ecx
jmp 0x140016f78
xor eax, eax
mov rdx, qword [rbx + 8]
mov r14d, eax
cmp r14, rdx
je 0x140016fa7
mov eax, dword [rbx]
lea rcx, [rbx + 0x10]
add rdx, 4
lea rcx, [rcx + r14*4]
inc eax
shl eax, 4
movsxd r8, eax
lea rdx, [rbx + rdx*4]
call fcn.14014d312
mov qword [rbx + 8], r14
mov ecx, 0x2000000
call fcn.140017660
test eax, eax
je 0x140017009
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rbp]
lea rcx, [rbx + rax*4]
mov eax, dword [rbx]
xorps xmm0, xmmword [rcx + 0x10]
dec eax
add rcx, 0x20
test esi, esi
jne 0x140016fea
test eax, eax
je 0x140016fe3
aesdec xmm0, xmmword [rcx]
add rcx, 0x10
add eax, 0xffffffff
jne 0x140016fd5
aesdeclast xmm0, xmmword [rcx]
jmp 0x140017001
test eax, eax
je 0x140016ffc
aesenc xmm0, xmmword [rcx]
add rcx, 0x10
add eax, 0xffffffff
jne 0x140016fee
aesenclast xmm0, xmmword [rcx]
movdqu xmmword [rdi], xmm0
xor eax, eax
jmp 0x140017023
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
cmp esi, 1
jne 0x14001701e
call fcn.1400164bc
jmp 0x140017023
call fcn.1400169ec
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140017830
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rdx]
movdqa xmm1, xmm0
movdqu xmmword [rcx], xmm0
aeskeygenassist xmm0, xmm0, 1
pshufd xmm3, xmm0, 0xff
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
pslldq xmm1, 4
xorps xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
xorps xmm0, xmm1
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm2, xmm3
xorps xmm2, xmm0
pslldq xmm3, 4
xorps xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
xorps xmm0, xmm1
movdqa xmm3, xmm2
xorps xmm3, xmm0
pslldq xmm2, 4
xorps xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
xorps xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
xorps xmm0, xmm1
movdqa xmm1, xmm3
xorps xmm1, xmm0
pslldq xmm3, 4
xorps xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret
Function at 0x140018238
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov eax, dword [rdx]
mov rdi, r9
xor eax, dword [r8]
lea r9, [rbp + 0x38]
mov dword [rbp + 0x20], eax
mov rbx, rcx
mov eax, dword [rdx + 4]
lea rcx, [rbp + 0x20]
xor eax, dword [r8 + 4]
mov dword [rbp + 0x28], eax
mov eax, dword [rdx + 8]
xor eax, dword [r8 + 8]
mov dword [rbp + 0x30], eax
mov eax, dword [rdx + 0xc]
lea rdx, [rbp + 0x28]
xor eax, dword [r8 + 0xc]
lea r8, [rbp + 0x30]
mov dword [rbp + 0x38], eax
lea rax, [0x14017f5d0]
mov qword [r11 - 0x20], rax
lea rax, [0x14017f6d0]
mov qword [r11 - 0x28], rax
lea rax, [0x14017f4d0]
mov qword [r11 - 0x30], rax
lea rax, str.cw
mov qword [r11 - 0x38], rax
call fcn.14001810c
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.140017fe4
mov eax, dword [rbp + 0x20]
xor eax, dword [rdi]
mov dword [rbx], eax
mov eax, dword [rbp + 0x28]
xor eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rbp + 0x30]
xor eax, dword [rdi + 8]
mov dword [rbx + 8], eax
mov eax, dword [rbp + 0x38]
xor eax, dword [rdi + 0xc]
mov dword [rbx + 0xc], eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret

Function at 0x1400182f4
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov eax, dword [rdx]
mov rdi, r9
xor eax, dword [r8]
lea r9, [rbp + 0x38]
mov dword [rbp + 0x20], eax
mov rbx, rcx
mov eax, dword [rdx + 4]
lea rcx, [rbp + 0x20]
xor eax, dword [r8 + 4]
mov dword [rbp + 0x28], eax
mov eax, dword [rdx + 8]
xor eax, dword [r8 + 8]
mov dword [rbp + 0x30], eax
mov eax, dword [rdx + 0xc]
lea rdx, [rbp + 0x28]
xor eax, dword [r8 + 0xc]
lea r8, [rbp + 0x30]
mov dword [rbp + 0x38], eax
lea rax, [0x14017f4d0]
mov qword [r11 - 0x20], rax
lea rax, str.cw
mov qword [r11 - 0x28], rax
lea rax, [0x14017f5d0]
mov qword [r11 - 0x30], rax
lea rax, [0x14017f6d0]
mov qword [r11 - 0x38], rax
call fcn.14001810c
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call fcn.140017fe4
mov eax, dword [rbp + 0x20]
xor eax, dword [rdi]
mov dword [rbx], eax
mov eax, dword [rbp + 0x28]
xor eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rbp + 0x30]
xor eax, dword [rdi + 8]
mov dword [rbx + 8], eax
mov eax, dword [rbp + 0x38]
xor eax, dword [rdi + 0xc]
mov dword [rbx + 0xc], eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400183b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movzx r10d, r9b
mov rdi, r8
mov r9b, r10b
mov rbx, rdx
and r9b, 0x1f
shr r10d, 5
mov r11, rcx
and r10d, 0x80000003
jge 0x1400183ee
dec r10d
or r10d, 0xfffffffc
inc r10d
movzx eax, r10b
mov ecx, 0x20
sub cl, r9b
movzx ebp, r9b
mov r8d, dword [r8 + rax*4]
mov al, r9b
neg al
mov r9d, 4
bswap r8d
sbb al, al
and al, cl
movzx esi, al
sub rbx, r11
inc r10b
mov ecx, ebp
shl r8d, cl
and r10b, 3
movzx eax, r10b
mov ecx, esi
mov edx, dword [rdi + rax*4]
bswap edx
mov eax, edx
shr eax, cl
or r8d, eax
bswap r8d
xor r8d, dword [rbx + r11]
mov dword [r11], r8d
mov r8d, edx
lea r11, [r11 + 4]
sub r9, 1
jne 0x14001841a
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14001d604
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140250028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, qword [rsp + 0x90]
lea rax, [r11 - 0x38]
and qword [r11 - 0x38], 0
mov rbp, rdx
lea rdx, [rcx + 0x10]
mov qword [r11 - 0x48], rax
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea r9, [r11 - 0x30]
xorps xmm0, xmm0
add rcx, 0x20
mov r8d, 0x10
movups xmmword [rsp + 0x38], xmm0
call fcn.14001eb98
mov edx, eax
test eax, eax
je 0x14001d675
or dword [rbx + 0xa4], 0x10
jmp 0x14001d69c
test rsi, rsi
je 0x14001d69a
sub rbp, rdi
lea rdx, [rsp + 0x38]
add rdx, rbp
sub r14, rdi
mov al, byte [rdx + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rsi, 1
jne 0x14001d688
xor edx, edx
xor eax, eax
lea rdi, [rsp + 0x38]
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
mov eax, edx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014b850
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14001d8a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, r8
mov ecx, dword [rcx + 0xa4]
mov rsi, rdx
test cl, 0x10
jne 0x14001d9e3
test r8, r8
je 0x14001d9d6
test cl, 8
jne 0x14001d9e3
mov rdx, qword [rbx + 0x88]
test cl, 4
jne 0x14001d90a
cmp r8, rdx
ja 0x14001d9e3
mov al, byte [rbx + 0x89]
xor byte [rbx], al
mov al, byte [rbx + 0x88]
xor byte [rbx + 1], al
or ecx, 4
mov dword [rbx + 0xa4], ecx
jmp 0x14001d91d
mov rcx, qword [rbx + 0x98]
add rcx, r8
cmp rcx, rdx
ja 0x14001d9e3
mov r8, qword [rbx + 0x98]
mov eax, 0x10
add r8, 2
mov rcx, rdi
and r8d, 0xf
sub rax, r8
cmp rax, rdi
cmovbe rcx, rax
test rcx, rcx
je 0x14001d962
mov r9, rsi
lea rdx, [r8 + rbx]
sub r9, r8
mov r10, rcx
sub r9, rbx
mov al, byte [r9 + rdx]
xor byte [rdx], al
inc rdx
sub r10, 1
jne 0x14001d953
mov rdx, qword [rbx + 0x98]
lea rax, [rcx + r8]
add rdx, rcx
sub rdi, rcx
add rsi, rcx
mov qword [rbx + 0x98], rdx
cmp rax, 0x10
je 0x14001d98c
cmp rdx, qword [rbx + 0x88]
jne 0x14001d9af
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rbx + 0x20]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov rdx, rbx
call fcn.14001eb98
test eax, eax
jne 0x14001d9da
test rdi, rdi
jne 0x14001d91d
mov rax, qword [rbx + 0x88]
cmp qword [rbx + 0x98], rax
jne 0x14001d9d6
or dword [rbx + 0xa4], 8
and qword [rbx + 0x98], rdi
xor eax, eax
jmp 0x14001d9e8
or dword [rbx + 0xa4], 0x10
jmp 0x14001d9e8
mov eax, 0xfffffff3
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001d9f8
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140250028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test byte [rcx + 0xa4], 0x10
mov r14, r8
mov rdi, qword [rsp + 0xd8]
mov r13, rdx
mov qword [rsp + 0x30], r9
mov rbx, rcx
jne 0x14001dc47
cmp qword [rcx + 0x90], 0
lea r15, [rcx + 0x98]
je 0x14001da5f
mov rcx, qword [r15]
add rcx, r8
cmp rcx, qword [rbx + 0x80]
ja 0x14001dc47
cmp qword [rsp + 0xd0], r8
jb 0x14001dc47
xor ebp, ebp
mov qword [rdi], r8
test r8, r8
je 0x14001dc37
mov rcx, qword [r15]
mov eax, 0x10
mov rdi, rcx
mov rsi, r14
and edi, 0xf
sub rax, rdi
cmp rax, r14
cmovbe rsi, rax
lea rax, [rsi + rcx]
mov qword [r15], rax
mov al, byte [rbx + 0xa1]
dec al
test al, 0xfd
je 0x14001dab2
lea r12, [rsi + rdi]
jmp 0x14001db39
test rsi, rsi
je 0x14001dad5
mov rdx, r13
lea rcx, [rbx + rdi]
sub rdx, rbx
mov r8, rsi
sub rdx, rdi
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x14001dac7
lea r12, [rsi + rdi]
cmp r12, 0x10
je 0x14001daeb
mov rax, qword [rbx + 0x80]
cmp qword [r15], rax
jne 0x14001db19
lea rax, [rsp + 0x38]
mov r9, rbx
lea rcx, [rbx + 0x20]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov rdx, rbx
call fcn.14001eb98
mov ebp, eax
test eax, eax
jne 0x14001dc30
mov r9, qword [rsp + 0x30]
mov qword [rsp + 0x20], r9
mov r8, rsi
mov r9, r13
mov rdx, rdi
mov rcx, rbx
call fcn.14001d604
mov ebp, eax
test eax, eax
jne 0x14001dc37
test byte [rbx + 0xa1], 0xfd
jne 0x14001dbe3
lea rax, [rsp + 0x40]
mov r9, r13
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.14001d604
mov ebp, eax
test eax, eax
jne 0x14001dc37
test rsi, rsi
je 0x14001db90
lea rdx, [rsp + 0x40]
sub rdx, rbx
lea rcx, [rbx + rdi]
sub rdx, rdi
mov rdi, rsi
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub rdi, 1
jne 0x14001db82
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8, rsi
call fcn.14014d59b
xor eax, eax
lea rdi, [rsp + 0x40]
lea edx, [rax + 0x10]
mov ecx, edx
rep stosb byte [rdi], al
cmp r12, rdx
je 0x14001dbc1
mov rax, qword [rbx + 0x80]
cmp qword [r15], rax
jne 0x14001dbe9
lea rax, [rsp + 0x38]
mov r8, rdx
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea rcx, [rbx + 0x20]
mov r9, rbx
call fcn.14001eb98
mov ebp, eax
test eax, eax
jne 0x14001dc30
cmp r12, 0x10
je 0x14001dbf5
mov rax, qword [rbx + 0x80]
cmp qword [r15], rax
jne 0x14001dc18
xor dl, dl
cmp byte [rbx + 0xa0], dl
jbe 0x14001dc18
movzx eax, dl
mov rcx, rbx
sub rcx, rax
add byte [rcx + 0x1f], 1
jne 0x14001dc18
inc dl
cmp dl, byte [rbx + 0xa0]
jb 0x14001dbff
mov r9, qword [rsp + 0x30]
add r13, rsi
add r9, rsi
mov qword [rsp + 0x30], r9
sub r14, rsi
jmp 0x14001da75
or dword [rbx + 0xa4], 0x10
xor eax, eax
lea rdi, [rsp + 0x40]
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
mov eax, ebp
jmp 0x14001dc4c
mov eax, 0xfffffff3
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014b850
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001dde8
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140250028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0xc8]
mov rbx, r8
mov rax, qword [rsp + 0xd8]
lea r8, [r11 - 0x38]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe0]
mov qword [r11 - 0x48], rdi
mov qword [r11 - 0x50], r8
mov r8, rbx
mov qword [r11 - 0x58], rsi
mov qword [r11 - 0x60], rax
mov rax, qword [rsp + 0xd0]
mov qword [r11 - 0x68], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x70], rdx
xor edx, edx
mov qword [r11 - 0x78], rax
call fcn.14001dd38
test eax, eax
jne 0x14001deaf
xor edx, edx
xor r8b, r8b
test rdi, rdi
je 0x14001dead
mov r9, qword [rsp + 0xe8]
xor eax, eax
movzx ecx, byte [rax + r9]
inc r8b
movzx eax, byte [rsp + rax + 0x60]
xor ecx, eax
movzx eax, r8b
or edx, ecx
cmp rax, rdi
jb 0x14001de79
test edx, edx
je 0x14001dead
test rbx, rbx
je 0x14001dea6
mov rdi, rsi
xor eax, eax
mov rcx, rbx
rep stosb byte [rdi], al
mov eax, 0xfffffff1
jmp 0x14001deaf
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14014b850
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001e264
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r14d, r14d
mov r12, r9
mov r13, r8
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14001e2c4
mov rdx, r8
mov rcx, r9
sub rdx, r9
mov r8, qword [rbx + 0x80]
cmp r8, 0x40
jae 0x14001e2c4
mov al, byte [rdx + rcx]
inc r14
xor al, byte [r8 + rbx + 0x40]
mov byte [rcx], al
inc rcx
inc qword [rbx + 0x80]
sub rdi, 1
jne 0x14001e29a
lea rsi, [rbx + 0x40]
cmp rdi, 0x40
jb 0x14001e354
lea rax, [r14 + r13]
mov rbp, rdi
mov qword [rsp + 0x78], rax
mov r15, rbx
mov r12, qword [rsp + 0x78]
sub r15, r14
shr rbp, 6
sub r15, r13
mov rax, r9
add r15, 0x40
sub rax, r13
mov qword [rsp + 0x20], rax
imul rax, rbp, 0xffffffffffffffc0
add rdi, rax
mov rax, rbp
shl rax, 6
add r14, rax
mov rdx, rsi
mov rcx, rbx
call fcn.14001e1b4
inc dword [rbx + 0x30]
mov rcx, r12
mov r8, qword [rsp + 0x20]
mov edx, 0x40
mov al, byte [r15 + rcx]
xor al, byte [rcx]
mov byte [r8 + rcx], al
inc rcx
sub rdx, 1
jne 0x14001e32b
sub r15, 0x40
add r12, 0x40
sub rbp, 1
jne 0x14001e310
mov r12, qword [rsp + 0x88]
test rdi, rdi
je 0x14001e390
mov rdx, rsi
mov rcx, rbx
call fcn.14001e1b4
inc dword [rbx + 0x30]
mov rcx, rdi
sub r14, rbx
lea rdx, [r14 + r13]
lea r8, [r14 + r12]
mov al, byte [rdx + rsi - 0x40]
xor al, byte [rsi]
mov byte [r8 + rsi - 0x40], al
inc rsi
sub rcx, 1
jne 0x14001e375
mov qword [rbx + 0x80], rdi
mov rbx, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001ffd0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r11, r8
mov r9, rdx
mov r10, rcx
test r8, r8
je 0x14001fffb
sub r10, rdx
movzx edx, byte [r10 + r9]
movzx r8d, byte [r9]
inc r9
xor r8d, edx
or eax, r8d
sub r11, 1
jne 0x14001ffe3
ret