joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f0d60
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.1800efeb0
xor esi, esi
add r13, 8
mov rcx, r13
mov r14d, esi
mov edi, esi
call fcn.1800f0840
mov ebx, eax
test eax, eax
jle 0x1800f0dcb
nop
mov edx, edi
mov rcx, r13
call fcn.1800f0880
cmp dword [rax], r12d
je 0x1800f0e26
cmp dword [rax + 4], 1
jne 0x1800f0e1e
inc edi
cmp edi, ebx
jl 0x1800f0db0
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 0x1800f0e34
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 0x1800f0e41
mov r14d, 1
jmp 0x1800f0dcb
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
jmp 0x1800f0e78
mov dword [rsp + 0x24], 1
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.1800f0d40
mov r11, qword [rbp]
mov rcx, rbp
call qword [r11 + reloc.WS2_32.dll_recv]
test rsi, rsi
je 0x1800f0e73
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 0x1800f1120
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 0x1800f114e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f1080
mov rbx, rax
jmp 0x1800f1151
mov rbx, rcx
test rbx, rbx
je 0x1800f11f7
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 0x1800f11ea
cmp dword [rsp + 0x30], 4
jne 0x1800f11ea
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 0x1800f11ea
cmp rbx, rdi
je 0x1800f11d5
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp rbx, rdi
je 0x1800f11f7
mov rcx, rbx
call fcn.1800f1100
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1800f1210
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 0x1800f123e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f1080
mov rbx, rax
jmp 0x1800f1241
mov rbx, rcx
test rbx, rbx
je 0x1800f12df
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 0x1800f12d2
cmp dword [rsp + 0x30], 3
jne 0x1800f12d2
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x78], eax
jb 0x1800f12d2
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 0x1800f12d2
cmp rbx, rdi
je 0x1800f12bd
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
cmp rbx, rdi
je 0x1800f12df
mov rcx, rbx
call fcn.1800f1100
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x1800f1300
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 0x1800f132e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f1080
mov rbx, rax
jmp 0x1800f1331
mov rbx, rcx
mov qword [rsp + 0x50], rdi
test rbx, rbx
je 0x1800f13e3
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 0x1800f13d6
cmp dword [rsp + 0x30], 3
jne 0x1800f13d6
mov ecx, dword [rsp + 0x58]
call fcn.1800f87f4
mov rdi, rax
test rax, rax
je 0x1800f13d6
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 0x1800f13ce
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 0x1800f13c7
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
jmp 0x1800f13e5
mov rcx, rdi
call fcn.1800f8898
cmp rbx, rsi
je 0x1800f13e3
mov rcx, rbx
call fcn.1800f1100
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 0x1800f1400
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 0x1800f142e
or r9d, 0x20019
mov r8d, r9d
call fcn.1800f1080
mov rbx, rax
jmp 0x1800f1431
mov rbx, rcx
mov qword [rsp + 0x50], rsi
test rbx, rbx
je 0x1800f1520
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 0x1800f1513
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x1800f148a
cmp eax, 2
je 0x1800f148a
cmp eax, 6
je 0x1800f148a
cmp eax, 7
jne 0x1800f1513
mov ecx, dword [rsp + 0x58]
add ecx, 2
call fcn.1800f87f4
mov r8d, dword [rsp + 0x58]
xor edx, edx
add r8d, 2
mov rcx, rax
mov rsi, rax
call fcn.1800f8660
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 0x1800f14fa
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
call fcn.1800e5890
cmp rbx, rdi
je 0x1800f14eb
mov rcx, rbx
call fcn.1800f1100
mov rcx, rsi
call fcn.1800f8898
mov eax, 1
jmp 0x1800f1522
mov rcx, rsi
call fcn.1800f8898
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1801a6e60]
call fcn.1800e5890
cmp rbx, rdi
je 0x1800f1520
mov rcx, rbx
call fcn.1800f1100
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 0x1800f17e0
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 0x1800f180e
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f10b0
mov rbx, rax
jmp 0x1800f1811
mov rbx, rcx
test rbx, rbx
je 0x1800f1870
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 0x1800f1863
cmp rbx, rdi
je 0x1800f184e
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rbx, rdi
je 0x1800f1870
mov rcx, rbx
call fcn.1800f1100
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1800f1890
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 0x1800f18be
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f10b0
mov rbx, rax
jmp 0x1800f18c1
mov rbx, rcx
test rbx, rbx
je 0x1800f1920
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 0x1800f1913
cmp rbx, rdi
je 0x1800f18fe
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp rbx, rdi
je 0x1800f1920
mov rcx, rbx
call fcn.1800f1100
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x1800f1940
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 0x1800f196e
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f10b0
mov rbx, rax
jmp 0x1800f1971
mov rbx, rcx
test rbx, rbx
je 0x1800f19e8
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 0x1800f19db
cmp rbx, rsi
je 0x1800f19c6
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp rbx, rsi
je 0x1800f19e8
mov rcx, rbx
call fcn.1800f1100
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x1800f1a00
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 0x1800f1b8c
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x60], rdi
cmp dword [rsp + 0x98], eax
je 0x1800f1b62
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.1800f87f4
mov rbx, rax
test rax, rax
je 0x1800f1b88
nop word [rax + rax]
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov rcx, rbx
inc r8d
add r8, r8
call fcn.1800f8660
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 0x1800f1b80
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
or r8d, 0x2001f
call fcn.1800f1080
mov rdi, rax
test rax, rax
je 0x1800f1b80
mov edx, esi
mov rcx, rax
call fcn.1800f1a00
mov rcx, rdi
test eax, eax
je 0x1800f1b7b
call fcn.1800f1100
mov r11, qword [0x18023ac18]
test r11, r11
je 0x1800f1b3d
test esi, esi
je 0x1800f1b3d
xor r9d, r9d
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call r11
jmp 0x1800f1b49
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1800f1b80
dec dword [rsp + 0x98]
jne 0x1800f1ab0
mov rcx, rbx
call fcn.1800f8898
mov eax, 1
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop rsi
pop rbp
ret
call fcn.1800f1100
mov rcx, rbx
call fcn.1800f8898
xor eax, eax
jmp 0x1800f1b67
xor eax, eax
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x1800f1ba0
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 0x1800f1bdf
mov r8d, r9d
or r8d, 0x2001f
call fcn.1800f1080
mov rbx, rax
jmp 0x1800f1be2
mov rbx, rcx
test rbx, rbx
je 0x1800f1c79
mov rcx, rbx
test rbp, rbp
je 0x1800f1c14
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1800f1c6c
cmp rbx, rdi
je 0x1800f1c0d
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
jmp 0x1800f1c7b
mov edx, esi
call fcn.1800f1a00
test eax, eax
je 0x1800f1c6c
cmp rbx, rdi
je 0x1800f1c2c
mov rcx, rbx
call fcn.1800f1100
mov rax, qword [0x18023ac18]
test rax, rax
je 0x1800f1c55
test esi, esi
je 0x1800f1c55
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 0x1800f1c7b
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 0x1800f1c7b
cmp rbx, rdi
je 0x1800f1c79
mov rcx, rbx
call fcn.1800f1100
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 0x1800f1ba0

Function at 0x1800f1f80
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 0x1800f1bdf
mov r8d, r9d
or r8d, 0x2001f
call fcn.1800f1080
mov rbx, rax
jmp 0x1800f1be2
mov rbx, rcx
test rbx, rbx
je 0x1800f1c79
mov rcx, rbx
test rbp, rbp
je 0x1800f1c14
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1800f1c6c
cmp rbx, rdi
je 0x1800f1c0d
mov rcx, rbx
call fcn.1800f1100
mov eax, 1
jmp 0x1800f1c7b
mov edx, esi
call fcn.1800f1a00
test eax, eax
je 0x1800f1c6c
cmp rbx, rdi
je 0x1800f1c2c
mov rcx, rbx
call fcn.1800f1100
mov rax, qword [0x18023ac18]
test rax, rax
je 0x1800f1c55
test esi, esi
je 0x1800f1c55
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 0x1800f1c7b
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 0x1800f1c7b
cmp rbx, rdi
je 0x1800f1c79
mov rcx, rbx
call fcn.1800f1100
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 0x1800f1ba0

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

Disassembly:
mov r8, rdx
xor edx, edx
jmp fcn.1800f1f80
Function at 0x1800f2020
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 0x1800f2053
mov r8d, dword [rcx + 8]
mov rcx, qword [rcx]
or r8d, 0x20019
call fcn.1800f1080
mov rsi, rax
jmp 0x1800f2056
mov rsi, qword [rcx]
test rsi, rsi
je 0x1800f20f2
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 0x1800f20cf
test edi, edi
je 0x1800f20ca
dec edi
je 0x1800f20b2
sub edi, 2
je 0x1800f20a8
dec edi
jne 0x1800f20cf
cmp dword [rsp + 0x68], 4
sete bl
jmp 0x1800f20cf
cmp dword [rsp + 0x68], 3
sete bl
jmp 0x1800f20cf
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x1800f20ca
cmp eax, 2
je 0x1800f20ca
cmp eax, 6
je 0x1800f20ca
cmp eax, 7
jne 0x1800f20cf
mov ebx, 1
cmp rsi, qword [rbp]
je 0x1800f20dd
mov rcx, rsi
call fcn.1800f1100
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 0x1800f2020

Function at 0x1800f21d0
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.1800e9ab0
test rbx, rbx
je 0x1800f2220
or edi, 0x20019
mov rdx, rbx
mov rcx, r13
mov r8d, edi
call fcn.1800f1080
mov rsi, rax
jmp 0x1800f2223
mov rsi, r13
mov qword [rsp + 0x70], r12
test rsi, rsi
je 0x1800f232a
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 0x1800f231d
mov eax, dword [rsp + 0x30]
cmp eax, 1
je 0x1800f227c
cmp eax, 2
je 0x1800f227c
cmp eax, 6
je 0x1800f227c
cmp eax, 7
jne 0x1800f231d
mov ecx, dword [rsp + 0x78]
add ecx, 2
call fcn.1800f87f4
mov r8d, dword [rsp + 0x78]
xor edx, edx
add r8d, 2
mov rcx, rax
mov r12, rax
call fcn.1800f8660
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 0x1800f2315
mov rbx, r12
cmp word [r12], ax
je 0x1800f22f9
nop dword [rax]
mov edx, dword [rbp + 8]
mov r8, rbx
mov rcx, rbp
call fcn.1800e9cb0
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 0x1800f22d0
cmp rsi, r13
je 0x1800f2306
mov rcx, rsi
call fcn.1800f1100
mov rcx, r12
call fcn.1800f8898
mov eax, 1
jmp 0x1800f232c
mov rcx, r12
call fcn.1800f8898
cmp rsi, r13
je 0x1800f232a
mov rcx, rsi
call fcn.1800f1100
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 0x1800f2820
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push r14
sub rsp, 0x58
mov r14, rcx
test rdx, rdx
je 0x1800f2848
or r9d, 0x20006
mov r8d, r9d
call fcn.1800f10b0
mov rbx, rax
jmp 0x1800f284b
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 0x1800f29ab
mov rsi, qword [rsp + 0x90]
xor r12d, r12d
mov r15d, 2
mov edi, r12d
cmp dword [rsi + 8], r12d
jle 0x1800f28bc
nop word [rax + rax]
lea rdx, [rsp + 0x78]
mov r8d, edi
mov rcx, rsi
call fcn.1800f21b0
mov rcx, qword [rax]
mov eax, dword [rcx - 8]
lea rcx, [rsp + 0x78]
lea r15d, [r15 + rax*2 + 2]
call fcn.1800e56d0
inc edi
cmp edi, dword [rsi + 8]
jl 0x1800f2890
mov ecx, r15d
mov edi, r15d
call fcn.1800f87f4
mov rbp, rax
test rax, rax
je 0x1800f29ab
mov r8d, edi
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x38], r13
call fcn.1800f8660
mov r13, rbp
cmp dword [rsi + 8], r12d
jle 0x1800f294d
nop
lea rdx, [rsp + 0x78]
mov r8d, r12d
mov rcx, rsi
call fcn.1800f21b0
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 0x1800f2910
lea rcx, [rsp + 0x78]
call fcn.1800e56d0
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 0x1800f28f0
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 0x1800f2996
cmp rbx, r14
je 0x1800f2987
mov rcx, rbx
call fcn.1800f1100
mov rcx, rbp
call fcn.1800f8898
mov eax, 1
jmp 0x1800f29ad
mov rcx, rbp
call fcn.1800f8898
cmp rbx, r14
je 0x1800f29ab
mov rcx, rbx
call fcn.1800f1100
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 0x1800f2d90
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 0x1800f2db9
or r8d, 0x20019
call fcn.1800f1080
mov rdi, rax
jmp 0x1800f2dbc
mov rdi, rcx
or rbp, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
mov r8d, ebp
mov qword [rsp + 0x90], rbx
call fcn.1800e9ab0
test rdi, rdi
je 0x1800f2ef4
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 0x1800f2ee7
cmp dword [rsp + 0x60], ebx
jbe 0x1800f2ee7
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.1800f87f4
mov rbp, rax
test rax, rax
je 0x1800f2ee7
cmp dword [rsp + 0x60], ebx
jbe 0x1800f2ecb
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8660
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 0x1800f2ec3
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800e9cb0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f2e80
mov rcx, rbp
call fcn.1800f8898
cmp rdi, r12
je 0x1800f2ee0
mov rcx, rdi
call fcn.1800f1100
mov eax, 1
jmp 0x1800f2ef6
cmp rdi, r12
je 0x1800f2ef4
mov rcx, rdi
call fcn.1800f1100
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 0x1800f2d90
mov r8, rdx
xor edx, edx
jmp 0x1800f3710
Function at 0x1800f2f10
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 0x1800f2f39
or r8d, 0x20019
call fcn.1800f1080
mov rdi, rax
jmp 0x1800f2f3c
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.1800e9ab0
test rdi, rdi
je 0x1800f30b2
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 0x1800f30a5
cmp dword [rsp + 0x60], r13d
jbe 0x1800f30a5
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.1800f87f4
mov rbp, rax
test rax, rax
je 0x1800f30a5
mov ebx, r13d
cmp dword [rsp + 0x60], ebx
jbe 0x1800f3089
nop word [rax + rax]
mov r8d, dword [rsp + 0x98]
xor edx, edx
mov rcx, rbp
inc r8d
add r8, r8
call fcn.1800f8660
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 0x1800f3081
mov edx, dword [rsi + 8]
mov r8, rbp
mov rcx, rsi
call fcn.1800e9cb0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1800f3020
mov rcx, rbp
call fcn.1800f8898
cmp rdi, r12
je 0x1800f309e
mov rcx, rdi
call fcn.1800f1100
mov eax, 1
jmp 0x1800f30b4
cmp rdi, r12
je 0x1800f30b2
mov rcx, rdi
call fcn.1800f1100
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 0x1800f2f10
mov r8, rdx
xor edx, edx
jmp 0x1800f3730