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

Disassembly:
mov rax, rsp
sub rsp, 0x108
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, rdx
lea rdx, [rsp + 0x60]
mov qword [rax + 0x20], rdi
call fcn.004c22f0
movabs r11, 0x3636363636363636
xor ebx, ebx
mov edi, 4
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], r11
mov rcx, rbx
mov rdx, rdi
movzx eax, byte [rsp + rcx + 0x60]
add rcx, 5
xor byte [rsp + rcx + 0x1b], al
movzx eax, byte [rsp + rcx + 0x5c]
xor byte [rsp + rcx + 0x1c], al
movzx eax, byte [rsp + rcx + 0x5d]
xor byte [rsp + rcx + 0x1d], al
movzx eax, byte [rsp + rcx + 0x5e]
xor byte [rsp + rcx + 0x1e], al
movzx eax, byte [rsp + rcx + 0x5f]
xor byte [rsp + rcx + 0x1f], al
dec rdx
jne 0x4ab6d2
lea rcx, [rsp + 0xa0]
call fcn.004c1ab0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
mov r8d, 0x40
call fcn.004c2160
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.004c22f0
movabs r11, 0x5c5c5c5c5c5c5c5c
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], r11
movzx eax, byte [rsp + rbx + 0x60]
add rbx, 5
xor byte [rsp + rbx + 0x1b], al
movzx eax, byte [rsp + rbx + 0x5c]
xor byte [rsp + rbx + 0x1c], al
movzx eax, byte [rsp + rbx + 0x5d]
xor byte [rsp + rbx + 0x1d], al
movzx eax, byte [rsp + rbx + 0x5e]
xor byte [rsp + rbx + 0x1e], al
movzx eax, byte [rsp + rbx + 0x5f]
xor byte [rsp + rbx + 0x1f], al
dec rdi
jne 0x4ab771
lea rcx, [rsp + 0xa0]
call fcn.004c1ab0
lea r8d, [rdi + 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xa0]
call fcn.004c2160
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0xa0]
call fcn.004c22f0
mov rdi, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x118]
lea rcx, [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rsi], rax
mov rax, qword [rcx + 8]
mov qword [rsi + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [rsi + 0x18], rax
mov rsi, qword [rsp + 0x120]
add rsp, 0x108
ret
Function at 0x4acf00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov r10d, dword [r9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], rdi
xor esi, esi
mov qword [rsp + 0x10], r12
and r10d, 7
cmp rdx, 5
mov qword [rsp + 8], r13
mov r13, r9
mov r12d, r8d
mov rdi, rcx
mov r11, rsi
jae 0x4acf3a
xor eax, eax
jmp 0x4ad09d
mov qword [rsp + 0x28], rbp
mov ebp, dword [rsp + 0x60]
lea r9, [rcx + rdx - 4]
mov qword [rsp + 0x30], rbx
nop
lea rdx, [r11 + rdi]
cmp rdx, r9
jae 0x4acf71
nop
nop
movzx eax, byte [rdx]
and al, 0xfe
cmp al, 0xe8
je 0x4acf71
inc rdx
cmp rdx, r9
jb 0x4acf60
mov rax, rdx
sub rax, r11
mov r11, rdx
sub r11, rdi
sub rax, rdi
cmp rdx, r9
jae 0x4ad07e
cmp rax, 2
jbe 0x4acfd6
mov r10d, esi
movzx r8d, byte [rdx + 4]
lea eax, [r8 + 1]
test al, 0xfe
jne 0x4ad06f
movzx eax, byte [rdx + 3]
shl r8d, 8
lea ebx, [r11 + r12 + 5]
or r8d, eax
movzx eax, byte [rdx + 2]
add r11, 5
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 1]
shl r8d, 8
or r8d, eax
test ebp, ebp
je 0x4ad00c
add r8d, ebx
jmp 0x4ad00f
mov ecx, eax
shr r10d, cl
test r10d, r10d
je 0x4acf92
cmp r10d, 4
ja 0x4acffd
cmp r10d, 3
je 0x4acffd
mov eax, r10d
shr rax, 1
mov cl, byte [rax + rdx + 1]
inc ecx
test cl, 0xfe
jne 0x4acf92
or r10d, 8
shr r10d, 1
inc r11
jmp 0x4acf50
sub r8d, ebx
test r10d, r10d
je 0x4ad045
and r10d, 6
mov eax, r8d
shl r10d, 2
mov ecx, r10d
shr eax, cl
inc eax
test al, 0xfe
jne 0x4ad042
mov eax, 0x100
shl eax, cl
dec eax
xor r8d, eax
test ebp, ebp
je 0x4ad03f
add r8d, ebx
jmp 0x4ad042
sub r8d, ebx
mov r10d, esi
mov eax, r8d
mov byte [rdx + 1], r8b
shr eax, 8
mov byte [rdx + 2], al
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
and r8b, 1
neg r8b
mov byte [rdx + 3], al
mov byte [rdx + 4], r8b
jmp 0x4acf50
or r10d, 8
shr r10d, 1
inc r11
jmp 0x4acf50
cmp rax, 2
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
ja 0x4ad096
mov ecx, eax
shr r10d, cl
mov esi, r10d
mov dword [r13], esi
mov rax, r11
mov r13, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x4ae540
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov qword [rcx + 0x480], 0xffffffffffffffff
mov dword [rcx + 0x3c], 0x20
mov byte [rcx + 0x21], 1
mov dword [rcx + 0x5c], 4
lea r8, [rcx + 0x78]
mov qword [rcx + 0x40], rdx
mov byte [rcx + 0x23], dl
mov qword [rcx + 0x28], rdx
mov byte [rcx + 0x22], dl
mov ecx, edx
mov eax, edx
inc edx
shr eax, 1
and ecx, 1
add r8, 4
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
cmp edx, 0x100
mov dword [r8 - 4], eax
jb 0x4ae571
ret
Function at 0x4b7120
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x48
mov r11, qword [rsp + 0x70]
movzx r10d, word [rcx]
mov qword [rax - 8], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov ebp, r8d
movzx r8d, word [rcx + 2]
mov rax, r10
xor r10, 0x7f0
mov r14, r9
shr rax, 4
shr r10, 4
mov r12d, edx
mov esi, dword [r11 + rax*4]
mov r9d, dword [r11 + r10*4]
mov rax, r8
shr rax, 4
xor r8, 0x7f0
mov rbx, rcx
mov eax, dword [r11 + rax*4]
shr r8, 4
mov rdi, r14
lea r13d, [r9 + rax]
mov eax, dword [r11 + r8*4]
xor r8d, r8d
lea r15d, [r9 + rax]
cmp r8d, ebp
jae 0x4b7302
mov edx, r8d
xor r9d, r9d
or edx, 8
cmp edx, 1
je 0x4b71fe
lea r10d, [r12*8]
nop
nop
nop
nop
mov eax, edx
shr rax, 1
add rax, r10
movzx ecx, word [rbx + rax*2 + 4]
mov eax, edx
shr edx, 1
and eax, 1
shr rcx, 4
neg rax
sar rax, 4
and eax, 0x7f
xor rcx, rax
add r9d, dword [r11 + rcx*4]
cmp edx, 1
jne 0x4b71d0
lea eax, [r9 + rsi]
inc r8d
add rdi, 4
cmp r8d, 8
mov dword [rdi - 4], eax
jb 0x4b71a3
cmp r8d, 0x10
movsxd rax, r8d
jae 0x4b7297
lea edi, [r8 - 8]
lea rsi, [r14 + rax*4]
cmp r8d, ebp
jae 0x4b7302
mov edx, edi
xor r9d, r9d
or edx, 8
cmp edx, 1
je 0x4b7281
lea r10d, [r12*8]
nop
nop
nop
nop
mov eax, edx
shr rax, 1
add rax, r10
movzx ecx, word [rbx + rax*2 + 0x104]
mov eax, edx
shr edx, 1
and eax, 1
shr rcx, 4
neg rax
sar rax, 4
and eax, 0x7f
xor rcx, rax
add r9d, dword [r11 + rcx*4]
cmp edx, 1
jne 0x4b7250
lea eax, [r9 + r13]
inc r8d
add rsi, 4
mov dword [rsi - 4], eax
inc edi
cmp r8d, 0x10
jb 0x4b7223
cmp r8d, ebp
movsxd rax, r8d
jae 0x4b7302
sub ebp, r8d
lea r9d, [r8 - 0x10]
lea r10, [r14 + rax*4]
mov edi, ebp
nop
mov edx, r9d
xor r8d, r8d
bts edx, 8
cmp edx, 1
je 0x4b72ee
nop
mov eax, edx
shr rax, 1
movzx ecx, word [rbx + rax*2 + 0x204]
mov eax, edx
shr edx, 1
and eax, 1
shr rcx, 4
neg rax
sar rax, 4
and eax, 0x7f
xor rcx, rax
add r8d, dword [r11 + rcx*4]
cmp edx, 1
jne 0x4b72c0
lea eax, [r8 + r15]
add r10, 4
inc r9d
dec rdi
mov dword [r10 - 4], eax
jne 0x4b72b0
mov r15, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
mov r13, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x4b9ab0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rsi, rcx
lea r9, [rcx + 0x33eac]
nop
xor r10d, r10d
mov ebx, r8d
mov r11d, 1
lea edi, [r10 + 4]
mov eax, r11d
mov edx, ebx
add r11d, r11d
movzx ecx, word [rsi + rax*2 + 0x34530]
and edx, 1
shr ebx, 1
shr rcx, 4
mov eax, edx
or r11d, edx
neg rax
sar rax, 4
and eax, 0x7f
xor rcx, rax
add r10d, dword [rsi + rcx*4 + 0x32818]
dec edi
jne 0x4b9ae0
inc r8d
mov dword [r9], r10d
add r9, 4
cmp r8d, 0x10
jb 0x4b9ad0
mov rbx, qword [rsp + 0x10]
mov dword [rsi + 0xa4], edi
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
ret

Function at 0x4b9b40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x228
mov qword [rax + 8], rbx
mov qword [rax - 0x18], r14
mov qword [rax - 0x20], r15
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14d, 4
mov qword [rax - 8], r12
mov r9, rcx
lea rbx, [rcx + 0x3081c]
lea r10, [rsp + 0x10]
mov qword [rax - 0x10], r13
mov r8d, r14d
movzx edx, byte [rbx]
xor r11d, r11d
mov ebp, r8d
mov esi, edx
mov eax, edx
lea edi, [r11 + 1]
and eax, 1
shr esi, 1
mov r12, rdx
dec esi
or eax, 2
mov ecx, esi
shl eax, cl
sub ebp, eax
test esi, esi
movsxd r13, eax
je 0x4b9beb
nop
mov eax, edi
mov edx, ebp
add edi, edi
sub rax, r12
and edx, 1
shr ebp, 1
add rax, r13
or edi, edx
movzx ecx, word [r9 + rax*2 + 0x3444a]
mov eax, edx
neg rax
shr rcx, 4
sar rax, 4
and eax, 0x7f
xor rcx, rax
add r11d, dword [r9 + rcx*4 + 0x32818]
dec esi
jne 0x4b9bb0
inc r8d
mov dword [r10], r11d
inc rbx
add r10, r14
cmp r8d, 0x80
jb 0x4b9b82
mov r13, qword [rsp + 0x218]
mov r12, qword [rsp + 0x220]
lea rsi, [rsp]
sub rsi, r9
lea rbx, [r9 + 0x332ac]
lea rdi, [r9 + 0x3424c]
sub rsi, 0x336ac
lea rbp, [r9 + 0x336b4]
xor r10d, r10d
cmp dword [r9 + 0xa8], r10d
jbe 0x4b9c91
mov r11, rbx
mov edx, r10d
xor r8d, r8d
or edx, 0x40
cmp edx, 1
je 0x4b9c7e
mov eax, edx
shr rax, 1
movzx ecx, word [rdi + rax*2]
mov eax, edx
shr edx, 1
and eax, 1
shr rcx, 4
neg rax
sar rax, 4
and eax, 0x7f
xor rcx, rax
add r8d, dword [r9 + rcx*4 + 0x32818]
cmp edx, 1
jne 0x4b9c50
mov dword [r11], r8d
inc r10d
add r11, 4
cmp r10d, dword [r9 + 0xa8]
jb 0x4b9c42
mov edx, 0xe
cmp dword [r9 + 0xa8], edx
jbe 0x4b9cbf
lea rcx, [rbx + 0x38]
mov eax, edx
inc edx
add rcx, 4
shr eax, 1
sub eax, 5
shl eax, 4
add dword [rcx - 4], eax
cmp edx, dword [r9 + 0xa8]
jb 0x4b9ca3
mov eax, dword [rbx]
lea r8, [r9 + 0x3081c]
lea rdx, [rbp + 8]
mov dword [rbp - 8], eax
mov eax, dword [rbx + 4]
mov r10d, 0x7c
mov dword [rbp - 4], eax
mov eax, dword [rbx + 8]
mov dword [rbp], eax
mov eax, dword [rbx + 0xc]
mov dword [rbp + 4], eax
nop
nop
nop
movzx eax, byte [r8]
add rdx, 4
inc r8
mov ecx, dword [rbx + rax*4]
add ecx, dword [rsi + rdx - 4]
dec r10
mov dword [rdx - 4], ecx
jne 0x4b9cf0
sub rdi, 0xffffffffffffff80
add rbx, 0x100
sub rsi, 0x200
add rbp, 0x200
dec r14
jne 0x4b9c33
mov r15, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x248]
mov rsi, qword [rsp + 0x240]
mov rbp, qword [rsp + 0x238]
mov rbx, qword [rsp + 0x230]
mov dword [r9 + 0xa0], r14d
mov r14, qword [rsp + 0x210]
add rsp, 0x228
ret
Function at 0x4b9d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax - 8], r12
lea rbx, [rcx + 0x310]
xor r12d, r12d
mov qword [rcx + 0xe8], r12
mov qword [rcx + 0xe0], r12
mov rbp, rcx
mov rcx, rbx
call fcn.004ae540
lea rcx, [rbp + 0x108]
call fcn.004b13f0
lea rdx, [rsp + 0x20]
mov rcx, rbp
mov qword [rbp + 0x308], rbx
mov dword [rsp + 0x20], 5
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x24], r12d
mov qword [rsp + 0x50], 0xffffffffffffffff
mov dword [rsp + 0x4c], 0xffffffff
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x48], r12d
call fcn.004b6530
lea rsi, [rbp + 0x30818]
mov ebx, 2
mov qword [rsp + 0x88], rdi
mov byte [rsi], r12b
mov byte [rsi + 1], 1
add rsi, 2
nop
nop
mov ecx, ebx
mov edi, 1
shr ecx, 1
add ecx, 0xffffffff
shl rdi, cl
test rdi, rdi
je 0x4b9e72
mov r8, rdi
movzx edx, bl
mov rcx, rsi
call sub.msvcrt.dll_memset
inc ebx
add rsi, rdi
cmp ebx, 0x1a
jb 0x4b9e50
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov r8d, 8
mov r9, r8
nop
nop
mov eax, r8d
mov edx, r12d
mov ecx, 4
nop
nop
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x4b9ecb
nop
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x4b9ec0
dec rcx
jne 0x4b9eb0
mov rax, r9
mov ecx, 0xa1
add r8d, 0x10
shr rax, 4
sub ecx, edx
add r9, 0x10
cmp r8d, 0x800
mov dword [rbp + rax*4 + 0x32818], ecx
jb 0x4b9ea0
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x3d5e0], r12
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x68
ret
Function at 0x4bafb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
xor edi, edi
mov qword [rsp + 0x50], r12
cmp dword [rcx + 0x80], edi
lea r12d, [rdi + 1]
mov rbx, rcx
jne 0x4bb04d
call fcn.004b9b40
mov r11d, edi
lea r8, [rbx + 0x33eac]
nop
mov esi, r11d
mov r9d, edi
mov r10d, r12d
mov ebp, 4
nop
mov eax, r10d
mov edx, esi
add r10d, r10d
movzx ecx, word [rbx + rax*2 + 0x34530]
and edx, r12d
shr esi, 1
shr rcx, 4
mov eax, edx
or r10d, edx
neg rax
sar rax, 4
and eax, 0x7f
xor rcx, rax
add r9d, dword [rbx + rcx*4 + 0x32818]
dec ebp
jne 0x4bb000
inc r11d
mov dword [r8], r9d
add r8, 4
cmp r11d, 0x10
jb 0x4baff0
mov dword [rbx + 0xa4], edi
mov ecx, dword [rbx + 0x68]
mov eax, dword [rbx + 0x44]
mov qword [rsp + 0x48], r13
dec eax
mov qword [rsp + 0x38], r15
mov r15d, r12d
shl r15d, cl
mov dword [rbx + 0x3919c], eax
mov dword [rbx + 0x34954], eax
test r15d, r15d
mov ebp, edi
je 0x4bb0d3
mov qword [rsp + 0x40], r14
lea rdi, [rbx + 0x32818]
lea r13, [rbx + 0x38d58]
lea r14, [rbx + 0x34958]
mov r8d, dword [rbx + 0x34954]
lea rcx, [rbx + 0x34550]
mov r9, r14
mov edx, ebp
mov qword [rsp + 0x20], rdi
call fcn.004b7120
mov r11d, dword [rbx + 0x34954]
inc ebp
mov dword [r13], r11d
add r13, 4
add r14, 0x440
cmp ebp, r15d
jb 0x4bb092
mov r14, qword [rsp + 0x40]
xor edi, edi
mov ecx, dword [rbx + 0x68]
mov r15, qword [rsp + 0x38]
lea rsi, [rbx + 0x38d98]
shl r12d, cl
test r12d, r12d
je 0x4bb135
lea r13, [rbx + 0x32818]
lea rbp, [rsi + 0x408]
lea rbx, [rsi + 0x4808]
nop
mov r8d, dword [rsi + 0x404]
mov r9, rbp
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], r13
call fcn.004b7120
mov r11d, dword [rsi + 0x404]
inc edi
mov dword [rbx], r11d
add rbx, 4
add rbp, 0x440
cmp edi, r12d
jb 0x4bb100
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x4bd700
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
add byte [rcx + 1], 4
mov rax, qword [rbx]
add word [rax + 2], 4
movzx eax, byte [rcx - 5]
cmp byte [rcx + 1], al
jbe 0x4bd768
mov eax, dword [rcx]
lea rdx, [rcx - 6]
lea r8, [rsp + 0x30]
mov dword [r8], eax
movzx eax, word [rcx + 4]
mov word [r8 + 4], ax
mov eax, dword [rdx]
mov dword [rcx], eax
movzx eax, word [rdx + 4]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x30]
mov eax, dword [rcx]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov word [rdx + 4], ax
mov qword [rbx + 0x10], rdx
cmp byte [rdx + 1], 0x7c
jbe 0x4bd768
mov rcx, rbx
call fcn.004bd3d0
mov rcx, qword [rbx + 0x10]
movzx edx, word [rcx + 4]
movzx eax, word [rcx + 2]
shl edx, 0x10
or rdx, rax
add rdx, qword [rbx + 0x40]
cmp dword [rbx + 0x18], 0
jne 0x4bd797
cmp rdx, qword [rbx + 0x58]
jbe 0x4bd797
mov qword [rbx + 8], rdx
mov qword [rbx], rdx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.004bcef0

Function at 0x4bd7b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov r9, qword [rcx]
xor r8d, r8d
movzx edx, byte [rax + 1]
movzx eax, word [r9 + 2]
mov rbx, rcx
add edx, edx
cmp edx, eax
setg r8b
add dword [rcx + 0x2c], r8d
mov dword [rcx + 0x20], r8d
add word [r9 + 2], 4
mov rax, qword [rcx + 0x10]
add byte [rax + 1], 4
mov rax, qword [rcx + 0x10]
cmp byte [rax + 1], 0x7c
jbe 0x4bd7f9
call fcn.004bd3d0
mov rcx, qword [rbx + 0x10]
movzx edx, word [rcx + 4]
movzx eax, word [rcx + 2]
shl edx, 0x10
or rdx, rax
add rdx, qword [rbx + 0x40]
cmp dword [rbx + 0x18], 0
jne 0x4bd828
cmp rdx, qword [rbx + 0x58]
jbe 0x4bd828
mov qword [rbx + 8], rdx
mov qword [rbx], rdx
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.004bcef0

Function at 0x4bd840
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rdx, qword [rcx + 0x10]
movzx eax, byte [rdx + 1]
cmp al, 0x80
adc al, 0
mov byte [rdx + 1], al
inc dword [rcx + 0x2c]
mov rdx, qword [rcx + 0x10]
mov dword [rcx + 0x20], 1
movzx r8d, word [rdx + 4]
movzx eax, word [rdx + 2]
shl r8d, 0x10
or r8, rax
add r8, qword [rcx + 0x40]
cmp dword [rcx + 0x18], 0
jne 0x4bd885
cmp r8, qword [rcx + 0x58]
jbe 0x4bd885
mov qword [rcx + 8], r8
mov qword [rcx], r8
ret
jmp fcn.004bcef0

Function at 0x4bd890
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add word [rax + 2], 4
mov rax, qword [rcx + 0x10]
add byte [rax + 1], 4
mov rax, qword [rcx + 0x10]
cmp byte [rax + 1], 0x7c
jbe 0x4bd8b8
call fcn.004bd3d0
mov eax, dword [rbx + 0x30]
mov rcx, rbx
mov dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
jmp fcn.004bcef0
Function at 0x4c1ab0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov qword [rcx + 0x18], 0
ret
Function at 0x4c22f0
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x18]
mov qword [rsp + 0x38], rbp
and ebx, 0x3f
mov qword [rsp + 0x40], rsi
xor ebp, ebp
mov qword [rsp + 0x48], rdi
mov rdi, rcx
mov ecx, ebx
shr ebx, 2
and ecx, 3
mov rsi, rdx
mov eax, ebp
je 0x4c2326
mov eax, dword [rdi + rbx*4 + 0x20]
shl ecx, 3
mov edx, 0x80000000
shr edx, cl
or edx, eax
mov dword [rdi + rbx*4 + 0x20], edx
inc ebx
cmp ebx, 0xe
je 0x4c235f
nop
and ebx, 0xf
jne 0x4c2354
lea rdx, [rdi + 0x20]
mov r8, rdi
mov rcx, rdi
call fcn.004c1ae0
mov dword [rdi + rbx*4 + 0x20], ebp
inc ebx
cmp ebx, 0xe
jne 0x4c2340
mov rcx, qword [rdi + 0x18]
lea rdx, [rdi + 0x20]
mov r8, rdi
shl rcx, 3
mov rax, rcx
mov dword [rdi + 0x5c], ecx
mov rcx, rdi
shr rax, 0x20
mov dword [rdi + 0x58], eax
call fcn.004c1ae0
mov rbx, qword [rsp + 0x30]
mov r11, rdi
mov ecx, 5
mov eax, dword [r11]
add rsi, 4
add r11, 4
dec rcx
bswap eax
mov dword [rsi - 4], eax
jne 0x4c2390
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x18], rbp
mov rbp, qword [rsp + 0x38]
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret

Function at 0x4c24d0
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
mov ebx, dword [rcx + 0x18]
mov qword [rsp + 0x38], rbp
and ebx, 0xf
mov qword [rsp + 0x40], rsi
xor ebp, ebp
mov dword [rcx + rbx*4 + 0x20], 0x80000000
inc ebx
mov qword [rsp + 0x48], rdi
cmp ebx, 0xe
mov rsi, rdx
mov rdi, rcx
je 0x4c2524
and ebx, 0xf
jne 0x4c2519
lea rdx, [rdi + 0x20]
mov r8, rdi
mov rcx, rdi
call fcn.004c1ae0
mov dword [rdi + rbx*4 + 0x20], ebp
inc ebx
cmp ebx, 0xe
jne 0x4c2505
mov rcx, qword [rdi + 0x18]
lea rdx, [rdi + 0x20]
mov r8, rsi
shl rcx, 5
mov rax, rcx
mov dword [rdi + 0x5c], ecx
mov rcx, rdi
shr rax, 0x20
mov dword [rdi + 0x58], eax
call fcn.004c1ae0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x18], rbp
mov rbp, qword [rsp + 0x38]
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret

Function at 0x4c2590
Capabilities:
Hash data using sha256

Disassembly:
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x20], 0
ret
Function at 0x4c31f0
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbx
mov ebx, dword [rcx + 0x20]
mov qword [rsp + 0x40], rsi
and ebx, 0x3f
mov qword [rsp + 0x48], rdi
mov rsi, rdx
mov byte [rbx + rcx + 0x28], 0x80
inc ebx
mov rdi, rcx
cmp ebx, 0x38
je 0x4c3239
nop
nop
and ebx, 0x3f
jne 0x4c322d
mov rcx, rdi
call fcn.004c25d0
mov byte [rbx + rdi + 0x28], 0
inc ebx
cmp ebx, 0x38
jne 0x4c3220
mov rcx, qword [rdi + 0x20]
shl rcx, 3
mov rax, rcx
bswap ecx
shr rax, 0x20
mov dword [rdi + 0x64], ecx
mov rcx, rdi
bswap eax
mov dword [rdi + 0x60], eax
call fcn.004c25d0
mov rbx, qword [rsp + 0x38]
mov r11, rdi
mov edx, 4
nop
nop
nop
mov ecx, dword [r11 + 4]
mov eax, dword [r11]
add rsi, 8
bswap eax
bswap ecx
add r11, 8
dec rdx
mov dword [rsi - 8], eax
mov dword [rsi - 4], ecx
jne 0x4c3270
mov rsi, qword [rsp + 0x40]
mov dword [rdi], 0x6a09e667
mov dword [rdi + 4], 0xbb67ae85
mov dword [rdi + 8], 0x3c6ef372
mov dword [rdi + 0xc], 0xa54ff53a
mov dword [rdi + 0x10], 0x510e527f
mov dword [rdi + 0x14], 0x9b05688c
mov dword [rdi + 0x18], 0x1f83d9ab
mov dword [rdi + 0x1c], 0x5be0cd19
mov qword [rdi + 0x20], rdx
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
ret

Function at 0x4c3440
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
je 0x4c347b
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x4c3740
Capabilities:
Hash data using sha256

Disassembly:
mov dword [rcx], edx
dec edx
je 0x4c3762
sub edx, 3
je 0x4c3759
cmp edx, 6
jne 0x4c3769
add rcx, 0x10
jmp fcn.004c2590
mov qword [rcx + 8], 0xffffffffffffffff
ret
mov dword [rcx + 4], 0xffffffff
ret 0