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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r15d, r9d
mov r13, r8
mov r14, rdx
mov r12, rcx
xor esi, esi
mov rdx, r14
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
and qword [rsp + 0x38], 0
test r13, r13
je 0x100008f3f
lea r9, [rsp + 0x38]
mov r8d, 0x2001f
mov rdx, r13
mov rcx, r12
call fcn.1000083ac
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
js 0x100008f38
mov rbx, qword [rsp + 0x38]
jmp 0x100008f42
mov rbx, qword [rsp + 0x38]
jmp 0x100008f74
mov rbx, r12
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov edi, eax
mov dword [rsp + 0x30], eax
cmp rbx, r12
je 0x100008f86
test rbx, rbx
je 0x100008f86
mov rcx, rbx
call fcn.100008070
cmp edi, 0xc000017d
jne 0x100008fc6
int3
mov eax, edi
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x10000953c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [rdx], 0
mov rdi, r8
mov rsi, rdx
xor edx, edx
mov ebx, ecx
mov rcx, rdi
lea r8d, [rdx + 0x28]
call sub.msvcrt.dll_memset
mov r11, qword gs:[0x30]
xor edx, edx
mov rcx, qword [r11 + 0x60]
lea r8d, [rdx + 0x6a]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbp, rax
test rax, rax
jne 0x100009599
mov eax, 0xc0000017
jmp 0x100009686
and qword [rsp + 0x20], 0
lea r8, [0x10000ff30]
mov r9d, ebx
mov edx, 0x35
mov rcx, rax
call sub.msvcrt.dll_swprintf_s
mov rdx, rsi
mov rcx, rbp
call fcn.1000096a4
mov ebx, eax
test eax, eax
jns 0x10000960b
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.10000996c
mov ebx, eax
test eax, eax
js 0x100009643
mov rcx, qword [rsp + 0x48]
mov rdx, rsi
call fcn.1000096a4
xor edx, edx
mov ebx, eax
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x48]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
js 0x100009643
mov rax, qword [rsi]
and dword [rdi], 0
cmp dword [rax], 0
jne 0x100009625
mov eax, dword [rax + 8]
mov dword [rdi + 4], 1
mov dword [rdi + 8], eax
jmp 0x10000963f
cmp dword [rax], 1
jne 0x10000963a
movdqu xmm0, xmmword [rax + 8]
and dword [rdi + 4], 0
movdqu xmmword [rdi + 8], xmm0
jmp 0x10000963f
mov ebx, 0xc000000d
test ebx, ebx
jns 0x100009668
mov r8, qword [rsi]
test r8, r8
je 0x100009668
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
and qword [rsi], 0
mov rax, qword gs:[0x30]
mov r8, rbp
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x10000a208
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rsi, rdx
mov rdx, rcx
xor ebp, ebp
lea rcx, [rax - 0x58]
mov qword [rax + 0x20], rbp
mov qword [rax - 0x60], rbp
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea edx, [rbp + 1]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x58], 0x40
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
call qword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
cmp eax, ebp
jl 0x10000a3e5
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov edi, ebp
mov dword [rsp + 0xa0], ebp
jmp 0x10000a2ed
cmp qword [rsp + 0x28], rbp
je 0x10000a2b4
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [rsp + 0xa0]
xor edx, edx
mov word [rsp + 0x22], ax
lea edi, [rax + 2]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8d, edi
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x28], rax
cmp rax, rbp
je 0x10000a3f5
mov rcx, qword [rsp + 0xa8]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtQuerySymbolicLinkObject]
mov ebx, eax
cmp eax, 0xc0000023
je 0x10000a28f
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
cmp ebx, ebp
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rbp
jl 0x10000a3c0
movzx ecx, word [rsp + 0x20]
lea r8, [rsp + 0x40]
mov edx, 1
shr rcx, 1
mov word [rax + rcx*2], bp
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0xa8]
mov word [rsp + 0x22], di
mov dword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x40
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rbp
call qword [sym.imp.ntdll.dll_NtOpenSymbolicLinkObject]
cmp eax, ebp
jge 0x10000a2ed
mov rax, qword [rsp + 0x28]
mov ebx, ebp
mov qword [rsi], rax
mov rcx, qword [rsp + 0xa8]
cmp rcx, rbp
je 0x10000a3bc
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rbp
cmp ebx, ebp
jge 0x10000a3e3
cmp rax, rbp
je 0x10000a3e3
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov ebx, 0xc000009a
jmp 0x10000a39c
Function at 0x10000a404
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
mov ebp, edx
xor edx, edx
mov r12, rcx
mov rsi, r8
lea r9, [rsp + 0x58]
lea ecx, [rdx + 0x62]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000023
je 0x10000a44c
test eax, eax
js 0x10000a4da
mov ebx, 0xc0000001
jmp 0x10000a4da
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x10000a479
mov ebx, 0xc000009a
jmp 0x10000a4b9
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0x62
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
js 0x10000a4b9
movzx eax, word [rdi]
add eax, 2
mov dword [rsi], eax
cmp eax, ebp
jbe 0x10000a4aa
mov ebx, 0xc0000023
jmp 0x10000a4b9
mov rdx, qword [rdi + 8]
mov r8d, eax
mov rcx, r12
call sub.msvcrt.dll_memcpy
test rdi, rdi
je 0x10000a4da
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
jns 0x10000a4f5
lea rcx, [fcn.10000a56c]
mov r9, rsi
mov r8d, ebp
mov rdx, r12
call fcn.10000a5a8
mov ebx, eax
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret

Function at 0x10000a510
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x100012110]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, 1
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [rbx + 0x13]
lea ecx, [rbx + 0x59]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x10000a54f
xor ebx, ebx
cmp dword [rsp + 0x30], 3
cmovl ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.10000f720
add rsp, 0x40
pop rbx
ret
Function at 0x10000e628
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
xor edi, edi
and qword [rax + 0x18], rdi
and qword [rbp], rdi
and dword [rsi], edi
lea rcx, [rax - 0x28]
mov rbx, r8
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
test rbx, rbx
je 0x10000e688
lea r9, [rsp + 0x70]
mov r8d, 0x20019
mov rdx, rbx
xor ecx, ecx
call fcn.10000e594
mov ebx, eax
test eax, eax
jns 0x10000e68d
jmp 0x10000e785
and qword [rsp + 0x70], rdi
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], edi
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov ebx, eax
cmp eax, 0xc0000023
je 0x10000e6cd
test eax, eax
js 0x10000e785
mov ebx, 0xc0000001
jmp 0x10000e785
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x10000e6fd
mov ebx, 0xc000009a
jmp 0x10000e785
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x80]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov r9, rdi
mov r8d, 2
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov ebx, eax
test eax, eax
js 0x10000e785
cmp dword [rdi + 4], 1
je 0x10000e73e
mov ebx, 0xc0000024
jmp 0x10000e785
add dword [rsp + 0x60], 0xfffffff4
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rax + 0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp], rax
test rax, rax
je 0x10000e6f3
mov r8d, dword [rsp + 0x60]
lea rdx, [rdi + 0xc]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov r11d, dword [rsp + 0x60]
xor ebx, ebx
mov dword [rsi], r11d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x10000e795
call qword [sym.imp.ntdll.dll_NtClose]
test rdi, rdi
je 0x10000e7b6
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x10000f10c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
and qword [r11 - 0x28], 0
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
mov rbx, r9
mov rdi, r8
xor r9d, r9d
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10000f187
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100012120]
lea rax, [0x100012120]
cmp rcx, rax
je 0x10000f1ef
test byte [rcx + 0x1c], 1
je 0x10000f1ef
mov edx, 0xd
jmp 0x10000f1d8
mov rcx, qword [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10000f1ed
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x100012120]
lea rax, [0x100012120]
cmp rcx, rax
je 0x10000f1ef
test byte [rcx + 0x1c], 1
je 0x10000f1ef
mov edx, 0xe
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001630]
mov r9d, ebx
call fcn.100001cb4
jmp 0x10000f1ef
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x10000f1ff
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1000012d8
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbx
push rdi
sub rsp, 0x68
xor edi, edi
lea rax, [rax + 0x18]
lea rdx, [0x100001180]
mov qword [rax], rdi
mov dword [rax - 0x10], edi
mov dword [rax - 8], edi
mov qword [rax + 8], rdi
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10000142e
mov rcx, qword [rsp + 0x90]
cmp rcx, rdi
je 0x10000142e
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rdi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
je 0x100001380
lea ebx, [rdi + 1]
jmp 0x1000013fc
cmp dword [rsp + 0x80], edi
jne 0x1000013fc
cmp dword [rsp + 0x88], edi
jne 0x1000013fc
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x98]
lea rdx, [0x100001210]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x90], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1000013dd
mov ebx, 3
jmp 0x1000013fc
mov rcx, qword [rsp + 0x98]
lea rdx, [0x100001290]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, 2
cmp eax, edi
cmovne ebx, ecx
mov rcx, qword [rsp + 0x98]
cmp rcx, rdi
je 0x100001417
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x98], rdi
mov rcx, qword [rsp + 0x90]
cmp rcx, rdi
je 0x10000142a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100001430
xor eax, eax
add rsp, 0x68
pop rdi
pop rbx
ret
Function at 0x14000baef
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140019030]
jne 0x14000b5ea
rol rcx, 0x10
test cx, 0xffff
jne 0x14000b5e6
repz ret
ror rcx, 0x10
jmp 0x14000ba48
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140019500]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400195f8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000bacd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140019500]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000baef
mov rax, qword [rsp + 0x88]
mov qword [0x1400195f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140019598], rax
mov rax, qword [0x1400195f8]
mov qword [0x140019470], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140019580], rax
mov dword [0x140019460], 0xc0000409
mov dword [0x140019464], 1
mov rax, qword [0x140019030]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140019038]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400194f8], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000fc70]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400194f8], 0
jne 0x14000bb76
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x4019a6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x401a60
jmp 0x4019e3
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x4019c5
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x401a5b
jmp 0x401a09
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x4019eb
mov rax, qword [rbp + 0x18]
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [rbp + 0x10]
shl ecx, 2
shl ecx, 2
movzx edx, byte [rbp - 1]
shl edx, 2
add ecx, edx
movzx edx, byte [rbp - 2]
add ecx, edx
movsxd rcx, ecx
mov rdx, qword [rbp + 0x20]
add rdx, rcx
movzx ecx, byte [rax]
mov qword [rbp - 0x10], rax
movzx eax, byte [rdx]
xor ecx, eax
mov rax, qword [rbp - 0x10]
mov byte [rax], cl
jmp 0x4019fd
jmp 0x4019d7
leave
ret

Function at 0x4019b1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x401a60
jmp 0x4019e3
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x4019c5
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x401a5b
jmp 0x401a09
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x4019eb
mov rax, qword [rbp + 0x18]
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [rbp + 0x10]
shl ecx, 2
shl ecx, 2
movzx edx, byte [rbp - 1]
shl edx, 2
add ecx, edx
movzx edx, byte [rbp - 2]
add ecx, edx
movsxd rcx, ecx
mov rdx, qword [rbp + 0x20]
add rdx, rcx
movzx ecx, byte [rax]
mov qword [rbp - 0x10], rax
movzx eax, byte [rdx]
xor ecx, eax
mov rax, qword [rbp - 0x10]
mov byte [rax], cl
jmp 0x4019fd
jmp 0x4019d7
leave
ret

Function at 0x401a62
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x401b11
jmp 0x401a97
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x401a79
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x401b0c
jmp 0x401abd
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x401a9f
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, str.cw
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x401ab1
jmp 0x401a8b
leave
ret
Function at 0x401a6d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x401b11
jmp 0x401a97
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x401a79
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x401b0c
jmp 0x401abd
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x401a9f
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, str.cw
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x401ab1
jmp 0x401a8b
leave
ret

Function at 0x402de0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x402e8f
jmp 0x402e15
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x402df7
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x402e8a
jmp 0x402e3b
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x402e1d
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, [0x0066e63f]
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x402e2f
jmp 0x402e09
leave
ret

Function at 0x402deb
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x402e8f
jmp 0x402e15
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x402df7
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x402e8a
jmp 0x402e3b
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x402e1d
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, [0x0066e63f]
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x402e2f
jmp 0x402e09
leave
ret
Function at 0x4031ef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x10
jge 0x403258
jmp 0x403228
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x40320a
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x40321c
leave
ret

Function at 0x4031fa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x10
jge 0x403258
jmp 0x403228
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x40320a
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x40321c
leave
ret