joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401164b0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rdx, str._Service__Stopping...
mov ecx, 1
call fcn.140109e80
lea rdi, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rdi
je 0x1401164ff
test byte [rcx + 0x1c], 1
je 0x1401164ff
cmp byte [rcx + 0x19], 2
jb 0x1401164ff
mov edx, 0x14
lea r8, [0x1405fa6c0]
mov rcx, qword [rcx + 0x10]
call fcn.14007d150
call fcn.1401d3a20
mov rbx, rax
test rax, rax
je 0x140116515
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp qword [0x140686de8], 0
je 0x14011654d
call fcn.14010b530
mov rcx, qword [0x140686de8]
test rcx, rcx
je 0x140116542
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x50]
call qword [case.0x1401cd220.0]
mov qword [0x140686de8], 0
mov rcx, qword [str.0cg_]
cmp rcx, rdi
je 0x14011657a
test byte [rcx + 0x1c], 1
je 0x14011657a
cmp byte [rcx + 0x19], 2
jb 0x14011657a
mov edx, 0x15
lea r8, [0x1405fa6c0]
mov rcx, qword [rcx + 0x10]
call fcn.14007d150
xor edx, edx
mov cl, 1
call fcn.1401d3b80
mov rdi, rax
test rax, rax
je 0x1401165a4
lea rdx, str.RunningVersion
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x140689ba0]
test rcx, rcx
je 0x1401165bc
lea rdx, [0x140687f90]
call fcn.1401fcd60
call fcn.1400ef710
call fcn.14008a0e0
call fcn.1400b8290
call fcn.14007d660
call fcn.1400e8b70
call fcn.1400faa30
call fcn.1400ef520
call fcn.1400d7030
call fcn.14008d050
cmp byte [0x140686a5c], 0
je 0x140116621
mov byte [0x140686a5c], 0
mov rcx, qword [0x140686b48]
test rcx, rcx
je 0x140116616
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x1401cd220.0]
mov qword [0x140686b48], 0
call fcn.1400913e0
cmp byte [0x1406869ee], 0
je 0x14011663b
call fcn.140089ee0
mov byte [0x1406869ee], 0
call fcn.1400893a0
call fcn.14009b350
lea rdx, str._Service__Stopped
mov ecx, 1
call fcn.140109e80
call fcn.1400cbf60
call fcn.140082b80
test rbx, rbx
je 0x14011666e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140117160
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
xor sil, sil
call fcn.140109600
cmp eax, 4
jne 0x1401172fa
cmp word [0x14068a480], 0
je 0x1401171c7
lea rdi, [0x14068a480]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401171b5
mov rdx, rdi
jmp 0x140117313
xor edx, edx
xor ecx, ecx
call fcn.1401d3b80
mov rdi, rax
test rax, rax
je 0x140117321
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.AlerterPath
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140117321
cmp dword [rsp + 0x34], 1
jne 0x140117321
cmp dword [rsp + 0x30], 2
jbe 0x140117321
lea rcx, [rsp + 0x50]
call fcn.1401d4f70
test al, al
je 0x140117321
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea r8, [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140091490
mov rbx, 0xffffffffffffffff
test al, al
je 0x1401172b9
mov rax, qword [rsp + 0x38]
cmp byte [rax], 0
je 0x1401172b9
lea r8, [rsp + 0x50]
mov edx, 0x104
lea rdi, [0x14068a480]
mov rcx, rdi
call fcn.140368338
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x1401172a0
mov rdx, rdi
mov rcx, rbp
call fcn.1400739a0
mov sil, 1
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140117321
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140117321
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1401cd220.0]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140117321
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1401cd220.0]
jmp 0x140117321
call fcn.1401d2a70
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140117306
mov rdx, rax
mov r8, rbx
mov rcx, rbp
call fcn.1400739a0
mov sil, 1
movzx eax, sil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14011cc10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov edi, ecx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [0x1405e45bc]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140374040
lea r8, str.LogonUI.exe
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.140374040
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lfence
lea ecx, [rax + 0x20]
call fcn.1403590cc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.14011cdc0
test al, al
je 0x14011cd46
cmp qword [rsp + 0x30], 0
je 0x14011cd46
mov rbx, qword [rsp + 0x28]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x14011cd46
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x20]
mov ecx, dword [rbx + 0x1c]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x14011ccf3
cmp edi, dword [rsp + 0x20]
je 0x14011cd41
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14011cd1f
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14011cd1a
cmp rbx, qword [rax + 0x10]
jne 0x14011cd1a
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14011cd07
mov rbx, rax
jmp 0x14011cccd
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14011cccd
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x14011cd30
jmp 0x14011cccd
mov dil, 1
jmp 0x14011cd49
xor dil, dil
mov rax, qword [rsp + 0x28]
mov rbx, qword [rax + 8]
cmp byte [rbx + 0x19], 0
jne 0x14011cd89
nop dword [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140077dd0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.140359090
cmp byte [rbx + 0x19], 0
je 0x14011cd60
mov edx, 0x20
mov rcx, qword [rsp + 0x28]
call fcn.140359090
movzx eax, dil
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14011d0c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x40], 0
call fcn.1400e3ed0
xor edx, edx
mov cl, 1
call fcn.1401d3b80
mov rbx, rax
test rax, rax
je 0x14011d253
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AlerterCount
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14011d141
mov r8d, eax
lea rdx, str.RegSetValueExW_failed_with_error_code__lu
mov ecx, 3
call fcn.140109e80
inc dword [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AlerterCount
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14011d188
mov r8d, eax
lea rdx, str.RegSetValueExW_failed_with_error_code__lu
mov ecx, 3
call fcn.140109e80
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x36]
movzx r9d, word [rsp + 0x32]
movzx r8d, word [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea rdx, str._4d__02d__02d
lea rcx, [rsp + 0x48]
call fcn.1401d35d0
nop
mov eax, dword [rsp + 0x58]
add eax, eax
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 1
xor r8d, r8d
lea rdx, str.LastAlerter
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14011d20b
mov r8d, eax
lea rdx, str.RegSetValueExW_failed_with_error_code__lu
mov ecx, 3
call fcn.140109e80
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14011d253
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d24e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d26a
call fcn.140359090
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140359070
add rsp, 0x70
pop rbx
ret
call fcn.140368068
int3
Function at 0x14011dda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp dword [0x14068a46c], 0
lea rsi, [0x14068a260]
mov rbx, rcx
jne 0x14011de72
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14011de72
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
lea rdx, str.ProgramFilesDir
mov dword [rsp + 0x38], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14011de67
mov eax, dword [rsp + 0x38]
shr eax, 1
mov ecx, eax
dec eax
mov dword [0x14068a46c], eax
cmp word [rsi + rcx*2 - 2], 0x5c
je 0x14011de67
lea r8, [0x1405e45bc]
mov edx, 0x104
mov rcx, rsi
call fcn.140374040
inc dword [0x14068a46c]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14068a468], 0
lea rdi, [0x14068a050]
jne 0x14011df23
lea rax, [rsp + 0x30]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14011df23
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.ProgramFilesDir
mov dword [rsp + 0x38], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14011df18
mov eax, dword [rsp + 0x38]
shr eax, 1
mov ecx, eax
dec eax
mov dword [0x14068a468], eax
cmp word [rdi + rcx*2 - 2], 0x5c
je 0x14011df18
lea r8, [0x1405e45bc]
mov edx, 0x104
mov rcx, rdi
call fcn.140374040
inc dword [0x14068a468]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsxd rax, dword [0x14068a46c]
test eax, eax
jle 0x14011df40
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call fcn.14036ef28
test eax, eax
je 0x14011df5d
movsxd rax, dword [0x14068a468]
test eax, eax
jle 0x14011df61
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.14036ef28
test eax, eax
jne 0x14011df61
mov al, 1
jmp 0x14011df63
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14011df80
Capabilities:
Get file size
Read file on windows

Disassembly:
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov r15, rdx
test rdx, rdx
je 0x14011e085
test r8, r8
je 0x14011e085
mov qword [rsp + 0x58], rsi
xor sil, sil
cmp qword [rcx + 0x18], 8
mov qword [rsp + 0x50], rdi
jb 0x14011dfc6
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14011e075
mov qword [rsp + 0x98], rbx
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x60], rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov ebp, eax
call fcn.140368330
mov rbx, rax
test rax, rax
je 0x14011e05f
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, ebp
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011e057
mov eax, dword [rsp + 0x40]
cmp eax, ebp
jne 0x14011e057
mov qword [r15], rbx
mov sil, 1
mov dword [r14], eax
jmp 0x14011e05f
mov rcx, rbx
call fcn.1403683a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x50]
movzx eax, sil
mov rsi, qword [rsp + 0x58]
jmp 0x14011e087
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140359070
add rsp, 0x68
pop r15
pop r14
ret
Function at 0x14011e530
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x4f], rax
movzx ebx, cl
xor edx, edx
mov cl, 1
call fcn.1401d3b80
mov rdi, rax
test rax, rax
je 0x14011e6eb
test bl, bl
je 0x14011e586
lea rdx, str.RunningVersion
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x14011e6e2
lea rcx, [rbp + 7]
call fcn.14006b440
nop
xor ebx, ebx
cmp byte [rax + 0x20], bl
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
je 0x14011e5c2
mov qword [rbp - 0x11], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
jmp 0x14011e5e1
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], bl
xor r8d, r8d
lea rdx, [0x1405e4ea8]
lea rcx, [rbp - 0x29]
call fcn.140073120
nop
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rax, qword [rbp - 0x29]
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x2f]
call fcn.14014e810
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14011e64d
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e648
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e712
call fcn.140359090
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
cmp byte [rbp + 0x27], 0
je 0x14011e66c
lea rcx, [rbp + 7]
call fcn.140073500
mov eax, dword [rbp + 0x3f]
lea eax, [rax*2 + 2]
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.RunningVersion
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14011e6e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e6dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e70c
call fcn.140359090
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140368068
nop
call fcn.140368068
nop
int3
Function at 0x140125e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rbx, r8
mov rax, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rcx, [0x140676f98]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140125e44
mov rdx, qword [r8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140125e83
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140125e7e
mov dword [rsp + 0x30], eax
lea rax, [0x140677540]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
xor dil, dil
jmp 0x140125e86
mov dil, 1
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], sil
mov r8d, 0xb
lea rdx, str.ValueExists
lea rcx, [rsp + 0x40]
call fcn.140073120
nop
movd eax, xmm6
test eax, eax
jne 0x140125f1b
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140125ef7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140125ef2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140125f15
call fcn.140359090
movzx eax, dil
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
call fcn.140368068
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400b8190
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14014e6b0
mov rbx, rax
lea r8, [0x1405fae7c]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.1400b5480
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14012ca50
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1400b8130
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140128870
int3
Function at 0x1401260b0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rbx, r8
mov rax, rdx
mov dword [rsp + 0x20], 0
lea rcx, [0x140676f98]
mov qword [rsp + 0x28], rcx
movaps xmm6, xmmword [rsp + 0x20]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1401260f1
mov rdx, qword [r8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x140126120
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14012611b
mov dword [rsp + 0x20], eax
lea rax, [0x140677540]
mov qword [rsp + 0x28], rax
movaps xmm6, xmmword [rsp + 0x20]
xor dil, dil
jmp 0x140126123
mov dil, 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8d, 0xb
lea rdx, str.DeleteValue
lea rcx, [rsp + 0x30]
call fcn.140073120
nop
movd eax, xmm6
test eax, eax
jne 0x1401261bf
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14012619c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140126197
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401261b9
call fcn.140359090
movzx eax, dil
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rdi
ret
call fcn.140368068
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400b8190
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14014e6b0
mov rbx, rax
lea r8, [0x1405fae7c]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.1400b5480
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14012ca50
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400b8130
nop
movdqa xmmword [rsp + 0x20], xmm6
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140128870
int3
Function at 0x140126e70
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, r8
mov rax, rdx
mov dword [r11 - 0x28], r9d
mov dword [rsp + 0x30], 0
lea rcx, [0x140676f98]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140126ec2
mov rdx, qword [r8]
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140126f02
mov dword [rsp + 0x30], eax
lea rax, [0x140677540]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.SetDwordValue
lea rcx, [rsp + 0x40]
call fcn.140073120
nop
movd eax, xmm6
test eax, eax
jne 0x140126fa2
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140126f7b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140126f76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140126f9c
call fcn.140359090
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140359070
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.140368068
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400b8190
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14014e6b0
mov rbx, rax
lea r8, [0x1405fae7c]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.1400b5480
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14012ca50
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1400b8130
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140128870
int3
Function at 0x140127350
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov rax, rdx
mov qword [r11 - 0x38], r9
mov dword [rsp + 0x30], 0
lea rcx, [0x140676f98]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x1401273a2
mov rdx, qword [r8]
mov dword [rsp + 0x28], 8
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
mov r9d, 0xb
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1401273e2
mov dword [rsp + 0x30], eax
lea rax, [0x140677540]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.SetQwordValue
lea rcx, [rsp + 0x40]
call fcn.140073120
nop
movd eax, xmm6
test eax, eax
jne 0x140127482
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14012745b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140127456
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012747c
call fcn.140359090
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140359070
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.140368068
nop
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call fcn.1400b8190
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14014e6b0
mov rbx, rax
lea r8, [0x1405fae7c]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.1400b5480
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14012ca50
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400b8130
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140128870
int3

Function at 0x140129530
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [0x140676f98]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov rbx, r8
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 4
movups xmmword [r8], xmm0
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x40], 0
jb 0x140129587
mov rdx, qword [rdx]
lea rax, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1401295da
mov dword [rsp + 0x30], eax
lea rax, [0x140677540]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140359070
add rsp, 0x60
pop rbx
ret
cmp dword [rsp + 0x40], 4
je 0x1401295eb
mov dword [rsp + 0x30], 0x65d
jmp 0x1401295b1
cmp dword [rsp + 0x44], 4
je 0x140129601
mov edx, 1
mov rcx, rbx
call fcn.14012cab0
jmp 0x1401295c5
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140359070
add rsp, 0x60
pop rbx
ret