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

Function at 0x140002c98
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 0x140002cf3
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 0x140002cf6
mov word [rdi], cx
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140002d04
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rbx
mov eax, 0x1080
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140002d37
xor al, al
jmp 0x140002d95
lea rcx, [rsp + 0x60]
mov r8d, 0x800
mov rdx, rbx
call fcn.1400065a8
lea rcx, [rsp + 0x60]
call fcn.140008cdc
xor ebx, ebx
lea rcx, [rsp + 0x20]
lea r8d, [rbx + 0x38]
xor edx, edx
mov word [rsp + rax*2 + 0x62], bx
call fcn.140008bf0
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.140008610
add rsp, 0x1080
pop rbx
ret
Function at 0x140004888
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rsp + 0x58]
mov sil, r8b
mov rdi, rdx
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
xor ebp, ebp
lea r8, [rsp + 0x40]
lea edx, [rbp + 0x1a]
xor ecx, ecx
mov word [rbx], bp
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebp
jne 0x14000491e
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, ebp
je 0x14000491e
cmp word [rbx], bp
je 0x14000491e
mov rdx, rdi
mov rcx, rbx
call fcn.1400046ac
lea rdx, [0x140015fc8]
mov r8, rdi
mov rcx, rbx
call fcn.1400065e4
mov rcx, rbx
call fcn.140001c24
cmp al, bpl
jne 0x140004934
cmp sil, bpl
je 0x140004919
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140001c38
cmp eax, ebp
sete al
cmp al, bpl
jne 0x140004934
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.140004850
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x140004954
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 0x1400049cf
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rdx, [0x140016708]
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 0x1400049e1
mov rcx, rbx
call fcn.140001c24
cmp al, bpl
jne 0x1400049ef
mov r8b, sil
mov rdx, rdi
mov rcx, rbx
call fcn.140004888
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004a44
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x1030
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
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 0x140004c18
call fcn.14000477c
mov rcx, rbx
call fcn.140008cdc
mov rcx, rbx
mov rbp, rax
call fcn.1400049fc
cmp al, dil
je 0x140004b34
mov rcx, rbx
call fcn.14000477c
cmp al, dil
je 0x140004ae0
lea rax, [rbp + 4]
cmp rsi, rax
jbe 0x140004c18
lea r8d, [rdi + 4]
lea rdx, str.__
mov rcx, r12
call fcn.140008910
lea rcx, [r12 + 8]
mov rdx, rbx
call fcn.14000865c
mov al, 1
jmp 0x140004c1a
mov edi, 0x5c
cmp word [rbx], di
jne 0x140004c18
cmp word [rbx + 2], di
jne 0x140004c18
lea rax, [rbp + 6]
cmp rsi, rax
jbe 0x140004c18
lea r8d, [rdi - 0x58]
lea rdx, str.__
mov rcx, r12
call fcn.140008910
lea rcx, [r12 + 8]
lea rdx, [0x140016748]
call fcn.14000865c
lea rcx, [r12 + 0xe]
lea rdx, [rbx + 2]
jmp 0x140004ad4
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, edi
je 0x140004c18
cmp eax, 0x7ff
ja 0x140004c18
movzx eax, word [rbx]
mov edi, 0x5c
cmp eax, edi
je 0x140004bdb
cmp eax, 0x2f
je 0x140004bdb
lea rcx, [rsp + 0x20]
mov edx, 0x800
call fcn.1400046ac
lea rcx, [rsp + 0x20]
call fcn.140008cdc
lea rcx, [rax + rbp + 4]
cmp rsi, rcx
jbe 0x140004c18
lea r8d, [rdi - 0x58]
lea rdx, str.__
mov rcx, r12
call fcn.140008910
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x20]
call fcn.14000865c
cmp word [rbx], 0x2e
jne 0x140004bc8
movzx eax, word [rbx + 2]
cmp eax, edi
je 0x140004bc4
cmp eax, 0x2f
jne 0x140004bc8
add rbx, 4
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call fcn.1400065e4
jmp 0x140004ad9
lea rax, [rbp + 6]
cmp rsi, rax
jbe 0x140004c18
lea rdx, str.__
mov r8d, 4
mov rcx, r12
call fcn.140008910
lea rcx, [r12 + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.140008910
lea rcx, [r12 + 0xc]
jmp 0x140004ad1
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008610
add rsp, 0x1030
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004c88
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 [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
cmp word [rdx], bp
je 0x140004d75
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 0x140004d75
mov esi, ebp
xor edx, edx
jmp 0x140004d1b
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.140004c64
lea rdx, [rsp + 0x1f0]
mov rcx, rdi
call fcn.140004c88
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 0x140004ce1
mov rcx, qword [rsp + 0x48]
call fcn.140004c38
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebp
jne 0x140004d75
inc dword [0x14001e83c]
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x630]
add rsp, 0x600
pop rdi
pop rsi
pop rbp
ret

Function at 0x140004df8
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x430
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x420], rax
lea r8, [rsp + 0x20]
mov r9d, 0x200
mov rbx, rcx
call fcn.140004d98
test al, al
je 0x140004e38
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140008610
add rsp, 0x430
pop rbx
ret

