joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4460a0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x44625c
push rbp
mov rbp, rsp
sub rsp, 0x10
mov edx, dword [rax + 0x188]
mov esi, dword [rax + 0x18c]
mov rdi, qword [rax + 0x990]
mov r8d, dword [rax + 0x18c]
cmp r8d, esi
jne 0x4460b2
cmp esi, edx
jne 0x44624a
nop dword [rax]
test rdi, rdi
jne 0x44624a
test rbx, rbx
jne 0x446114
mov qword [rsp + 0x20], rax
nop
call fcn.00472760
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 0x22a8]
test edx, edx
jne 0x446171
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x446245
mov rdx, qword [0x00640208]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x446239
mov rdx, qword [0x00640200]
lea rdx, [rdx + rsi*4]
not r8d
lock and dword [rdx], r8d
mov ecx, dword [rax]
mov edx, ecx
sar edx, 0x1f
shr edx, 0x1b
add edx, ecx
mov esi, edx
and edx, 0xffffffe0
sub ecx, edx
test ecx, ecx
jl 0x446234
mov rdx, qword [0x006401e8]
sar esi, 5
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and r8d, edi
cmp rdx, rsi
jbe 0x446229
mov rcx, qword [0x006401e0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], r8d
mov rcx, qword [0x00641d70]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00641d70], rax
nop
mov edx, 1
lea rsi, [0x00641d78]
lock xadd dword [rsi], edx
nop
mov rdx, qword [rcx + 0x1230]
shr rdx, 0x3d
test dl, dl
jne 0x446218
movabs rdx, 0x1fffffffffffffff
and rdx, rbx
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1230], rdx
mov rax, rbx
add rsp, 0x10
pop rbp
ret
lea rax, [0x00549fb2]
mov ebx, 0x28
call fcn.00469340
mov rax, rsi
mov rcx, rdx
call fcn.00470e20
call fcn.00434320
mov rax, rsi
mov rcx, rdx
nop
call fcn.00470e20
call fcn.00434320
lea rax, [0x00548e7a]
mov ebx, 0x23
call fcn.00469340
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046eb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004460a0
Function at 0x44bf40
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44bf88
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44bf88
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 0x44bf98
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.00433020
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44c071
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.004332a0
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44c071
cmp qword [rcx + 8], rax
ja 0x44bf93
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x45f060
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45f103
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.0045b9a0
nop
test bl, bl
je 0x45f0fd
mov qword [rsp + 0x18], rax
lea rcx, [0x0045f140]
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.0046ea20
xorps xmm15, xmm15
mov r14, qword [0x00685718]
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.0046eb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045f060
Function at 0x4696a0
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.00448ec0
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00441100
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 0x469746
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x469794
mov rdx, qword [rax + 0x38]
lea rbx, [0x00441a80]
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.0046ea20
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.0043ac00
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x4697b9
cmp qword [rdx + 8], rsi
jae 0x4697fc
lea rax, [0x00441980]
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.0046ea20
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x46980d
cmp qword [rdx], rax
ja 0x469813
cmp qword [rdx + 8], rax
jae 0x46984e
lea rax, [0x00441880]
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.0046ea20
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0054d6d8]
mov qword [rsp], rax
call fcn.0046ea20
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.00448ec0
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00441100
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x46bbe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x46bd57
movzx edx, byte [rax]
test edx, edx
jne 0x46bc14
nop dword [rax]
test r8b, r8b
jne 0x46bc14
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x46bc27
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x46bd17
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 0x46bd05
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 0x46bcf7
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x46bc7d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x46bcc0
mov eax, 1
cmp rax, rbx
ja 0x46bcab
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.00470ee0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x46bcef
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 0x46bcb3
mov rcx, r11
mov eax, r12d
jmp 0x46bc82
mov rcx, rbx
call fcn.00470e20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00470e20
mov eax, r8d
mov rcx, rbx
call fcn.00470ee0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x46bd4d
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 0x46bd10
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x46bc2d
mov eax, edx
mov rcx, rbx
call fcn.00470e20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00470e20
nop
int3

Function at 0x46d420
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46d4cf
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, [0x00459060]
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.0046ea20
xorps xmm15, xmm15
mov r14, qword [0x00685718]
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.0046eb40
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.0046d420
Function at 0x470940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404383
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409ea0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046eb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404360
cmp byte [0x006854ce], 0
je 0x470955
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x46db80
jmp 0x404360

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

Disassembly:
mov rcx, qword [0x00685888]
mov eax, dword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00685880]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x006854ce], 0
je 0x470995
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00685bc0]
aesenc xmm0, xmmword [0x00685bd0]
aesenc xmm0, xmmword [0x00685be0]
movq rax, xmm0
ret
jmp 0x40a080

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

