joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002140
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004420]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [0x140004400]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002178
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002180
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002150
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004420]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [0x140004400]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002178
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002180
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002160
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004420]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [0x140004400]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002178
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002180
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002280
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400022a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400022a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400022a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022fd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400022f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400022a0
add rax, 0x28
cmp rax, r9
jne 0x1400022e0
xor eax, eax
ret

Function at 0x140002300
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000231f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002328
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000231f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400023c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400023df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400023e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001000
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor r8d, r8d
lea r9, [0x1400197e0]
mov r10d, r8d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140001013
inc r8d
mov dword [r9], r10d
add r9, 4
cmp r8d, 0x100
jl 0x14000100a
repz ret

Function at 0x140001048
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, r8
mov rbp, rdx
mov ebx, ecx
cmp dword [0x1400197e4], esi
jne 0x140001073
call fcn.140001000
lea r9, [0x1400197e0]
jmp 0x14000109d
test bpl, 7
je 0x1400010a2
movzx ecx, byte [rbp]
movzx eax, bl
dec rdi
xor rcx, rax
mov eax, ebx
mov ebx, dword [r9 + rcx*4]
shr eax, 8
xor ebx, eax
inc rbp
cmp rdi, rsi
ja 0x14000107c
cmp rdi, 8
jb 0x14000112d
mov r8, rdi
shr r8, 3
mov rax, r8
imul rax, rax, 0xfffffffffffffff8
add rdi, rax
xor ebx, dword [rbp]
add rbp, 8
movzx eax, bl
shr ebx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, ebx
movzx eax, cl
shr ecx, 8
mov edx, dword [r9 + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [r9 + rax*4]
xor edx, dword [rbp - 4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [r9 + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov ebx, dword [r9 + rax*4]
xor ebx, ecx
sub r8, 1
jne 0x1400010bd
cmp rdi, rsi
jbe 0x14000114f
movzx ecx, byte [rsi + rbp]
movzx eax, bl
inc rsi
xor rcx, rax
mov eax, ebx
mov ebx, dword [r9 + rcx*4]
shr eax, 8
xor ebx, eax
cmp rsi, rdi
jb 0x140001132
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001578
Capabilities:
Check if file exists

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, 0x40
xor r14d, r14d
mov rbx, rcx
mov r12, rdx
cmp byte [rcx + 0x1e], r14b
lea edx, [r14 + 1]
movzx eax, r9b
cmovne eax, edx
cmp byte [rsp + 0x90], r14b
mov dword [rcx + 0xc20], r14d
mov ecx, 0xc0000000
mov r13d, edx
mov ebp, 0x80000000
cmovne ebp, ecx
cmp al, r14b
mov al, byte [rbx + 0x1d]
lea r15d, [r14 + 3]
mov rdi, r8
cmovne r13d, r15d
neg al
sbb esi, esi
not esi
and esi, 0x8000000
call fcn.140003dbc
cmp eax, r14d
je 0x14000161e
cmp rdi, r14
je 0x14000161e
cmp word [rdi], r14w
je 0x14000161e
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov r8d, r13d
mov edx, ebp
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x14000163d
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov r8d, r13d
mov edx, ebp
mov rcx, r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000165b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000165b
mov dword [rbx + 0xc20], 1
cmp rsi, 0xffffffffffffffff
mov byte [rbx + 0x1a], r14b
mov dword [rbx + 0x14], r14d
setne bpl
mov byte [rbx + 0x18], r14b
cmp bpl, r14b
je 0x1400016c7
mov qword [rbx + 8], rsi
cmp rdi, r14
je 0x14000168e
lea rcx, [rbx + 0x420]
mov rdx, rdi
call 0x140005754
jmp 0x140001696
mov word [rbx + 0x420], r14w
cmp r12, r14
je 0x1400016a9
lea rcx, [rbx + 0x1f]
mov rdx, r12
call fcn.140006ee8
jmp 0x1400016bb
lea rdx, [rbx + 0x1f]
mov r8d, 0x1000000
mov rcx, rdi
call fcn.14000571c
mov rdx, qword [rbx + 8]
mov rcx, rbx
call fcn.140001338
lea r11, [rsp + 0x40]
mov al, bpl
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 0x1400016e8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x14], 1
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov ebp, 0x4e20
jne 0x140001726
cmp r8, rbp
mov ecx, 0xfffffff6
cmova rdi, rbp
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001780
mov rcx, rbx
call fcn.140001514
test al, al
je 0x140001766
cmp rdi, rbp
jbe 0x140001766
mov r8, rbp
mov rdx, rsi
mov rcx, rbx
call fcn.1400016e8
jmp 0x140001784
cmp dword [rbx + 0x14], 1
jne 0x14000177b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x14000177b
xor eax, eax
jmp 0x140001784
or eax, 0xffffffff
jmp 0x140001784
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140001974
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call fcn.140003dbc
xor ebx, ebx
cmp eax, ebx
je 0x1400019a9
cmp rdi, rbx
je 0x1400019a9
cmp word [rdi], bx
je 0x1400019a9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1400019b2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x1400019c8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140003dbc
xor esi, esi
cmp eax, esi
je 0x1400019fd
cmp rbx, rsi
je 0x1400019fd
cmp word [rbx], si
je 0x1400019fd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140001a06
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rbx, qword [rsp + 0x30]
cmp eax, esi
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x140001da0
Capabilities:
Enumerate pe sections
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
mov rbx, rcx
lea rdi, [0x14001379c]
lea rcx, str.Setup.rar
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.ace
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
lea rdx, str.Desktop
mov rcx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0x17]
lea rdi, str.Setup
lea rdx, str.ShellExt
mov rcx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.1400046b0
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400046b0
Function at 0x140002960
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x38]
mov edx, 0x10
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x28]
add rsp, 0x20
pop rbx
ret

Function at 0x1400029ac
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x38]
mov edx, 0x19
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x28]
add rsp, 0x20
pop rbx
ret

Function at 0x1400029f8
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x140018280]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140002a25
xor al, al
jmp 0x140002a82
lea rcx, [rsp + 0x60]
mov r8d, 0x400
mov rdx, rbx
call fcn.1400056ec
lea rcx, [rsp + 0x60]
call fcn.14000702c
xor ebx, ebx
lea rcx, [rsp + 0x20]
lea r8d, [rbx + 0x38]
xor edx, edx
mov byte [rsp + rax + 0x61], bl
call fcn.1400078dc
lea eax, [rbx + 0x14]
lea rcx, [rsp + 0x20]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp eax, ebx
sete al
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140007160
add rsp, 0x480
pop rbx
ret
Function at 0x140004024
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x130
mov rax, qword [0x140018280]
xor rax, rsp
mov qword [rsp + 0x120], rax
lea r8, [rsp + 0x20]
mov r9d, 0x100
mov rbx, rcx
call fcn.140003f88
test al, al
je 0x140004064
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140007160
add rsp, 0x130
pop rbx
ret

Function at 0x140004080
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140018280]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, r8
lea r8, [rsp + 0x40]
mov r9d, 0x100
mov rdi, rcx
call fcn.140003f88
test al, al
je 0x1400040f6
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400040f6
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x30]
call fcn.140003f64
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140007160
mov rbx, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
ret

Function at 0x140004118
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x340
mov rax, qword [0x140018280]
xor rax, rsp
mov qword [rsp + 0x330], rax
cmp byte [rdx], 0
mov rbx, rdx
mov rdi, rcx
je 0x140004218
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140004218
xor esi, esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rsi
and qword [rsp + 0x28], rsi
and qword [rsp + 0x20], rsi
xor edx, edx
jmp 0x1400041d7
lea r9, [rsp + 0x60]
lea rdx, [0x140013ec4]
lea rcx, [rsp + 0x130]
mov r8, rbx
call fcn.140007180
lea rdx, [rsp + 0x130]
mov rcx, rdi
call fcn.140004118
inc esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov edx, esi
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14000418b
mov rcx, qword [rsp + 0x48]
call fcn.140003f64
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x140004218
inc dword [0x14001aa64]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140007160
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140004404
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
lea r8, [rsp + 0x30]
mov rbx, r9
call fcn.1400042c0
mov rdi, rax
test rax, rax
je 0x140004460
mov rcx, rbx
call fcn.14000702c
mov r9d, 1
xor r8d, r8d
add eax, r9d
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rdi
mov ebx, eax
call fcn.140003f64
jmp 0x140004464
mov ebx, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140004478
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rbx, r8
lea r8, [rsp + 0x30]
call fcn.1400042c0
mov rdi, rax
test rax, rax
je 0x1400044cc
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rdi
mov ebx, eax
call fcn.140003f64
jmp 0x1400044d0
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400044e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
lea r8, [rsp + 0x30]
mov rbx, r9
call fcn.1400042c0
mov rdi, rax
test rax, rax
je 0x140004535
mov ecx, dword [rsp + 0x70]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, rax
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rdi
mov ebx, eax
call fcn.140003f64
jmp 0x140004539
mov ebx, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000454c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
call fcn.140004370
mov rsi, rax
test rax, rax
je 0x1400045a9
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, rsi
mov ebx, eax
call fcn.140003f64
test ebx, ebx
jne 0x1400045a9
cmp dword [rsp + 0x78], ebx
je 0x1400045a9
mov al, 1
jmp 0x1400045b8
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
call fcn.140006ee8
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400045c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
mov rbx, r8
call fcn.140004370
mov rsi, rax
mov dword [rsp + 0x30], 4
test rax, rax
je 0x14000462d
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, rsi
mov ebx, eax
call fcn.140003f64
test ebx, ebx
jne 0x14000462d
cmp dword [rsp + 0x30], ebx
je 0x14000462d
mov al, 1
jmp 0x140004635
mov eax, dword [rsp + 0x70]
mov dword [rdi], eax
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140004648
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140003dbc
test eax, eax
jne 0x140004671
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x14000468c
and dword [0x14001aa64], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140004118
cmp dword [0x14001aa64], 0
jne 0x140004671
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140004698
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140004404

Function at 0x1400046b0
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140004478
Function at 0x14000534c
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x140018280]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, rcx
je 0x140005382
mov rdx, rcx
mov rcx, rbx
call fcn.1400056ec
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareWinRARGeneral
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140005460
mov rcx, rdi
call fcn.14000702c
mov ecx, 0x3ff
lea r9, [rsp + 0x40]
sub ecx, eax
lea rax, [rsp + 0x30]
lea rdx, str.LanguageFolder
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x450]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140005455
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x450]
mov r8d, 0x400
mov byte [rsp + 0x50], al
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [rsp + 0x50]
call fcn.140003f08
mov rcx, rdi
call fcn.140003e30
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.140006ec4
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.140001974
test al, al
je 0x140005455
lea rdx, [rsp + 0x50]
mov r8, rsi
mov rcx, rbx
call fcn.1400056ec
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140007160
add rsp, 0x860
pop rdi
pop rsi
pop rbx
ret

Function at 0x140005c18
Capabilities:
Copy file
Query environment variable

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x140018280]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea rdx, [rsp + 0x20]
lea rcx, str.sfxname
mov r8d, 0x400
mov byte [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x140005cbe
cmp byte [rsp + 0x20], 0
je 0x140005cbe
lea rcx, [rsp + 0x20]
call fcn.140003e30
lea rdx, str.rarreg.key
mov rcx, rax
mov rbx, rax
call fcn.140006ee8
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.140001974
test al, al
jne 0x140005ca6
lea rdx, str.rarreg.txt
mov rcx, rbx
call fcn.140006ee8
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.140001974
test al, al
je 0x140005cbe
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140007160
add rsp, 0x430
pop rbx
ret
Function at 0x1400092b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000ae50
nop
cmp dword [0x14001c458], 1
je 0x14000925c
mov dword [0x14001c454], 1
mov byte [0x14001c450], r12b
test ebx, ebx
jne 0x140009248
mov rcx, qword [0x14001e4d0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140009235
mov rcx, qword [0x14001e4c8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400091d4
call fcn.14000b068
cmp qword [rdi], rax
jne 0x1400091d4
jmp 0x1400091ba
cmp rdi, rsi
jb 0x140009235
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000b068
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14001e4d0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14001e4c8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140009213
cmp r13, rax
je 0x140009233
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400091ba
lea rdx, [0x140013568]
lea rcx, [0x140013550]
call fcn.140009004
lea rdx, [0x140013578]
lea rcx, [0x140013570]
call fcn.140009004
nop
test r12d, r12d
je 0x14000926b
mov ecx, 8
call fcn.14000ad50
test r12d, r12d
jne 0x140009296
mov dword [0x14001c458], 1
lea ecx, [r12 + 8]
call fcn.14000ad50
mov ecx, r15d
call fcn.140008f98
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140009124

Function at 0x1400092bc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140009124