joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800340b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, r12
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x18003413f
mov rbx, r15
mov rbp, r15
jmp 0x18003418c
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x18003415e
nop dword [rax + rax]
cmp rbx, rcx
je 0x180034186
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180034150
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
je 0x1800342d8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18011dae8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov dword [rax + 0x14], r13d
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1800341e2
cvtsi2ss xmm0, rcx
jmp 0x1800341f7
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18003420a
cvtsi2ss xmm1, rcx
jmp 0x18003421f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x180034279
mov rcx, rsi
call fcn.180035490
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x18003426c
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x180034269
mov rbx, rax
cmp rax, rdx
je 0x1800342ad
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180034258
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1800342b4
mov qword [rcx + rax*8], rdi
jmp 0x1800342c6
mov qword [rsp + 0x20], rax
jmp 0x180034271
cmp r8, rbp
jne 0x1800342bf
mov qword [rcx + rax*8], rdi
jmp 0x1800342cb
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1800342cb
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x180034166
lea rcx, str.unordered_map_set_too_long
call fcn.18011a1a8
int3
Function at 0x1800342f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rbp, rcx
movzx esi, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rsi, rax
movabs rcx, 0x100000001b3
imul rsi, rcx
movzx eax, byte [r8 + 1]
xor rsi, rax
imul rsi, rcx
movzx eax, byte [r8 + 2]
xor rsi, rax
imul rsi, rcx
movzx eax, byte [r8 + 3]
xor rsi, rax
imul rsi, rcx
mov rcx, rsi
and rcx, qword [rbp + 0x30]
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x18003437f
mov rbx, r12
mov r15, r12
jmp 0x1800343cc
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x18003439e
nop dword [rax + rax]
cmp rbx, rcx
je 0x1800343c6
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180034390
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r15, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
je 0x18003451d
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18011dae8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov dword [rax + 0x14], r13d
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180034422
cvtsi2ss xmm0, rcx
jmp 0x180034437
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18003444a
cvtsi2ss xmm1, rcx
jmp 0x18003445f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x1800344c1
mov rcx, rbp
call fcn.180035490
mov rcx, rsi
and rcx, qword [rbp + 0x30]
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x1800344b4
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1800344b1
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x1800344f2
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1800344a0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r15, rbx
mov r12, qword [rsp + 0x20]
mov rcx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rcx
mov qword [rcx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [rbp + 0x18]
and rsi, qword [rbp + 0x30]
add rsi, rsi
mov rdx, qword [rax + rsi*8]
cmp rdx, qword [rbp + 8]
jne 0x1800344f9
mov qword [rax + rsi*8], rdi
jmp 0x18003450b
mov qword [rsp + 0x20], rax
jmp 0x1800344b9
cmp rdx, r15
jne 0x180034504
mov qword [rax + rsi*8], rdi
jmp 0x180034510
cmp qword [rax + rsi*8 + 8], rcx
jne 0x180034510
mov qword [rax + rsi*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1800343a6
lea rcx, str.unordered_map_set_too_long
call fcn.18011a1a8
int3
Function at 0x180035890
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180035a41
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1800330a0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180035a06
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180035980
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800359f5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800359bd
mov r10, qword [rdx]
cmp r10, rax
je 0x1800359b7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800359f5
cmp r9, rdx
je 0x1800359d1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180035a1b
cmp r9, rdx
jne 0x1800359c2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180035930
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800359f5
lea rcx, str.invalid_hash_bucket_count
call fcn.18011a1a8
int3
Function at 0x180035a50
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180035c2f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1800330a0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180035bf4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180035b6c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180035be3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180035ba9
mov r10, qword [rdx]
cmp r10, rax
je 0x180035ba3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180035be3
cmp r9, rdx
je 0x180035bbf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180035c09
cmp r9, rdx
jne 0x180035bb0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180035af0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180035be3
lea rcx, str.invalid_hash_bucket_count
call fcn.18011a1a8
int3
Function at 0x18004b210
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rdi
push r13
sub rsp, 0x48
mov r13, qword [rcx + 0x10]
mov rdi, rdx
movsxd rax, dword [rcx + 0x1c]
shl rax, 4
add rax, r13
mov qword [rsp + 8], r13
mov qword [rsp + 0x10], rax
cmp r13, rax
je 0x18004b47b
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax + rax]
movsxd r14, dword [r13 + 4]
mov eax, dword [r13 + 0xc]
mov r11d, dword [r13]
add eax, r14d
mov ebx, dword [r13 + 8]
mov dword [rsp + 0x78], r11d
mov dword [rsp], ebx
cmp r14d, eax
jge 0x18004b449
mov r15, r14
mov r13d, eax
nop word [rax + rax]
mov r10, qword [rdi]
mov eax, r14d
sub eax, dword [rdi + 0x18]
mov esi, r11d
mov r8, qword [rdi + 8]
cdq
sub esi, dword [rdi + 0x14]
mov ebp, ebx
movsxd r9, dword [r10 + 0x14]
imul r9, r15
add r9, qword [r10]
mov qword [rdi + 0x20], r9
idiv dword [r8 + 0x20]
movsxd rax, dword [r8 + 0x14]
movsxd rcx, edx
imul rcx, rax
add rcx, qword [r8]
mov qword [rdi + 0x28], rcx
movsxd rdx, dword [r10 + 0x18]
mov eax, edx
imul eax, r11d
movsxd rcx, eax
add rcx, r9
cmp dword [rdi + 0x10], 0xfe
jge 0x18004b3de
mov r12, rdx
nop dword [rax + rax]
mov r8, qword [rdi + 8]
mov eax, esi
mov r10d, dword [rcx]
cdq
inc esi
dec ebp
idiv dword [r8 + 0x1c]
imul edx, dword [r8 + 0x18]
movsxd r8, edx
mov edx, 0x100
add r8, qword [rdi + 0x28]
movzx ebx, byte [r8 + 1]
movzx r11d, byte [r8 + 2]
or ebx, 0xff0000
imul ebx, dword [rdi + 0x10]
shl r11d, 0x10
shr ebx, 8
and ebx, 0xff00ff
mov eax, ebx
shr eax, 0x10
sub edx, eax
movzx eax, byte [r8]
or r11d, eax
mov r8d, 0x100
imul r11d, dword [rdi + 0x10]
mov eax, r10d
and eax, 0xff00ff
shr r10d, 8
imul eax, edx
and r10d, 0xff00ff
imul r10d, edx
mov edx, 0x100
shr r11d, 8
and r11d, 0xff00ff
shr eax, 8
and eax, 0xff00ff
shr r10d, 8
add r11d, eax
and r10d, 0xff00ff
add ebx, r10d
mov eax, ebx
shl ebx, 8
shr eax, 8
and eax, 0xff00ff
sub r8d, eax
mov eax, r11d
shl r8d, 8
shr eax, 8
or r8d, ebx
and eax, 0xff00ff
and r8d, 0xff00ff00
sub edx, eax
or edx, r11d
and edx, 0xff00ff
xor edx, r8d
mov dword [rcx], edx
add rcx, r12
test ebp, ebp
jg 0x18004b2f0
mov r11d, dword [rsp + 0x78]
mov ebx, dword [rsp]
jmp 0x18004b435
mov r10, rdx
mov r8, qword [rdi + 8]
mov eax, esi
cdq
inc esi
dec ebp
idiv dword [r8 + 0x1c]
mov rax, qword [rdi + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, byte [rdx + rax + 2]
movzx r9d, word [rdx + rax]
or r8d, 0xffffff00
shl r8d, 8
mov word [rsp + 0x60], r9w
movzx eax, byte [rsp + 0x61]
or r8d, eax
movzx eax, r9b
shl r8d, 8
or r8d, eax
mov dword [rcx], r8d
add rcx, r10
test ebp, ebp
jg 0x18004b3e1
inc r14d
inc r15
cmp r14d, r13d
jl 0x18004b290
mov r13, qword [rsp + 8]
add r13, 0x10
mov qword [rsp + 8], r13
cmp r13, qword [rsp + 0x10]
jne 0x18004b260
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
add rsp, 0x48
pop r13
pop rdi
ret
Function at 0x18004b730
Capabilities:
Encode data using xor

Disassembly:
push r15
sub rsp, 0x30
mov r15, qword [rcx + 0x10]
mov r8, rdx
movsxd rax, dword [rcx + 0x1c]
shl rax, 4
add rax, r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rax
cmp r15, rax
je 0x18004b9dd
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r13
mov qword [rsp], r14
nop dword [rax]
movsxd rdi, dword [r15 + 4]
mov r12d, dword [r15 + 0xc]
mov r13d, dword [r15]
add r12d, edi
mov eax, dword [r15 + 8]
cmp edi, r12d
jge 0x18004b9a7
mov r14, rdi
mov r15d, eax
nop dword [rax]
nop word [rax + rax]
mov r11, qword [r8]
mov eax, edi
sub eax, dword [r8 + 0x18]
mov ebx, r13d
mov r9, qword [r8 + 8]
cdq
sub ebx, dword [r8 + 0x14]
mov esi, r15d
movsxd r10, dword [r11 + 0x14]
imul r10, r14
add r10, qword [r11]
mov qword [r8 + 0x20], r10
idiv dword [r9 + 0x20]
movsxd rax, dword [r9 + 0x14]
movsxd rcx, edx
imul rcx, rax
add rcx, qword [r9]
mov qword [r8 + 0x28], rcx
movsxd rcx, dword [r11 + 0x18]
mov eax, ecx
mov rbp, rcx
imul eax, r13d
movsxd r11, eax
add r11, r10
cmp dword [r8 + 0x10], 0xfe
jge 0x18004b8e0
nop
mov rcx, qword [r8 + 8]
mov eax, ebx
cdq
inc ebx
dec esi
idiv dword [rcx + 0x1c]
mov rax, qword [r8 + 0x28]
imul edx, dword [rcx + 0x18]
movsxd rcx, edx
movzx edx, byte [rcx + rax]
mov ecx, 0x100
mov r10d, edx
shl r10d, 0x10
or r10d, edx
mov edx, 0x100
imul r10d, dword [r8 + 0x10]
shr r10d, 8
and r10d, 0xff00ff
mov eax, r10d
shr eax, 0x10
sub ecx, eax
mov eax, dword [r11]
mov r9d, eax
shr eax, 8
and eax, 0xff00ff
and r9d, 0xff00ff
imul eax, ecx
imul r9d, ecx
mov ecx, 0x100
shr eax, 8
and eax, 0xff00ff
shr r9d, 8
and r9d, 0xff00ff
add r9d, r10d
add r10d, eax
mov eax, r10d
shl r10d, 8
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, r9d
shl edx, 8
shr eax, 8
or edx, r10d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r9d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r11], ecx
add r11, rbp
test esi, esi
jg 0x18004b810
jmp 0x18004b994
mov rcx, qword [r8 + 8]
mov eax, ebx
mov r9d, dword [r11]
cdq
mov r10d, r9d
inc ebx
shr r9d, 8
and r10d, 0xff00ff
idiv dword [rcx + 0x1c]
mov rax, qword [r8 + 0x28]
and r9d, 0xff00ff
imul edx, dword [rcx + 0x18]
dec esi
movsxd rcx, edx
movzx edx, byte [rcx + rax]
mov eax, 0x100
sub eax, edx
mov ecx, edx
imul r9d, eax
imul r10d, eax
shl ecx, 0x10
or ecx, edx
mov edx, 0x100
shr r9d, 8
and r9d, 0xff00ff
shr r10d, 8
add r9d, ecx
and r10d, 0xff00ff
add r10d, ecx
mov eax, r9d
shr eax, 8
mov ecx, 0x100
and eax, 0xff00ff
shl r9d, 8
sub edx, eax
mov eax, r10d
shl edx, 8
shr eax, 8
or edx, r9d
and eax, 0xff00ff
and edx, 0xff00ff00
sub ecx, eax
or ecx, r10d
and ecx, 0xff00ff
xor ecx, edx
mov dword [r11], ecx
add r11, rbp
test esi, esi
jg 0x18004b8e0
inc edi
inc r14
cmp edi, r12d
jl 0x18004b7b0
mov r15, qword [rsp + 0x50]
add r15, 0x10
mov qword [rsp + 0x50], r15
cmp r15, qword [rsp + 0x58]
jne 0x18004b780
mov r14, qword [rsp]
mov r13, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop r15
ret
Function at 0x18004c290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rsi
push r13
sub rsp, 0x48
mov r13, qword [rcx + 0x10]
mov rsi, rdx
movsxd rax, dword [rcx + 0x1c]
shl rax, 4
add rax, r13
mov qword [rsp + 8], r13
mov qword [rsp + 0x10], rax
cmp r13, rax
je 0x18004c4cb
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax + rax]
movsxd r14, dword [r13 + 4]
mov eax, dword [r13 + 0xc]
mov r11d, dword [r13]
add eax, r14d
mov ebx, dword [r13 + 8]
mov dword [rsp + 0x78], r11d
mov dword [rsp], ebx
cmp r14d, eax
jge 0x18004c499
mov r15, r14
mov r13d, eax
nop word [rax + rax]
mov r10, qword [rsi]
mov eax, r14d
sub eax, dword [rsi + 0x18]
mov edi, r11d
mov r8, qword [rsi + 8]
cdq
sub edi, dword [rsi + 0x14]
mov ebp, ebx
movsxd r9, dword [r10 + 0x14]
imul r9, r15
add r9, qword [r10]
mov qword [rsi + 0x20], r9
idiv dword [r8 + 0x20]
movsxd rax, dword [r8 + 0x14]
movsxd rcx, edx
imul rcx, rax
add rcx, qword [r8]
mov qword [rsi + 0x28], rcx
movsxd rdx, dword [r10 + 0x18]
mov eax, edx
imul eax, r11d
movsxd rcx, eax
add rcx, r9
cmp dword [rsi + 0x10], 0xfe
jge 0x18004c440
mov r12, rdx
nop dword [rax + rax]
mov r8, qword [rsi + 8]
mov eax, edi
movzx ebx, byte [rcx + 1]
cdq
mov r9d, 0x100
inc edi
dec ebp
idiv dword [r8 + 0x1c]
imul edx, dword [r8 + 0x18]
movsxd r8, edx
add r8, qword [rsi + 0x28]
movzx edx, byte [r8 + 1]
movzx r10d, byte [r8 + 2]
or edx, 0xff0000
imul edx, dword [rsi + 0x10]
shl r10d, 0x10
shr edx, 8
and edx, 0xff00ff
mov eax, edx
shr eax, 0x10
sub r9d, eax
movzx eax, byte [r8]
or r10d, eax
imul ebx, r9d
imul r10d, dword [rsi + 0x10]
movzx eax, byte [rcx]
shr ebx, 8
add ebx, edx
shr r10d, 8
movzx edx, byte [rcx + 2]
and r10d, 0xff00ff
shl edx, 0x10
or edx, eax
imul edx, r9d
shr edx, 8
and edx, 0xff00ff
add r10d, edx
mov edx, 0x100
mov eax, r10d
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, ebx
shr eax, 8
or edx, r10d
neg al
and edx, 0xff00ff
or al, bl
mov byte [rcx], dl
mov byte [rcx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 2], al
add rcx, r12
test ebp, ebp
jg 0x18004c370
mov r11d, dword [rsp + 0x78]
mov ebx, dword [rsp]
jmp 0x18004c485
mov r10, rdx
mov r8, qword [rsi + 8]
mov eax, edi
cdq
inc edi
dec ebp
idiv dword [r8 + 0x1c]
mov rax, qword [rsi + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, word [rdx + rax]
movzx r9d, byte [rdx + rax + 2]
mov word [rsp + 0x60], r8w
movzx eax, byte [rsp + 0x61]
mov byte [rcx + 1], al
mov byte [rcx], r8b
mov byte [rcx + 2], r9b
add rcx, r10
test ebp, ebp
jg 0x18004c443
inc r14d
inc r15
cmp r14d, r13d
jl 0x18004c310
mov r13, qword [rsp + 8]
add r13, 0x10
mov qword [rsp + 8], r13
cmp r13, qword [rsp + 0x10]
jne 0x18004c2e0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
add rsp, 0x48
pop r13
pop rsi
ret
Function at 0x18004ccb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x10
mov r14, qword [rcx + 0x10]
mov rbx, rdx
movsxd r15, dword [rcx + 0x1c]
shl r15, 4
add r15, r14
cmp r14, r15
je 0x18004ce35
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 8], r12
mov qword [rsp], r13
nop dword [rax]
movsxd rdi, dword [r14 + 4]
mov ebp, dword [r14 + 0xc]
mov r12d, dword [r14]
add ebp, edi
mov r13d, dword [r14 + 8]
cmp edi, ebp
jge 0x18004ce10
mov rsi, rdi
nop dword [rax]
mov r10, qword [rbx]
mov eax, edi
sub eax, dword [rbx + 0x18]
mov r11d, r13d
mov r8, qword [rbx + 8]
cdq
movsxd r9, dword [r10 + 0x14]
imul r9, rsi
add r9, qword [r10]
mov qword [rbx + 0x20], r9
idiv dword [r8 + 0x20]
movsxd rax, dword [r8 + 0x14]
movsxd rcx, edx
imul rcx, rax
add rcx, qword [r8]
mov qword [rbx + 0x28], rcx
movsxd rdx, dword [r10 + 0x18]
mov eax, edx
mov r10, rdx
imul eax, r12d
movsxd rcx, eax
add rcx, r9
mov r9d, r12d
sub r9d, dword [rbx + 0x14]
cmp dword [rbx + 0x10], 0xfe
jge 0x18004cdc1
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov eax, r9d
cdq
inc r9d
dec r11d
idiv dword [r8 + 0x1c]
mov rax, qword [rbx + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, byte [rdx + rax + 3]
mov edx, 0x100
mov eax, dword [rbx + 0x10]
inc eax
imul r8d, eax
movzx eax, byte [rcx]
shr r8d, 8
sub edx, r8d
imul edx, eax
sar edx, 8
add dl, r8b
mov byte [rcx], dl
add rcx, r10
test r11d, r11d
jg 0x18004cd70
jmp 0x18004ce03
mov r8, qword [rbx + 8]
mov eax, r9d
cdq
inc r9d
dec r11d
idiv dword [r8 + 0x1c]
mov rax, qword [rbx + 0x28]
imul edx, dword [r8 + 0x18]
movsxd rdx, edx
movzx r8d, byte [rdx + rax + 3]
mov edx, 0x100
movzx eax, byte [rcx]
sub edx, r8d
imul edx, eax
sar edx, 8
add dl, r8b
mov byte [rcx], dl
add rcx, r10
test r11d, r11d
jg 0x18004cdc1
inc edi
inc rsi
cmp edi, ebp
jl 0x18004cd10
add r14, 0x10
cmp r14, r15
jne 0x18004ccf0
mov r13, qword [rsp]
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x10
pop r15
pop r14
pop rbx
ret