joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bb60
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44bba8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44bba8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44bbb8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00432c40
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44bc91
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00432ec0
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44bc91
cmp qword [rcx + 8], rax
ja 0x44bbb3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x45ed80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45ee23
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.0045b6c0
nop
test bl, bl
je 0x45ee1d
mov qword [rsp + 0x18], rax
lea rcx, [0x0045ee60]
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.0046e740
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
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.0046e860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045ed80
Function at 0x4693c0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call fcn.00448ae0
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00440d20
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x469466
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x4694b4
mov rdx, qword [rax + 0x38]
lea rbx, [0x004416a0]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call fcn.0046e740
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.0043a820
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x4694d9
cmp qword [rdx + 8], rsi
jae 0x46951c
lea rax, [0x004415a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call fcn.0046e740
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x46952d
cmp qword [rdx], rax
ja 0x469533
cmp qword [rdx + 8], rax
jae 0x46956e
lea rax, [0x004414a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call fcn.0046e740
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0054b8a8]
mov qword [rsp], rax
call fcn.0046e740
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.00448ae0
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00440d20
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x46b900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x46ba77
movzx edx, byte [rax]
test edx, edx
jne 0x46b934
nop dword [rax]
test r8b, r8b
jne 0x46b934
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x46b947
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x46ba37
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 0x46ba25
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 0x46ba17
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x46b99d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x46b9e0
mov eax, 1
cmp rax, rbx
ja 0x46b9cb
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.00470c00
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x46ba0f
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 0x46b9d3
mov rcx, r11
mov eax, r12d
jmp 0x46b9a2
mov rcx, rbx
call fcn.00470b40
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00470b40
mov eax, r8d
mov rcx, rbx
call fcn.00470c00
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x46ba6d
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 0x46ba30
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x46b94d
mov eax, edx
mov rcx, rbx
call fcn.00470b40
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00470b40
nop
int3

Function at 0x46d140
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46d1ef
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00458d80]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046e740
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
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.0046e860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0046d140
Function at 0x470660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403fa3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409ac0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046e860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403f80
cmp byte [0x006b01ef], 0
je 0x470675
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x46d8a0
jmp 0x403f80

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

Disassembly:
mov rcx, qword [0x006b05a8]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006b05a0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x006b01ef], 0
je 0x4706b5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x006b08e0]
aesenc xmm0, xmmword [0x006b08f0]
aesenc xmm0, xmmword [0x006b0900]
movq rax, xmm0
ret
jmp 0x409ca0

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

Disassembly:
mov rcx, qword [0x006b05a8]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006b05a0]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x006b01ef], 0
je 0x4706f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x006b08e0]
aesenc xmm0, xmmword [0x006b08f0]
aesenc xmm0, xmmword [0x006b0900]
movq rax, xmm0
ret
jmp 0x409ce0

Function at 0x4724c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4724f4
mov rcx, 0x28
jmp 0x4724ff
shl rcx, 3
add rcx, 0x1480
mov qword [0x006b0438], rcx
pop rbp
ret
Function at 0x48b400
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48bb3f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48b42d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x48b6b1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48b6dd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00575ce0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x00511060]
lea rbx, [0x00573150]
call fcn.00468c80
inc rax
cmp rax, r8
jge 0x48b702
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x48b737
lea rdi, [0x005110e0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x48b423
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48b71b
jmp 0x48b6f0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046e860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0048b400

Function at 0x48bce0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x48bcf7
inc rax
cmp rax, 4
jge 0x48bd0f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x48bcf4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x48bd20
inc rax
cmp rax, 4
jge 0x48bd2e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x48bd57
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x48bd3b
jmp 0x48bd1d

Function at 0x48f7c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48f88a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403440
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48f86f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00511160]
xor ebx, ebx
mov rcx, rdx
call fcn.0046a320
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00491340
inc rbx
cmp rcx, rbx
jae 0x48f85e
mov edi, 1
lea rsi, [0x00511160]
call fcn.0046a400
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00573338]
lea rsi, [0x00572850]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046e860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0048f7c0
Function at 0x4a04c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a056c
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call fcn.00403440
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4a0533
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.00450260
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x4a0546
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x4a0559
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x4a0543
mov byte [rax + rcx], dl
jmp 0x4a0543
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0046abc0
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call fcn.0046e860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp fcn.004a04c0
Function at 0x4b7880
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov ecx, 0x14
lea rax, str.expand_32_byte_k
vmovdqa xmm0, xmmword [rax]
vmovdqa xmm6, xmmword [rax + 0x10]
vmovdqa xmm5, xmmword [rax + 0x20]
vmovdqu xmm1, xmmword [rdi]
vmovdqu xmm2, xmmword [rdi + 0x10]
vmovdqu xmm3, xmmword [rsi]
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm6
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpslld xmm4, xmm1, 0xc
vpsrld xmm1, xmm1, 0x14
vpxor xmm1, xmm4, xmm1
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm5
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpslld xmm4, xmm1, 7
vpsrld xmm1, xmm1, 0x19
vpshufd xmm0, xmm0, 0x93
vpxor xmm1, xmm4, xmm1
vpshufd xmm3, xmm3, 0x4e
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm6
vpshufd xmm2, xmm2, 0x39
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpslld xmm4, xmm1, 0xc
vpsrld xmm1, xmm1, 0x14
vpxor xmm1, xmm4, xmm1
vpaddd xmm0, xmm1, xmm0
vpxor xmm3, xmm0, xmm3
vpshufb xmm3, xmm3, xmm5
vpaddd xmm2, xmm3, xmm2
vpxor xmm1, xmm2, xmm1
vpshufd xmm0, xmm0, 0x39
vpslld xmm4, xmm1, 7
vpshufd xmm3, xmm3, 0x4e
vpsrld xmm1, xmm1, 0x19
vpshufd xmm2, xmm2, 0x93
vpxor xmm1, xmm4, xmm1
sub ecx, 2
jne 0x4b78b6
vmovdqu xmmword [rdx], xmm0
vmovdqu xmmword [rdx + 0x10], xmm3
vzeroupper
ret
Function at 0x4b8540
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov ecx, 0x14
lea rax, str.expand_32_byte_k
movdqa xmm0, xmmword [rax]
movdqa xmm5, xmmword [rax + 0x10]
movdqa xmm6, xmmword [rax + 0x20]
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqu xmm3, xmmword [rsi]
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm5
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
pshufd xmm0, xmm0, 0x93
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x39
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
sub rcx, 2
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm5
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshufb xmm3, xmm6
pshufd xmm0, xmm0, 0x39
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x93
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
ja 0x4b8576
movdqu xmmword [rdx], xmm0
movdqu xmmword [rdx + 0x10], xmm3
ret

Function at 0x4cdda0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4cdede
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x006619b0]
call fcn.0048bf80
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rbx
lea rcx, [0x004cdf00]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.00403440
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4cdea2
mov rdx, qword [rsp + 0x20]
cmp rdx, rcx
jb 0x4cded8
mov qword [rsp + 0x28], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x28]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
cmp rbx, rcx
jb 0x4cdecd
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.00470c00
call fcn.00470b80
nop
nop
call fcn.0046e860
jmp fcn.004cdda0
Function at 0x4dc4a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4dc680
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
cmp rsi, 2
jne 0x4dc516
cmp word [rdi], 0x7069
jne 0x4dc572
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov byte [rsp + 0x10], 0x3a
call fcn.00403120
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
setg al
mov rbx, qword [rsp + 0x68]
mov ecx, eax
mov rax, qword [rsp + 0x60]
jmp 0x4dc574
cmp rsi, 3
jne 0x4dc572
cmp word [rdi], 0x6374
jne 0x4dc529
cmp byte [rdi + 2], 0x70
je 0x4dc536
cmp word [rdi], 0x6475
jne 0x4dc572
cmp byte [rdi + 2], 0x70
jne 0x4dc572
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov byte [rsp + 0x10], 0x5b
call fcn.00403120
xorps xmm15, xmm15
mov r14, qword [0x006b0438]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
setg al
mov rbx, qword [rsp + 0x68]
mov ecx, eax
mov rax, qword [rsp + 0x60]
jmp 0x4dc574
xor ecx, ecx
test cl, cl
je 0x4dc585
mov rdx, rax
mov rcx, rbx
nop
jmp 0x4dc626
mov rsi, rax
mov rcx, rbx
jmp 0x4dc5a8
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov rbx, qword [rsp + 0x30]
dec rbx
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
test rbx, rbx
jle 0x4dc5eb
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rax
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x38], rbx
mov rsi, qword [fcn.004dc340]
lea rdx, fcn.004dc340
mov rax, rcx
call rsi
test al, al
je 0x4dc58d
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
jmp 0x4dc5f7
test rcx, rcx
jbe 0x4dc601
mov rcx, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rcx
add rsp, 0x50
pop rbp
nop
ret
xor eax, eax
mov rcx, rax
call fcn.00470b40
mov rax, qword [rsp + 0x48]
add rax, 0x10
mov rbx, qword [rsp + 0x30]
dec rbx
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rbx, rbx
jle 0x4dc660
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rax
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov rbx, qword [rax + 8]
mov qword [rsp + 0x40], rbx
mov rax, rcx
call fcn.004dc340
test al, al
jne 0x4dc60b
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x40]
jmp 0x4dc66c
test rcx, rcx
jbe 0x4dc675
mov rcx, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, rcx
add rsp, 0x50
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.00470b40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0046e860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.004dc4a0
Function at 0x140697058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406971df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140697089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14069706f
add dl, dl
jne 0x140697096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406970f6
xor eax, eax
add dl, dl
jne 0x1406970a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406971ad
add dl, dl
jne 0x1406970b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406970c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406970d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406970dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406970ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14069707e
mov eax, 1
add dl, dl
jne 0x140697106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140697113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406970fb
sub eax, ebx
mov ebx, 1
jne 0x14069714c
mov ecx, 1
add dl, dl
jne 0x14069712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14069713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140697123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140697168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140697175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14069715d
cmp eax, 0x7d00
jae 0x14069719b
cmp eax, 0x500
jb 0x140697196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069707e
cmp eax, 0x7f
ja 0x14069719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14069707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406971d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14069707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20