joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018fe8
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, 0xb4d012e2
mov r8d, 0xc1bc1936
mov ecx, 0x36d5650b
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 0x140019037
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140019053
lea rdi, [rsp + 0x40]
mov edx, 0xa8d86d90
mov ecx, 0x2add1a15
mov r8d, 0xddb4667d
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 0x14001907e
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
test esi, esi
je 0x140019178
lea r8, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14001917e
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 0x1400190d0
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.1400e875c
test rax, rax
je 0x14001916b
mov word [rax + 2], r14w
lea rax, [rsp + 0x40]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140019123
mov edx, 0xa32b192a
mov ecx, 0x212e6e45
mov r8d, 0xd64712ce
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 0x14001917e
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400e7da0
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 0x1400191a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov edx, 0xd13c6d8e
mov ecx, 0x53391aad
mov r8d, 0xa4506621
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 0x1400191fa
xor eax, eax
jmp 0x1400192d3
mov edx, 0xf44e3343
mov ecx, 0x764b45c2
mov r8d, 0x812238af
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 0x1400192c6
cmp dword [rsp + 0x40], ebx
jbe 0x1400192c6
mov edx, dword [rsp + 0x40]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, 0x97284ac5
mov ecx, 0x152d3ca8
mov r8d, 0xe2444129
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 0x1400192c6
jmp 0x1400192ba
lea rdx, [0x140128d38]
mov rcx, rdi
call fcn.1400e85e8
test eax, eax
je 0x1400192c1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rdi, [rdi + rax*2]
cmp word [rdi], bx
jne 0x140019296
jmp 0x1400192c6
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 0x1400192e0
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, 0xb1063d9c
mov ecx, 0x33034bd5
mov r8d, 0xc46a3665
xor ebx, ebx
call fcn.1400015d0
lea r8, [0x140128d38]
lea rcx, [rbp + 0x160]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x6efcb656
mov ecx, 0xecf9c06d
mov r8d, 0x1b90bd92
call fcn.1400015d0
lea r8, [0x140128d38]
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 0x140019455
mov edx, 0xbacec724
mov ecx, 0x38cbb2d3
mov r8d, 0xcfa2cccf
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 0x14001944a
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.1400e85e8
test eax, eax
jne 0x14001944a
mov edx, 0x4785b022
mov ecx, 0xc580c5ff
mov r8d, 0x32e9bbc5
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 0x14001944a
cmp dword [rsp + 0x34], 4
jne 0x14001944a
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.1400e7da0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001947c
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, 0x9649f7b5
mov r8d, 0xe325fc71
mov ecx, 0x144c821e
call fcn.1400015d0
lea rsi, [0x140128d38]
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 0x140019684
lea r8, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x140019506
xor eax, eax
jmp 0x140019692
mov edx, 0x560a7608
mov ecx, 0xd40f036f
mov r8d, 0x23667df1
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, 0x4c7c98ef
mov ecx, 0xce79edc6
mov r8d, 0x39109304
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, 0x3b9be7f
mov ecx, 0x81bccb40
mov r8d, 0x76d5b592
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, 0x305780c1
mov ecx, 0xb252f5d8
mov r8d, 0x453b8b2d
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, 0xc51e2e
mov ecx, 0x82c06acb
mov r8d, 0x75a915c9
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, 0x773a8a8
mov ecx, 0x8576dc5b
mov r8d, 0x721fa34c
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 0x140019690
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.1400e7da0
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 0x1400197ac
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, 0xaf232dd6
mov ecx, 0x2d265919
mov r8d, 0xda4f2679
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 0x14001980a
xor eax, eax
jmp 0x1400199a0
mov edx, 0xe918d9e2
mov ecx, 0x6b1dadcf
mov r8d, 0x9c74d20e
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 0x140019853
mov eax, r12d
mov dword [rbp + 0x48], eax
jmp 0x140019860
cmp dword [rbp + 0x50], 7
jne 0x140019994
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, 0x80d5224a
mov ecx, 0x2d05643
mov r8d, 0xf5b929a6
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, [0x140128d38]
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.1400196bc
cmp dword [rbp + 0x58], edi
jbe 0x140019945
mov edx, 0x356e977a
mov ecx, 0xb76be36f
mov r8d, 0x40029c96
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 0x140019967
mov edx, 0x4b79d013
mov ecx, 0xc97ca3e2
mov r8d, 0x3e15dbff
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 0x1400199b0
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, 0xc51393f3
mov ecx, 0x4716e02e
mov eax, eax
mov r8d, 0xb07f981b
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 0x1400199f4
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 0x140019a0e
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140019a2c
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.1400199b0
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 0x140019a67
lea rcx, [rbp + 0x130]
mov edx, 0x2e
call fcn.1400e875c
mov dword [rax + 2], 0x6d0074
mov dword [rax + 6], 0x70
test ebx, ebx
je 0x140019b3e
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.1400e875c
mov rbx, rax
test rax, rax
je 0x140019b56
add rbx, 2
lea rdx, str.xreveal.sys
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
test rbx, rbx
je 0x140019b56
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x340]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140019b56
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 0x140019b56
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.1400e7da0
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140019b7c
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 0x140019ba8
call fcn.140019a2c
mov ecx, ebx
call fcn.14001947c
mov ecx, ebx
call fcn.1400197ac
test ebx, ebx
je 0x140019c58
call fcn.140026f10
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140019c0e
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.14002dbb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rsp + 0x22], 1
jne 0x140019c0e
cmp byte [rsp + 0x23], 1
jne 0x140019c0e
xor eax, eax
jmp 0x140019c72
call fcn.14001abc8
mov ecx, 0x64
lea rdx, [rsp + 0x40]
test eax, eax
mov ebx, edi
cmovne ebx, ecx
call fcn.1400199b0
lea rcx, [rsp + 0x40]
mov edx, 0x2e
call fcn.1400e875c
test rax, rax
je 0x140019c70
mov dword [rax + 2], 0x6d0074
lea rcx, [rsp + 0x40]
mov dword [rax + 6], 0x70
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140019c70
call fcn.14001abc8
mov ecx, 0x64
mov ebx, edi
test eax, eax
cmovne ebx, ecx
xor ecx, ecx
call fcn.140019a2c
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400e7da0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x14001acb8
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 [0x140174658]
and dword [rsp + 0x24], 0
lea rcx, [rsp + 0x28]
xor edx, edx
mov r8d, 0x10c
mov dword [rsp + 0x20], 0x114
call fcn.1400ea570
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
jb 0x14001ad15
mov rcx, rbx
call fcn.14001ad30
jmp 0x14001ad17
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400e7da0
add rsp, 0x150
pop rbx
ret

