joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001067c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
xor esi, esi
lea r8, [rbp - 0x10]
lea rdx, [0x14001b980]
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x20], rsi
mov rbx, rcx
call qword [sym.imp.SHELL32.dll_SHAssocEnumHandlersForProtocolByApplication]
test eax, eax
js 0x140010848
mov rcx, qword [rbp - 0x10]
lea r9, [rbp + 0x28]
mov dword [rbp + 0x28], esi
lea r8, [rbp - 0x18]
mov qword [rbp - 0x18], rsi
mov edx, 1
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x140010835
cmp dword [rbp + 0x28], esi
je 0x14001083e
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, [0x14001b970]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x14001082b
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x38]
mov qword [rbp + 0x38], rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x140010821
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x140010821
mov rax, rbx
test rbx, rbx
jne 0x140010734
mov rax, rsi
jmp 0x140010748
cmp word [rbx], si
je 0x140010742
add rax, 2
cmp word [rax], si
jne 0x140010739
sub rax, rbx
sar rax, 1
mov rcx, rdx
cmp word [rdx], si
je 0x140010759
add rcx, 2
cmp word [rcx], si
jne 0x140010750
sub rcx, rdx
mov edx, 8
sar rcx, 1
lea r8, [rcx + rax]
mov rcx, qword [0x14002ea00]
lea r8, [r8*2 + 8]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
je 0x140010817
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400107b6
cmp rax, rcx
je 0x1400107b6
mov rdx, rax
jmp 0x1400107ab
mov word [rdx], ax
lea rcx, [rcx + 2]
add rdx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x1400107a0
mov word [rdx], si
lea rdx, [0x140027bb0]
mov rcx, rdi
call fcn.140001ab4
mov rdx, rbx
mov rcx, rdi
call fcn.140001ab4
lea rax, [rbp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rdi
mov dword [rbp + 0x30], esi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [0x14002ea00]
mov r8, rdi
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x28], esi
jne 0x1400106b5
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140010f80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010fa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010fa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400111b8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140011227
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011227
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011227
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011227
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011227
cmp dword [rcx + 0x84], 0xe
jbe 0x140011227
cmp dword [rcx + 0xf8], 0
je 0x140011227
mov ecx, ebx
call fcn.1400112d8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400110b4
nop
cmp dword [rbp + 0x20], 0
je 0x140011275
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140011280
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400111b8
Function at 0x140001010
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x2b0
mov rax, qword [0x140003008]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r9d, r9d
mov rbx, r8
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapSetInformation]
mov r8, rbx
lea rcx, [rsp + 0x90]
mov edx, 0x105
call fcn.140001130
test eax, eax
js 0x140001bb0
cmp word [rsp + 0x90], 0
lea rbx, [rsp + 0x90]
je 0x140001093
cmp word [rbx], 0x3a
je 0x14000108a
add rbx, 2
cmp word [rbx], 0
jne 0x140001070
lea rbx, [rsp + 0x90]
jmp 0x1400010b2
xor eax, eax
mov word [rbx], ax
add rbx, 2
cmp word [rbx], 0
je 0x140001080
lea rdx, str._ProcessID
lea rcx, [rsp + 0x90]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140001080
mov r8, rbx
lea rcx, [rsp + 0x30]
mov edx, 0x29
call fcn.140001130
test eax, eax
js 0x140001bb0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_IIDFromString]
test eax, eax
js 0x140001bb0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoInitializeEx]
test eax, eax
js 0x140001bb0
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_com_private_l1_1_0.dll_CoRegisterSurrogateEx]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoUninitialize]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
nop
jmp 0x140001bb0
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400015a0
add rsp, 0x2b0
pop rbx
ret
Function at 0x1400012f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xb0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov r14d, r15d
xor eax, eax
lock cmpxchg qword [0x1400035e0], rbx
je 0x140001359
cmp rax, rbx
jne 0x14000134c
mov edi, 1
mov r14d, edi
jmp 0x14000135e
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001330
mov edi, 1
mov eax, dword [0x1400035e8]
cmp eax, edi
jne 0x140001376
mov esi, 0x1f
mov ecx, esi
call fcn.14017b000
jmp 0x1400013e7
mov eax, dword [0x1400035e8]
test eax, eax
jne 0x1400013dc
mov dword [0x1400035e8], edi
lea r12, [0x1400021b0]
lea rbx, [0x140002198]
mov qword [rsp + 0x30], rbx
mov eax, r15d
mov dword [rsp + 0x24], eax
cmp rbx, r12
jae 0x1400013ce
test eax, eax
jne 0x1400013d2
mov rsi, qword [rbx]
test rsi, rsi
je 0x1400013c3
mov rcx, rsi
mov rax, qword [0x140002170]
call rax
call rsi
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x1400013a0
test eax, eax
je 0x1400013e2
mov eax, 0xff
jmp 0x140001543
mov dword [0x140003024], edi
mov esi, 0x1f
mov eax, dword [0x1400035e8]
cmp eax, edi
jne 0x14000140e
lea rdx, [0x140002190]
lea rcx, [0x140002180]
call sub.msvcrt.dll__initterm
mov dword [0x1400035e8], 2
test r14d, r14d
jne 0x14000141d
mov rax, r15
xchg qword [0x1400035e0], rax
cmp qword [0x1400035f0], r15
je 0x140001454
lea rcx, [0x1400035f0]
call fcn.140001750
test eax, eax
je 0x140001454
mov rbx, qword [0x1400035f0]
mov rcx, rbx
mov rax, qword [0x140002170]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rdx, qword [rax]
test rdx, rdx
jne 0x14000146d
mov eax, 0xff
jmp 0x140001543
mov qword [rsp + 0x28], rdx
mov ecx, dword [rsp + 0x20]
cmp word [rdx], 0x20
ja 0x1400014f4
cmp word [rdx], r15w
je 0x140001486
test ecx, ecx
jne 0x1400014f4
movzx eax, word [rdx]
sub ax, di
cmp ax, si
ja 0x14000149c
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x140001486
mov ecx, dword [rsp + 0x7c]
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
and cl, dil
cmovne r9d, eax
mov r8, rdx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001010
mov dword [0x140003020], eax
cmp dword [0x140003040], r15d
jne 0x1400014dd
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003024], r15d
jne 0x1400014f2
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003020]
jmp 0x140001543
cmp word [rdx], 0x22
jne 0x140001508
mov eax, r15d
test ecx, ecx
sete al
mov ecx, eax
mov dword [rsp + 0x20], eax
add rdx, 2
mov qword [rsp + 0x28], rdx
jmp 0x140001476
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
sub rsp, 0x28
call fcn.1400017e4
add rsp, 0x28
jmp 0x1400012f0
Function at 0x14000163c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001688
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001680
cmp dword [rcx + 0x3c], edx
jl 0x140001680
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001680
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001688
mov rax, rdx
add rsp, 0x18
ret
Function at 0x164c61c60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
sub rsp, 0x10
mov rbx, rcx
mov r11, rdx
mov rdx, qword [rax + 0x18]
xor ecx, ecx
mov r8, r9
test rdx, rdx
je 0x164c61de5
cmp rdx, 8
jb 0x164c61dbb
lea r9, [r9 - 1]
lea rax, [rbx - 1]
add r9, rdx
add rax, rdx
cmp r8, rax
ja 0x164c61cb6
cmp r9, rbx
jae 0x164c61dbb
lea rax, [r11 - 1]
add rax, rdx
cmp r8, rax
ja 0x164c61ccb
cmp r9, r11
jae 0x164c61dbb
mov r9, r11
mov qword [rsp], rdi
sub r9, rbx
mov r10, r8
cmp rdx, 0x40
jb 0x164c61d75
mov rdi, rdx
mov qword [rsp + 8], rsi
and edi, 0x3f
mov rsi, rdx
sub rsi, rdi
lea rax, [rbx + 0x10]
sub r10, rbx
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [r9 + rax - 0x10]
movdqu xmm2, xmmword [rax + r9]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [r10 + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r9 + rax - 0x30]
movdqu xmmword [r10 + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r9 + rax - 0x20]
movdqu xmmword [r10 + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [r10 + rax - 0x20], xmm2
cmp rcx, rsi
jb 0x164c61d00
mov rsi, qword [rsp + 8]
cmp rdi, 8
jb 0x164c61db2
jmp 0x164c61d78
sub r10, rbx
mov rdi, rdx
and rdi, 0xfffffffffffffff8
lea rax, [rcx + rbx]
nop dword [rax]
nop word [rax + rax]
movq xmm1, qword [rax + r9]
add rcx, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
pxor xmm1, xmm0
movq qword [rax + r10 - 8], xmm1
cmp rcx, rdi
jb 0x164c61d90
mov rdi, qword [rsp]
cmp rcx, rdx
jae 0x164c61de5
sub r11, rbx
lea rax, [rcx + rbx]
sub r8, rbx
sub rdx, rcx
nop dword [rax + rax]
movzx ecx, byte [rax + r11]
xor cl, byte [rax]
mov byte [rax + r8], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x164c61dd0
add rsp, 0x10
pop rbx
ret
Function at 0x164c624c0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
sub rsp, 0x28
mov eax, dword [r8 + 0x1048]
mov r10, r8
and eax, 1
mov ecx, r9d
cmp ecx, 8
jb 0x164c6270e
mov qword [r11 - 8], rbx
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
test eax, eax
je 0x164c62601
mov qword [rsp], r14
mov esi, ecx
mov r14, qword [r11 + 8]
mov r11, rdx
sub r14, rdx
shr rsi, 3
nop dword [rax]
mov r9d, dword [r14 + r11]
lea rbx, [r10 + 0x1038]
xor r9d, dword [r10 + 0x1044]
mov edi, 0xf
mov r8d, dword [r14 + r11 + 4]
xor r8d, dword [r10 + 0x1040]
nop dword [rax]
nop word [rax + rax]
mov eax, r9d
lea rbx, [rbx - 8]
shr eax, 0x10
add rdi, 0xfffffffffffffffe
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov edx, dword [r10 + rcx*4 + 0x400]
add edx, dword [r10 + rax*4]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r9b
xor edx, dword [r10 + rcx*4 + 0x800]
add edx, dword [r10 + rax*4 + 0xc00]
xor r8d, edx
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 0x18
mov edx, dword [r10 + rcx*4 + 0x400]
add edx, dword [r10 + rax*4]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r8b
xor r8d, dword [rbx + 8]
xor edx, dword [r10 + rcx*4 + 0x800]
add edx, dword [r10 + rax*4 + 0xc00]
xor edx, dword [rbx + 0xc]
xor edx, r9d
mov r9d, edx
test rdi, rdi
jg 0x164c62550
mov dword [r11], r8d
mov dword [r11 + 4], edx
add r11, 8
sub rsi, 1
jne 0x164c62520
mov r14, qword [rsp]
jmp 0x164c626fa
mov rdi, qword [rsp + 0x38]
mov rbp, rcx
mov rsi, qword [rsp + 0x30]
shr rbp, 3
test rdi, rdi
je 0x164c626e8
test rsi, rsi
je 0x164c626e8
mov r9d, dword [rsi]
lea r11, [r10 + 0x1038]
mov eax, dword [rsi + 4]
mov ebx, 0xf
bswap r9d
xor r9d, dword [r10 + 0x1044]
bswap eax
xor eax, dword [r10 + 0x1040]
nop dword [rax]
mov ecx, r9d
lea r11, [r11 - 8]
shr ecx, 0x10
add rbx, 0xfffffffffffffffe
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor eax, r8d
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr rcx, 0x18
mov r8d, dword [r10 + rdx*4 + 0x400]
add r8d, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
xor eax, dword [r11 + 8]
xor r8d, dword [r10 + rdx*4 + 0x800]
add r8d, dword [r10 + rcx*4 + 0xc00]
xor r8d, dword [r11 + 0xc]
xor r9d, r8d
test rbx, rbx
jg 0x164c62650
bswap eax
bswap r9d
mov dword [rdi], eax
mov dword [rdi + 4], r9d
add rsi, 8
add rdi, 8
sub rbp, 1
jne 0x164c62612
mov rsi, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 8]
add rsp, 0x28
ret
Function at 0x164c62ae0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp dword [rsp + 0x40], 1
mov r8d, 0xffffffff
je 0x164c62b11
cmp dword [rsp + 0x40], 2
mov eax, 0x4f3d810a
cmove eax, r8d
mov r8d, eax
mov rax, qword [0x164cb3630]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
bt rax, 9
jae 0x164c62b5c
bt rax, 0xa
jae 0x164c62b46
call fcn.164c48200
cmp dword [rsp + 0x40], 1
mov ecx, eax
not eax
cmovne eax, ecx
add rsp, 0x28
ret
call fcn.164c47f40
cmp dword [rsp + 0x40], 1
mov ecx, eax
not eax
cmovne eax, ecx
add rsp, 0x28
ret
bt rax, 0x20
lea r9, [0x164c9c900]
jae 0x164c62b80
call fcn.164c47bc0
cmp dword [rsp + 0x40], 1
mov ecx, eax
not eax
cmovne eax, ecx
add rsp, 0x28
ret
call fcn.164c47a60
cmp dword [rsp + 0x40], 1
mov ecx, eax
not eax
cmovne eax, ecx
add rsp, 0x28
ret

Function at 0x164c62c20
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [0x164cb3630]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
bt rax, 9
jae 0x164c62c69
bt rax, 0xa
jae 0x164c62c60
add rsp, 0x28
jmp fcn.164c48200
add rsp, 0x28
jmp fcn.164c47f40
bt rax, 0x20
lea r9, [0x164c9c900]
jae 0x164c62c80
add rsp, 0x28
jmp fcn.164c47bc0
add rsp, 0x28
jmp fcn.164c47a60
Function at 0x164c62d70
Capabilities:
Encode data using xor

Disassembly:
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov r8, qword [rsp + 0x10]
mov r9, qword [rsp + 8]
movzx eax, word [rsp + 0x18]
test r8, r8
je 0x164c62dc0
lea r10, [0x164c9a700]
nop dword [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
movzx edx, word [r10 + rcx*2]
xor eax, edx
sub r8, 1
jne 0x164c62da0
ret

Function at 0x164c62dd0
Capabilities:
Encode data using xor

Disassembly:
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov r8, qword [rsp + 0x10]
mov r9, qword [rsp + 8]
movzx eax, word [rsp + 0x18]
test r8, r8
je 0x164c62e20
lea r10, [0x164c9a500]
nop dword [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
movzx edx, word [r10 + rcx*2]
xor eax, edx
sub r8, 1
jne 0x164c62e00
ret

Function at 0x164c62e30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov r8, qword [rsp + 0x10]
mov r9, qword [rsp + 8]
mov rax, qword [rsp + 0x18]
test r8, r8
je 0x164c62e7c
lea r10, [0x164c99d00]
nop word [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
xor rcx, rax
shr rax, 8
movzx edx, cl
xor rax, qword [r10 + rdx*8]
sub r8, 1
jne 0x164c62e60
ret

Function at 0x164c62e80
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x18], r8d
lea r9, [0x164c9e900]
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
movsxd rax, dword [rsp + 0x18]
mov r8, qword [rsp + 0x10]
add rax, r9
mov rdx, qword [rsp + 8]
test r8, r8
je 0x164c62edf
lea r10, [0x164c9fcff]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax]
inc rax
xor byte [rdx], cl
lea rdx, [rdx + 1]
cmp rax, r10
mov rcx, r9
cmovbe rcx, rax
mov rax, rcx
sub r8, 1
jne 0x164c62ec0
xor eax, eax
ret

Function at 0x164c62ef0
Capabilities:
Encode data using xor

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
movzx eax, byte [rsp + 0x40]
test al, al
je 0x164c62f38
test qword [0x164cb3630], 0x1000
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
je 0x164c62f2f
add rsp, 0x28
jmp fcn.164c5e500
add rsp, 0x28
jmp fcn.164c5e320
add rsp, 0x28
ret
Function at 0x164c6a9f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
sub rsp, 0x268
mov rax, qword [0x164cb3008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov rdi, r8
test rdx, rdx
je 0x164c6ab4d
test r8, r8
je 0x164c6ab4d
mov qword [r11 - 0x18], rbx
lea r9, [rsp + 0x30]
xor ebx, ebx
xor r8d, r8d
mov dword [rsp + 0x20], ebx
lea edx, [rbx + 0x10]
call fcn.164c5ebb0
mov eax, dword [rsp + 0x298]
cmp eax, 0x10
jb 0x164c6aacd
mov qword [rsp + 0x258], rbp
add rdi, 8
mov ebp, eax
shr rbp, 4
nop
lea r8, [rsp + 0x30]
mov rcx, rsi
lea rdx, [rsp + 0x230]
call fcn.164c603b0
mov eax, dword [rsp + 0x230]
lea rdi, [rdi + 0x10]
xor eax, ebx
add rsi, 0x10
mov dword [rdi - 0x18], eax
mov eax, dword [rsp + 0x234]
xor eax, ebx
mov dword [rdi - 0x14], eax
mov eax, dword [rsp + 0x238]
xor eax, ebx
mov dword [rdi - 0x10], eax
mov eax, dword [rsp + 0x23c]
xor eax, ebx
inc ebx
mov dword [rdi - 0xc], eax
sub rbp, 1
jne 0x164c6aa70
mov rbp, qword [rsp + 0x258]
mov rbx, qword [rsp + 0x220]
test rbx, rbx
je 0x164c6ab45
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x164c6aaf0
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x164c6ab06
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x164c6ab1c
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x164c6ab35
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rax, qword [0x164cb3650]
mov rcx, rbx
call qword [0x164c92120]
mov rbx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.164c8ef00
add rsp, 0x268
pop rdi
pop rsi
ret
Function at 0x164c6ab70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x188]
sub rsp, 0x270
mov rax, qword [0x164cb3008]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rdi, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x190]
mov rbx, qword [rbp + 0x1a0]
test rdi, rdi
je 0x164c6ada0
test rbx, rbx
je 0x164c6ada0
xor r8d, r8d
mov qword [r11 - 0x20], rsi
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 1
lea edx, [r8 + 0x20]
call fcn.164c5ebb0
mov esi, dword [rbp + 0x1a8]
mov dword [rbp + 0x130], 0x78563412
mov dword [rbp + 0x134], 0xefcdab90
mov qword [rbp + 0x138], 0
test esi, esi
je 0x164c6ad21
nop word [rax + rax]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x130]
call fcn.164c5fe00
movzx eax, byte [rbp + 0x131]
lea rbx, [rbx + 1]
movzx ecx, byte [rdi]
lea rdi, [rdi + 1]
mov byte [rbp + 0x130], al
movzx eax, byte [rbp + 0x132]
mov byte [rbp + 0x131], al
movzx eax, byte [rbp + 0x133]
mov byte [rbp + 0x132], al
movzx eax, byte [rbp + 0x134]
mov byte [rbp + 0x133], al
movzx eax, byte [rbp + 0x135]
mov byte [rbp + 0x134], al
movzx eax, byte [rbp + 0x136]
mov byte [rbp + 0x135], al
movzx eax, byte [rbp + 0x137]
mov byte [rbp + 0x136], al
movzx eax, byte [rbp + 0x138]
mov byte [rbp + 0x137], al
movzx eax, byte [rbp + 0x139]
mov byte [rbp + 0x138], al
movzx eax, byte [rbp + 0x13a]
mov byte [rbp + 0x139], al
movzx eax, byte [rbp + 0x13b]
mov byte [rbp + 0x13a], al
movzx eax, byte [rbp + 0x13c]
mov byte [rbp + 0x13b], al
movzx eax, byte [rbp + 0x13d]
mov byte [rbp + 0x13c], al
movzx eax, byte [rbp + 0x13e]
mov byte [rbp + 0x13d], al
movzx eax, byte [rbp + 0x13f]
mov byte [rbp + 0x13e], al
movzx eax, byte [rbp + 0x140]
xor al, cl
mov byte [rbp + 0x13f], cl
mov byte [rbx - 1], al
add esi, 0xffffffff
jne 0x164c6ac20
mov rbx, qword [rbp + 0x120]
mov rsi, qword [rsp + 0x268]
test rbx, rbx
je 0x164c6ada0
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x164c6ad4b
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x164c6ad61
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x164c6ad77
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x164c6ad90
mov rax, qword [0x164cb3650]
call qword [0x164c92120]
mov rax, qword [0x164cb3650]
mov rcx, rbx
call qword [0x164c92120]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.164c8ef00
add rsp, 0x270
pop rdi
pop rbx
pop rbp
ret