joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r11, [0x1400bfa10]
mov r9, r15
mov rax, r15
sar rax, 6
and r9d, 0x3f
shl r9, 6
mov r14, rdx
mov rdi, r15
mov r10d, 0xa
mov rdx, qword [r11 + rax*8]
mov r12, qword [rdx + r9 + 0x28]
test r8, r8
je 0x1400893cc
cmp word [r14], r10w
jne 0x1400893cc
mov rcx, r15
mov rax, r15
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
or byte [rax + rcx + 0x38], 4
jmp 0x1400893ed
mov dl, byte [rdx + r9 + 0x38]
mov rcx, rdi
and dl, 0xfb
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x38], dl
lea rbp, [r14 + r8*2]
mov rsi, r14
mov rbx, r14
cmp r14, rbp
jae 0x1400895c6
mov ecx, 0xd
lea r13d, [rcx - 0xb]
movzx eax, word [rsi]
cmp ax, 0x1a
je 0x140089584
cmp ax, cx
je 0x140089429
mov word [rbx], ax
add rbx, r13
add rsi, r13
jmp 0x14008951d
lea rax, [rsi + 2]
cmp rax, rbp
jae 0x140089451
cmp word [rax], r10w
jne 0x140089443
mov word [rbx], r10w
mov eax, 4
jmp 0x140089449
mov word [rbx], cx
mov rax, r13
add rsi, rax
jmp 0x140089567
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r12
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14008956c
cmp dword [rsp + 0x80], 0
je 0x14008956c
mov rcx, rdi
lea r11, [0x1400bfa10]
and ecx, 0x3f
mov rax, rdi
sar rax, 6
mov r10d, 0xa
shl rcx, 6
mov rax, qword [r11 + rax*8]
test byte [rax + rcx + 0x38], 0x48
je 0x14008952b
movzx eax, word [rsp + 0x70]
cmp ax, r10w
jne 0x1400894c3
mov word [rbx], r10w
jmp 0x140089515
mov r8, rdi
mov word [rsp + 0x78], ax
mov r9, rdi
and r8d, 0x3f
sar r9, 6
mov ecx, 0xd
xor edx, edx
mov word [rbx], cx
shl r8, 6
mov rcx, qword [r11 + r9*8]
mov al, byte [rsp + rdx + 0x78]
add rcx, r8
mov byte [rcx + rdx + 0x3a], al
inc rdx
cmp rdx, r13
jl 0x1400894e4
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x3c], r10b
add rbx, r13
mov ecx, 0xd
cmp rsi, rbp
jb 0x140089409
jmp 0x1400895c6
cmp word [rsp + 0x70], r10w
jne 0x140089538
cmp rbx, r14
je 0x1400894bd
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14007c94c
mov r10d, 0xa
lea r11, [0x1400bfa10]
cmp word [rsp + 0x70], r10w
je 0x140089518
lea ecx, [r10 + 3]
mov word [rbx], cx
add rbx, r13
jmp 0x14008951d
mov ecx, 0xd
lea r11, [0x1400bfa10]
mov word [rbx], cx
add rbx, r13
lea r10d, [rcx - 3]
jmp 0x14008951d
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov dl, byte [rax + rcx + 0x38]
test dl, 0x40
jne 0x1400895bd
mov rax, rdi
or dl, r13b
sar rax, 6
and edi, 0x3f
shl rdi, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rdi + 0x38], dl
jmp 0x1400895c6
movzx ecx, word [rsi]
mov word [rbx], cx
add rbx, r13
sub rbx, r14
sar rbx, 1
lea rax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003a320
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003a32d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003a33d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003a325
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003a355
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003a342
sub eax, 3
jb 0x14003a36f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003a3a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003a396
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003a394
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003a383
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003a2e2
jmp 0x14003a32d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003a3f2
cmp rsi, rcx
jae 0x14003a3fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003a3d9
cmp al, 0x8f
ja 0x14003a3d9
cmp byte [rsi - 2], 0xf
je 0x14003a3df
sub al, 0xe8
cmp al, 1
ja 0x14003a3c3
cmp rsi, rcx
jae 0x14003a3fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003a3c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003a3fa
lodsb al, byte [rsi]
jmp 0x14003a3d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x38000]
mov eax, dword [rdi]
or eax, eax
je 0x14003a463
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3f7f4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003a407
jns 0x14003a43c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003a446
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003a45d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003a427
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003a4bb
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x140001030
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
lea rax, [0x1400019d0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xb8], rax
lea rax, [0x140014390]
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_RegisterClassA]
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x258
mov dword [rsp + 0x30], 0x320
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.Direct2D_Button_Example
lea rdx, str.Direct2DExample
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [0x14001fbe0], rax
mov edx, dword [rsp + 0x118]
mov rcx, qword [0x14001fbe0]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140001180
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14000115b
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageA]
nop
jmp 0x14000112b
call fcn.1400012e0
mov eax, dword [rsp + 0x78]
add rsp, 0xf0
pop rdi
ret

Function at 0x140004088
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400040d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400040d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400040d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400040d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400040d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400040d4
xor al, al
add rsp, 0x28
ret
Function at 0x140009818
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140009887
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009887
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009887
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009887
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009887
cmp dword [rcx + 0x84], 0xe
jbe 0x140009887
cmp dword [rcx + 0xf8], 0
je 0x140009887
mov ecx, ebx
call fcn.140009938
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140009714
nop
cmp dword [rbp + 0x20], 0
je 0x1400098d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400098e0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140009818

Function at 0x140009a1c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009818
Function at 0x14000cf84
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000cfb4
xor eax, eax
jmp 0x14000d077
mov rbp, rbx
cmp word [rax], si
je 0x14000cfd9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000cfc0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000cfbc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000cea4
movsxd r14, eax
test eax, eax
jne 0x14000d017
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000cfad
mov rcx, r14
call fcn.14000b2ac
mov rdi, rax
test rax, rax
jne 0x14000d030
xor ecx, ecx
call fcn.14000b4dc
jmp 0x14000d00c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000cea4
test eax, eax
jne 0x14000d061
mov rcx, rdi
call fcn.14000b4dc
jmp 0x14000d06b
xor ecx, ecx
call fcn.14000b4dc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400125e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012608
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012608
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14005b240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x14005b3b7
movzx edx, byte [rax]
test edx, edx
jne 0x14005b274
nop dword [rax]
test r8b, r8b
jne 0x14005b274
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x14005b287
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x14005b377
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x14005b365
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x14005b357
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x14005b2dd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x14005b320
mov eax, 1
cmp rax, rbx
ja 0x14005b30b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.140071460
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14005b34f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x14005b313
mov rcx, r11
mov eax, r12d
jmp 0x14005b2e2
mov rcx, rbx
call fcn.1400713a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.1400713a0
mov eax, r8d
mov rcx, rbx
call fcn.140071460
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14005b3ad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x14005b370
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14005b28d
mov eax, edx
mov rcx, rbx
call fcn.1400713a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.1400713a0
nop
int3

Function at 0x1400613c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140061475
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.14005f040
nop
test bl, bl
je 0x14006146f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x1400614c0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.14006ef80
xorps xmm15, xmm15
mov r14, qword [0x1416f9498]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006f0a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.1400613c0
Function at 0x14000b310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000b390
cmp r10, r11
jb 0x14000b407
cmp r10, rdx
ja 0x14000b419
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14000b392
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000b370
jmp 0x14000b3f4
ja 0x14000b39a
mov r11, r10
cmp rax, r8
jne 0x14000b33e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000b3d0
mov rdi, r8
sub ecx, edx
jns 0x14000b3eb
jmp 0x14000b3f6
cmp r8, rsi
je 0x14000b428
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000b3f6
xor al, 1
cmp rdi, rsi
jne 0x14000b3b0
jmp 0x14000b3f6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14000a0c0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140008e60
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14000a130
int3
Function at 0x14000ccd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x14000ceed
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140053b90]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x14000cd40
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x140053ba0]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x14000ce6a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x14000ce40
movdqa xmm1, xmmword [0x140053ba0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x140053bb0], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x14000cf0b
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.14000c880
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x140015bc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140015be5
cmp rax, rcx
je 0x140015beb
cmp rdx, 4
jae 0x140015bef
xor eax, eax
xor r8d, r8d
jmp 0x140015c80
pop rbp
jmp fcn.1400089f0
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140053ee0]
movdqa xmm3, xmmword [0x140053ef0]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140015c10
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140015c97
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140015c80
pop rbp
ret
Function at 0x140016dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x140016e41
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x140016e41
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x140016e5a
cmp eax, 0x42
jne 0x140016e41
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
cmp rsi, r11
jae 0x140016f0c
cmp byte [r10 + rsi], 0x5f
jne 0x140016f0c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x140016f8b
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x140016fe8
mov sil, 1
xor r9d, r9d
jmp 0x140016f90
xor edx, edx
call fcn.140012510
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.140012510
test al, al
jne 0x140016fce
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140016e99
lea rdx, [0x1400bc933]
mov r8d, 1
call fcn.140008ed0
mov rdx, rbx
test al, al
jne 0x140016fce
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x140016e4d
xor r14d, r14d
lea rdi, [0x1400bcc89]
nop
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x140016ec4
cmp byte [rax + rcx], 0x45
je 0x140017021
sub r14, 1
jb 0x140016eec
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x140016eec
mov r8d, 2
mov rdx, rdi
call fcn.140008ed0
mov rdx, rbx
test al, al
jne 0x140016fce
mov rcx, rdx
call fcn.140013d70
test al, al
jne 0x140016fce
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x140016eb0
jmp 0x140016e4d
xor eax, eax
mov edi, 0x3e
nop word cs:[rax + rax]
mov r9b, 1
cmp rsi, r11
jae 0x140016f8e
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x140016f72
lea r14d, [rdx - 0x30]
cmp r14b, 0xa
jb 0x140016f5b
lea r14d, [rdx - 0x61]
cmp r14b, 0x1a
jae 0x140016f4b
add dl, 0xa9
jmp 0x140016f58
lea r14d, [rdx - 0x41]
cmp r14b, 0x1a
jae 0x140016f8e
add dl, 0xe3
mov r14d, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul rdi
jo 0x140016f8e
movzx edx, r14b
add rax, rdx
jae 0x140016f20
jmp 0x140016f8e
inc rsi
mov qword [rcx + 0x10], rsi
cmp rax, 0xffffffffffffffff
je 0x140016f8e
inc rax
cmp rax, r8
jb 0x140016e25
mov r9b, 1
xor esi, esi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140016fd6
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x1400bcc68]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140008ed0
mov rcx, rbx
test al, al
je 0x140016fd6
mov sil, 2
jmp 0x140016e4d
mov qword [rcx], 0
mov byte [rcx + 8], sil
xor esi, esi
jmp 0x140016e4d
cmp qword [rcx + 0x20], 0
je 0x140016fe1
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.140016dc0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140016e4f
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x140016e4d