Disassembly:
mov rcx, qword [0x00685888]
mov rax, qword [rax]
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00685880]
mul rcx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x006854ce], 0
je 0x4709d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00685bc0]
aesenc xmm0, xmmword [0x00685bd0]
aesenc xmm0, xmmword [0x00685be0]
movq rax, xmm0
ret
jmp 0x40a0c0

Function at 0x4727a0
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 0x4727d4
mov rcx, 0x28
jmp 0x4727df
shl rcx, 3
add rcx, 0x1480
mov qword [0x00685718], rcx
pop rbp
ret
Function at 0x48c140
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48c87f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48c16d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x48c3f1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48c41d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00577e60]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x005130c0]
lea rbx, [0x005752a0]
call fcn.00468f60
inc rax
cmp rax, r8
jge 0x48c442
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x48c477
lea rdi, [0x00513140]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x48c163
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48c45b
jmp 0x48c430
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0046eb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0048c140

Function at 0x48ca20
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 0x48ca37
inc rax
cmp rax, 4
jge 0x48ca4f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x48ca34
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x48ca60
inc rax
cmp rax, 4
jge 0x48ca6e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x48ca97
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 0x48ca7b
jmp 0x48ca5d

Function at 0x490740
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49080a
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.00403820
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4907ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x005131c0]
xor ebx, ebx
mov rcx, rdx
call fcn.0046a600
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.004922a0
inc rbx
cmp rcx, rbx
jae 0x4907de
mov edi, 1
lea rsi, [0x005131c0]
call fcn.0046a6e0
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, [0x00575488]
lea rsi, [0x00574968]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046eb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00490740
Function at 0x4a14c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a156c
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.00403820
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4a1533
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.004505e0
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x4a1546
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x4a1559
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x4a1543
mov byte [rax + rcx], dl
jmp 0x4a1543
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0046aea0
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.0046eb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp fcn.004a14c0
Function at 0x4b8ea0
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 0x4b8ed6
vmovdqu xmmword [rdx], xmm0
vmovdqu xmmword [rdx + 0x10], xmm3
vzeroupper
ret
Function at 0x4b9b60
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 0x4b9b96
movdqu xmmword [rdx], xmm0
movdqu xmmword [rdx + 0x10], xmm3
ret

Function at 0x4cf480
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4cf5be
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x00636de0]
call fcn.0048ccc0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
lea rcx, [0x004cf5e0]
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.00403820
xorps xmm15, xmm15
mov r14, qword [0x00685718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4cf582
mov rdx, qword [rsp + 0x28]
cmp rdx, rcx
jb 0x4cf5b8
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
nop dword [rax]
cmp rbx, rcx
jb 0x4cf5ad
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 + 0x28]
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.00470ee0
call fcn.00470e60
nop
nop
call fcn.0046eb40
jmp fcn.004cf480
Function at 0x4ddb40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ddd20
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 0x4ddbb6
cmp word [rdi], 0x7069
jne 0x4ddc12
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov byte [rsp + 0x10], 0x3a
call fcn.004031a0
xorps xmm15, xmm15
mov r14, qword [0x00685718]
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 0x4ddc14
cmp rsi, 3
jne 0x4ddc12
cmp word [rdi], 0x6374
jne 0x4ddbc9
cmp byte [rdi + 2], 0x70
je 0x4ddbd6
cmp word [rdi], 0x6475
jne 0x4ddc12
cmp byte [rdi + 2], 0x70
jne 0x4ddc12
mov qword [rsp], r8
mov qword [rsp + 8], r9
mov byte [rsp + 0x10], 0x5b
call fcn.004031a0
xorps xmm15, xmm15
mov r14, qword [0x00685718]
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 0x4ddc14
xor ecx, ecx
test cl, cl
je 0x4ddc25
mov rdx, rax
mov rcx, rbx
nop
jmp 0x4ddcc6
mov rsi, rax
mov rcx, rbx
jmp 0x4ddc48
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 0x4ddc8b
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.004dd9e0]
lea rdx, fcn.004dd9e0
mov rax, rcx
call rsi
test al, al
je 0x4ddc2d
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
jmp 0x4ddc97
test rcx, rcx
jbe 0x4ddca1
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.00470e20
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 0x4ddd00
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.004dd9e0
test al, al
jne 0x4ddcab
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x40]
jmp 0x4ddd0c
test rcx, rcx
jbe 0x4ddd15
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.00470e20
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.0046eb40
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.004ddb40