Function at 0x140004e54
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, r8
lea r8, [rsp + 0x40]
mov r9d, 0x200
mov rdi, rcx
call fcn.140004d98
test al, al
je 0x140004eca
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_RegOpenKeyExW]
test eax, eax
jne 0x140004eca
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call fcn.140004c38
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
ret

Function at 0x140004eec
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140004620
test eax, eax
jne 0x140004f15
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140004f30
and dword [0x14001e83c], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140004c88
cmp dword [0x14001e83c], 0
jne 0x140004f15
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005100
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.140004fbc
mov rdi, rax
test rax, rax
je 0x14000515d
mov rcx, rbx
call fcn.140008cdc
mov r9d, 1
xor r8d, r8d
lea ecx, [rax + rax + 2]
mov rdx, rsi
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.140004c38
jmp 0x140005161
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 0x140005174
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.140004fbc
mov rdi, rax
test rax, rax
je 0x1400051c8
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_RegSetValueExW]
mov rcx, rdi
mov ebx, eax
call fcn.140004c38
jmp 0x1400051cc
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400051dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov rbx, r9
mov r12, r8
call fcn.14000506c
mov edi, dword [rsp + 0x88]
xor r13d, r13d
mov rbp, rax
mov sil, r13b
cmp rax, r13
je 0x140005272
lea ecx, [rdi + rdi]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, rbp
mov rdx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
cmp eax, r13d
sete sil
call fcn.140004c38
cmp sil, r13b
je 0x140005272
mov ecx, dword [rsp + 0x30]
shr ecx, 1
cmp edi, r13d
jne 0x140005263
mov word [rbx], r13w
jmp 0x140005285
lea eax, [rdi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rbx + rax*2], r13w
jmp 0x140005285
mov rdx, qword [rsp + 0x80]
mov r8, rdi
mov rcx, rbx
call fcn.1400065a8
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov al, sil
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret

Function at 0x1400052a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov edi, r9d
mov rbx, r8
call fcn.14000506c
mov rsi, rax
mov dword [rsp + 0x30], 4
test rax, rax
je 0x140005312
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov rdx, rbx
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.140004c38
test bl, bl
je 0x140005312
cmp dword [rsp + 0x30], 0
je 0x140005312
mov edi, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400052a4
Function at 0x140005324
Capabilities:
Delete registry value

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

Function at 0x140005390
Capabilities:
Set registry value

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

Function at 0x1400053a8
Capabilities:
Set registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140005174

Function at 0x1400053ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov edi, r9d
mov rbx, r8
call fcn.14000506c
mov rsi, rax
mov dword [rsp + 0x30], 4
test rax, rax
je 0x140005312
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov rdx, rbx
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.140004c38
test bl, bl
je 0x140005312
cmp dword [rsp + 0x30], 0
je 0x140005312
mov edi, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x1400052a4
Function at 0x140006218
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.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp rdx, rcx
je 0x140006259
mov rdx, rcx
mov rcx, rbx
call fcn.1400065a8
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 0x14000634a
mov rcx, rdi
call fcn.140008cdc
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 0x14000633f
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.1400046ac
mov rcx, rdi
call fcn.1400047b0
lea rcx, [rsp + 0x50]
mov r8d, 0x800
mov rdx, rax
call fcn.1400065e4
lea rcx, [rsp + 0x50]
call fcn.140001c24
cmp al, r12b
je 0x14000633f
lea rdx, [rsp + 0x50]
mov r8, rsi
mov rcx, rbx
call fcn.1400065a8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x2098]
add rsp, 0x2060
pop r12
pop rdi
pop rsi
ret

Function at 0x140006430
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400061e4
test rdi, rdi
je 0x14000647f
lea rcx, [rsp + 0x140]
mov rdx, rdi
call fcn.14000865c
jmp 0x140006495
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.140004808
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.140006218
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 0x14000650c
cmp dword [rsp + 0x24], 5
ja 0x1400064fa
jne 0x14000650c
cmp dword [rsp + 0x28], 1
jbe 0x14000650c
lea rcx, [rsp + 0x140]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14000651a
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x14001e7d8], rax
setne cl
mov byte [rsi], cl
mov rax, qword [0x14001e7d8]
test cl, cl
cmove rax, rbx
mov qword [0x14001e7d0], rbx
mov qword [0x14001e7d8], rax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.140008610
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140006bbc
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.140008cdc
mov rbx, rax
lea rcx, [rax + rax + 4]
call fcn.140009618
mov rdi, rax
test rax, rax
je 0x140006c25
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rsi
call fcn.1400066e8
mov rcx, rdi
call fcn.140009400
mov r9, rbp
mov edx, 1
mov r8, rax
mov rcx, rdi
call fcn.140008f98
mov rcx, rdi
call fcn.1400086ac
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140006d34
Capabilities:
Copy file
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1030
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x1020], rax
lea rdx, [rsp + 0x20]
lea rcx, str.sfxname
xor edi, edi
mov r8d, 0x800
mov word [rsp + 0x20], di
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, edi
je 0x140006de4
cmp word [rsp + 0x20], di
je 0x140006de4
lea rcx, [rsp + 0x20]
call fcn.1400047b0
lea rdx, str.rarreg.key
mov rcx, rax
mov rbx, rax
call fcn.14000865c
lea rcx, [rsp + 0x20]
call fcn.140001c24
cmp al, dil
jne 0x140006dcc
lea rdx, str.rarreg.txt
mov rcx, rbx
call fcn.14000865c
lea rcx, [rsp + 0x20]
call fcn.140001c24
cmp al, dil
je 0x140006de4
lea rdx, str.rarreg.key
lea rcx, [rsp + 0x20]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140008610
mov rbx, qword [rsp + 0x1040]
add rsp, 0x1030
pop rdi
ret
Function at 0x140008324
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 0x14000b82f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001b290]
jne 0x14000862a
rol rcx, 0x10
test cx, 0xffff
jne 0x140008626
repz ret
ror rcx, 0x10
jmp 0x14000b788
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140022aa0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140022b98]
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 0x14000b80d
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, [0x140022aa0]
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 0x14000b82f
mov rax, qword [rsp + 0x88]
mov qword [0x140022b98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140022b38], rax
mov rax, qword [0x140022b98]
mov qword [0x140022a10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140022b20], rax
mov dword [0x140022a00], 0xc0000409
mov dword [0x140022a04], 1
mov rax, qword [0x14001b290]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001b298]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140022a98], eax
mov ecx, 1
call fcn.1400104e4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140017110]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140022a98], 0
jne 0x14000b8b6
mov ecx, 1
call fcn.1400104e4
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 0x14000ca68
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.140010198
nop
cmp dword [0x140022fe0], 1
je 0x14000ca14
mov dword [0x140022fdc], 1
mov byte [0x140022fd8], r12b
test ebx, ebx
jne 0x14000ca00
mov rcx, qword [0x140023a90]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000c9ed
mov rcx, qword [0x140023a88]
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 0x14000c98c
call fcn.14000c20c
cmp qword [rdi], rax
jne 0x14000c98c
jmp 0x14000c972
cmp rdi, rsi
jb 0x14000c9ed
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000c20c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140023a90]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140023a88]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000c9cb
cmp r13, rax
je 0x14000c9eb
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 0x14000c972
lea rdx, [0x140015598]
lea rcx, [0x140015580]
call fcn.14000c7bc
lea rdx, [0x1400155a8]
lea rcx, [0x1400155a0]
call fcn.14000c7bc
nop
test r12d, r12d
je 0x14000ca23
mov ecx, 8
call fcn.140010098
test r12d, r12d
jne 0x14000ca4e
mov dword [0x140022fe0], 1
lea ecx, [r12 + 8]
call fcn.140010098
mov ecx, r15d
call fcn.14000c750
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 0x14000c8dc

Function at 0x14000ca74
Capabilities:
Terminate process

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