joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006add4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r15d, r15d
mov dword [rbp + 0x40], 0x410
mov rax, rdx
mov qword [r8], r15
mov r14, r8
mov qword [rbp + 0x48], r15
mov rsi, rcx
mov qword [rbp - 0x10], r15
lea r8, [rbp - 0x10]
mov edx, 0x20019
mov rcx, rax
mov ebx, r15d
call fcn.14006baf8
mov edi, eax
test eax, eax
jne 0x14006ae7e
mov ecx, dword [rbp + 0x40]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rbx, rax
test rax, rax
je 0x14006ae79
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionDevices
mov qword [rsp + 0x28], rbx
mov r9d, 2
mov r8, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov edi, eax
cmp eax, 0xea
jne 0x14006ae7e
mov rcx, qword [0x1400a6ef0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14006ae1f
mov edi, 8
test edi, edi
mov r8, r15
cmovne r8, rbx
cmovne rbx, r15
test r8, r8
je 0x14006ae9f
mov rcx, qword [0x1400a6ef0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14006aeae
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14006af00
mov edi, 0x709
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x14006aed3
mov rcx, qword [0x1400a6ef0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp + 0x48], r15
test rbx, rbx
je 0x14006aeea
mov rcx, qword [0x1400a6ef0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x80]
mov eax, edi
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r9, rbx
mov qword [rsp + 0x20], r15
lea r8, [0x14009aa00]
mov rdx, rsi
lea rcx, [rbp + 0x48]
call fcn.14000d724
mov edi, eax
test eax, eax
jne 0x14006aeb7
mov rcx, qword [rbp + 0x48]
mov r8, r15
mov qword [r14], rcx
mov qword [rbp + 0x48], r15
jmp 0x14006aebb

Function at 0x14006b0b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, rdx
xor ebp, ebp
mov dword [r8], ebp
mov rdi, r8
mov rsi, rcx
mov qword [r11 + 0x18], rbp
lea r8, [r11 + 0x18]
mov edx, 0x20019
mov rcx, rax
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006b129
mov rcx, qword [rsp + 0x60]
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionDevices
mov qword [rsp + 0x30], rbp
mov r9d, 0xffff
mov qword [rsp + 0x28], rbp
mov r8, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x14006b129
mov dword [rdi], 1
jmp 0x14006b12f
cmp ebx, 2
cmove ebx, ebp
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14006b13f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14006b15c
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
and qword [rbp + 0x38], rbx
mov rsi, rcx
and qword [rbp + 0x30], rbx
and qword [rbp + 0x28], rbx
test rdx, rdx
jne 0x14006b19b
lea rdx, [rbp + 0x30]
xor ecx, ecx
call fcn.14000dc88
lea ecx, [rdi + 2]
test eax, eax
mov rdi, qword [rbp + 0x30]
cmove ebx, ecx
test ebx, ebx
jne 0x14006b201
lea r8, [rbp + 0x38]
mov edx, 0x20006
mov rcx, rsi
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006b201
and qword [rsp + 0x30], 0
lea r8, [0x140095820]
mov qword [rsp + 0x28], rdi
lea r9, str.SessionDefaultDevices
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x28]
call fcn.14000d724
mov ebx, eax
test eax, eax
jne 0x14006b201
mov rdx, qword [rbp + 0x28]
lea r8, str.Device
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
mov ebx, eax
mov r8, qword [rbp + 0x28]
test r8, r8
je 0x14006b21e
mov rcx, qword [0x1400a6ef0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rbp + 0x28], 0
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14006b232
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
and qword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14006b241
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006b4f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov dword [rax + 0x10], 0x410
mov qword [rdx], rbp
lea r8, [rax + 0x18]
mov rsi, rdx
mov qword [rax + 0x18], rbp
mov edx, 0x20019
mov ebx, ebp
call fcn.14006baf8
mov edi, eax
test eax, eax
jne 0x14006b58d
mov ecx, dword [rsp + 0x68]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rbx, rax
test rax, rax
je 0x14006b588
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r8, str.Device
mov qword [rsp + 0x28], rbx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov r9d, 2
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov edi, eax
cmp eax, 0xea
jne 0x14006b58d
mov rcx, qword [0x1400a6ef0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14006b527
mov edi, 8
test edi, edi
mov r8, rbp
cmovne r8, rbx
cmovne rbx, rbp
test r8, r8
je 0x14006b5ae
mov rcx, qword [0x1400a6ef0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14006b5be
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jne 0x14006b5d6
mov rcx, rbx
call fcn.14006bb3c
mov edi, eax
test eax, eax
jne 0x14006b5d6
mov qword [rsi], rbx
mov rbx, rbp
test rbx, rbx
je 0x14006b5ed
mov rcx, qword [0x1400a6ef0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b604
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14006b625
lea ebx, [rdx + 0x57]
jmp 0x14006b628
or dword [rdx], 0xffffffff
xor eax, eax
mov dword [rbp + 0x30], 4
mov dword [rbp + 0x28], eax
test ebx, ebx
jne 0x14006b6e2
and qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400101e0
and qword [rbp - 8], 0
lea rcx, [rbp - 0x10]
and qword [rbp - 0x10], 0
call fcn.1400101e0
and qword [rbp - 0x10], 0
lea r8, [rbp - 8]
mov edx, 0x20019
mov rcx, rsi
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006b6cd
mov rcx, qword [rbp - 8]
lea rax, [rbp - 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14006b6cd
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rax, [rbp + 0x28]
xor r8d, r8d
lea rdx, str.LegacyDefaultPrinterMode
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.1400101e0
lea rcx, [rbp - 8]
call fcn.1400101e0
mov eax, dword [rbp + 0x28]
cmp ebx, 2
je 0x14006b6f4
cmp eax, 1
ja 0x14006b6f4
test ebx, ebx
jne 0x14006b70c
mov dword [rdi], eax
jmp 0x14006b70c
call fcn.1400074e4
xor ecx, ecx
mov rdx, rsi
test al, al
setne cl
xor ebx, ebx
mov dword [rdi], ecx
call fcn.14006bbd8
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006b724
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
and qword [rsp + 0x78], rbx
mov rsi, rcx
test rdx, rdx
jne 0x14006b743
lea ebx, [rdx + 0x57]
jmp 0x14006b746
or dword [rdx], 0xffffffff
xor eax, eax
mov dword [rsp + 0x70], 4
mov dword [rsp + 0x68], eax
test ebx, ebx
jne 0x14006b7aa
lea r8, [rsp + 0x78]
mov edx, 0x20019
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006b7a6
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 0x10]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r8, str.IsMRUEstablished
and qword [rsp + 0x20], 0
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ebx, eax
mov eax, dword [rsp + 0x68]
cmp ebx, 2
je 0x14006b7bc
cmp eax, 1
ja 0x14006b7bc
test ebx, ebx
jne 0x14006b7cb
mov dword [rdi], eax
jmp 0x14006b7cb
and dword [rdi], 0
xor ebx, ebx
mov rdx, rsi
xor ecx, ecx
call fcn.14006bcd8
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14006b7db
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006b7ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r12d, r12d
mov rsi, r8
mov qword [rbp - 0x10], r12
mov r14, rcx
mov qword [rbp + 0x50], r12
mov ebx, r12d
mov qword [r8], r12
lea r13d, [r12 + 2]
test rdx, rdx
jne 0x14006b839
lea rdx, [rbp - 0x10]
xor ecx, ecx
call fcn.14000dc88
mov rdx, qword [rbp - 0x10]
test eax, eax
cmove ebx, r13d
test ebx, ebx
jne 0x14006b95c
mov qword [rsp + 0x30], r12
lea r8, [0x140095820]
mov qword [rsp + 0x28], rdx
lea r9, str.SessionDefaultDevices
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
mov qword [rsp + 0x20], r8
lea rcx, [rbp + 0x50]
call fcn.14000d724
mov ebx, eax
test eax, eax
jne 0x14006b95c
mov r15, qword [rbp + 0x50]
lea r8, [rbp + 0x58]
mov edx, 0x20019
mov dword [rbp + 0x48], 0x410
mov rcx, r14
mov qword [rbp + 0x58], r12
mov rdi, r12
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006b8fd
mov ecx, dword [rbp + 0x48]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rdi, rax
test rax, rax
je 0x14006b8f8
mov rcx, qword [rbp + 0x58]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
lea r8, str.Device
mov qword [rsp + 0x28], rdi
mov r9d, r13d
mov rdx, r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ebx, eax
cmp eax, 0xea
jne 0x14006b8fd
mov rcx, qword [0x1400a6ef0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14006b8a1
mov ebx, 8
test ebx, ebx
mov r8, r12
cmovne r8, rdi
cmovne rdi, r12
test r8, r8
je 0x14006b91e
mov rcx, qword [0x1400a6ef0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14006b92d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x14006b945
mov rcx, rdi
call fcn.14006bb3c
mov ebx, eax
test eax, eax
jne 0x14006b945
mov qword [rsi], rdi
mov rdi, r12
test rdi, rdi
je 0x14006b95c
mov rcx, qword [0x1400a6ef0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp + 0x50]
test r8, r8
je 0x14006b978
mov rcx, qword [0x1400a6ef0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp + 0x50], r12
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14006b987
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b9a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
and qword [r11 - 0x28], 0
mov rax, r8
and qword [r9], 0
lea r8, [r11 - 0x28]
mov rbp, rdx
mov dword [r11 + 0x20], 0x410
mov r14, rcx
mov edx, 0x20019
mov rcx, rax
mov rsi, r9
call fcn.14006baf8
mov edi, eax
test eax, eax
jne 0x14006ba78
mov ecx, dword [rsp + 0x88]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rbx, rax
test rax, rax
je 0x14006ba53
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov r9d, 2
mov qword [rsp + 0x28], rbx
mov r8, rbp
and qword [rsp + 0x20], 0
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov edi, eax
cmp eax, 0xea
jne 0x14006ba58
mov rcx, qword [0x1400a6ef0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14006b9f3
mov edi, 8
test edi, edi
jne 0x14006ba61
mov qword [rsi], rbx
xor ebx, ebx
test rbx, rbx
je 0x14006ba78
mov rcx, qword [0x1400a6ef0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006ba88
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
mov eax, edi
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x14006bbd8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
mov rbp, rsp
sub rsp, 0x30
and qword [rbp + 0x28], 0
lea rcx, [rbp + 0x28]
mov rbx, rdx
call fcn.1400101e0
and qword [rbp + 0x28], 0
lea rcx, [rbp + 0x20]
and qword [rbp + 0x20], 0
call fcn.1400101e0
and qword [rbp + 0x20], 0
cmp dword [rbp + 0x10], 2
jb 0x14006bc22
mov ebx, 0x57
jmp 0x14006bca6
lea r8, [rbp + 0x28]
mov edx, 0x2001f
mov rcx, rbx
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006bca6
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14006bca6
mov rcx, qword [rbp + 0x20]
lea r9d, [rax + 4]
lea rax, [rbp + 0x10]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LegacyDefaultPrinterMode
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x14006bca6
lea r9, str.Windows
xor r8d, r8d
lea edx, [rax + 0x1a]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendNotifyMessageW]
mov ecx, dword [rbp + 0x10]
mov edx, ebx
call fcn.14006a6ac
lea rcx, [rbp + 0x20]
call fcn.1400101e0
lea rcx, [rbp + 0x28]
call fcn.1400101e0
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret
Function at 0x14006bcd8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1400a5768]
xor rax, rsp
mov qword [rbp + 0x47], rax
and qword [rbp - 0x19], 0
mov rbx, rdx
mov dword [rbp - 0x29], ecx
lea rcx, [rbp - 0x19]
call fcn.1400101e0
and qword [rbp - 0x19], 0
lea rcx, [rbp - 0x21]
and qword [rbp - 0x21], 0
call fcn.1400101e0
and qword [rbp - 0x21], 0
mov esi, 4
cmp dword [rbp - 0x29], 2
jb 0x14006bd39
lea ebx, [rsi + 0x53]
jmp 0x14006bd9f
lea r8, [rbp - 0x19]
mov edx, 0x20006
mov rcx, rbx
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006bd9f
mov rcx, qword [rbp - 0x19]
lea rax, [rbp - 0x21]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWindows
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14006bd9f
mov rcx, qword [rbp - 0x21]
lea rax, [rbp - 0x29]
mov dword [rsp + 0x28], esi
lea rdx, str.IsMRUEstablished
mov r9d, esi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
mov eax, dword [rbp - 0x29]
lea rdx, [0x14006a6a0]
mov dword [rbp - 0x11], eax
mov dword [rbp - 9], ebx
call fcn.14006ad2c
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14006bdf4
and dword [rbp + 0x33], 0
lea rax, [rbp - 0x11]
and dword [rbp + 0x43], 0
mov qword [rbp + 0x27], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x37], rax
mov dword [rbp + 0x2f], esi
mov dword [rbp + 0x3f], esi
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea rdx, [0x14009555b]
mov dword [rsp + 0x20], esi
call fcn.14002b79c
lea rcx, [rbp - 0x21]
call fcn.1400101e0
lea rcx, [rbp - 0x19]
call fcn.1400101e0
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400106e0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14006bf54
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
or rax, 0xffffffffffffffff
mov rdi, r8
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
inc rax
cmp word [r8 + rax*2], r15w
jne 0x14006bf7c
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov edx, 0x20006
mov qword [rsp + 0x58], r15
mov rcx, r9
lea ebp, [rax*2 + 2]
call fcn.14006baf8
mov ebx, eax
test eax, eax
jne 0x14006c01a
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0xa0], r15d
je 0x14006bffb
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rdx, rsi
mov dword [rsp + 0x20], 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x58]
mov rsi, r15
mov ebx, eax
test ebx, ebx
jne 0x14006c01a
mov dword [rsp + 0x28], ebp
lea r9d, [rbx + 1]
mov r8, r14
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006c02a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006c03a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400e1894
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e18aa
mov al, 1
jmp 0x1400e190a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e18bb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e1908
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400c6dcc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e1908
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e1908
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e1908
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e190a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400e8ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400e9010
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140187028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400e906c
mov edi, dword [rsi + 0x5c]
test bl, bl
je 0x1400e904c
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b4910
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r14d, 1
cmovge r14d, eax
xor r15d, r15d
mov rcx, qword [rsi + 0x40]
call fcn.1400cf364
cmp eax, 0xffffffff
je 0x1400e90ee
mov byte [rsp + r15 + 0x58], al
inc r15
cmp r14, r15
jne 0x1400e908e
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x1400e90f8
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test bl, bl
je 0x1400e90ca
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x1400e904c
mov edi, r14d
test rdi, rdi
jle 0x1400e919e
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movzx ecx, byte [rsp + rax + 0x58]
call fcn.1400d24a4
cmp eax, 0xffffffff
jne 0x1400e90cd
mov edi, 0xffffffff
jmp 0x1400e904c
lea r15, [rsp + 0x48]
mov qword [r15], rdi
lea r12, [rsp + 0x40]
mov qword [r12], rdi
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx edi, word [rdx + 6]
lea r9, [rsp + r14 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x57]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x58]
call qword [0x1401ae008]
cmp eax, 1
jne 0x1400e9187
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], di
cmp r14d, 8
je 0x1400e90ee
mov rcx, qword [rsi + 0x40]
call fcn.1400cf364
cmp eax, 0xffffffff
je 0x1400e90ee
mov byte [rsp + r14 + 0x58], al
inc r14
jmp 0x1400e9109
cmp eax, 2
je 0x1400e90ee
cmp eax, 3
je 0x1400e90b4
jmp 0x1400e90bc
movzx edi, byte [rsp + 0x57]
jmp 0x1400e904c
Function at 0x1400e94c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400e95f0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140187028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x1400e964c
movzx edi, word [rsi + 0x5c]
test bl, bl
je 0x1400e962c
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b4910
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r14d, 1
cmovge r14d, eax
xor r15d, r15d
mov rcx, qword [rsi + 0x40]
call fcn.1400cf364
cmp eax, 0xffffffff
je 0x1400e96d9
mov byte [rsp + r15 + 0x58], al
inc r15
cmp r14, r15
jne 0x1400e966e
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x1400e96e2
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test bl, bl
je 0x1400e96b2
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x1400e962c
mov edi, r14d
test rdi, rdi
jle 0x1400e9788
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movsx eax, byte [rsp + rax + 0x58]
movzx ecx, ax
call fcn.1400d24a4
cmp eax, 0xffffffff
jne 0x1400e96b5
mov di, 0xffff
jmp 0x1400e962c
lea r15, [rsp + 0x48]
mov qword [r15], rdi
lea r12, [rsp + 0x40]
mov qword [r12], rdi
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx edi, word [rdx + 6]
lea r9, [rsp + r14 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x56]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x58]
call qword [0x1401ae008]
cmp eax, 1
jne 0x1400e9771
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], di
cmp r14d, 8
je 0x1400e96d9
mov rcx, qword [rsi + 0x40]
call fcn.1400cf364
cmp eax, 0xffffffff
je 0x1400e96d9
mov byte [rsp + r14 + 0x58], al
inc r14
jmp 0x1400e96f3
cmp eax, 2
je 0x1400e96d9
cmp eax, 3
je 0x1400e9696
jmp 0x1400e96a0
movzx edi, word [rsp + 0x56]
jmp 0x1400e962c

Function at 0x1400e9a20
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400e9a57
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x1400e9a31
ret

Function at 0x1400e9ac0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400e9af8
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1400e9ad1
ret