joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f1290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea rbp, [rcx + 0x20]
mov r13, rcx
mov r15d, r9d
mov rcx, rbp
mov r12d, edx
call fcn.1800f03e0
xor esi, esi
add r13, 8
mov rcx, r13
mov r14d, esi
mov edi, esi
call fcn.1800f0d70
mov ebx, eax
test eax, eax
jle 0x1800f12fb
nop
mov edx, edi
mov rcx, r13
call fcn.1800f0db0
cmp dword [rax], r12d
je 0x1800f1356
cmp dword [rax + 4], 1
jne 0x1800f134e
inc edi
cmp edi, ebx
jl 0x1800f12e0
xor eax, eax
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x24], rax
mov rax, qword [rsp + 0x80]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x38], rax
test r14d, r14d
je 0x1800f1364
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x24], 2
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
mov qword [rsp + 0x28], rax
jmp 0x1800f1371
mov r14d, 1
jmp 0x1800f12fb
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
jmp 0x1800f13a8
mov dword [rsp + 0x24], 1
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.1800f1270
mov r11, qword [rbp]
mov rcx, rbp
call qword [r11 + reloc.WS2_32.dll_recv]
test rsi, rsi
je 0x1800f13a3
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1800f1650
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 0x1800f167e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f15b0
mov rbx, rax
jmp 0x1800f1681
mov rbx, rcx
test rbx, rbx
je 0x1800f1727
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 0x1800f171a
cmp dword [rsp + 0x30], 4
jne 0x1800f171a
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 0x1800f171a
cmp rbx, rdi
je 0x1800f1705
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp rbx, rdi
je 0x1800f1727
mov rcx, rbx
call fcn.1800f1630
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1800f1740
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 0x1800f176e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f15b0
mov rbx, rax
jmp 0x1800f1771
mov rbx, rcx
test rbx, rbx
je 0x1800f180f
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 0x1800f1802
cmp dword [rsp + 0x30], 3
jne 0x1800f1802
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x78], eax
jb 0x1800f1802
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 0x1800f1802
cmp rbx, rdi
je 0x1800f17ed
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp rbx, rdi
je 0x1800f180f
mov rcx, rbx
call fcn.1800f1630
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x1800f1830
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 0x1800f185e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f15b0
mov rbx, rax
jmp 0x1800f1861
mov rbx, rcx
mov qword [rsp + 0x50], rdi
test rbx, rbx
je 0x1800f1913
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 0x1800f1906
cmp dword [rsp + 0x30], 3
jne 0x1800f1906
mov ecx, dword [rsp + 0x58]
call fcn.1800f8d24
mov rdi, rax
test rax, rax
je 0x1800f1906
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 0x1800f18fe
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 0x1800f18f7
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
jmp 0x1800f1915
mov rcx, rdi
call fcn.1800f8dc8
cmp rbx, rsi
je 0x1800f1913
mov rcx, rbx
call fcn.1800f1630
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 0x1800f1930
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 0x1800f195e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f15b0
mov rbx, rax
jmp 0x1800f1961
mov rbx, rcx
mov qword [rsp + 0x50], rsi
test rbx, rbx
je 0x1800f1a50
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 0x1800f1a43
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x1800f19ba
cmp eax, 2
je 0x1800f19ba
cmp eax, 6
je 0x1800f19ba
cmp eax, 7
jne 0x1800f1a43
mov ecx, dword [rsp + 0x58]
add ecx, 2
call fcn.1800f8d24
mov r8d, dword [rsp + 0x58]
xor edx, edx
add r8d, 2
mov rcx, rax
mov rsi, rax
call fcn.1800f8b90
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 0x1800f1a2a
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
call fcn.1800e5dc0
cmp rbx, rdi
je 0x1800f1a1b
mov rcx, rbx
call fcn.1800f1630
mov rcx, rsi
call fcn.1800f8dc8
mov eax, 1
jmp 0x1800f1a52
mov rcx, rsi
call fcn.1800f8dc8
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1801a6e60]
call fcn.1800e5dc0
cmp rbx, rdi
je 0x1800f1a50
mov rcx, rbx
call fcn.1800f1630
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 0x1800f1d10
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 0x1800f1d3e
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f15e0
mov rbx, rax
jmp 0x1800f1d41
mov rbx, rcx
test rbx, rbx
je 0x1800f1da0
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 0x1800f1d93
cmp rbx, rdi
je 0x1800f1d7e
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rbx, rdi
je 0x1800f1da0
mov rcx, rbx
call fcn.1800f1630
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1800f1dc0
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 0x1800f1dee
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f15e0
mov rbx, rax
jmp 0x1800f1df1
mov rbx, rcx
test rbx, rbx
je 0x1800f1e50
mov eax, dword [rsp + 0x68]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1800f1e43
cmp rbx, rdi
je 0x1800f1e2e
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rbx, rdi
je 0x1800f1e50
mov rcx, rbx
call fcn.1800f1630
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1800f1e70
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 0x1800f1e9e
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f15e0
mov rbx, rax
jmp 0x1800f1ea1
mov rbx, rcx
test rbx, rbx
je 0x1800f1f18
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 0x1800f1f0b
cmp rbx, rsi
je 0x1800f1ef6
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp rbx, rsi
je 0x1800f1f18
mov rcx, rbx
call fcn.1800f1630
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x1800f1f30
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 0x1800f20bc
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x60], rdi
cmp dword [rsp + 0x98], eax
je 0x1800f2092
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.1800f8d24
mov rbx, rax
test rax, rax
je 0x1800f20b8
nop word [rax + rax]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
inc r8d
add r8, r8
call fcn.1800f8b90
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 0x1800f20b0
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
or r8d, 0x2001f
call fcn.1800f15b0
mov rdi, rax
test rax, rax
je 0x1800f20b0
mov edx, esi
mov rcx, rax
call fcn.1800f1f30
mov rcx, rdi
test eax, eax
je 0x1800f20ab
call fcn.1800f1630
mov r11, qword [0x18023ac18]
test r11, r11
je 0x1800f206d
test esi, esi
je 0x1800f206d
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call r11
jmp 0x1800f2079
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1800f20b0
dec dword [rsp + 0x98]
jne 0x1800f1fe0
mov rcx, rbx
call fcn.1800f8dc8
mov eax, 1
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop rsi
pop rbp
ret
call fcn.1800f1630
mov rcx, rbx
call fcn.1800f8dc8
xor eax, eax
jmp 0x1800f2097
xor eax, eax
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x1800f20d0
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 0x1800f210f
mov r8d, r9d
or r8d, 0x2001f
call fcn.1800f15b0
mov rbx, rax
jmp 0x1800f2112
mov rbx, rcx
test rbx, rbx
je 0x1800f21a9
mov rcx, rbx
test rbp, rbp
je 0x1800f2144
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1800f219c
cmp rbx, rdi
je 0x1800f213d
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
jmp 0x1800f21ab
mov edx, esi
call fcn.1800f1f30
test eax, eax
je 0x1800f219c
cmp rbx, rdi
je 0x1800f215c
mov rcx, rbx
call fcn.1800f1630
mov rax, qword [0x18023ac18]
test rax, rax
je 0x1800f2185
test esi, esi
je 0x1800f2185
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 0x1800f21ab
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 0x1800f21ab
cmp rbx, rdi
je 0x1800f21a9
mov rcx, rbx
call fcn.1800f1630
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 0x1800f20d0

Function at 0x1800f24b0
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 0x1800f210f
mov r8d, r9d
or r8d, 0x2001f
call fcn.1800f15b0
mov rbx, rax
jmp 0x1800f2112
mov rbx, rcx
test rbx, rbx
je 0x1800f21a9
mov rcx, rbx
test rbp, rbp
je 0x1800f2144
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1800f219c
cmp rbx, rdi
je 0x1800f213d
mov rcx, rbx
call fcn.1800f1630
mov eax, 1
jmp 0x1800f21ab
mov edx, esi
call fcn.1800f1f30
test eax, eax
je 0x1800f219c
cmp rbx, rdi
je 0x1800f215c
mov rcx, rbx
call fcn.1800f1630
mov rax, qword [0x18023ac18]
test rax, rax
je 0x1800f2185
test esi, esi
je 0x1800f2185
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 0x1800f21ab
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 0x1800f21ab
cmp rbx, rdi
je 0x1800f21a9
mov rcx, rbx
call fcn.1800f1630
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 0x1800f20d0

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

Disassembly:
mov r8, rdx
xor edx, edx
jmp fcn.1800f24b0
Function at 0x1800f2550
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 0x1800f2583
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.1800f15b0
mov rsi, rax
jmp 0x1800f2586
mov rsi, qword [rcx]
test rsi, rsi
je 0x1800f2622
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 0x1800f25ff
test edi, edi
je 0x1800f25fa
dec edi
je 0x1800f25e2
sub edi, 2
je 0x1800f25d8
dec edi
jne 0x1800f25ff
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800f25ff
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800f25ff
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800f25fa
cmp eax, 2
je 0x1800f25fa
cmp eax, 6
je 0x1800f25fa
cmp eax, 7
jne 0x1800f25ff
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800f260d
mov rcx, rsi
call fcn.1800f1630
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 0x1800f2550

Function at 0x1800f2700
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.1800e9fe0
test rbx, rbx
je 0x1800f2750
or edi, 0x20019
mov rdx, rbx
mov rcx, r13
mov r8d, edi
call fcn.1800f15b0
mov rsi, rax
jmp 0x1800f2753
mov rsi, r13
mov qword [rsp + 0x70], r12
test rsi, rsi
je 0x1800f285a
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 0x1800f284d
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x1800f27ac
cmp eax, 2
je 0x1800f27ac
cmp eax, 6
je 0x1800f27ac
cmp eax, 7
jne 0x1800f284d
mov ecx, dword [rsp + 0x78]
add ecx, 2
call fcn.1800f8d24
mov r8d, dword [rsp + 0x78]
xor edx, edx
add r8d, 2
mov rcx, rax
mov r12, rax
call fcn.1800f8b90
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 0x1800f2845
mov rbx, r12
cmp word [r12], ax
je 0x1800f2829
nop dword [rax]
mov edx, dword [rbp + 8]
mov r8, rbx
mov rcx, rbp
call fcn.1800ea1e0
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 0x1800f2800
cmp rsi, r13
je 0x1800f2836
mov rcx, rsi
call fcn.1800f1630
mov rcx, r12
call fcn.1800f8dc8
mov eax, 1
jmp 0x1800f285c
mov rcx, r12
call fcn.1800f8dc8
cmp rsi, r13
je 0x1800f285a
mov rcx, rsi
call fcn.1800f1630
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 0x1800f2d50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x1800f2d78
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f15e0
mov rbx, rax
jmp 0x1800f2d7b
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 0x1800f2edb
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 2
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x1800f2dec
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.1800f26e0
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax*2 + 2]
call fcn.1800e5c00
inc edi
cmp edi, dword [rsi + 8]
jl 0x1800f2dc0
mov ecx, r15d
mov edi, r15d
call fcn.1800f8d24
mov rbp, rax
test rax, rax
je 0x1800f2edb
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.1800f8b90
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x1800f2e7d
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.1800f26e0
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 0x1800f2e40
lea rcx, [rsp + 0x78]
call fcn.1800e5c00
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 0x1800f2e20
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 0x1800f2ec6
cmp rbx, r14
je 0x1800f2eb7
mov rcx, rbx
call fcn.1800f1630
mov rcx, rbp
call fcn.1800f8dc8
mov eax, 1
jmp 0x1800f2edd
mov rcx, rbp
call fcn.1800f8dc8
cmp rbx, r14
je 0x1800f2edb
mov rcx, rbx
call fcn.1800f1630
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 0x1800f32c0
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 0x1800f32e9
or r8d, 0x20019
call fcn.1800f15b0
mov rdi, rax
jmp 0x1800f32ec
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.1800e9fe0
test rdi, rdi
je 0x1800f3424
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 0x1800f3417
cmp dword [rsp + 0x60], ebx
jbe 0x1800f3417
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.1800f8d24
mov rbp, rax
test rax, rax
je 0x1800f3417
cmp dword [rsp + 0x60], ebx
jbe 0x1800f33fb
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8b90
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 0x1800f33f3
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ea1e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f33b0
mov rcx, rbp
call fcn.1800f8dc8
cmp rdi, r12
je 0x1800f3410
mov rcx, rdi
call fcn.1800f1630
mov eax, 1
jmp 0x1800f3426
cmp rdi, r12
je 0x1800f3424
mov rcx, rdi
call fcn.1800f1630
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 0x1800f32c0
mov r8, rdx
xor edx, edx
jmp 0x1800f3c40
Function at 0x1800f3440
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov r12, rcx
test rdx, rdx
je 0x1800f3469
or r8d, 0x20019
call fcn.1800f15b0
mov rdi, rax
jmp 0x1800f346c
mov rdi, rcx
or rbx, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r13
call fcn.1800e9fe0
test rdi, rdi
je 0x1800f35e2
xor r13d, r13d
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x98], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1800f35d5
cmp dword [rsp + 0x60], r13d
jbe 0x1800f35d5
mov eax, dword [rsp + 0x98]
mov ecx, 0x104
add eax, eax
cmp eax, ecx
cmova ecx, eax
mov eax, 2
mov dword [rsp + 0x98], ecx
inc ecx
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1800f8d24
mov rbp, rax
test rax, rax
je 0x1800f35d5
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x1800f35b9
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8b90
mov r11d, dword [rsp + 0x98]
mov qword [rsp + 0x38], r13
inc r11d
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x64]
mov r8, rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x64], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800f35b1
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800ea1e0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f3550
mov rcx, rbp
call fcn.1800f8dc8
cmp rdi, r12
je 0x1800f35ce
mov rcx, rdi
call fcn.1800f1630
mov eax, 1
jmp 0x1800f35e4
cmp rdi, r12
je 0x1800f35e2
mov rcx, rdi
call fcn.1800f1630
xor eax, eax
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r12
pop rdi
pop rsi
ret
mov r9, r8
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
jmp 0x1800f3440
mov r8, rdx
xor edx, edx
jmp 0x1800f3c60