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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
lea rax, [rbp + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0x10], rdi
lea r9, [rbp - 0x10]
mov qword [r11 - 0x28], rax
lea rdx, [rbp - 0x10]
mov rbx, rcx
lea r8d, [rdi + 0x10]
movups xmmword [rbp - 0x10], xmm0
call fcn.14000362c
test eax, eax
jne 0x140005043
movzx eax, byte [rbp - 0xf]
movzx r8d, byte [rbp - 0x10]
movzx r9d, byte [rbp - 8]
movzx ecx, byte [rbp - 0xc]
shl r8d, 8
or r8d, eax
shl r9d, 8
movzx eax, byte [rbp - 0xe]
shl r8d, 8
or r8d, eax
shl ecx, 8
movzx eax, byte [rbp - 0xd]
shl r8d, 8
or r8, rax
mov qword [rbx + 0xd8], rdi
movzx eax, byte [rbp - 0xb]
or ecx, eax
shl r8, 0x20
movzx eax, byte [rbp - 0xa]
shl ecx, 8
or eax, ecx
mov qword [rbx + 0x58], rdi
movzx ecx, byte [rbp - 4]
shl eax, 8
or r8, rax
shl ecx, 8
movzx eax, byte [rbp - 9]
or r8, rax
mov r10d, 4
movzx eax, byte [rbp - 7]
or r9d, eax
mov qword [rbx + 0x118], r8
movzx eax, byte [rbp - 6]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbp - 5]
shl r9d, 8
or r9, rax
movzx eax, byte [rbp - 3]
or ecx, eax
shl r9, 0x20
movzx eax, byte [rbp - 2]
shl ecx, 8
or eax, ecx
shl eax, 8
or r9, rax
movzx eax, byte [rbp - 1]
or r9, rax
mov qword [rbx + 0x98], r9
mov eax, r9d
mov rcx, r8
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, r9
shr rax, 1
mov r9, rcx
or r9, rax
mov rax, r8
shr rax, 1
mov qword [rbx + r10*8 + 0x58], r9
mov ecx, edx
shl rcx, 0x20
mov r8, rcx
xor r8, rax
mov qword [rbx + r10*8 + 0xd8], r8
shr r10d, 1
jne 0x140004f95
mov r8d, 2
mov ecx, r8d
lea r9, [rbx + 0x58]
lea r10, [rbx + 0xd8]
lea r9, [r9 + rcx*8]
mov rsi, qword [r9]
lea r10, [r10 + rcx*8]
mov rdi, qword [r10]
cmp rcx, 1
jle 0x140005032
sub r10, rbx
lea rdx, [rbx + 0x60]
sub r9, rbx
lea r11, [rcx - 1]
mov rax, qword [rdx + 0x80]
xor rax, rdi
mov qword [r10 + rdx - 0x58], rax
mov rax, qword [rdx]
lea rdx, [rdx + 8]
xor rax, rsi
mov qword [r9 + rdx - 0x60], rax
sub r11, 1
jne 0x14000500e
lea eax, [r8 + r8]
add rcx, rcx
mov r8d, eax
cmp eax, 8
jle 0x140004fe1
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x1400052b4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
and qword [rax + 0x20], 0
mov rbx, rcx
lea rax, [r9 - 1]
movabs rcx, 0x1ffffffffffffffe
mov rsi, r9
mov r15, r8
cmp rax, rcx
ja 0x140005490
mov rdi, qword [rsp + 0x98]
movabs rax, 0x2000000000000000
cmp rdi, rax
jae 0x140005490
mov r14d, 0x10
lea rbp, [rbx + 0x178]
xorps xmm0, xmm0
lea r12, [rbx + 0x188]
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
lea r8d, [r14 - 4]
movups xmmword [r12], xmm1
and qword [rbx + 0x158], 0
and qword [rbx + 0x160], 0
mov dword [rbx + 0x198], edx
cmp r9, r8
jne 0x140005365
mov rdx, r15
mov rcx, rbp
call qword [0x140018780]
mov byte [rbx + 0x187], 1
jmp 0x14000540f
movups xmmword [rsp + 0x30], xmm0
lea rcx, [r9*8]
mov rax, rcx
shr rax, 0x18
mov byte [rsp + 0x3c], al
mov rax, rcx
shr rax, 0x10
mov byte [rsp + 0x3d], al
mov al, sil
shr rcx, 8
shl al, 3
mov byte [rsp + 0x3f], al
mov byte [rsp + 0x3e], cl
cmp rsi, 0x10
cmovb r14, rsi
test r14, r14
je 0x1400053c5
mov rdx, r15
mov rcx, rbp
sub rdx, rbx
mov r8, r14
mov al, byte [rdx + rcx - 0x178]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400053b3
mov r8, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.140005058
add r15, r14
sub rsi, r14
mov r14d, 0x10
jne 0x14000539a
lea rdx, [rsp + 0x30]
mov rcx, rbp
sub rdx, rbx
mov r8d, r14d
mov al, byte [rdx + rcx - 0x178]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400053ef
mov r8, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.140005058
lea rax, [rsp + 0x88]
mov r8, r14
lea r9, [rbx + 0x168]
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call fcn.14000362c
test eax, eax
jne 0x140005495
mov rbp, qword [rsp + 0x90]
mov qword [rbx + 0x160], rdi
test rdi, rdi
je 0x14000548c
cmp rdi, r14
mov rsi, r14
cmovb rsi, rdi
test rsi, rsi
je 0x140005476
mov rdx, rbp
mov rcx, r12
sub rdx, rbx
mov r8, rsi
mov al, byte [rdx + rcx - 0x188]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140005464
mov r8, r12
mov rdx, r12
mov rcx, rbx
call fcn.140005058
add rbp, rsi
sub rdi, rsi
jne 0x140005449
xor eax, eax
jmp 0x140005495
mov eax, 0xffffffec
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000d240
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov ebp, ecx
mov rdx, qword [rax + 0x18]
add rdx, 0x20
mov rax, qword [rdx]
lea rsi, [rax - 0x10]
test ecx, ecx
jne 0x14000d278
mov rax, qword [rax + 0x20]
jmp 0x14000d2af
xor ebx, ebx
jmp 0x14000d282
mov rax, qword [rax]
inc rbx
cmp rax, rdx
jne 0x14000d27c
xor edi, edi
test rbx, rbx
je 0x14000d2ad
mov rsi, qword [rsi]
mov r8d, ebp
movzx edx, word [rsi + 0x58]
mov rcx, qword [rsi + 0x60]
call fcn.14000d9dc
test eax, eax
jne 0x14000d2c4
inc rdi
cmp rdi, rbx
jb 0x14000d28e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsi + 0x30]
jmp 0x14000d2af

Function at 0x14000d2cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
call fcn.14000d240
mov rcx, rax
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000d2f5
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000d2f5
mov eax, dword [rax + rcx + 8]
jmp 0x14000d2f7
xor eax, eax
add rsp, 0x28
ret

Function at 0x14000d2fc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x20]
mov rax, qword [rax - 0x10]
mov rax, qword [rax + 0x30]
ret

Function at 0x14000d3ac
Capabilities:
Resolve function by parsing pe exports

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, 0x220
mov ebp, edx
mov rbx, rcx
movsxd r14, dword [rbx + 0x3c]
mov esi, dword [r14 + rbx + 0x88]
add rsi, rbx
mov r13d, dword [rsi + 0x20]
mov r15d, dword [rsi + 0x24]
add r13, rbx
mov r12d, dword [rsi + 0x1c]
add r15, rbx
add r12, rbx
xor edi, edi
mov eax, dword [rsi + 0x18]
cmp rdi, rax
jae 0x14000d487
mov ecx, dword [r13 + rdi*4]
add rcx, rbx
call fcn.14000d4f4
cmp ebp, eax
je 0x14000d418
inc rdi
jmp 0x14000d3f6
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + rdi*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov r8d, dword [rcx + rdx*4]
mov ecx, dword [r14 + rbx + 0x88]
cmp r8d, ecx
jbe 0x14000d479
add ecx, dword [r14 + rbx + 0x8c]
cmp r8d, ecx
jae 0x14000d479
lea rdx, [rbx + r8]
lea rcx, [rsp + 0x20]
call fcn.14000d08c
test eax, eax
je 0x14000d479
lea rcx, [rsp + 0x20]
call fcn.14000d590
lea rcx, [rsp + 0x11f]
mov rbx, rax
call fcn.14000d4f4
mov ebp, eax
jmp 0x14000d3d0
movzx eax, word [r15 + rdi*2]
mov eax, dword [r12 + rax*4]
add rax, rbx
jmp 0x14000d489
xor eax, eax
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000d4c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rdx, qword gs:[0x60]
movzx eax, word [rdx + 0x118]
mov word [rcx], ax
movzx eax, word [rdx + 0x11c]
mov word [rcx + 2], ax
movzx eax, word [rdx + 0x120]
mov word [rcx + 6], ax
mov eax, 0xffff
mov word [rcx + 4], ax
ret
Function at 0x14000d590
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword gs:[0x60]
mov rbx, rcx
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x20]
mov edx, 0x16c9041f
mov rax, qword [rax - 0x10]
mov rcx, qword [rax + 0x30]
call fcn.14000d3ac
xor r8d, r8d
mov r10, rax
mov edx, r8d
cmp byte [rbx], r8b
je 0x14000d5d6
inc rdx
cmp byte [rdx + rbx], r8b
jne 0x14000d5cd
movzx eax, dx
mov rcx, r8
add ax, ax
mov word [rsp + 0x20], ax
mov eax, 0x1fe
mov word [rsp + 0x22], ax
test rdx, rdx
je 0x14000d604
movsx eax, byte [rcx + rbx]
mov word [rsp + rcx*2 + 0x30], ax
inc rcx
cmp rcx, rdx
jb 0x14000d5f3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x240], r8
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x240]
xor edx, edx
xor ecx, ecx
call r10
mov rax, qword [rsp + 0x240]
add rsp, 0x230
pop rbx
ret

Function at 0x14000d9a4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbx, rcx
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x20]
mov edx, 0x20dc0502
mov rax, qword [rax - 0x10]
mov rcx, qword [rax + 0x30]
call fcn.14000d3ac
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp rax

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r11, rdx
mov r9d, ecx
test rdx, rdx
jne 0x1400105f1
xor eax, eax
jmp 0x140010665
lea rdi, [0x140014060]
not r9d
cmp r8, 8
jb 0x14001063a
mov r10, r8
shr r10, 3
imul rax, r10, 0xfffffffffffffff8
add r8, rax
mov ebx, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
sub rbx, 1
jne 0x140010614
sub r10, 1
jne 0x14001060f
test r8, r8
je 0x14001065f
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
sub r8, 1
jne 0x14001063f
not r9d
mov eax, r9d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1400117c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor edi, edi
movsxd r14, edx
mov rsi, r8
mov rbx, rcx
mov dword [rcx + 0x6afc0], edi
cmp dword [rcx + 0x6afb8], edi
jne 0x140011806
mov dword [rcx + 0x6afc0], 1
mov dword [rcx + 0x6afb8], 0x10000
mov dword [rcx + 0x6afb4], edi
xor edx, edx
add rcx, 0x4afb8
mov r8d, 0x1fffc
call fcn.140008820
lea rdx, [0x1400145d0]
mov ebp, 2
movzx eax, word [rdx + r14*8 + 2]
mov dword [rbx + 0x6afe0], eax
movzx eax, word [rdx + r14*8]
mov dword [rbx + 0x6afe4], eax
movzx eax, word [rdx + r14*8 + 4]
mov dword [rbx + 0x6afe8], eax
movzx eax, word [rdx + r14*8 + 6]
mov dword [rbx + 0x6afdc], eax
cmp r14d, ebp
jg 0x140011866
or word [rsi], 4
jmp 0x14001186f
cmp r14d, 8
jl 0x14001186f
or word [rsi], bp
lea rsi, [rbx + 0x1afb8]
mov dword [rbx + 0x6afcc], edi
mov rdx, rsi
mov dword [rbx + 0x6afbc], edi
mov r8d, 0x10000
mov rcx, rbx
call qword [rbx + 0x10]
mov dword [rbx + 0x6afd8], eax
lea ecx, [rax - 1]
cmp ecx, 0xfffffffd
ja 0x1400118d9
mov dword [rbx + 0x6afd4], edi
cmp eax, 0x106
jae 0x1400118b4
mov rcx, rbx
call fcn.140011168
mov dword [rbx + 0x6afc4], edi
movzx eax, byte [rsi]
inc rsi
shl edi, 5
xor edi, eax
and edi, 0x7fff
mov dword [rbx + 0x6afc4], edi
sub rbp, 1
jne 0x1400118ba
jmp 0x1400118e4
mov qword [rbx + 0x6afd4], 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400129ec
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, dword [rcx]
mov r11, rcx
mov r10d, dword [rcx + 8]
mov r8d, r9d
mov ebx, r10d
movsx rax, dl
xor r8, rax
shr r9d, 8
movzx eax, r8b
and ebx, 0xfffd
or ebx, 2
lea r8, [0x140014060]
mov ecx, dword [r8 + rax*4]
xor ecx, r9d
movzx eax, cl
add eax, dword [r11 + 4]
mov dword [r11], ecx
imul ecx, eax, 0x8088405
inc ecx
mov dword [r11 + 4], ecx
movzx eax, byte [r11 + 7]
movzx ecx, r10b
xor rcx, rax
shr r10d, 8
mov eax, dword [r8 + rcx*4]
xor eax, r10d
mov dword [r11 + 8], eax
mov eax, ebx
xor eax, 1
imul eax, ebx
mov rbx, qword [rsp + 8]
shr eax, 8
xor al, dl
ret
Function at 0x1400092d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403bbac0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1403bc0d0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140009338
cmp byte [rbx + 0x424e], 0
jne 0x140009338
movsx r9d, word [rbx + 0x5356]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000e270
test sil, 1
je 0x140009469
jmp 0x1400093d1
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400c2530]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400c2528]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x3fa0], 1
mov qword [rbx + 0x3fb8], rax
movss dword [rbx + 0x3fb0], xmm0
mov dword [rbx + 0x3fa4], 1
movss dword [rbx + 0x3fb4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mov rax, qword [0x1403bc0d0]
mulss xmm0, dword [0x1400c0c90]
or dword [rax + 0x3fa0], 0x40
movss dword [rax + 0x4000], xmm0
movsx r9d, word [rbx + 0x5356]
call fcn.14000e270
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140009421
lea r11, [0x1400c0dd0]
cmp r9b, 0x23
jne 0x140009404
cmp byte [r8], r9b
jne 0x140009404
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400093f1
not ecx
call fcn.14000cf30
test rax, rax
je 0x140009469
cmp byte [rax + 0x96], 0
je 0x140009469
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5356]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5356]
call fcn.14000e270
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140006190
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ba700
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000ce80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1403bc0d0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14000cee3
mov qword [rsp], rbx
lea rbx, [0x1400c0dd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000cec3
cmp byte [r8], r9b
jne 0x14000cec3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14000ceb0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53b0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14000cf17
mov r10, qword [r10 + 0x53b8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14000cf1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14000cf04
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14000d680
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x1400c0dd0]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1403bc0d0]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x14000d718
movsxd r8, edx
xor r9d, r9d
mov edx, 4
mov ecx, ebx
call fcn.14000b290
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000d7a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0xf0]
lea r10, [0x1400c0dd0]
mov rax, qword [rcx + 0xd8]
movss xmm1, dword [rcx + 0xf4]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xd0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14000e4c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000e51d
lea rbx, [0x1400c0dd0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000e504
cmp r10, 2
jb 0x14000e504
cmp byte [r9], r8b
jne 0x14000e504
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000e4e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000e55f
lea rbx, [0x1400c0dd0]
cmp r8b, 0x23
jne 0x14000e543
cmp byte [r9], r8b
jne 0x14000e543
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000e530
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000e830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x140000000]
mov r13, rax
test rbx, rbx
je 0x14000e870
cmp rax, rbx
jae 0x14000ea1c
movzx r8d, byte [rax]
test r8b, r8b
je 0x14000ea1c
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0xc1780]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x14000e8a8
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x14000e8c1
movzx r12d, byte [rcx]
jmp 0x14000e8c4
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x14000e8d2
movzx ebp, byte [rcx]
jmp 0x14000e8d5
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x14000e8e3
movzx esi, byte [rcx]
jmp 0x14000e8e6
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0xc17a0]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0xc17d0]
or r10d, r8d
shr r15d, cl
lea rcx, [0x140000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0xc17b8]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x140000000]
mov ecx, dword [r9 + rcx + 0xc17e8]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x14000ea06
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x14000e858
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x14000ea1c
xor r10d, r10d
inc r14d
jmp 0x14000e858
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret
Function at 0x14000ea90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x14000ecb9
mov qword [r11 + 0x20], rsi
lea rsi, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x14000eaf2
cmp r8, rbp
jae 0x14000ec96
movzx edx, byte [r8]
test dl, dl
je 0x14000ec96
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xc1780]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x14000eb28
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x14000eb41
movzx r13d, byte [rax]
jmp 0x14000eb44
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x14000eb53
movzx r12d, byte [rax]
jmp 0x14000eb56
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x14000eb65
movzx r15d, byte [rax]
jmp 0x14000eb68
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0xc17a0]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x140000000]
mov ecx, dword [r10 + rax + 0xc17d0]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0xc17b8]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
lea rcx, [0x140000000]
mov ecx, dword [r10 + rcx + 0xc17e8]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x14000ec73
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x14000ec7d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x14000ec96
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x14000eae0
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x14000eccf
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret