joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180021280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
shr edx, 4
mov rsi, r9
inc dx
movzx r9d, r8w
mov rdi, rcx
movzx r8d, dx
mov edx, 6
and ebx, 0xf
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x1800212eb
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rax
test rax, rax
je 0x1800212eb
xor ebp, ebp
mov eax, ebp
movzx ecx, word [rdx]
add rdx, 2
cmp ebx, eax
je 0x180021302
inc eax
lea rdx, [rdx + rcx*2]
cmp eax, 0x10
jl 0x1800212d5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edi, dword [rsp + 0x50]
dec edi
cmp ecx, edi
cmovle edi, ecx
movsxd rcx, edi
lea rbx, [rcx + rcx]
mov rcx, rsi
mov r8, rbx
call fcn.180030f10
mov word [rbx + rsi], bp
mov eax, edi
jmp 0x1800212ed

Function at 0x180023930
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
mov rdi, rcx
test rdx, rdx
je 0x18002395e
or r9d, 0x20019
mov r8d, r9d
call fcn.180023890
mov rbx, rax
jmp 0x180023961
mov rbx, rcx
test rbx, rbx
je 0x180023a07
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800239fa
cmp dword [rsp + 0x30], 4
jne 0x1800239fa
mov eax, dword [rsp + 0x58]
mov ecx, 4
mov rdx, rsi
cmp eax, ecx
cmova eax, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x58]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800239fa
cmp rbx, rdi
je 0x1800239e5
mov rcx, rbx
call fcn.180023910
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp rbx, rdi
je 0x180023a07
mov rcx, rbx
call fcn.180023910
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x180023a20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
mov rdi, rcx
test rdx, rdx
je 0x180023a4e
or r9d, 0x20019
mov r8d, r9d
call fcn.180023890
mov rbx, rax
jmp 0x180023a51
mov rbx, rcx
test rbx, rbx
je 0x180023aef
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180023ae2
cmp dword [rsp + 0x30], 3
jne 0x180023ae2
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x78], eax
jb 0x180023ae2
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180023ae2
cmp rbx, rdi
je 0x180023acd
mov rcx, rbx
call fcn.180023910
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp rbx, rdi
je 0x180023aef
mov rcx, rbx
call fcn.180023910
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x180023b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x40
mov rbp, r8
mov rsi, rcx
test rdx, rdx
je 0x180023b3e
or r9d, 0x20019
mov r8d, r9d
call fcn.180023890
mov rbx, rax
jmp 0x180023b41
mov rbx, rcx
mov qword [rsp + 0x50], rdi
test rbx, rbx
je 0x180023bf3
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180023be6
cmp dword [rsp + 0x30], 3
jne 0x180023be6
mov ecx, dword [rsp + 0x58]
call fcn.18002f858
mov rdi, rax
test rax, rax
je 0x180023be6
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180023bde
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rdi
mov eax, dword [rsp + 0x58]
mov dword [rcx], eax
cmp rbx, rsi
je 0x180023bd7
mov rcx, rbx
call fcn.180023910
mov eax, 1
jmp 0x180023bf5
mov rcx, rdi
call fcn.18002f7e0
cmp rbx, rsi
je 0x180023bf3
mov rcx, rbx
call fcn.180023910
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret
Function at 0x180023c10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rbp, r8
mov rdi, rcx
test rdx, rdx
je 0x180023c3e
or r9d, 0x20019
mov r8d, r9d
call fcn.180023890
mov rbx, rax
jmp 0x180023c41
mov rbx, rcx
mov qword [rsp + 0x50], rsi
test rbx, rbx
je 0x180023d30
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180023d23
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x180023c9a
cmp eax, 2
je 0x180023c9a
cmp eax, 6
je 0x180023c9a
cmp eax, 7
jne 0x180023d23
mov ecx, dword [rsp + 0x58]
add ecx, 2
call fcn.18002f858
mov r8d, dword [rsp + 0x58]
xor edx, edx
add r8d, 2
mov rcx, rax
mov rsi, rax
call fcn.180031610
lea r11, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], r11
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180023d0a
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
call fcn.1800206d0
cmp rbx, rdi
je 0x180023cfb
mov rcx, rbx
call fcn.180023910
mov rcx, rsi
call fcn.18002f7e0
mov eax, 1
jmp 0x180023d32
mov rcx, rsi
call fcn.18002f7e0
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1800916e0]
call fcn.1800206d0
cmp rbx, rdi
je 0x180023d30
mov rcx, rbx
call fcn.180023910
xor eax, eax
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x180023ff0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, rcx
test rdx, rdx
je 0x18002401e
or r9d, 0x20006
mov r8d, r9d
call fcn.1800238c0
mov rbx, rax
jmp 0x180024021
mov rbx, rcx
test rbx, rbx
je 0x180024080
lea rax, [rsp + 0x60]
mov r9d, 4
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x180024073
cmp rbx, rdi
je 0x18002405e
mov rcx, rbx
call fcn.180023910
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rbx, rdi
je 0x180024080
mov rcx, rbx
call fcn.180023910
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1800240a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x30
mov rbp, r8
mov rsi, rcx
test rdx, rdx
je 0x1800240ce
or r9d, 0x20006
mov r8d, r9d
call fcn.1800238c0
mov rbx, rax
jmp 0x1800240d1
mov rbx, rcx
test rbx, rbx
je 0x180024148
mov rdx, qword [rsp + 0x60]
or rcx, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0x40], rdi
mov rdi, rdx
mov r9d, 1
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
lea eax, [rcx + rcx]
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x40]
test eax, eax
jne 0x18002413b
cmp rbx, rsi
je 0x180024126
mov rcx, rbx
call fcn.180023910
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp rbx, rsi
je 0x180024148
mov rcx, rbx
call fcn.180023910
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x180024160
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbp
push rsi
sub rsp, 0x68
xor eax, eax
mov esi, edx
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rax
lea rax, [r11 + 0x18]
xor r8d, r8d
xor edx, edx
mov qword [r11 - 0x50], rax
lea rax, [r11 + 0x20]
mov rbp, rcx
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1800242ec
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x60], rdi
cmp dword [rsp + 0x98], eax
je 0x1800242c2
mov eax, dword [rsp + 0x90]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x90], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18002f858
mov rbx, rax
test rax, rax
je 0x1800242e8
nop word [rax + rax]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
inc r8d
add r8, r8
call fcn.180031610
mov r9d, dword [rsp + 0x90]
mov r8, rbx
xor edx, edx
mov rcx, rbp
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1800242e0
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
or r8d, 0x2001f
call fcn.180023890
mov rdi, rax
test rax, rax
je 0x1800242e0
mov edx, esi
mov rcx, rax
call fcn.180024160
mov rcx, rdi
test eax, eax
je 0x1800242db
call fcn.180023910
mov r11, qword [0x1800d1618]
test r11, r11
je 0x18002429d
test esi, esi
je 0x18002429d
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call r11
jmp 0x1800242a9
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1800242e0
dec dword [rsp + 0x98]
jne 0x180024210
mov rcx, rbx
call fcn.18002f7e0
mov eax, 1
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop rsi
pop rbp
ret
call fcn.180023910
mov rcx, rbx
call fcn.18002f7e0
xor eax, eax
jmp 0x1800242c7
xor eax, eax
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x180024300
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov esi, r9d
mov rbp, r8
mov r12, rdx
mov rdi, rcx
test rdx, rdx
je 0x18002433f
mov r8d, r9d
or r8d, 0x2001f
call fcn.180023890
mov rbx, rax
jmp 0x180024342
mov rbx, rcx
test rbx, rbx
je 0x1800243d9
mov rcx, rbx
test rbp, rbp
je 0x180024374
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1800243cc
cmp rbx, rdi
je 0x18002436d
mov rcx, rbx
call fcn.180023910
mov eax, 1
jmp 0x1800243db
mov edx, esi
call fcn.180024160
test eax, eax
je 0x1800243cc
cmp rbx, rdi
je 0x18002438c
mov rcx, rbx
call fcn.180023910
mov rax, qword [0x1800d1618]
test rax, rax
je 0x1800243b5
test esi, esi
je 0x1800243b5
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rdi
call rax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x1800243db
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x1800243db
cmp rbx, rdi
je 0x1800243d9
mov rcx, rbx
call fcn.180023910
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov r9d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180024300

Function at 0x1800245c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov esi, r9d
mov rbp, r8
mov r12, rdx
mov rdi, rcx
test rdx, rdx
je 0x18002433f
mov r8d, r9d
or r8d, 0x2001f
call fcn.180023890
mov rbx, rax
jmp 0x180024342
mov rbx, rcx
test rbx, rbx
je 0x1800243d9
mov rcx, rbx
test rbp, rbp
je 0x180024374
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1800243cc
cmp rbx, rdi
je 0x18002436d
mov rcx, rbx
call fcn.180023910
mov eax, 1
jmp 0x1800243db
mov edx, esi
call fcn.180024160
test eax, eax
je 0x1800243cc
cmp rbx, rdi
je 0x18002438c
mov rcx, rbx
call fcn.180023910
mov rax, qword [0x1800d1618]
test rax, rax
je 0x1800243b5
test esi, esi
je 0x1800243b5
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, rdi
call rax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x1800243db
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x1800243db
cmp rbx, rdi
je 0x1800243d9
mov rcx, rbx
call fcn.180023910
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov r9d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180024300

Function at 0x1800245d0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov r8, rdx
xor edx, edx
jmp fcn.1800245c0
Function at 0x180024630
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov edi, r9d
mov r12, r8
mov rbp, rcx
test rdx, rdx
je 0x180024663
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.180023890
mov rsi, rax
jmp 0x180024666
mov rsi, qword [rcx]
test rsi, rsi
je 0x180024702
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rbx
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor ebx, ebx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800246df
test edi, edi
je 0x1800246da
dec edi
je 0x1800246c2
sub edi, 2
je 0x1800246b8
dec edi
jne 0x1800246df
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800246df
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800246df
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800246da
cmp eax, 2
je 0x1800246da
cmp eax, 6
je 0x1800246da
cmp eax, 7
jne 0x1800246df
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800246ed
mov rcx, rsi
call fcn.180023910
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
xor eax, eax
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
mov r9d, r8d
mov r8, rdx
xor edx, edx
jmp 0x180024630

Function at 0x180024770
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x40
mov rbp, qword [rsp + 0x90]
mov r14, r8
mov rbx, rdx
mov r13, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, rbp
mov edi, r9d
call fcn.180021e90
test rbx, rbx
je 0x1800247c0
or edi, 0x20019
mov rdx, rbx
mov rcx, r13
mov r8d, edi
call fcn.180023890
mov rsi, rax
jmp 0x1800247c3
mov rsi, r13
mov qword [rsp + 0x70], r12
test rsi, rsi
je 0x1800248ca
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800248bd
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x18002481c
cmp eax, 2
je 0x18002481c
cmp eax, 6
je 0x18002481c
cmp eax, 7
jne 0x1800248bd
mov ecx, dword [rsp + 0x78]
add ecx, 2
call fcn.18002f858
mov r8d, dword [rsp + 0x78]
xor edx, edx
add r8d, 2
mov rcx, rax
mov r12, rax
call fcn.180031610
lea rdx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rdx
xor r8d, r8d
mov rcx, rsi
mov rdx, r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1800248b5
mov rbx, r12
cmp word [r12], ax
je 0x180024899
nop dword [rax]
mov edx, dword [rbp + 8]
mov r8, rbx
mov rcx, rbp
call fcn.180022050
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
cmp word [rbx + rcx*2], ax
lea rbx, [rbx + rcx*2]
jne 0x180024870
cmp rsi, r13
je 0x1800248a6
mov rcx, rsi
call fcn.180023910
mov rcx, r12
call fcn.18002f7e0
mov eax, 1
jmp 0x1800248cc
mov rcx, r12
call fcn.18002f7e0
cmp rsi, r13
je 0x1800248ca
mov rcx, rsi
call fcn.180023910
xor eax, eax
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800248f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x180024918
or r9d, 0x20006
mov r8d, r9d
call fcn.1800238c0
mov rbx, rax
jmp 0x18002491b
mov rbx, rcx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r15
test rbx, rbx
je 0x180024a7b
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 2
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x18002498c
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.180024750
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax*2 + 2]
call fcn.180020550
inc edi
cmp edi, dword [rsi + 8]
jl 0x180024960
mov ecx, r15d
mov edi, r15d
call fcn.18002f858
mov rbp, rax
test rax, rax
je 0x180024a7b
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.180031610
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x180024a1d
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.180024750
mov rdx, r13
mov rcx, qword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
add rdx, 2
add rcx, 2
mov word [rdx - 2], ax
test ax, ax
jne 0x1800249e0
lea rcx, [rsp + 0x78]
call fcn.180020550
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
inc r12d
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
lea r13, [r13 + rcx*2]
cmp r12d, dword [rsi + 8]
jl 0x1800249c0
mov rdx, qword [rsp + 0x80]
mov r9d, 7
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r13, qword [rsp + 0x38]
test eax, eax
jne 0x180024a66
cmp rbx, r14
je 0x180024a57
mov rcx, rbx
call fcn.180023910
mov rcx, rbp
call fcn.18002f7e0
mov eax, 1
jmp 0x180024a7d
mov rcx, rbp
call fcn.18002f7e0
cmp rbx, r14
je 0x180024a7b
mov rcx, rbx
call fcn.180023910
xor eax, eax
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x70]
add rsp, 0x58
pop r14
pop rbx
ret
Function at 0x180024aa0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180024ac9
or r8d, 0x20019
call fcn.180023890
mov rdi, rax
jmp 0x180024acc
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.180021e90
test rdi, rdi
je 0x180024c04
xor ebx, ebx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x180024bf7
cmp dword [rsp + 0x60], ebx
jbe 0x180024bf7
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.18002f858
mov rbp, rax
test rax, rax
je 0x180024bf7
cmp dword [rsp + 0x60], ebx
jbe 0x180024bdb
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.180031610
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x180024bd3
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.180022050
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180024b90
mov rcx, rbp
call fcn.18002f7e0
cmp rdi, r12
je 0x180024bf0
mov rcx, rdi
call fcn.180023910
mov eax, 1
jmp 0x180024c06
cmp rdi, r12
je 0x180024c04
mov rcx, rdi
call fcn.180023910
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180024aa0
mov r8, rdx
xor edx, edx
jmp 0x180024e50
Function at 0x180024e60
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x180024ac9
or r8d, 0x20019
call fcn.180023890
mov rdi, rax
jmp 0x180024acc
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.180021e90
test rdi, rdi
je 0x180024c04
xor ebx, ebx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x98], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x180024bf7
cmp dword [rsp + 0x60], ebx
jbe 0x180024bf7
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
cmp eax, ecx
cmovb eax, ecx
mov dword [rsp + 0x98], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.18002f858
mov rbp, rax
test rax, rax
je 0x180024bf7
cmp dword [rsp + 0x60], ebx
jbe 0x180024bdb
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.180031610
mov r9d, dword [rsp + 0x98]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
inc r9d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x180024bd3
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.180022050
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x180024b90
mov rcx, rbp
call fcn.18002f7e0
cmp rdi, r12
je 0x180024bf0
mov rcx, rdi
call fcn.180023910
mov eax, 1
jmp 0x180024c06
cmp rdi, r12
je 0x180024c04
mov rcx, rdi
call fcn.180023910
xor eax, eax
mov rbx, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa0]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x180024aa0
mov r8, rdx
xor edx, edx
jmp 0x180024e50