Function at 0x14001b0ac
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, 0xffc4
mov rdi, r8
xor r10w, ax
mov al, byte [rcx]
mov rsi, rdx
xor al, 0xc4
shl r10w, 8
mov rbx, rcx
movzx eax, al
or r10w, ax
movzx r8d, r10w
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x14001b10f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400ed080
sub rsp, rax
lea rdx, [rsp + 0x30]
test r8, r8
jle 0x14001b13b
mov rcx, rdx
sub rbx, rdx
mov al, byte [rbx + rcx + 2]
xor al, 0xc4
mov byte [rcx], al
inc rcx
dec r8
jne 0x14001b12b
mov rcx, qword [0x140174660]
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.1400e7da0
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x14001b174
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, 0xffc4
mov rdi, r8
xor r10w, ax
mov al, byte [rcx]
mov rsi, rdx
xor al, 0xc4
shl r10w, 8
mov rbx, rcx
movzx eax, al
or r10w, ax
movzx r8d, r10w
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x14001b1d7
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400ed080
sub rsp, rax
lea rdx, [rsp + 0x30]
test r8, r8
jle 0x14001b203
mov rcx, rdx
sub rbx, rdx
mov al, byte [rbx + rcx + 2]
xor al, 0xc4
mov byte [rcx], al
inc rcx
dec r8
jne 0x14001b1f3
mov rcx, qword [0x140174660]
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.1400e7da0
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x14001b270
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 0x14001b2a2
mov rdx, r8
sub r10, r8
mov cl, byte [r10 + rdx]
xor cl, 0xc4
mov byte [rdx], cl
inc rdx
dec r11
jne 0x14001b291
movsxd rcx, r9d
mov word [r8 + rcx*2], ax
mov eax, r9d
ret
Function at 0x14001b2b0
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, 0xeea308ad
mov r8d, 0xff3fbaf2
mov ecx, 0x17b42ee1
call fcn.140001678
lea r8, [0x140128d38]
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 0x14001b386
mov edx, 0x5112ec90
mov ecx, 0xa805cae6
mov r8d, 0x408e5ec6
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 0x14001b383
cmp dword [rsp + 0x30], 1
je 0x14001b386
mov word [rdi], si
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001b3ac
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, 0xd01644ac
mov r8d, 0xc18af6f3
mov ecx, 0x290162ce
call fcn.140001678
lea r8, [0x140128d38]
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 0x14001b493
test rdi, rdi
je 0x14001b465
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], cx
jne 0x14001b41e
mov edx, 0xad374412
mov ecx, 0x5420621e
mov r8d, 0xbcabf644
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 0x14001b488
mov edx, 0xb4fa78aa
mov ecx, 0x4ded5e92
mov r8d, 0xa566cafc
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.1400e7da0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x14001bca0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, ecx
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.14000ad94
cmp eax, 1
jne 0x14001bd03
mov edx, 0x4bff0733
mov r8d, 0x60b31ab2
mov ecx, 0xd596a6dc
mov dword [rsp + 0x48], ebx
call fcn.140001378
lea rcx, [rsp + 0x48]
mov r9d, 4
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret

Function at 0x14001bd0c
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14000ad94
cmp eax, 1
jne 0x14001bd6f
mov edx, 0x53150f0a
mov r8d, 0x7859128c
mov ecx, 0xcd7caeb5
call fcn.140001378
mov rcx, qword [rsp + 0x40]
mov r9d, 0xb
mov rdx, rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x38
ret

Function at 0x14001bd74
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov bl, dl
mov rdi, rcx
test dl, dl
jne 0x14001bdc4
mov ecx, 1
call fcn.140025c40
test eax, eax
jle 0x14001be99
mov ecx, eax
call fcn.14001bca0
movabs r8, 0x2000600050006
lea rdx, [0x140128d38]
lea rcx, [rsp + 0x50]
call fcn.140024cf8
nop
test bl, bl
jne 0x14001be5f
and qword [rsp + 0x40], 0
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14000ad94
cmp eax, 1
jne 0x14001be55
mov dword [rsp + 0x34], InitCommonControls
mov dword [rsp + 0x30], 8
mov edx, 0xc4eea6d3
mov ecx, 0x5a870786
mov r8d, 0xefa2bb55
call fcn.140001378
mov rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x58], rax
mov r8, rdi
lea rdx, str.https:__www.xreveal.com_update_xreveal.txt
lea rcx, [rsp + 0x50]
call fcn.140024dc4
nop
lea rcx, [rsp + 0x50]
call fcn.140024d74
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret