joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009b10
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140009bd9
mov rcx, rdx
call fcn.1400018c0
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140009bfa
lea rcx, [rsp + 0x20]
call fcn.1400024c0
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000a7ac
test al, al
je 0x140009ba5
lea rcx, [rsp + 0x20]
call fcn.1400018c0
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.140002050
cmp rbx, 0xffffffffffffffff
jne 0x140009bfa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x140009bcf
cmp eax, 0x13
je 0x140009bcf
xor al, al
jmp 0x140009bd1
mov al, 1
mov byte [rdi + 0x64], al
jmp 0x140009c8c
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140009bfa
or rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x140009bd1
mov rdx, rsi
mov rcx, rdi
call fcn.140007078
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140001b9c
nop
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000a2e8
nop
lea rcx, [rsp + 0x20]
call fcn.140002050
mov ecx, dword [rsp + 0x5c]
shl rcx, 0x20
mov eax, dword [rsp + 0x60]
add rcx, rax
mov qword [rdi + 0x20], rcx
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x28], eax
mov rax, qword [rsp + 0x44]
mov qword [rdi + 0x48], rax
mov rax, qword [rsp + 0x4c]
mov qword [rdi + 0x50], rax
mov rax, qword [rsp + 0x54]
mov qword [rdi + 0x58], rax
lea rcx, [rdi + 0x30]
lea rdx, [rsp + 0x54]
call fcn.14000ec64
lea rcx, [rdi + 0x38]
lea rdx, [rsp + 0x44]
call fcn.14000ec64
lea rcx, [rdi + 0x40]
lea rdx, [rsp + 0x4c]
call fcn.14000ec64
and dword [rdi + 0x60], 0
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400143a0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009fd8
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor bl, bl
cmp byte [0x14004aa01], bl
jne 0x14000a03d
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x14000a02c
jne 0x14000a02e
cmp dword [rsp + 0x2c], 0x55f0
jb 0x14000a02e
call fcn.140009d7c
test al, al
jne 0x14000a02e
mov bl, 1
mov byte [0x14004aa00], bl
mov byte [0x14004aa01], 1
jmp 0x14000a043
mov bl, byte [0x14004aa00]
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400143a0
add rsp, 0x150
pop rbx
ret

