joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4505d7
movzx edx, byte [rax]
test edx, edx
jne 0x450494
nop dword [rax]
test r8b, r8b
jne 0x450494
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4504a7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x450597
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 0x450585
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 0x450577
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x4504fd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x450540
mov eax, 1
cmp rax, rbx
ja 0x45052b
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.00462ec0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45056f
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 0x450533
mov rcx, r11
mov eax, r12d
jmp 0x450502
mov rcx, rbx
call fcn.00462e00
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462e00
mov eax, r8d
mov rcx, rbx
call fcn.00462ec0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4505cd
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 0x450590
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4504ad
mov eax, edx
mov rcx, rbx
call fcn.00462e00
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462e00
nop
int3

Function at 0x4561a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x456255
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.00453e20
nop
test bl, bl
je 0x45624f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x004562a0]
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.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c75b0]
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.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004561a0
Function at 0x4591c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45926f
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, [0x004592c0]
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.00460a00
xorps xmm15, xmm15
mov r14, qword [0x005c75b0]
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.00460b20
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.004591c0
Function at 0x462920
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4043e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a180
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4043c0
cmp byte [0x005c73a8], 0
je 0x462935
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45fb60
jmp 0x4043c0

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

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c7680]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c73a8], 0
je 0x462975
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c79a0]
aesenc xmm0, xmmword [0x005c79b0]
aesenc xmm0, xmmword [0x005c79c0]
movq rax, xmm0
ret
jmp 0x40a3a0

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

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c7680]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c73a8], 0
je 0x4629b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c79a0]
aesenc xmm0, xmmword [0x005c79b0]
aesenc xmm0, xmmword [0x005c79c0]
movq rax, xmm0
ret
jmp 0x40a400

Function at 0x464740
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 0x464774
mov rcx, 0x28
jmp 0x46477f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c75b0], rcx
pop rbp
ret
Function at 0x46db00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46dbca
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.00403940
xorps xmm15, xmm15
mov r14, qword [0x005c75b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x46dbaf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00492d00]
xor ebx, ebx
mov rcx, rdx
call fcn.004495c0
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.0046de60
inc rbx
cmp rcx, rbx
jae 0x46db9e
mov edi, 1
lea rsi, [0x00492d00]
call fcn.004496a0
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, [0x004cab18]
lea rsi, [0x004ca4d0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0046db00
Function at 0x1400012c0
Capabilities:
Create service

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rcx + 8], rdx
mov rbx, rcx
mov qword [rcx + 0x10], r8
xor edx, edx
mov qword [rcx + 0x18], r9
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rbx + 0x28], rax
mov rcx, rax
test rax, rax
jne 0x1400012ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor eax, eax
add rsp, 0x70
pop rbx
ret
mov rax, qword [rbx + 8]
xor edx, edx
mov r8, qword [rbx + 0x18]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
lea r9d, [rdx + 0x10]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov rdx, qword [rbx + 0x10]
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x14000137f
mov rdx, qword [rbx + 0x10]
lea r8d, [rax + 0x10]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x14000137f
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
add rsp, 0x70
pop rbx
ret
mov eax, 1
add rsp, 0x70
pop rbx
ret

Function at 0x140001400
Capabilities:
Delete service

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140001427
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140001450
Capabilities:
Start service

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x30]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140001483
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
cmp eax, 0x420
je 0x140001483
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400014b0
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400cc400]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov rbx, rcx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x1400014f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
lea rdi, [rbx + 0x30]
jmp 0x14000151b
mov rdx, qword [rbx + 0x10]
mov r8d, 0x10020
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbx + 0x30], rax
lea rdi, [rbx + 0x30]
test rax, rax
jne 0x14000151b
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi]
lea r8, [rsp + 0x20]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14000153e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor eax, eax
jmp 0x140001543
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14004c260
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400088a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400cc400]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400cd9e0]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x1ef5], 0
jne 0x140008907
cmp byte [rbx + 0x1ef6], 0
jne 0x140008907
mov r9d, dword [rbx + 0x2f38]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400157c0
test sil, 1
je 0x140008a3f
jmp 0x1400089a6
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400a8654]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400a8648]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
or dword [rbx + 0x1c40], 1
mov qword [rbx + 0x1c5c], rax
movss dword [rbx + 0x1c54], xmm0
mov dword [rbx + 0x1c44], 1
movss dword [rbx + 0x1c58], xmm1
mov byte [rbx + 0x1c7c], 1
movss xmm0, dword [rbx + 0x1748]
mov rax, qword [0x1400cd9e0]
mulss xmm0, dword [0x1400a85e4]
or dword [rax + 0x1c40], 0x40
movss dword [rax + 0x1ca0], xmm0
mov r9d, dword [rbx + 0x2f38]
call fcn.1400157c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400089f6
lea r11, [0x1400a7a10]
cmp r9b, 0x23
jne 0x1400089d9
cmp byte [r8], r9b
jne 0x1400089d9
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 0x1400089c6
not ecx
call fcn.140013f40
test rax, rax
je 0x140008a3f
cmp byte [rax + 0xbf], 0
je 0x140008a3f
mov byte [rax + 0xc6], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xdc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2f38]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2f38]
call fcn.1400157c0
or edi, 0x22c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140004d60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004c260
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140013da0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140013df2
lea r11, [0x1400a7a10]
cmp r9b, 0x23
jne 0x140013dd5
cmp byte [r8], r9b
jne 0x140013dd5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013dc2
mov r11, qword [0x1400cd9e0]
xor r9d, r9d
mov r10, qword [r11 + 0x2fe8]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x140013e3e
not eax
cmp dword [r9], eax
je 0x140013e47
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x2fe0]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140013e15
mov rcx, rbx
pop rbx
jmp fcn.14000a4e0
mov rax, r9
pop rbx
ret

Function at 0x140013fc0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140014010
lea r11, [0x1400a7a10]
cmp r9b, 0x23
jne 0x140013ff3
cmp byte [r8], r9b
jne 0x140013ff3
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 0x140013fe0
not ecx
jmp fcn.140013f40

Function at 0x140014b90
Capabilities:
Hash data with crc32

Disassembly:
movsxd rax, dword [rcx + 0x108]
mov r9, r8
mov r8, qword [rcx + 0x110]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [r8 + rax*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.140015910
Function at 0x140015510
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14001552b
mov qword [r8], 0
call fcn.140015670
mov rbx, rax
test rax, rax
jne 0x140015541
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call fcn.14007ed7c
mov esi, eax
cmp eax, 0xffffffff
je 0x140015642
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.14007e6b8
test eax, eax
jne 0x140015642
mov rcx, rbx
call fcn.14007ed7c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140015642
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.14007e6b8
test eax, eax
jne 0x140015642
cmp rdi, 0xffffffffffffffff
je 0x140015642
mov rax, qword [0x1400cd9e0]
test rax, rax
je 0x1400155be
inc dword [rax + 0x3b0]
mov rdx, qword [0x1400cd9f0]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140015642
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14007e2e8
cmp rax, rdi
je 0x14001561b
mov rcx, rbx
call fcn.14007dc00
mov rax, qword [0x1400cd9e0]
test rax, rax
je 0x140015609
dec dword [rax + 0x3b0]
mov rdx, qword [0x1400cd9f0]
mov rcx, rsi
call qword [fcn.140001bc0]
jmp 0x14001564a
test ebp, ebp
jle 0x14001562d
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call fcn.1400a3cc0
mov rcx, rbx
call fcn.14007dc00
test r14, r14
je 0x14001563d
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001564c
mov rcx, rbx
call fcn.14007dc00
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x140015910
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 0x14001596d
lea rbx, [0x1400a7a10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140015954
cmp r10, 2
jb 0x140015954
cmp byte [r9], r8b
jne 0x140015954
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 0x140015930
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400159af
lea rbx, [0x1400a7a10]
cmp r8b, 0x23
jne 0x140015993
cmp byte [r9], r8b
jne 0x140015993
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 0x140015980
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140015bc0
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 0x140015c00
cmp rax, rbx
jae 0x140015dac
movzx r8d, byte [rax]
test r8b, r8b
je 0x140015dac
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0xa7f48]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x140015c38
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x140015c51
movzx r12d, byte [rcx]
jmp 0x140015c54
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x140015c62
movzx ebp, byte [rcx]
jmp 0x140015c65
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x140015c73
movzx esi, byte [rcx]
jmp 0x140015c76
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0xa7f68]
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 + 0xa7f98]
or r10d, r8d
shr r15d, cl
lea rcx, [0x140000000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0xa7f80]
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 + 0xa7fb0]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x140015d96
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 0x140015be8
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x140015dac
xor r10d, r10d
inc r14d
jmp 0x140015be8
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 0x140015e20
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 0x140016049
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 0x140015e82
cmp r8, rbp
jae 0x140016026
movzx edx, byte [r8]
test dl, dl
je 0x140016026
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xa7f48]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x140015eb8
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x140015ed1
movzx r13d, byte [rax]
jmp 0x140015ed4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x140015ee3
movzx r12d, byte [rax]
jmp 0x140015ee6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x140015ef5
movzx r15d, byte [rax]
jmp 0x140015ef8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0xa7f68]
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 + 0xa7f98]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0xa7f80]
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 + 0xa7fb0]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x140016003
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 0x14001600d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x140016026
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x140015e70
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 0x14001605f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret