joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013748
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r14, rcx
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], 0x41
xor ebx, ebx
mov word [rbp + 0xa0], bx
lea r12, [0x1400a2bc8]
mov qword [rbp + 0x88], r12
lea r13, [0x1400a2b08]
mov qword [rbp + 0x80], r13
mov dword [rbp + 0x128], ebx
mov qword [rbp + 0x130], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xf003f
mov r8, qword [r8]
lea rcx, [rbp + 0x80]
call fcn.140013564
test eax, eax
js 0x140044d14
mov edi, ebx
mov dword [rsp + 0x30], 0x100
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x140]
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.1400136a4
mov esi, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x103
je 0x1400138ff
test esi, esi
je 0x140044d2a
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x41
mov word [rbp - 0x20], bx
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x40], r13
mov dword [rbp + 0x68], ebx
mov qword [rbp + 0x70], rbx
mov qword [rsp + 0x20], rbx
mov r9d, 0xf003f
lea r8, [rbp + 0x140]
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp - 0x40]
call fcn.140013564
test eax, eax
js 0x140044d35
lea rax, [0x1400a2d18]
mov qword [rsp + 0x40], rax
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x48]
call fcn.14001a960
nop
lea rdx, [0x1400d2518]
lea rcx, [rsp + 0x50]
call fcn.14001a960
nop
mov byte [rsp + 0x78], bl
lea rcx, [rbp - 0x80]
call fcn.14001a8ac
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140019f00
test eax, eax
js 0x1400138da
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.140019ca8
inc edi
lea rcx, [rbp - 0x80]
call fcn.140016c90
nop
lea rcx, [rsp + 0x40]
call fcn.140019208
nop
lea rcx, [rbp - 0x40]
call fcn.140014d5c
jmp 0x1400137e5
lea rcx, [rbp + 0x80]
call fcn.140014d5c
mov eax, ebx
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x450
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
cmp eax, 2
je 0x1400138ff
test eax, eax
jg 0x140044d61
mov ebx, eax
jmp 0x1400138ff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x140044d49
mov ebx, eax
jmp 0x140044d52
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp - 0x40]
call fcn.140014d5c
nop
jmp 0x1400138ff
movzx ebx, ax
or ebx, 0x80070000
jmp 0x1400138ff
Function at 0x140019f00
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov r15, r8
mov rdi, rdx
mov r12, rcx
and qword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
mov rcx, qword [rdx + 0xb0]
call fcn.14001a9a4
mov ebx, eax
test eax, eax
js 0x14001a0a4
lea r8, [rsp + 0x58]
lea rdx, str.Include
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140048014
lea r8, [rsp + 0x54]
lea rdx, str.Suppress
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140048014
lea r8, [rsp + 0x50]
lea rdx, str.Default
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140048014
lea r8, [rsp + 0xa8]
lea rdx, str.Policy
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140048038
mov esi, dword [rsp + 0xa8]
and dword [rsp + 0xb8], 0
lea r8, [rsp + 0xb8]
lea rdx, str.NoContent
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x14004805b
and dword [rsp + 0xa8], 0
lea r8, [rsp + 0xa8]
lea rdx, [0x1400aa280]
mov rcx, rdi
call fcn.14001a0e0
test eax, eax
je 0x140048073
cmp dword [rsp + 0xa8], 0
setne r14b
mov rdi, qword [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140016b70
nop
mov byte [rsp + 0x48], r14b
mov ecx, dword [rsp + 0xb8]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], esi
mov edx, 1
mov dword [rsp + 0x30], edx
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x58]
mov rdx, rax
mov rcx, r12
call fcn.140013938
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
mov rdx, rdi
lea rcx, [rsp + 0xa8]
call fcn.140016b70
nop
mov rdx, rax
mov rcx, r15
call fcn.140017380
nop
mov rcx, qword [rsp + 0xa8]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14001a0b6
mov rcx, rdi
call fcn.14003759c
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14001a0a4
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14001a0a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140048050
xor esi, esi
jmp 0x140019fb5
test eax, eax
jg 0x14004802a
mov ebx, eax
jmp 0x14001a0a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140048050
jmp 0x140019fdc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, 0xfffffffd
jne 0x140048050
jmp 0x14001a003
Function at 0x14001a0e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rdi, r8
xor ecx, ecx
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx + 0xb0]
mov dword [rsp + 0x50], 4
test rcx, rcx
je 0x14001a17e
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x30]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001a16c
cmp dword [rsp + 0x68], 4
jne 0x14001a16c
mov eax, dword [rsp + 0x30]
mov dword [rdi], eax
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14001a15b
mov ecx, 6
jmp 0x14001a16e

Function at 0x14001a9a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
xor ebp, ebp
lea rax, [r11 + 0x10]
mov qword [r8], rbp
lea rdx, [0x1400aa2f8]
mov rsi, r8
mov qword [r11 - 0x10], rax
xor r8d, r8d
mov qword [r11 - 0x18], rbp
xor r9d, r9d
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140048202
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140048215
shr eax, 1
lea ecx, [rax + 1]
lea eax, [rbp + 2]
mul rcx
lea rcx, [rbp - 1]
lea rdx, [0x1400aa300]
cmovo rax, rcx
mov rcx, rax
call fcn.14003756c
mov rdi, rax
test rax, rax
je 0x14001aa85
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400aa2f8]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14004821f
mov eax, dword [rsp + 0x48]
shr rax, 1
mov word [rdi + rax*2], bp
xor eax, eax
mov qword [rsi], rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, 0x8007000e
jmp 0x14001aa6f
jle 0x14001aa6f
movzx eax, ax
or eax, 0x80070000
jmp 0x14001aa6f
mov eax, 0x8000ffff
jmp 0x14001aa6f
mov rcx, rdi
call fcn.14003759c
test ebx, ebx
jle 0x140048234
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
jmp 0x14001aa6f
Function at 0x14001df50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
movzx ebx, dl
mov dword [rsp + 0x30], 0
lea rdx, [r8 + 0x10]
mov rdi, r8
movzx r11d, cl
mov r8d, 8
lea rcx, [rsp + 0x30]
call fcn.14001e014
mov r8d, dword [rsp + 0x30]
add r11b, 2
cmp r11b, bl
jae 0x14001dfef
mov qword [rsp + 0x38], rsi
movzx esi, r11b
shl rsi, 4
add rsi, rdi
sub bl, r11b
movzx r11d, bl
nop word [rax + rax]
mov r9d, dword [rsi + 8]
xor eax, eax
mov r10, qword [rsi]
test r9, r9
je 0x14001dfe0
nop
movzx ecx, byte [rax + r10]
inc rax
add ecx, r8d
imul edx, ecx, 0x401
mov r8d, edx
shr r8d, 6
xor r8d, edx
cmp rax, r9
jb 0x14001dfc0
add rsi, 0x10
sub r11, 1
jne 0x14001dfb0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
add rsp, 0x20
pop rdi
ret

Function at 0x14001e014
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
test r8, r8
je 0x14001e03d
movzx eax, byte [r10 + rdx]
inc r10
add eax, dword [rcx]
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor eax, r9d
mov dword [rcx], eax
cmp r10, r8
jb 0x14001e01c
ret

Function at 0x14001e28c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rdi, rcx
mov rcx, qword [r8 + 0x10]
mov rbx, rdx
mov r10, r8
jae 0x14001e307
xor edx, edx
movabs r9, 0xcbf29ce484222325
add rcx, rcx
je 0x14001e2d9
movzx eax, byte [rdx + r10]
movabs r11, 0x100000001b3
xor r9, rax
inc rdx
imul r9, r11
cmp rdx, rcx
jb 0x14001e2bb
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001e314
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14001e301
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rdi + 8]
jmp 0x14001e2ef
mov r10, qword [r8]
jmp 0x14001e2aa
Function at 0x140023ad8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jae 0x14004bfce
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x140023b3d
movzx eax, byte [rcx + rdx]
xor rbp, rax
movabs r9, 0x100000001b3
imul rbp, r9
inc rcx
cmp rcx, r8
jb 0x140023b20
mov r9, rbp
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001e314
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14004bfd6
movabs rax, 0x492492492492492
cmp qword [rsi + 0x10], rax
je 0x14004bfe2
lea rdx, [rsi + 8]
mov r9, r14
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.140023cc4
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140023c05
cvtsi2ss xmm0, rcx
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140023c1f
cvtsi2ss xmm1, rcx
divss xmm0, xmm1
comiss xmm0, dword [rsi]
ja 0x14004bff6
mov rbx, qword [rsp + 0x28]
and qword [rsp + 0x28], 0
mov r9, rbx
mov r8, qword [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
call fcn.140023c7c
mov qword [rdi], rax
mov byte [rdi + 8], 1
lea rcx, [rsp + 0x20]
call fcn.140023c40
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140023b99
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x140023baa
mov rdx, qword [rbx]
jmp 0x140023b0f
mov qword [rdi], rax
mov byte [rdi + 8], 0
jmp 0x140023be6
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
nop
mov rcx, rsi
call fcn.140070b78
mov rbx, qword [rsp + 0x28]
lea r8, [rbx + 0x10]
mov r9, rbp
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001e314
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x30], xmm0
jmp 0x140023bbc

Function at 0x140025604
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, qword [rsp + 0x2b8]
mov rbp, r8
mov rbx, qword [rsp + 0x2c0]
mov r8, rdx
mov r14d, r9d
mov rsi, rdx
mov rdx, 0xffffffff80000002
lea r9, [rsp + 0x40]
call fcn.1400257c8
test al, al
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdi
cmove rdx, rsi
mov r9d, r14d
and qword [rsp + 0x20], 0
mov r8, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140027d24
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov eax, dword [0x1400adb28]
mov dword [rsp + 0x5c], eax
movzx eax, word [0x1400adb2c]
mov word [rsp + 0x60], ax
mov word [rsp + 0x5c], dx
mov rdx, qword [rcx + 8]
xor edi, edi
mov qword [r11 - 0x28], rdi
mov rax, qword [rcx]
mov qword [r11 - 0x38], rdx
lea rcx, [r11 - 0x28]
mov qword [r11 - 0x40], rcx
mov qword [r11 - 0x48], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [r11 - 0x1c]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140027e39
mov dword [rsp + 0x58], 3
lea r9d, [rdi + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.DriveType
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400a9f70]
mov rcx, qword [rcx]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140027e39
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140027dff
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.VolumeLabel
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.1400280a8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140036e80
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140027e68
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x480
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r8d, 0x105
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], r8d
lea rdx, [rsp + 0x260]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
je 0x140027f6d
cmp byte [rbx + 0x35], 0
lea rdi, [rsp + 0x260]
jne 0x140027f43
lea rdx, [0x1400a9f70]
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
setne al
mov byte [rbx + 0x34], al
call qword [sym.imp.ntdll.dll_RtlIsStateSeparationEnabled]
nop dword [rax + rax]
test al, al
jne 0x140043b5e
mov r9b, byte [rbx + 0x35]
lea rdx, [rsp + 0x50]
mov ecx, dword [rbx + 0x30]
mov r8, rdi
call fcn.140027f8c
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140036e80
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret
mov rcx, qword [rbx + 0x18]
call fcn.140027a08
test al, al
je 0x140027f80
lea rdx, [0x1400a9f70]
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140027f80
mov al, 1
mov rdi, qword [rbx + 0x18]
jmp 0x140027ef6
call fcn.14001d618
test eax, eax
jns 0x140027ed2
mov byte [rbx + 0x34], 0
jmp 0x140027f21
xor al, al
jmp 0x140027f67
test dword [rsp + 0x40], 0x80000
je 0x140027f0d
mov byte [rbx + 0x34], 0
jmp 0x140027f0d
Function at 0x140027f8c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov dil, r9b
mov ebx, ecx
xor esi, esi
mov qword [rbp + 0x17], rsi
lea rax, [rbp + 7]
mov qword [r11 - 0x60], rax
lea rax, [rbp + 0x17]
mov qword [r11 - 0x68], rax
mov dword [rsp + 0x30], 0x2001f
mov dword [rsp + 0x28], esi
lea r8, str.SOFTWAREMicrosoftWindows_SearchVolumeInfoCache
mov rdx, 0xffffffff80000002
call fcn.1400252b8
test eax, eax
jne 0x14002801d
test dil, dil
jne 0x140028048
lea rax, [rbp + 0x17]
mov qword [rbp + 0x1f], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x6f]
mov qword [rbp + 0x2f], rax
lea rax, [rbp + 0x77]
mov qword [rbp + 0x37], rax
mov edi, esi
test ebx, ebx
je 0x14002801d
test bl, 1
jne 0x14002803a
inc edi
shr ebx, 1
jne 0x140028012
lea rcx, [rbp + 0x17]
call fcn.1400280a8
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
lea edx, [rdi + 0x41]
lea rcx, [rbp + 0x1f]
call fcn.140027d24
jmp 0x140028017
mov qword [rbp + 0xf], rsi
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x140043b76
lea rcx, [rbp + 0xf]
call fcn.1400280a8
jmp 0x140027fec
mov dword [rbp + 0xb], 3
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0xb]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.DriveType
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
lea rdx, [0x1400a9f70]
mov rcx, qword [rbp + 0x6f]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x140028091
mov rcx, qword [rbp + 0x77]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140043bcb
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.VolumeLabel
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
lea rcx, [rbp + 0xf]
call fcn.1400280a8
nop
jmp 0x14002801d
Function at 0x14002b5d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
and qword [rdx], 0
mov rsi, rdx
mov rbp, rcx
lea rdx, [0x1400aa300]
mov ecx, 0x208
call fcn.14003756c
lea r9, [rsp + 0x48]
mov r8d, 0x104
mov rdx, rax
mov rcx, rbp
mov rbx, rax
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
mov r14d, 2
test eax, eax
je 0x14004d7dc
xor edi, edi
mov rax, rbx
xor ebx, ebx
mov qword [rsi], rax
mov rdx, r14
mov rcx, rbx
call fcn.140037528
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
call fcn.14001d618
mov edi, eax
cmp eax, 0x800700ea
jne 0x14004d859
mov ecx, dword [rsp + 0x48]
mov rax, r14
mul rcx
mov rcx, 0xffffffffffffffff
lea rdx, [0x1400aa300]
cmovo rax, rcx
mov rcx, rax
call fcn.14003756c
mov rdx, r14
mov rcx, rbx
mov rdi, rax
call fcn.140037528
mov rbx, rdi
test rdi, rdi
jne 0x14004d82e
mov edi, 0x8007000e
jmp 0x14002b635
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x48]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14002b62b
call fcn.14001d618
mov edi, eax
test edi, edi
js 0x14002b635
jmp 0x14002b62d
Function at 0x14002bcf4
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov dword [rcx], 3
mov dword [rdx], 0x65
mov byte [rbp + 0x30], 0
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
call fcn.140025224
mov ebx, eax
test eax, eax
jg 0x14004da08
mov rcx, qword [rbp + 0x20]
test ebx, ebx
js 0x14004da16
mov dword [rbp - 0x18], 4
mov dword [rbp + 0x40], 4
and dword [rbp + 0x38], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
lea r8, [0x1400aaf48]
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14004da30
js 0x14002be33
cmp dword [rbp + 0x38], 1
jne 0x14002be33
and dword [rsi], 0
and dword [rdi], 0
mov byte [rbp + 0x28], 0
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x30]
call fcn.14002b8a4
test eax, eax
js 0x14002be1c
cmp byte [rbp + 0x28], 0
je 0x14004da84
mov dword [rbp + 0x40], 4
and dword [rbp + 0x38], 0
mov dword [rbp - 0x18], 4
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
lea r8, str.RebuildIndex
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14004da3f
mov rcx, qword [rbp - 0x10]
call fcn.14002be58
test al, al
jne 0x14004da95
cmp byte [rbp + 0x30], 0
jne 0x14002be48
lea rcx, [rbp - 0x10]
call fcn.1400280a8
mov eax, ebx
add rsp, 0x48
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140069df0
nop
jmp 0x14002be33
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14002bd49
mov r9d, ebx
lea r8, [0x1400ab980]
mov edx, 0xb9
call fcn.140028aec
nop
jmp 0x14002be33
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x14002bd9e
cmp dword [rbp + 0x40], 4
jne 0x14004da67
mov edx, dword [rbp + 0x38]
test edx, edx
je 0x14004da67
mov dword [rsi], 1
lea eax, [rdx - 1]
mov ecx, 0x68
cmp eax, 0xa
cmovbe ecx, edx
mov dword [rdi], ecx
jmp 0x14002be1c
lea rdx, str.RebuildIndex
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
nop
jmp 0x14002be1c
mov dword [rsi], 1
mov dword [rdi], 0x64
jmp 0x14002be1c
mov dword [rsi], 1
mov dword [rdi], 0x69
mov byte [rbp + 0x28], 0
lea rcx, [rbp + 0x28]
call fcn.140055808
nop
jmp 0x14002be2d
Function at 0x14002be58
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
call fcn.14002c27c
neg al
lea r9, [rsp + 0x78]
lea r8, str.DatabaseSchemaVersion
mov rcx, rbx
sbb esi, esi
xor edi, edi
and esi, 2
mov dword [rsp + 0x68], edi
xor edx, edx
mov dword [rsp + 0x30], esi
lea eax, [rdi + 4]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jg 0x14004dab6
cmovns edi, dword [rsp + 0x68]
mov dword [rsp + 0x68], edi
cmp edi, esi
jne 0x14004dac5
xor al, al
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
movzx eax, ax
or eax, 0x80070000
test eax, eax
jmp 0x14002bebd
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14005577c
mov al, 1
jmp 0x14002bed0

Function at 0x14002d2e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
lea rax, [rbp - 0x10]
mov rdi, r8
mov qword [rbp - 0x10], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMSetup
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d388
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x28]
lea rax, [rbp + 0x20]
mov dword [rbp + 0x20], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Upgrade
mov dword [rbp + 0x38], 4
mov dword [rbp + 0x28], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14004de9a
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
cmp dword [rbp + 0x28], 4
jne 0x14002d378
test rdi, rdi
je 0x14004deae
mov eax, dword [rbp + 0x20]
mov dword [rdi], eax
mov ebx, 1
jmp 0x14002d378