joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016530
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov edx, 6
mov rbx, rcx
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov rdx, qword [0x1401745a8]
xor edi, edi
mov ecx, edi
cmp eax, 1
sete cl
xor r8d, r8d
shl ecx, 0x19
xor ecx, dword [rdx + 0x24]
and ecx, 0x2000000
xor dword [rdx + 0x24], ecx
mov rcx, qword [0x1401745a8]
lea rdx, [rbp + 0x150]
call fcn.14000af2c
test al, al
jne 0x1400165aa
mov word [rbp + 0x150], di
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov edx, 0x32
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea rax, [rbp + 0x150]
lea r8, [rsp + 0x40]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x1400165e6
add rax, 2
test edx, edx
jne 0x1400165d2
test ecx, ecx
je 0x140016615
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14000ad94
test eax, eax
je 0x14001660b
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000b084
mov rax, qword [0x1401745a8]
mov byte [rax], 1
mov rcx, qword [0x1401745a8]
lea rdx, [rbp + 0x150]
mov word [rbp + 0x150], di
call fcn.14000b110
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov edx, 0x33
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea rax, [rbp + 0x150]
lea r8, [rsp + 0x40]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x14001666b
add rax, 2
test edx, edx
jne 0x140016657
test ecx, ecx
je 0x1400166e4
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14000ad94
test eax, eax
je 0x1400166d9
mov edx, 0x4f928ce9
mov ecx, 0x5528d0ed
mov r8d, 0xda2eb047
call fcn.140001378
lea rcx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x1401745a8]
mov byte [rax + 1], 1
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140018cf8
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov esi, ecx
mov edx, 0x32e34d8b
mov r8d, 0xc81cbb3a
mov ecx, 0xd3031cd8
call fcn.1400015d0
lea rdx, [rsp + 0x40]
sub rdx, rax
xor r14d, r14d
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140018d47
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140018d63
lea rdi, [rsp + 0x40]
mov edx, 0xe39a1c4b
mov ecx, 0x27a4d74
mov r8d, 0x1965eac3
lea rdi, [rdi + rax*2]
call fcn.1400015d0
sub rdi, rax
movzx ecx, word [rax]
mov word [rdi + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140018d8e
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
test esi, esi
je 0x140018e88
lea r8, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140018e8e
lea rdx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x40]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140018de0
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
mov edi, 1
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [rdi + 0x5b]
lea rcx, [rsp + 0x40]
call fcn.1400e839c
test rax, rax
je 0x140018e7b
mov word [rax + 2], r14w
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140018e33
mov edx, 0x7867fae4
mov ecx, 0x9987ab31
mov r8d, 0x82980c65
lea ebx, [rbx*2 + 2]
call fcn.1400015d0
mov rcx, qword [rsp + 0x30]
mov rdx, rax
lea rax, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140018e8e
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140018eb8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov edx, 0x683611b5
mov ecx, 0x89d6402c
mov r8d, 0x92c9e77f
xor ebx, ebx
call fcn.1400015d0
lea r9d, [rbx + 1]
mov rdx, rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140018f0a
xor eax, eax
jmp 0x140018fe3
mov edx, 0x9ba58731
mov ecx, 0x7a45d70a
mov r8d, 0x615a71b8
call fcn.1400015d0
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x48]
mov rdx, rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140018fd6
cmp dword [rsp + 0x40], ebx
jbe 0x140018fd6
mov edx, dword [rsp + 0x40]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, 0xe9584626
mov ecx, 0x8b816f1
mov r8d, 0x13a7b0af
mov rdi, rax
call fcn.1400015d0
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x48]
mov rdx, rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140018fd6
jmp 0x140018fca
lea rdx, [0x140128df8]
mov rcx, rdi
call fcn.1400e8228
test eax, eax
je 0x140018fd1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rdi, [rdi + rax*2]
cmp word [rdi], bx
jne 0x140018fa6
jmp 0x140018fd6
mov ebx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140018ff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov edx, 0xaf1f23ab
mov ecx, 0x4eff7358
mov r8d, 0x55e0d537
xor ebx, ebx
call fcn.1400015d0
lea r8, [0x140128df8]
lea rcx, [rbp + 0x160]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x44cdebce
mov ecx, 0xa52dbb4f
mov r8d, 0xbe321d6f
call fcn.1400015d0
lea r8, [0x140128df8]
lea rcx, [rsp + 0x50]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x40]
lea edi, [rbx + 1]
lea rdx, [rsp + 0x50]
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019165
mov edx, 0x28adc01
mov ecx, 0xe36a8f4c
mov r8d, 0xf8752a8f
mov dword [rsp + 0x30], 0x208
call fcn.1400015d0
mov rcx, qword [rsp + 0x40]
mov rdx, rax
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001915a
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.1400e8228
test eax, eax
jne 0x14001915a
mov edx, 0xfe10239d
mov ecx, 0x1ff070fa
mov r8d, 0x4efd51f
mov dword [rsp + 0x30], 4
call fcn.1400015d0
mov rcx, qword [rsp + 0x40]
mov rdx, rax
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001915a
cmp dword [rsp + 0x34], 4
jne 0x14001915a
cmp dword [rsp + 0x38], 3
cmove ebx, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001918c
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, ecx
mov edx, 0x3c5caa35
mov r8d, 0xc6a35c94
mov ecx, 0xddbcf924
call fcn.1400015d0
lea rsi, [0x140128df8]
lea rcx, [rsp + 0x40]
mov rdx, rax
mov r8, rsi
call qword [sym.imp.USER32.dll_wsprintfW]
xor edi, edi
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
test ebx, ebx
je 0x140019394
lea r8, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x140019216
xor eax, eax
jmp 0x1400193a2
mov edx, 0xa608cd55
mov ecx, 0x47e89e88
mov r8d, 0x5cf73bc9
call fcn.1400015d0
lea rcx, [rsp + 0x40]
mov r8, rsi
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, 0x74830634
mov ecx, 0x956355a7
mov r8d, 0x8e7cf0ba
lea ebx, [rax*2 + 2]
call fcn.1400015d0
mov rcx, qword [rsp + 0x38]
mov r9d, 2
mov rdx, rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, 0xa66e9a07
mov ecx, 0x478ec982
mov r8d, 0x5c916c8f
lea ebx, [rax*2 + 2]
call fcn.1400015d0
mov rcx, qword [rsp + 0x38]
mov edi, 1
mov r9d, edi
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, 0x963e7f91
mov ecx, 0x77de2c32
mov r8d, 0x6cc18918
mov dword [rsp + 0x30], edi
call fcn.1400015d0
mov rcx, qword [rsp + 0x38]
lea ebx, [rdi + 3]
mov rdx, rax
lea rax, [rsp + 0x30]
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, 0x5f2aabc2
mov ecx, 0xbecaf99d
mov r8d, 0xa5d55d40
mov dword [rsp + 0x30], 3
call fcn.1400015d0
mov rcx, qword [rsp + 0x38]
mov r9d, ebx
mov rdx, rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, 0x9d5a3f1e
mov ecx, 0x7cba6d57
mov r8d, 0x67a5c99f
mov dword [rsp + 0x30], edi
call fcn.1400015d0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x38]
mov rdx, rax
mov r9d, ebx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400193a0
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
sete dil
mov eax, edi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400194bc
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r15d, ecx
xor edi, edi
mov edx, 0x3dffc375
mov ecx, 0xdc1f9100
mov r8d, 0xc70035bf
mov dword [rbp + 0x58], edi
call fcn.1400015d0
lea r9d, [rdi + 3]
xor r8d, r8d
mov rdx, rax
lea rax, [rbp - 0x10]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001951a
xor eax, eax
jmp 0x1400196b0
mov edx, 0xad9589d
mov ecx, 0xeb390a0a
mov r8d, 0xf026ae14
call fcn.1400015d0
mov rcx, qword [rbp - 0x10]
lea r9, [rbp + 0x50]
mov rdx, rax
lea rax, [rbp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, 2
test eax, eax
je 0x140019563
mov eax, r12d
mov dword [rbp + 0x48], eax
jmp 0x140019570
cmp dword [rbp + 0x50], 7
jne 0x1400196a4
mov eax, dword [rbp + 0x48]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, 8
mov rcx, rax
mov r8d, ebx
mov edx, esi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, 0xa1d8191f
mov ecx, 0x40384bac
mov r8d, 0x5b27ef96
mov r14, rax
call fcn.1400015d0
mov rcx, qword [rbp - 0x10]
lea r9, [rbp + 0x50]
mov rdx, rax
lea rax, [rbp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x48]
test eax, eax
cmovne ecx, r12d
mov dword [rbp + 0x48], ecx
lea rcx, [0x140128df8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, dword [rbp + 0x48]
lea rbx, [rax*2 + 8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, r14
mov ecx, r15d
mov rsi, rax
lea rax, [rbp + 0x58]
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.1400193cc
cmp dword [rbp + 0x58], edi
jbe 0x140019655
mov edx, 0xdb0fdf1f
mov ecx, 0x3aef8db0
mov r8d, 0x21f02996
lea ebx, [rax + rax]
call fcn.1400015d0
mov rcx, qword [rbp - 0x10]
mov rdx, rax
mov r9d, 7
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140019677
mov edx, 0xfcad865d
mov ecx, 0x1d4dd316
mov r8d, 0x65270d4
call fcn.1400015d0
mov rcx, qword [rbp - 0x10]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, 1
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400196c0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 0x39d36c47
mov ecx, 0xd8333920
mov eax, eax
mov r8d, 0xc32c9aca
lea rbx, [rbx + rax*2]
mov eax, 0x5c
mov word [rbx], ax
add rbx, 2
call fcn.1400015d0
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140019704
lea rcx, str.xreveal.sys
sub rbx, rcx
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rbx + rcx + 0xe], ax
test ax, ax
jne 0x14001971e
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14001973c
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x550], rax
lea rdx, [rsp + 0x20]
mov ebx, ecx
call fcn.1400196c0
xor edi, edi
mov edx, edi
movzx eax, word [rsp + rdx + 0x20]
lea rdx, [rdx + 2]
mov word [rbp + rdx + 0x12e], ax
test ax, ax
jne 0x140019777
lea rcx, [rbp + 0x130]
mov edx, 0x2e
call fcn.1400e839c
mov dword [rax + 2], 0x6d0074
mov dword [rax + 6], 0x70
test ebx, ebx
je 0x14001984e
lea rdx, [rbp + 0x340]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x340]
mov edx, 0x5c
call fcn.1400e839c
mov rbx, rax
test rax, rax
je 0x140019866
add rbx, 2
lea rdx, str.xreveal.sys
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
test rbx, rbx
je 0x140019866
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x340]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140019866
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x340]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x140019866
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001988c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
mov ebx, ecx
test ecx, ecx
je 0x1400198b8
call fcn.14001973c
mov ecx, ebx
call fcn.14001918c
mov ecx, ebx
call fcn.1400194bc
test ebx, ebx
je 0x140019968
call fcn.14002da14
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001991e
xor eax, eax
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov byte [rsp + 0x20], dil
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov word [rsp + 0x31], ax
mov byte [rsp + 0x33], al
call fcn.14002d880
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rsp + 0x22], 1
jne 0x14001991e
cmp byte [rsp + 0x23], 1
jne 0x14001991e
xor eax, eax
jmp 0x140019982
call fcn.14001a8d8
mov ecx, 0x64
lea rdx, [rsp + 0x40]
test eax, eax
mov ebx, edi
cmovne ebx, ecx
call fcn.1400196c0
lea rcx, [rsp + 0x40]
mov edx, 0x2e
call fcn.1400e839c
test rax, rax
je 0x140019980
mov dword [rax + 2], 0x6d0074
lea rcx, [rsp + 0x40]
mov dword [rax + 6], 0x70
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140019980
call fcn.14001a8d8
mov ecx, 0x64
mov ebx, edi
test eax, eax
cmovne ebx, ecx
xor ecx, ecx
call fcn.14001973c
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x14001a9c8
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [0x1401745b8]
and dword [rsp + 0x24], 0
lea rcx, [rsp + 0x28]
xor edx, edx
mov r8d, 0x10c
mov dword [rsp + 0x20], 0x114
call fcn.1400ea1b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
jb 0x14001aa25
mov rcx, rbx
call fcn.14001aa40
jmp 0x14001aa27
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400e79e0
add rsp, 0x150
pop rbx
ret

Function at 0x14001adbc
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov rax, qword [0x140162470]
xor rax, rbp
mov qword [rbp], rax
movzx r10d, byte [rcx + 1]
mov eax, 0xffc7
mov rdi, r8
xor r10w, ax
mov al, byte [rcx]
mov rsi, rdx
xor al, 0xc7
shl r10w, 8
mov rbx, rcx
movzx eax, al
or r10w, ax
movzx r8d, r10w
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x14001ae1f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400eccc0
sub rsp, rax
lea rdx, [rsp + 0x30]
test r8, r8
jle 0x14001ae4b
mov rcx, rdx
sub rbx, rdx
mov al, byte [rbx + rcx + 2]
xor al, 0xc7
mov byte [rcx], al
inc rcx
dec r8
jne 0x14001ae3b
mov rcx, qword [0x1401745c0]
mov qword [rsp + 0x20], r9
mov r8, rsi
mov r9, rdi
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400e79e0
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x14001ae84
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov rax, qword [0x140162470]
xor rax, rbp
mov qword [rbp], rax
movzx r10d, byte [rcx + 1]
mov eax, 0xffc7
mov rdi, r8
xor r10w, ax
mov al, byte [rcx]
mov rsi, rdx
xor al, 0xc7
shl r10w, 8
mov rbx, rcx
movzx eax, al
or r10w, ax
movzx r8d, r10w
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x14001aee7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400eccc0
sub rsp, rax
lea rdx, [rsp + 0x30]
test r8, r8
jle 0x14001af13
mov rcx, rdx
sub rbx, rdx
mov al, byte [rbx + rcx + 2]
xor al, 0xc7
mov byte [rcx], al
inc rcx
dec r8
jne 0x14001af03
mov rcx, qword [0x1401745c0]
mov qword [rsp + 0x20], r9
mov r8, rsi
mov r9, rdi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1400e79e0
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x14001af80
Capabilities:
Encode data using xor

Disassembly:
dec r9d
mov r10, rcx
cmp edx, r9d
cmovle r9d, edx
lea eax, [r9 + r9]
movsxd r11, eax
xor eax, eax
test r11, r11
jle 0x14001afb2
mov rdx, r8
sub r10, r8
mov cl, byte [r10 + rdx]
xor cl, 0xc7
mov byte [rdx], cl
inc rdx
dec r11
jne 0x14001afa1
movsxd rcx, r9d
mov word [r8 + rcx*2], ax
mov eax, r9d
ret
Function at 0x14001afc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov edx, 0x1cfd7148
mov r8d, 0x4a1e277a
mov ecx, 0x22d9b2cc
call fcn.140001678
lea r8, [0x140128df8]
lea rcx, [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
xor esi, esi
mov rcx, 0xffffffff80000001
mov word [rdi], si
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14001b096
mov edx, 0x46bfa05f
mov ecx, 0x789b63e1
mov r8d, 0x105cf664
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], InitCommonControls
call fcn.140001678
mov rcx, qword [rsp + 0x38]
mov rdx, rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14001b093
cmp dword [rsp + 0x30], 1
je 0x14001b096
mov word [rdi], si
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001b0bc
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov edx, 0x8e70286b
mov r8d, 0xd8937e59
mov ecx, 0xb054ebc1
call fcn.140001678
lea r8, [0x140128df8]
lea rcx, [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor ecx, ecx
test eax, eax
jne 0x14001b1a3
test rdi, rdi
je 0x14001b175
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x14001b12e
mov edx, 0x71f0e16b
mov ecx, 0x4fd422af
mov r8d, 0x2713b750
lea ebx, [rax*2 + 2]
call fcn.140001678
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x14001b198
mov edx, 0x4f1d67dd
mov ecx, 0x7139a42d
mov r8d, 0x19fe31e6
call fcn.140001678
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret