joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400030e0
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, [0x14001da78]
lea rcx, str.Setup.rar
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.ace
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0xf]
lea rcx, str.Setup.001
mov rdx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
lea rdx, str.Desktop
mov rcx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0x17]
lea rdx, str.ShellExt
lea rdi, str.Setup
mov rcx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.1400071bc
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400071bc

Function at 0x140003a30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, 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]
xor ecx, ecx
cmp eax, ecx
sete bl
cmp bl, cl
je 0x140003a8b
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
cmp eax, 1
mov rax, qword [rcx]
sete bl
call qword [rax + 0x28]
jmp 0x140003a8e
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003a9c
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
mov eax, 0x1080
call fcn.14001b9f0
sub rsp, rax
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140003acf
xor al, al
jmp 0x140003b2d
lea rcx, [rsp + 0x60]
mov r8d, 0x800
mov rdx, rbx
call fcn.140008534
lea rcx, [rsp + 0x60]
call fcn.14000b0b0
xor ebx, ebx
lea rcx, [rsp + 0x20]
lea r8d, [rbx + 0x38]
xor edx, edx
mov word [rsp + rax*2 + 0x62], bx
call fcn.14000b1a0
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_SHFileOperationW]
cmp eax, ebx
sete al
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14000a670
add rsp, 0x1080
pop rbx
ret
Function at 0x1400056e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x58]
mov sil, r8b
mov rbp, rdx
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
xor r12d, r12d
lea r8, [rsp + 0x40]
lea edx, [r12 + 0x1a]
xor ecx, ecx
mov word [rbx], r12w
mov dil, r12b
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, r12d
jne 0x140005786
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, r12d
je 0x140005786
cmp word [rbx], r12w
je 0x140005786
mov rdx, rbp
mov rcx, rbx
call fcn.140005610
lea rdx, [0x14001e088]
mov r8, rbp
mov rcx, rbx
call fcn.140008570
mov rcx, rbx
call fcn.140002258
mov dil, al
cmp al, r12b
jne 0x140005786
cmp sil, r12b
je 0x140005786
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14000226c
cmp eax, r12d
sete dil
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov al, dil
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x1400057f4
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x1030
call fcn.14001b9f0
sub rsp, rax
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor edi, edi
mov rsi, r8
mov r12, rdx
mov rbx, rcx
cmp word [rcx], di
je 0x1400059c8
call fcn.1400055dc
mov rcx, rbx
call fcn.14000b0b0
mov rcx, rbx
mov rbp, rax
call fcn.1400057ac
cmp al, dil
je 0x1400058e4
mov rcx, rbx
call fcn.1400055dc
cmp al, dil
je 0x140005890
lea rax, [rbp + 4]
cmp rsi, rax
jbe 0x1400059c8
lea r8d, [rdi + 4]
lea rdx, [0x14001e888]
mov rcx, r12
call fcn.14000afd8
lea rcx, [r12 + 8]
mov rdx, rbx
call fcn.14000a6bc
mov al, 1
jmp 0x1400059ca
mov edi, 0x5c
cmp word [rbx], di
jne 0x1400059c8
cmp word [rbx + 2], di
jne 0x1400059c8
lea rax, [rbp + 6]
cmp rsi, rax
jbe 0x1400059c8
lea r8d, [rdi - 0x58]
lea rdx, [0x14001e888]
mov rcx, r12
call fcn.14000afd8
lea rcx, [r12 + 8]
lea rdx, [0x14001e880]
call fcn.14000a6bc
lea rcx, [r12 + 0xe]
lea rdx, [rbx + 2]
jmp 0x140005884
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, edi
je 0x1400059c8
cmp eax, 0x7ff
ja 0x1400059c8
movzx eax, word [rbx]
mov edi, 0x5c
cmp eax, edi
je 0x14000598b
cmp eax, 0x2f
je 0x14000598b
lea rcx, [rsp + 0x20]
mov edx, 0x800
call fcn.140005610
lea rcx, [rsp + 0x20]
call fcn.14000b0b0
lea rcx, [rax + rbp + 4]
cmp rsi, rcx
jbe 0x1400059c8
lea r8d, [rdi - 0x58]
lea rdx, [0x14001e888]
mov rcx, r12
call fcn.14000afd8
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x20]
call fcn.14000a6bc
cmp word [rbx], 0x2e
jne 0x140005978
movzx eax, word [rbx + 2]
cmp eax, edi
je 0x140005974
cmp eax, 0x2f
jne 0x140005978
add rbx, 4
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call fcn.140008570
jmp 0x140005889
lea rax, [rbp + 6]
cmp rsi, rax
jbe 0x1400059c8
lea rdx, [0x14001e888]
mov r8d, 4
mov rcx, r12
call fcn.14000afd8
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.14000afd8
lea rcx, [r12 + 0xc]
jmp 0x140005881
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000a670
add rsp, 0x1030
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005b30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rdx
lea rax, [rsp + 0x30]
mov sil, r8b
mov rbx, rcx
mov word [rcx], bp
lea r9d, [rbp + 1]
lea rdx, str.SoftwareWinRARPaths
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x140005bab
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rdx, str.AppData
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x60], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbx], bp
je 0x140005bbd
mov rcx, rbx
call fcn.140002258
cmp al, bpl
jne 0x140005be6
mov r8b, sil
mov rdx, rdi
mov rcx, rbx
call fcn.1400056e0
cmp al, bpl
jne 0x140005be6
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.140005af8
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x600
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], bp
je 0x140006425
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x140006425
mov esi, ebp
xor edx, edx
jmp 0x1400063cb
lea rax, [rsp + 0x60]
lea r8, str._s_s
lea rcx, [rsp + 0x1f0]
mov r9, rbx
mov edx, 0x200
mov qword [rsp + 0x20], rax
call fcn.140006314
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.140006338
inc esi
mov edx, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0xc8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
je 0x140006391
mov rcx, qword [rsp + 0x48]
call fcn.140006228
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebp
jne 0x140006425
inc dword [0x140027c20]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.14000a670
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400069cc
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [0x14001db20]
mov rdi, rdx
mov rbx, rcx
call fcn.14000603c
test al, al
jne 0x140006a29
lea r8, [rsp + 0x20]
mov r9d, 0x200
mov rdx, rdi
mov rcx, rbx
call fcn.140006448
test al, al
je 0x140006a29
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14000a670
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret
Function at 0x140006a4c
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.14000603c
test al, al
jne 0x140006ad2
lea r8, [rsp + 0x40]
mov r9d, 0x200
mov rdx, rsi
mov rcx, rbx
call fcn.140006448
test al, al
je 0x140006ad2
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006ad2
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140006228
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000a670
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x140006af0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140005504
test eax, eax
jne 0x140006b19
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140006b34
and dword [0x140027c20], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140006338
cmp dword [0x140027c20], 0
jne 0x140006b19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140006dac
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x858
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rbx, r9
lea r9, [rsp + 0x40]
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], 0x400
call fcn.140005e54
test al, al
jne 0x140006df8
cmp byte [0x1400242b1], al
sete al
jmp 0x140006e0d
lea rcx, [rsp + 0x40]
mov r8d, 1
mov rdx, rbx
call fcn.140005d44
mov al, 1
test al, al
je 0x140006e15
xor eax, eax
jmp 0x140006e69
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.140006c60
mov rdi, rax
test rax, rax
je 0x140006e63
mov rcx, rbx
call fcn.14000b0b0
mov r9d, 1
xor r8d, r8d
lea ecx, [rax + rax + 2]
mov rdx, rbp
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140006228
jmp 0x140006e67
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000a670
add rsp, 0x858
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140006e88
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140005eec
test al, al
je 0x140006eb2
xor eax, eax
jmp 0x140006f00
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140006c60
mov rdi, rax
test rax, rax
je 0x140006efa
lea rax, [rsp + 0x68]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140006228
jmp 0x140006efe
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140006f10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x858
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov r12, qword [rsp + 0x8c0]
mov ebp, dword [rsp + 0x8c8]
mov rbx, r9
lea r9, [rsp + 0x40]
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], 0x400
call fcn.140005e54
xor r15d, r15d
cmp al, r15b
jne 0x140006f86
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call fcn.140008534
cmp byte [0x1400242b1], r15b
sete al
jmp 0x140006fa7
lea rcx, [rsp + 0x40]
call fcn.140005f70
mov r8, rbp
mov rcx, rbx
cmp rax, r15
cmove rax, r12
mov rdx, rax
call fcn.140008534
mov al, 1
cmp al, r15b
je 0x140006fb3
mov al, 1
jmp 0x140007039
mov rdx, rsi
mov rcx, rdi
call fcn.140006d10
mov dil, r15b
mov rsi, rax
cmp rax, r15
je 0x140007028
lea ecx, [rbp + rbp]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, rsi
mov rdx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
cmp eax, r15d
sete dil
call fcn.140006228
cmp dil, r15b
je 0x140007028
mov ecx, dword [rsp + 0x30]
shr ecx, 1
cmp ebp, r15d
jne 0x140007019
mov word [rbx], r15w
jmp 0x140007036
lea eax, [rbp - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r15w
jmp 0x140007036
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call fcn.140008534
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000a670
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140007060
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov qword [r11 - 0x28], rax
call fcn.140005fb4
test al, al
je 0x140007097
mov eax, dword [rsp + 0x30]
jmp 0x1400070f8
mov rdx, rbx
mov rcx, rsi
call fcn.140006d10
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x1400070f6
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
test eax, eax
sete bl
call fcn.140006228
test bl, bl
je 0x1400070f6
cmp dword [rsp + 0x34], 0
je 0x1400070f6
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140007060

Function at 0x140007110
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140006a4c

Function at 0x1400071a4
Capabilities:
Set registry value

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

Function at 0x1400071bc
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140006e88
Function at 0x140007200
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
lea rax, [r11 - 0x18]
mov edi, r9d
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov qword [r11 - 0x28], rax
call fcn.140005fb4
test al, al
je 0x140007097
mov eax, dword [rsp + 0x30]
jmp 0x1400070f8
mov rdx, rbx
mov rcx, rsi
call fcn.140006d10
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x1400070f6
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
test eax, eax
sete bl
call fcn.140006228
test bl, bl
je 0x1400070f6
cmp dword [rsp + 0x34], 0
je 0x1400070f6
mov edi, dword [rsp + 0x30]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140007060
Function at 0x140007fe4
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
mov eax, 0x2060
call fcn.14001b9f0
sub rsp, rax
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, rcx
je 0x140008025
mov rdx, rcx
mov rcx, rbx
call fcn.140008534
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_RegOpenKeyExW]
xor r12d, r12d
cmp eax, r12d
jne 0x140008116
mov rcx, rdi
call fcn.14000b0b0
mov ecx, 0x7ff
lea r9, [rsp + 0x40]
sub ecx, eax
lea rax, [rsp + 0x30]
lea rdx, str.LanguageFolder
add ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1050]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x14000810b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1050]
mov r8d, 0x800
mov word [rsp + 0x50], r12w
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
mov edx, 0x800
call fcn.140005610
mov rcx, rdi
call fcn.1400059e8
lea rcx, [rsp + 0x50]
mov r8d, 0x800
mov rdx, rax
call fcn.140008570
lea rcx, [rsp + 0x50]
call fcn.140002258
cmp al, r12b
je 0x14000810b
lea rdx, [rsp + 0x50]
mov r8, rsi
mov rcx, rbx
call fcn.140008534
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.14000a670
mov rbx, qword [rsp + 0x2098]
add rsp, 0x2060
pop r12
pop rdi
pop rsi
ret

