joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003ac0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
mov eax, 0x1080
call fcn.14001ba30
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 0x140003af3
xor al, al
jmp 0x140003b51
lea rcx, [rsp + 0x60]
mov r8d, 0x800
mov rdx, rbx
call fcn.140008444
lea rcx, [rsp + 0x60]
call fcn.14000b0f0
xor ebx, ebx
lea rcx, [rsp + 0x20]
lea r8d, [rbx + 0x38]
xor edx, edx
mov word [rsp + rax*2 + 0x62], bx
call fcn.14000b1e0
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.14000a6b0
add rsp, 0x1080
pop rbx
ret
Function at 0x140005614
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 0x1400056ba
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, r12d
je 0x1400056ba
cmp word [rbx], r12w
je 0x1400056ba
mov rdx, rbp
mov rcx, rbx
call fcn.140005544
lea rdx, [0x14001e098]
mov r8, rbp
mov rcx, rbx
call fcn.140008480
mov rcx, rbx
call fcn.140002270
mov dil, al
cmp al, r12b
jne 0x1400056ba
cmp sil, r12b
je 0x1400056ba
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140002284
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 0x140005728
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x1030
call fcn.14001ba30
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 0x1400058fc
call fcn.140005510
mov rcx, rbx
call fcn.14000b0f0
mov rcx, rbx
mov rbp, rax
call fcn.1400056e0
cmp al, dil
je 0x140005818
mov rcx, rbx
call fcn.140005510
cmp al, dil
je 0x1400057c4
lea rax, [rbp + 4]
cmp rsi, rax
jbe 0x1400058fc
lea r8d, [rdi + 4]
lea rdx, [0x14001e888]
mov rcx, r12
call fcn.14000b018
lea rcx, [r12 + 8]
mov rdx, rbx
call fcn.14000a6fc
mov al, 1
jmp 0x1400058fe
mov edi, 0x5c
cmp word [rbx], di
jne 0x1400058fc
cmp word [rbx + 2], di
jne 0x1400058fc
lea rax, [rbp + 6]
cmp rsi, rax
jbe 0x1400058fc
lea r8d, [rdi - 0x58]
lea rdx, [0x14001e888]
mov rcx, r12
call fcn.14000b018
lea rcx, [r12 + 8]
lea rdx, [0x14001e880]
call fcn.14000a6fc
lea rcx, [r12 + 0xe]
lea rdx, [rbx + 2]
jmp 0x1400057b8
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, edi
je 0x1400058fc
cmp eax, 0x7ff
ja 0x1400058fc
movzx eax, word [rbx]
mov edi, 0x5c
cmp eax, edi
je 0x1400058bf
cmp eax, 0x2f
je 0x1400058bf
lea rcx, [rsp + 0x20]
mov edx, 0x800
call fcn.140005544
lea rcx, [rsp + 0x20]
call fcn.14000b0f0
lea rcx, [rax + rbp + 4]
cmp rsi, rcx
jbe 0x1400058fc
lea r8d, [rdi - 0x58]
lea rdx, [0x14001e888]
mov rcx, r12
call fcn.14000b018
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x20]
call fcn.14000a6fc
cmp word [rbx], 0x2e
jne 0x1400058ac
movzx eax, word [rbx + 2]
cmp eax, edi
je 0x1400058a8
cmp eax, 0x2f
jne 0x1400058ac
add rbx, 4
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call fcn.140008480
jmp 0x1400057bd
lea rax, [rbp + 6]
cmp rsi, rax
jbe 0x1400058fc
lea rdx, [0x14001e888]
mov r8d, 4
mov rcx, r12
call fcn.14000b018
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.14000b018
lea rcx, [r12 + 0xc]
jmp 0x1400057b5
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000a6b0
add rsp, 0x1030
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005a64
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 0x140005adf
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 0x140005af1
mov rcx, rbx
call fcn.140002270
cmp al, bpl
jne 0x140005b1a
mov r8b, sil
mov rdx, rdi
mov rcx, rbx
call fcn.140005614
cmp al, bpl
jne 0x140005b1a
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.140005a2c
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140006190
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 0x14000627d
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 0x14000627d
mov esi, ebp
xor edx, edx
jmp 0x140006223
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.140008fdc
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.140006190
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 0x1400061e9
mov rcx, qword [rsp + 0x48]
call fcn.14000615c
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebp
jne 0x14000627d
inc dword [0x140027c20]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.14000a6b0
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400067f0
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, [0x14001db30]
mov rdi, rdx
mov rbx, rcx
call fcn.140005f70
test al, al
jne 0x14000684d
lea r8, [rsp + 0x20]
mov r9d, 0x200
mov rdx, rdi
mov rcx, rbx
call fcn.1400062a0
test al, al
je 0x14000684d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14000a6b0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret
Function at 0x140006870
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.140005f70
test al, al
jne 0x1400068f6
lea r8, [rsp + 0x40]
mov r9d, 0x200
mov rdx, rsi
mov rcx, rbx
call fcn.1400062a0
test al, al
je 0x1400068f6
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 0x1400068f6
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.14000615c
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14000a6b0
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret

Function at 0x140006914
Capabilities:
Delete registry key

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

Function at 0x140006bd0
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.140005d88
test al, al
jne 0x140006c1c
cmp byte [0x1400242b1], al
sete al
jmp 0x140006c31
lea rcx, [rsp + 0x40]
mov r8d, 1
mov rdx, rbx
call fcn.140005c78
mov al, 1
test al, al
je 0x140006c39
xor eax, eax
jmp 0x140006c8d
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.140006a84
mov rdi, rax
test rax, rax
je 0x140006c87
mov rcx, rbx
call fcn.14000b0f0
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.14000615c
jmp 0x140006c8b
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000a6b0
add rsp, 0x858
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140006cac
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.140005e20
test al, al
je 0x140006cd6
xor eax, eax
jmp 0x140006d24
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140006a84
mov rdi, rax
test rax, rax
je 0x140006d1e
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.14000615c
jmp 0x140006d22
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 0x140006d34
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.140005d88
xor r15d, r15d
cmp al, r15b
jne 0x140006daa
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call fcn.140008444
cmp byte [0x1400242b1], r15b
sete al
jmp 0x140006dcb
lea rcx, [rsp + 0x40]
call fcn.140005ea4
mov r8, rbp
mov rcx, rbx
cmp rax, r15
cmove rax, r12
mov rdx, rax
call fcn.140008444
mov al, 1
cmp al, r15b
je 0x140006dd7
mov al, 1
jmp 0x140006e5d
mov rdx, rsi
mov rcx, rdi
call fcn.140006b34
mov dil, r15b
mov rsi, rax
cmp rax, r15
je 0x140006e4c
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.14000615c
cmp dil, r15b
je 0x140006e4c
mov ecx, dword [rsp + 0x30]
shr ecx, 1
cmp ebp, r15d
jne 0x140006e3d
mov word [rbx], r15w
jmp 0x140006e5a
lea eax, [rbp - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r15w
jmp 0x140006e5a
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call fcn.140008444
mov al, dil
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14000a6b0
add rsp, 0x858
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140006e84
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.140005ee8
test al, al
je 0x140006ebb
mov eax, dword [rsp + 0x30]
jmp 0x140006f1c
mov rdx, rbx
mov rcx, rsi
call fcn.140006b34
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x140006f1a
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.14000615c
test bl, bl
je 0x140006f1a
cmp dword [rsp + 0x34], 0
je 0x140006f1a
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 0x140006e84

Function at 0x140006f34
Capabilities:
Delete registry value

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

Function at 0x140006fc8
Capabilities:
Set registry value

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

Function at 0x140006fe0
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140006cac
Function at 0x140007024
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.140005ee8
test al, al
je 0x140006ebb
mov eax, dword [rsp + 0x30]
jmp 0x140006f1c
mov rdx, rbx
mov rcx, rsi
call fcn.140006b34
mov dword [rsp + 0x34], 4
mov rsi, rax
test rax, rax
je 0x140006f1a
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.14000615c
test bl, bl
je 0x140006f1a
cmp dword [rsp + 0x34], 0
je 0x140006f1a
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 0x140006e84
Function at 0x140007ef0
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.14001ba30
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 0x140007f31
mov rdx, rcx
mov rcx, rbx
call fcn.140008444
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 0x140008022
mov rcx, rdi
call fcn.14000b0f0
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 0x140008017
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.140005544
mov rcx, rdi
call fcn.14000591c
lea rcx, [rsp + 0x50]
mov r8d, 0x800
mov rdx, rax
call fcn.140008480
lea rcx, [rsp + 0x50]
call fcn.140002270
cmp al, r12b
je 0x140008017
lea rdx, [rsp + 0x50]
mov r8, rsi
mov rcx, rbx
call fcn.140008444
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.14000a6b0
mov rbx, qword [rsp + 0x2098]
add rsp, 0x2060
pop r12
pop rdi
pop rsi
ret

Function at 0x140008108
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.14001ba30
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.140007ebc
test rdi, rdi
je 0x140008157
lea rcx, [rsp + 0x140]
mov rdx, rdi
call fcn.14000a6fc
jmp 0x14000816d
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.140005974
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.140007ef0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov r8d, 2
cmp dword [rsp + 0x30], r8d
jne 0x1400081e8
cmp dword [rsp + 0x24], 5
ja 0x1400081d6
jne 0x1400081e8
cmp word [rsp + 0x134], r8w
jb 0x1400081e8
lea rcx, [rsp + 0x140]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1400081f6
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.14000a6b0
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140008788
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.14001ba30
sub rsp, rax
mov rax, qword [0x1400242f8]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x800
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400087c4
xor eax, eax
jmp 0x1400087e7
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r9d, 0x800
mov rdx, rbx
call fcn.140005588
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000a6b0
add rsp, 0x1030
pop rbx
ret

Function at 0x140008d54
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.14000b0f0
mov rbx, rax
lea rcx, [rax + rax + 4]
call fcn.14000bd80
mov rdi, rax
test rax, rax
je 0x140008dbd
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.14000886c
mov rcx, rdi
call fcn.14000b120
mov r9, rbp
mov edx, 1
mov r8, rax
mov rcx, rdi
call fcn.14000b7f4
mov rcx, rdi
call fcn.14000a74c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140008ecc
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
mov eax, 0x1030
call fcn.14001ba30
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 0x140008fbb
cmp word [rsp + 0x20], bx
je 0x140008fbb
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
mov r8, rsi
call fcn.140005974
lea rcx, [rsp + 0x20]
call fcn.140002270
cmp al, bl
jne 0x140008f5b
lea rdx, str.rarreg.txt
lea rcx, [rsp + 0x20]
mov r8, rsi
call fcn.140005974
lea rcx, [rsp + 0x20]
call fcn.140002270
cmp al, bl
je 0x140008f81
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.140005974
lea rcx, [rsp + 0x20]
call fcn.140002270
cmp al, bl
je 0x140008fbb
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.14000a6b0
mov rbx, qword [rsp + 0x1040]
add rsp, 0x1030
pop rsi
ret
Function at 0x14000a320
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 0x14000e00f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400242f8]
jne 0x14000a6ca
rol rcx, 0x10
test cx, 0xffff
jne 0x14000a6c6
repz ret
ror rcx, 0x10
jmp 0x14000df68
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 0x14000dfed
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 0x14000e00f
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.140015160
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14001f498]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002ced8], 0
jne 0x14000e096
mov ecx, 1
call fcn.140015160
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 0x14001082c
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.140014e14
nop
cmp dword [0x14002d428], 1
je 0x1400107d8
mov dword [0x14002d424], 1
mov byte [0x14002d420], r12b
test ebx, ebx
jne 0x1400107c4
mov rcx, qword [0x14002ded0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400107b1
mov rcx, qword [0x14002dec8]
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 0x140010750
call fcn.14000e274
cmp qword [rdi], rax
jne 0x140010750
jmp 0x140010736
cmp rdi, rsi
jb 0x1400107b1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000e274
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14002ded0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14002dec8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001078f
cmp r13, rax
je 0x1400107af
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 0x140010736
lea rdx, [0x14001d5d8]
lea rcx, [0x14001d5c0]
call fcn.140010580
lea rdx, [0x14001d5e8]
lea rcx, [0x14001d5e0]
call fcn.140010580
nop
test r12d, r12d
je 0x1400107e7
mov ecx, 8
call fcn.140014d14
test r12d, r12d
jne 0x140010812
mov dword [0x14002d428], 1
lea ecx, [r12 + 8]
call fcn.140014d14
mov ecx, r15d
call fcn.140010514
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 0x1400106a0

Function at 0x140010838
Capabilities:
Terminate process

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