joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453a00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movups xmmword [rsp + 0x30], xmm9
movups xmmword [rsp + 0x40], xmm10
movups xmmword [rsp + 0x50], xmm11
movups xmmword [rsp + 0x60], xmm12
movups xmmword [rsp + 0x70], xmm13
mov edx, dword [rcx + 0x84]
movdqu xmm7, xmmword [rcx]
movdqu xmm8, xmmword [rcx + 0x10]
movdqu xmm0, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movdqu xmm5, xmmword [rcx + 0x40]
movdqu xmm4, xmmword [rcx + 0x50]
movdqu xmm3, xmmword [rcx + 0x60]
movdqu xmm2, xmmword [rcx + 0x70]
test edx, edx
jle 0x453ba9
xor eax, eax
nop dword [rax]
paddd xmm2, xmm1
movdqu xmm13, xmm0
movdqu xmm6, xmm0
movdqu xmm12, xmm1
movdqu xmm11, xmm7
movdqu xmm9, xmm7
pslld xmm1, 7
movdqu xmm10, xmm8
paddd xmm5, xmm7
paddd xmm4, xmm8
paddd xmm3, xmm0
movdqu xmm7, xmm1
psrld xmm12, 0x19
add eax, 1
psrld xmm11, 0x19
por xmm7, xmm12
pxor xmm7, xmm4
movdqu xmm12, xmm7
psrld xmm10, 0x19
pshufd xmm4, xmm4, 0x4e
paddd xmm4, xmm7
psrld xmm13, 0x19
pslld xmm6, 7
pslld xmm9, 7
por xmm6, xmm13
pxor xmm6, xmm5
pshufd xmm5, xmm5, 0x4e
pslld xmm8, 7
por xmm9, xmm11
movdqu xmm11, xmm6
pxor xmm9, xmm3
por xmm8, xmm10
movdqu xmm1, xmm9
paddd xmm5, xmm6
pxor xmm8, xmm2
movdqu xmm0, xmm8
movdqu xmm10, xmm8
pshufd xmm3, xmm3, 0x4e
pshufd xmm2, xmm2, 0x4e
paddd xmm3, xmm9
paddd xmm2, xmm8
psrld xmm12, 0x15
pslld xmm7, 0xb
psrld xmm11, 0x15
por xmm7, xmm12
pxor xmm7, xmm5
pshufd xmm5, xmm5, 0xb1
pslld xmm6, 0xb
psrld xmm0, 0x15
por xmm6, xmm11
pxor xmm6, xmm4
pshufd xmm4, xmm4, 0xb1
pslld xmm10, 0xb
movdqu xmm8, xmm6
psrld xmm1, 0x15
por xmm0, xmm10
pxor xmm0, xmm3
pshufd xmm3, xmm3, 0xb1
pslld xmm9, 0xb
por xmm1, xmm9
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0xb1
cmp edx, eax
jne 0x453a70
movups xmmword [rcx], xmm7
movups xmm6, xmmword [rsp]
movups xmmword [rcx + 0x10], xmm8
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm9, xmmword [rsp + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm10, xmmword [rsp + 0x40]
movups xmmword [rcx + 0x40], xmm5
movups xmm11, xmmword [rsp + 0x50]
movups xmmword [rcx + 0x50], xmm4
movups xmm12, xmmword [rsp + 0x60]
movups xmmword [rcx + 0x60], xmm3
movups xmm13, xmmword [rsp + 0x70]
movups xmmword [rcx + 0x70], xmm2
add rsp, 0x88
ret
Function at 0x4d5850
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.004d29b0
Function at 0x4daac0
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x88
jmp fcn.004d5eb0

Function at 0x4daca0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.004d5eb0
Function at 0x4fbf00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movups xmmword [rsp + 0x30], xmm9
movups xmmword [rsp + 0x40], xmm10
movdqu xmm6, xmmword [rcx]
movdqu xmm5, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx + 0x20]
movdqu xmm0, xmmword [rcx + 0x30]
lea rax, [r8 + r8*2]
movdqu xmm3, xmmword [rcx + 0x40]
shl rax, 5
movdqu xmm4, xmmword [rcx + 0x50]
movdqu xmm9, xmmword [rcx + 0x60]
lea rax, [rax + rdx - 0x60]
movdqu xmm8, xmmword [rcx + 0x70]
test r8, r8
je 0x4fc14e
lea rdx, [r8*4]
movdqu xmm2, xmmword [0x0062d660]
sub r8, rdx
shl r8, 5
lea rdx, [rax + r8]
nop dword [rax]
movups xmmword [rax], xmm6
paddq xmm6, xmm1
sub rax, 0x60
pxor xmm9, xmm6
movups xmmword [rax + 0xa0], xmm3
pshufd xmm9, xmm9, 0xb1
paddq xmm3, xmm9
movups xmmword [rax + 0x70], xmm5
paddq xmm5, xmm0
movups xmmword [rax + 0x80], xmm1
pxor xmm1, xmm3
pshufb xmm1, xmm2
paddq xmm6, xmm1
pxor xmm9, xmm6
pxor xmm8, xmm5
movups xmmword [rax + 0xb0], xmm4
pshufd xmm8, xmm8, 0xb1
pshuflw xmm9, xmm9, 0x39
paddq xmm4, xmm8
pshufhw xmm9, xmm9, 0x39
paddq xmm3, xmm9
movdqu xmm7, xmm9
pxor xmm1, xmm3
movups xmmword [rax + 0x90], xmm0
movdqu xmm9, xmm1
pxor xmm0, xmm4
pshufb xmm0, xmm2
paddq xmm5, xmm0
psllq xmm9, 1
pxor xmm8, xmm5
psrlq xmm1, 0x3f
pshuflw xmm8, xmm8, 0x39
pshufhw xmm8, xmm8, 0x39
paddq xmm4, xmm8
por xmm1, xmm9
movdqu xmm9, xmm8
pxor xmm0, xmm4
movdqu xmm8, xmm0
psrlq xmm0, 0x3f
psllq xmm8, 1
por xmm0, xmm8
movdqu xmm8, xmm9
palignr xmm8, xmm7, 8
palignr xmm7, xmm9, 8
movdqu xmm9, xmm1
palignr xmm9, xmm0, 8
palignr xmm0, xmm1, 8
paddq xmm5, xmm9
paddq xmm6, xmm0
pxor xmm8, xmm5
pxor xmm7, xmm6
pshufd xmm1, xmm7, 0xb1
paddq xmm4, xmm1
pxor xmm0, xmm4
pshufb xmm0, xmm2
paddq xmm6, xmm0
pxor xmm1, xmm6
pshuflw xmm1, xmm1, 0x39
pshufhw xmm1, xmm1, 0x39
paddq xmm4, xmm1
movdqu xmm7, xmm1
pxor xmm0, xmm4
movdqu xmm1, xmm0
psllq xmm1, 1
psrlq xmm0, 0x3f
por xmm1, xmm0
pshufd xmm0, xmm8, 0xb1
paddq xmm3, xmm0
pxor xmm9, xmm3
pshufb xmm9, xmm2
paddq xmm5, xmm9
pxor xmm0, xmm5
pshuflw xmm0, xmm0, 0x39
pshufhw xmm8, xmm0, 0x39
paddq xmm3, xmm8
pxor xmm9, xmm3
movdqu xmm10, xmm9
movdqu xmm0, xmm8
movdqu xmm8, xmm7
psrlq xmm9, 0x3f
psllq xmm10, 1
por xmm10, xmm9
palignr xmm8, xmm0, 8
palignr xmm0, xmm7, 8
movdqu xmm7, xmm10
palignr xmm7, xmm1, 8
movdqu xmm9, xmm0
palignr xmm1, xmm10, 8
movdqu xmm0, xmm7
cmp rax, rdx
jne 0x4fbf80
movups xmmword [rcx], xmm6
movups xmm7, xmmword [rsp + 0x10]
movups xmmword [rcx + 0x60], xmm9
movups xmm6, xmmword [rsp]
movups xmmword [rcx + 0x70], xmm8
movups xmm9, xmmword [rsp + 0x30]
movups xmm8, xmmword [rsp + 0x20]
movups xmmword [rcx + 0x10], xmm5
movups xmm10, xmmword [rsp + 0x40]
movups xmmword [rcx + 0x20], xmm1
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm3
movups xmmword [rcx + 0x50], xmm4
add rsp, 0x58
ret
Function at 0x515560
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, rdx
mov r12d, r8d
test r8d, r8d
je 0x515681
lea eax, [r8 - 1]
mov r13, rdx
lea rbp, [rcx + 0x100]
mov rdi, rax
shl rax, 9
lea r14, [rdx + rax + 0x200]
mov r8d, 0x200
mov rcx, r13
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov rdx, rbp
mov rcx, rbx
add r13, 0x200
call fcn.00511c70
mov rdx, rbx
mov rcx, rbp
call fcn.00511c70
cmp r14, r13
jne 0x51559d
xor r10d, r10d
mov r9d, dword [rbx + 0x100]
xor eax, eax
mov r8d, dword [rbx + 0x104]
mov ecx, dword [rbx + 0x108]
mov edx, dword [rbx + 0x10c]
and r9d, edi
and r8d, edi
shl r9d, 5
shl r8d, 5
and ecx, edi
shl r9, 4
and edx, edi
shl ecx, 5
add r9, rsi
shl edx, 5
shl r8, 4
shl rcx, 4
shl rdx, 4
add r8, rsi
add rcx, rsi
add rdx, rsi
nop dword [rax + rax]
movd xmm1, dword [rcx + rax + 8]
pinsrd xmm1, dword [rax + rdx + 0xc], 1
movd xmm0, dword [r9 + rax]
pinsrd xmm0, dword [rax + r8 + 4], 1
punpcklqdq xmm0, xmm1
pxor xmm0, xmmword [rbx + rax]
movups xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rax, 0x200
jne 0x515628
mov rdx, rbp
mov rcx, rbx
call fcn.00511c70
mov rdx, rbx
mov rcx, rbp
call fcn.00511c70
add r10d, 1
cmp r10d, r12d
jne 0x5155d3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x518620
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x140
xor eax, eax
movdqu xmm0, xmmword [0x0062e5a0]
movdqu xmm1, xmmword [rdx]
movdqu xmm2, xmmword [rdx + 0x10]
mov rsi, r8
mov r13, rcx
mov ecx, 0x12
mov qword [rsp + 0x20], 0x1012020
lea r8, [rsp + 0xa0]
movups xmmword [rsp + 0x40], xmm1
lea r12, [rsp + 0x80]
mov rdi, r8
mov qword [rsp + 0x28], 0
pxor xmm0, xmmword [rsp + 0x20]
rep stosq qword [rdi], rax
lea r8, [rsp + 0x40]
mov rcx, r12
mov qword [rsp + 0x30], 0
mov rdx, r8
movups xmmword [rsp + 0x80], xmm0
movdqu xmm0, xmmword [0x0062e5b0]
mov qword [rsp + 0x38], 0
pxor xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x60], 0
mov dword [rdi], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
call fcn.00518070
mov rdx, r13
mov rcx, r12
call fcn.00518070
mov eax, dword [rsp + 0x130]
lea r13, [rsp + 0xb0]
cmp eax, 0x40
ja 0x5187a0
add dword [rsp + 0xa0], eax
mov ebx, pe_nt_image_headers64
mov ecx, eax
mov dword [rsp + 0xa8], 0xffffffff
sub ebx, eax
add rcx, r13
mov eax, ebx
shr eax, 2
je 0x51874b
sub eax, 1
xor edx, edx
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memset
mov rcx, rax
mov edx, ebx
and edx, 3
je 0x51876b
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x51876b
sub edx, 1
add rcx, rax
lea r8, [rdx + 1]
xor edx, edx
call sub.msvcrt.dll_memset
mov rdx, r13
mov rcx, r12
call fcn.00516e30
movdqu xmm3, xmmword [rsp + 0x80]
movdqu xmm4, xmmword [rsp + 0x90]
movups xmmword [rsi], xmm3
movups xmmword [rsi + 0x10], xmm4
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
add dword [rsp + 0xa0], 0x40
mov rdx, r13
mov rcx, r12
call fcn.00516e30
mov edi, dword [rsp + 0x130]
lea ebx, [rdi - 0x40]
mov eax, ebx
mov dword [rsp + 0x130], ebx
shr eax, 2
je 0x5187e6
lea rdx, [rsp + 0xf0]
sub eax, 1
mov rcx, r13
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memmove
mov edx, ebx
and edx, 3
je 0x518812
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x518812
lea rcx, [r13 + rax]
sub edx, ebx
lea r8d, [rdi + rdx - 0x41]
lea rdx, [rsp + rax + 0xf0]
add r8, 1
call sub.msvcrt.dll_memmove
mov eax, dword [rsp + 0x130]
jmp 0x518711
Function at 0x5258a0
Capabilities:
Hash data using sha256

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
movdqu xmm0, xmmword [0x0062e600]
movdqu xmm1, xmmword [0x0062e610]
lea rbx, [rsp + 0x5f]
mov rsi, rcx
and rbx, 0xffffffffffffffc0
mov rcx, rbx
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm1
mov qword [rbx + 0x60], 0
call fcn.005250f0
mov rax, qword [rbx + 0x60]
mov ecx, eax
and ecx, 0x3f
lea edx, [rcx + 1]
mov byte [rbx + rcx], pe_nt_image_headers64
cmp edx, 0x38
jbe 0x5259d0
mov ecx, edx
mov eax, 0x40
add rcx, rbx
sub eax, edx
mov edx, eax
je 0x52591a
xor eax, eax
mov r8d, eax
add eax, 1
mov byte [rcx + r8], 0
cmp eax, edx
jb 0x52590b
lea r12, [rbx + 0x40]
mov rcx, rbx
mov rdx, r12
call fcn.0051d720
mov rax, qword [rbx + 0x60]
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
shl rax, 3
bswap rax
mov rdx, r12
mov rcx, rbx
mov qword [rbx + 0x38], rax
call fcn.0051d720
mov eax, dword [rbx + 0x40]
bswap eax
mov dword [rsi], eax
mov eax, dword [rbx + 0x44]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [rbx + 0x48]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [rbx + 0x4c]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [rbx + 0x50]
bswap eax
mov dword [rsi + 0x10], eax
mov eax, dword [rbx + 0x54]
bswap eax
mov dword [rsi + 0x14], eax
mov eax, dword [rbx + 0x58]
bswap eax
mov dword [rsi + 0x18], eax
mov eax, dword [rbx + 0x5c]
bswap eax
mov dword [rsi + 0x1c], eax
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
ret
mov ecx, 0x38
sub ecx, edx
add rdx, rbx
cmp ecx, 8
jae 0x525a08
test cl, 4
jne 0x525a30
lea r12, [rbx + 0x40]
test ecx, ecx
je 0x525964
mov byte [rdx], 0
test cl, 2
jne 0x525a50
mov rax, qword [rbx + 0x60]
jmp 0x525964
lea r12, [rbx + 0x40]
mov eax, ecx
sub ecx, 1
mov qword [rdx + rax - 8], 0
shr ecx, 3
xor eax, eax
mov rdi, rdx
rep stosq qword [rdi], rax
mov rax, qword [rbx + 0x60]
jmp 0x525964
mov dword [rdx], 0
lea r12, [rbx + 0x40]
mov dword [rdx + rcx - 4], 0
mov rax, qword [rbx + 0x60]
jmp 0x525964
xor eax, eax
mov word [rdx + rcx - 2], ax
jmp 0x5259f8
Function at 0x537770
Capabilities:
Hash data using sha256

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
movsxd r8, r8d
call fcn.005258a0
mov r8d, 0x20
mov rdx, r12
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.005258a0
Function at 0x5804a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x278
lea rdi, [rsp + 0x5f]
mov r12, r8
mov rsi, rcx
and rdi, 0xffffffffffffffc0
mov rcx, r12
mov rbp, r9
lea r13, [rdi + 0x200]
mov r9d, 0x20
lea rbx, [rdx - 0x20]
mov r8, r13
mov edx, 0x50
call fcn.00583100
mov rdx, qword [r12 + 0x48]
mov rcx, rdi
shr rbx, 4
add ebx, 1
call fcn.005801a0
movdqu xmm1, xmmword [rdi + 0x200]
mov rcx, rdi
mov r9d, 0x811c9dc5
movdqu xmm0, xmmword [rdi + 0x210]
movdqu xmm2, xmmword [0x0063a640]
nop word [rax + rax]
mov eax, dword [rcx]
xor edx, edx
add rcx, 4
xor eax, r9d
imul eax, eax, 0x1000193
div ebx
mov rax, rdx
shl rax, 4
add rax, rsi
xor r9d, dword [rax]
pxor xmm1, xmmword [rax]
pxor xmm0, xmmword [rax + 0x10]
pmulld xmm1, xmm2
pmulld xmm0, xmm2
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 4]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 8]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0xc]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x10]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x14]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x18]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x1c]
imul r9d, r9d, 0x1000193
cmp r13, rcx
jne 0x580520
mov r11d, 1
mov ecx, r11d
mov r10, rdi
nop dword [rax]
mov eax, dword [r10]
xor edx, edx
add r10, 4
rol eax, cl
xor eax, r9d
imul eax, eax, 0x1000193
div ebx
shl rdx, 4
add rdx, rsi
xor r9d, dword [rdx]
pxor xmm1, xmmword [rdx]
pxor xmm0, xmmword [rdx + 0x10]
movdqu xmm4, xmm1
pmulld xmm4, xmm2
movdqu xmm3, xmm0
pmulld xmm3, xmm2
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 4]
movdqu xmm1, xmm4
movdqu xmm0, xmm3
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 8]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0xc]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x10]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x14]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x18]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x1c]
imul r9d, r9d, 0x1000193
cmp r13, r10
jne 0x5805c0
add r11, 1
cmp r11, 0x20
jne 0x5805b6
movups xmmword [rdi + 0x200], xmm4
movups xmmword [rdi + 0x210], xmm3
movups xmmword [rbp], xmm4
movups xmmword [rbp + 0x10], xmm3
add rsp, 0x278
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x585a80
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
and eax, 0x3f
mov rbx, rcx
mov rsi, rdx
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
lea rdi, [rbx + 0x40]
mov eax, ecx
add rax, rbx
cmp ecx, 0x20
jbe 0x585b90
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x585c00
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x585ae8
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x585ada
mov rdx, rdi
mov rcx, rbx
call fcn.005832d0
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov rdx, rax
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.005832d0
lea rax, [rsi + 0x10]
cmp rdi, rax
jae 0x585b63
lea rax, [rbx + 0x50]
cmp rsi, rax
jb 0x585c30
movdqu xmm1, xmmword [rbx + 0x40]
movups xmmword [rsi], xmm1
movdqu xmm2, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x10], xmm2
movdqu xmm3, xmmword [rbx + 0x60]
movups xmmword [rsi + 0x20], xmm3
movdqu xmm0, xmmword [rbx + 0x70]
movups xmmword [rsi + 0x30], xmm0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x585bd0
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x585b12
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x585bbb
jmp 0x585b12
test dl, 4
jne 0x585c77
test edx, edx
je 0x585b12
mov byte [rax], 0
test dl, 2
je 0x585b12
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x585b12
test dl, 4
jne 0x585c8a
test edx, edx
je 0x585ae8
mov byte [rax], 0
test dl, 2
je 0x585ae8
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x585ae8
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x585b12
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x585ae8
Function at 0x585ec0
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
and eax, 0x3f
mov rbx, rcx
mov rsi, rdx
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
lea rdi, [rbx + 0x40]
mov eax, ecx
add rax, rbx
cmp ecx, 0x20
jbe 0x585fd0
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x586040
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x585f28
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x585f1a
mov rdx, rdi
mov rcx, rbx
call fcn.005848f0
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov rdx, rax
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.005848f0
lea rax, [rsi + 0x10]
cmp rdi, rax
jae 0x585fa3
lea rax, [rbx + 0x50]
cmp rsi, rax
jb 0x586070
movdqu xmm1, xmmword [rbx + 0x40]
movups xmmword [rsi], xmm1
movdqu xmm2, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x10], xmm2
movdqu xmm3, xmmword [rbx + 0x60]
movups xmmword [rsi + 0x20], xmm3
movdqu xmm0, xmmword [rbx + 0x70]
movups xmmword [rsi + 0x30], xmm0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x586010
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x585f52
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x585ffb
jmp 0x585f52
test dl, 4
jne 0x5860b7
test edx, edx
je 0x585f52
mov byte [rax], 0
test dl, 2
je 0x585f52
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x585f52
test dl, 4
jne 0x5860ca
test edx, edx
je 0x585f28
mov byte [rax], 0
test dl, 2
je 0x585f28
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x585f28
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x585f52
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x585f28
Function at 0x59e8c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f8
mov r14, qword [rsp + 0x560]
lea rbx, [rsp + 0xff]
mov rsi, r9
mov r15, r8
and rbx, 0xffffffffffffffc0
mov r8, rdx
mov r12, rcx
lea rax, [rbx + 0x200]
mov r13, rdx
mov rdx, rcx
mov rdi, rax
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.0059e1a0
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call fcn.0043f130
cmp qword [rsp + 0x570], 0
je 0x59eb13
lea rsi, [rsp + 0x5c]
mov eax, 0x1000000
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x28], 0
lea rdi, [rsp + 0xa0]
lea rsi, [rbx + 0x100]
mov qword [rsp + 0x38], rcx
lea rbp, [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
mov r8d, 0x200
mov rcx, rbx
mov dword [rsp + 0x5c], eax
mov r15d, 2
call sub.msvcrt.dll_memcpy
mov rdx, qword [rsp + 0x48]
mov r8d, 4
mov rcx, rbx
call fcn.0043f130
mov rdx, rdi
mov rcx, rbx
call fcn.0043f1c0
mov r8d, 0x20
mov rdx, rdi
mov rcx, rsi
call fcn.0043f130
mov rdx, rbp
mov rcx, rsi
call fcn.0043f1c0
movdqu xmm1, xmmword [rsp + 0x60]
movdqu xmm2, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm2
cmp r14, 1
jbe 0x59ea6d
nop dword [rax]
mov r8, r13
mov rdx, r12
mov rcx, rbx
call fcn.0059e1a0
mov rdx, rbp
mov rcx, rbx
add r15, 1
mov r8d, 0x20
call fcn.0043f130
mov rdx, rdi
mov rcx, rbx
call fcn.0043f1c0
mov r8d, 0x20
mov rdx, rdi
mov rcx, rsi
call fcn.0043f130
mov rdx, rbp
mov rcx, rsi
call fcn.0043f1c0
movdqu xmm0, xmmword [rsp + 0x80]
pxor xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x80], xmm0
movdqu xmm0, xmmword [rsp + 0x90]
pxor xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x90], xmm0
cmp r14, r15
jae 0x59e9f0
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x570]
mov rcx, qword [rsp + 0x568]
sub rdx, rax
add rcx, rax
mov eax, 0x20
cmp rdx, 0x20
cmova rdx, rax
mov eax, edx
cmp edx, 8
jae 0x59eae1
and edx, 4
jne 0x59eb27
test eax, eax
je 0x59eabb
mov rdx, qword [rsp + 0x38]
movzx edx, byte [rdx]
mov byte [rcx], dl
test al, 2
jne 0x59eb3f
add qword [rsp + 0x28], 0x20
add qword [rsp + 0x30], 1
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x570], rax
jbe 0x59eb13
mov eax, dword [rsp + 0x30]
bswap eax
jmp 0x59e96f
mov r10, qword [rsp + 0x38]
mov eax, edx
mov r8, qword [r10 + rax - 8]
mov qword [rcx + rax - 8], r8
lea eax, [rdx - 1]
cmp eax, 8
jb 0x59eabb
and eax, 0xfffffff8
xor edx, edx
mov r8d, edx
add edx, 8
mov r9, qword [r10 + r8]
mov qword [rcx + r8], r9
cmp edx, eax
jb 0x59eaff
jmp 0x59eabb
add rsp, 0x4f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r11, qword [rsp + 0x38]
mov edx, dword [r11]
mov dword [rcx], edx
mov edx, dword [r11 + rax - 4]
mov dword [rcx + rax - 4], edx
jmp 0x59eabb
mov rdx, qword [rsp + 0x38]
movzx edx, word [rdx + rax - 2]
mov word [rcx + rax - 2], dx
jmp 0x59eabb