Function at 0x1400081fc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.14001b9f0
sub rsp, rax
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140007fb0
test rdi, rdi
je 0x14000824b
lea rcx, [rsp + 0x140]
mov rdx, rdi
call fcn.14000a6bc
jmp 0x140008261
lea rdx, [rsp + 0x140]
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.rarlng.dll
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.140005a40
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.140007fe4
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r8d, 2
cmp dword [rsp + 0x30], r8d
jne 0x1400082d8
cmp dword [rsp + 0x24], 5
ja 0x1400082c6
jne 0x1400082d8
cmp dword [rsp + 0x28], 1
jbe 0x1400082d8
lea rcx, [rsp + 0x140]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1400082e6
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x140027bb8], rax
setne cl
mov byte [rsi], cl
mov rax, qword [0x140027bb8]
test cl, cl
cmove rax, rbx
mov qword [0x140027bb0], rbx
mov qword [0x140027bb8], rax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.14000a670
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140008d50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, rdx
mov rsi, rdx
call fcn.14000b0b0
mov rbx, rax
lea rcx, [rax + rax + 4]
call fcn.14000bd40
mov rdi, rax
test rax, rax
je 0x140008db9
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.140008868
mov rcx, rdi
call fcn.14000b0e0
mov r9, rbp
mov edx, 1
mov r8, rax
mov rcx, rdi
call fcn.14000b7b4
mov rcx, rdi
call fcn.14000a70c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140008ec8
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
mov eax, 0x1030
call fcn.14001b9f0
sub rsp, rax
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, 0x800
lea rdx, [rsp + 0x20]
lea rcx, str.sfxname
xor ebx, ebx
mov r8d, esi
mov word [rsp + 0x20], bx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebx
je 0x140008fb7
cmp word [rsp + 0x20], bx
je 0x140008fb7
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
mov r8, rsi
call fcn.140005a40
lea rcx, [rsp + 0x20]
call fcn.140002258
cmp al, bl
jne 0x140008f57
lea rdx, str.rarreg.txt
lea rcx, [rsp + 0x20]
mov r8, rsi
call fcn.140005a40
lea rcx, [rsp + 0x20]
call fcn.140002258
cmp al, bl
je 0x140008f7d
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rdx, str.winrar.ini
lea rcx, [rsp + 0x20]
mov r8, rsi
call fcn.140005a40
lea rcx, [rsp + 0x20]
call fcn.140002258
cmp al, bl
je 0x140008fb7
lea rdx, str.winrar.ini
lea rcx, [rsp + 0x20]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000a670
mov rbx, qword [rsp + 0x1040]
add rsp, 0x1030
pop rsi
ret
Function at 0x14000a2fc
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ecx, ecx
cmp eax, ecx
setne al
add rsp, 0x28
ret

Function at 0x14000dfcf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400242f8]
jne 0x14000a68a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000a686
repz ret
ror rcx, 0x10
jmp 0x14000df28
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002cee0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14002cfd8]
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 0x14000dfad
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, [0x14002cee0]
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 0x14000dfcf
mov rax, qword [rsp + 0x88]
mov qword [0x14002cfd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002cf78], rax
mov rax, qword [0x14002cfd8]
mov qword [0x14002ce50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002cf60], rax
mov dword [0x14002ce40], 0xc0000409
mov dword [0x14002ce44], 1
mov rax, qword [0x1400242f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140024300]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002ced8], eax
mov ecx, 1
call fcn.140015120
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001f478]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002ced8], 0
jne 0x14000e056
mov ecx, 1
call fcn.140015120
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 0x1400107f8
Capabilities:
Terminate process

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