Function at 0x14000a4f4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
mov rcx, rbx
call fcn.140007048
xor edi, edi
lea r8, [rsp + 0x40]
xor ecx, ecx
lea edx, [rdi + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x14000a566
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.14000a58c
test al, al
je 0x14000a566
mov rcx, rbx
call fcn.14000694c
test al, al
jne 0x14000a566
call fcn.14000a3a8
lea rdx, [0x14003b400]
mov rcx, rbx
call fcn.140006a14
mov rcx, rbx
call fcn.1400085e0
mov dil, al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x28]
mov rdx, qword [rsp + 0x40]
call qword [0x140032580]
mov rbx, qword [rsp + 0x30]
mov al, dil
add rsp, 0x20
pop rdi
ret
Function at 0x14000a5f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
call fcn.140007048
lea r10, [rbp - 0x38]
mov qword [rsp + 0x20], r10
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareWinRARPaths
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a6d5
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a6d5
mov edx, dword [rbp - 0x40]
shr rdx, 1
lea rcx, [rbp - 0x30]
call fcn.140001ebc
nop
lea rcx, [rbp - 0x30]
call fcn.140001bd0
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp - 0x30]
call fcn.140001bd0
mov rdx, rax
mov rcx, rbx
call fcn.1400011f8
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
call fcn.140001be4
mov rcx, rbx
call fcn.14000694c
test al, al
jne 0x14000a6ea
call fcn.1400085e0
test al, al
jne 0x14000a71d
mov rcx, rbx
call fcn.14000a4f4
test al, al
jne 0x14000a71d
lea rcx, [rbp - 0x30]
call fcn.14000aa48
nop
mov rdx, rax
mov rcx, rbx
call fcn.140006a24
nop
lea rcx, [rbp - 0x30]
call fcn.140002050
mov rcx, rbx
call fcn.14000a4ac
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400143a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x14000ab44
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14000ab60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14000abcf
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001ebc
nop
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001bd8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rdi
call fcn.1400011f8
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.140001be4
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000d818
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rdx
lea rcx, [0x140046771]
call fcn.14000d920
lea rdx, str.rarlng.dll
lea rcx, [rsp + 0x40]
call fcn.140001b9c
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14000ab00
nop
lea rcx, [rsp + 0x40]
call fcn.140002050
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14000d954
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r8d, 2
cmp dword [rsp + 0x70], r8d
jne 0x14000d8c1
cmp dword [rsp + 0x64], 5
jbe 0x14000d8c1
lea rcx, [rsp + 0x20]
call fcn.1400018c0
mov r8d, 0x40
jmp 0x14000d8cb
lea rcx, [rsp + 0x20]
call fcn.1400018c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
setne cl
mov byte [0x140046771], cl
test cl, cl
cmove rax, rbx
mov qword [0x140046760], rax
mov qword [0x140046768], rbx
lea rcx, [rsp + 0x20]
call fcn.140002050
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400143a0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rbp
ret
Function at 0x14000d954
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.140001520
mov rdx, rax
mov rcx, rdi
call fcn.140001520
cmp rdx, rax
je 0x14000d99f
mov rdx, rdi
mov rcx, rbx
call fcn.140007078
mov edx, 0x31
lea rcx, str.LngFolder0
call fcn.140017138
xor esi, esi
test rax, rax
je 0x14000dafa
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SoftwareWinRARGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000dafa
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanguageFolder
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000daf0
mov eax, dword [rbp - 0x29]
mov edx, 0x10000
cmp dword [rbp - 0x29], edx
cmovb edx, eax
lea rcx, [rbp - 0x19]
call fcn.140001ebc
nop
lea rcx, [rbp - 0x19]
call fcn.140001bd8
add eax, eax
mov dword [rbp - 0x29], eax
lea rcx, [rbp - 0x19]
call fcn.140001bd0
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LanguageFolder
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000dae7
mov word [rbp - 0x25], si
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x19]
call fcn.14000dbc0
lea rcx, [rbp - 0x19]
call fcn.140001bd0
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140001b9c
nop
lea rcx, [rbp - 1]
call fcn.14000e434
mov rdx, rdi
lea rcx, [rbp + 0x1f]
call fcn.14000a23c
nop
lea r8, [rbp - 1]
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14000a3d4
nop
lea rcx, [rbp + 0x1f]
call fcn.140002050
lea rcx, [rbp - 1]
call fcn.1400085e0
test al, al
je 0x14000dadd
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.140007078
nop
lea rcx, [rbp - 1]
call fcn.140002050
nop
lea rcx, [rbp - 0x19]
call fcn.140001be4
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400143a0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000e434
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call fcn.1400018c0
mov rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
test eax, eax
je 0x14000e4ca
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001ebc
nop
lea rcx, [rsp + 0x20]
call fcn.140001bd8
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rdi
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, eax
test eax, eax
je 0x14000e4be
lea rcx, [rsp + 0x20]
call fcn.140001bd8
cmp rdx, rax
ja 0x14000e4be
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rdi
call fcn.1400011f8
mov bl, 1
lea rcx, [rsp + 0x20]
call fcn.140001be4
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000eaf8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.140001ebc
nop
lea rcx, [rbp - 0x29]
call fcn.140001bd8
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140001bd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ebx, ebx
test eax, eax
je 0x14000ebc4
lea rcx, [rbp - 0x11]
call fcn.1400024c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x2f]
call fcn.140001b9c
nop
lea rcx, [rbp - 0x29]
call fcn.140001bd0
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140001b9c
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.14000a3d4
nop
lea rcx, [rbp + 0xf]
call fcn.140002050
nop
lea rcx, [rbp + 0x2f]
call fcn.140002050
lea rcx, [rbp - 0x11]
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rcx, [rbp - 0x11]
call fcn.140002050
nop
lea rcx, [rbp - 0x29]
call fcn.140001be4
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400143a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140010370
Capabilities:
Set registry value

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

Function at 0x140010388
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r9
mov qword [rax - 0x28], r9
mov r9, r8
mov rbp, r8
mov r8, rdx
mov rbx, rdx
mov rdx, rcx
mov rdi, rcx
call fcn.14000fb1c
test al, al
je 0x1400103c2
xor eax, eax
jmp 0x14001042b
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140010dc4
mov rdi, rax
test rax, rax
je 0x140010425
mov rcx, rsi
call fcn.140007014
lea r8d, [rax*2 + 2]
call fcn.1400018c0
mov rcx, rbp
mov rdx, rax
call fcn.1400018c0
mov dword [rsp + 0x28], r8d
mov r9d, 1
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140010f30
jmp 0x140010429
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140010440
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140010458
Function at 0x140010830
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, [0x14003adb0]
lea rcx, [rsp + 0x40]
call fcn.140001b9c
nop
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
call fcn.14000fe34
mov bl, al
lea rcx, [rsp + 0x40]
call fcn.140002050
test bl, bl
jne 0x1400108dd
lea rcx, [rsp + 0x20]
call fcn.1400024c0
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call fcn.140010fb8
test al, al
je 0x1400108d3
lea rcx, [rsp + 0x20]
call fcn.1400018c0
mov r8d, dword [0x14004a990]
mov rdx, rax
mov rcx, rdi
test r8d, r8d
jne 0x1400108c9
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1400108d3
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop
lea rcx, [rsp + 0x20]
call fcn.140002050
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400143a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400108fc
Capabilities:
Delete registry value

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

Function at 0x140010910
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov r9, r8
mov r8, rdx
mov rdx, rcx
call fcn.14000fe34
test al, al
jne 0x1400109b9
lea rcx, [rsp + 0x38]
call fcn.1400024c0
nop
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rbx
call fcn.140010fb8
test al, al
je 0x1400109af
lea rcx, [rsp + 0x38]
call fcn.1400018c0
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400109af
mov rcx, rdi
call fcn.1400018c0
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140010f30
nop
lea rcx, [rsp + 0x38]
call fcn.140002050
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400143a0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400109d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
call fcn.140010e90
mov rdi, rax
test rax, rax
je 0x140010a28
mov rcx, rbx
call fcn.1400018c0
mov rdx, rax
xor r9d, r9d
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdi
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140010f30
test ebx, ebx
jne 0x140010a28
mov eax, dword [rsp + 0x58]
jmp 0x140010a2a
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140010b54
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140009cf0
test eax, eax
jne 0x140010b7d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140010b98
and dword [0x140046774], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140010ba4
cmp dword [0x140046774], 0
jne 0x140010b7d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor r14d, r14d
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], r14w
je 0x140010c9f
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140010c9f
mov esi, r14d
xor edx, edx
jmp 0x140010c45
lea rax, [rsp + 0x60]
mov r9, rbx
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x200
lea rcx, [rbp + 0xf0]
call fcn.140007250
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.140010ba4
inc esi
mov edx, esi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0xc8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140010c0d
mov rcx, qword [rsp + 0x48]
call fcn.140010f30
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140010c9f
inc dword [0x140046774]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400143a0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400113c4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
mov dword [rax - 0x28], edi
mov edx, 0x105
lea rcx, [rax - 0x20]
call fcn.140001ebc
nop
lea rcx, [rsp + 0x28]
call fcn.140001bd0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001bd8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, eax
test eax, eax
je 0x14001143c
lea rcx, [rsp + 0x28]
call fcn.140001bd8
cmp rdx, rax
ja 0x14001143c
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14000948c
cmp word [rax], di
je 0x14001143c
lea rcx, [rsp + 0x28]
call fcn.140001bd0
jmp 0x140011443
lea rax, str._rartemp_
mov rdx, rax
mov rcx, rbx
call fcn.140001b9c
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.140001be4
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140011d3c
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rbx, rcx
call fcn.14000eaa4
mov rdx, rbx
call fcn.14000d818
lea rdx, str.uninstall.lng
lea rcx, [rsp + 0x78]
call fcn.140001b9c
nop
lea rdx, [rsp + 0x78]
call fcn.14000b994
nop
lea rcx, [rsp + 0x78]
call fcn.140002050
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.14000eaf8
mov rbx, rax
lea rdx, str.RARICON
mov rcx, qword [0x140046760]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14004a998], rax
xor edi, edi
test rax, rax
jne 0x140011dfb
mov rcx, qword [0x140046768]
cmp rcx, qword [0x140046760]
je 0x140011dfb
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x14004a998], rax
call fcn.140011c90
mov ecx, eax
lea rax, str.MS_Shell_Dlg
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2bc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_CreateFontW]
mov qword [0x14004a9a0], rax
mov byte [rsp + 0x70], dil
mov byte [rsp + 0x71], dil
mov word [rbp - 0x60], di
mov r8d, 0x400
lea rdx, [rbp - 0x60]
lea rcx, str.sfxcmd
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x78]
call fcn.140001b9c
nop
lea r9, [rsp + 0x71]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov cl, 1
call fcn.140011f9c
nop
lea rcx, [rsp + 0x78]
call fcn.140002050
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001b9c
nop
lea r9, [rsp + 0x71]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
xor ecx, ecx
call fcn.140011f9c
nop
lea rcx, [rsp + 0x78]
call fcn.140002050
cmp byte [rsp + 0x70], dil
je 0x140011f35
mov qword [rsp + 0x20], rdi
lea r9, [0x1400122a0]
xor r8d, r8d
lea rdx, str.SETUPDLG
mov rcx, qword [0x140046760]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x140011f35
call fcn.140013bf4
cmp byte [0x140046773], dil
jne 0x140011f35
mov qword [rsp + 0x20], rdi
lea r9, [0x1400126f0]
xor r8d, r8d
lea rdx, str.DONEDLG
mov rcx, qword [0x140046760]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [rsp + 0x71], dil
je 0x140011f41
call fcn.140012fa0
test rbx, rbx
je 0x140011f4f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x14004a9a0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14004a998]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x14004a9a8]
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400143a0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140012638
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140044038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov bl, dl
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.140001b9c
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000ab00
nop
lea rcx, [rsp + 0x50]
call fcn.140002050
test bl, bl
jne 0x14001268d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14000d954
lea rcx, [rsp + 0x30]
call fcn.1400018c0
mov r8, rax
mov dword [rsp + 0x28], 1
lea rax, [0x14003adb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setg bl
lea rcx, [rsp + 0x30]
call fcn.140002050
mov al, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400143a0
add rsp, 0x80
pop rbx
ret

Function at 0x140012ecc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140001ebc
nop
lea rcx, [rsp + 0x20]
call fcn.140001bd8
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rsi
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140001bd8
cmp rbx, rax
jb 0x140012f66
lea rcx, [rsp + 0x20]
call fcn.140001768
lea rcx, [rsp + 0x20]
call fcn.140001bd8
mov r8, rax
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rsi
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
je 0x140012f81
lea rcx, [rsp + 0x20]
call fcn.140001bd0
mov rdx, rax
mov rcx, rdi
call fcn.1400011f8
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.140001be4
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret