joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a080
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001a210
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x14023d6f8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.14003a4a0
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x14001a0e5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x14001a100
add rsp, 0x48
pop rbp
ret
call fcn.140055960
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
nop dword [rax]
test rbx, rbx
jbe 0x14001a11f
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x14001a12f
cmp rbx, 0x1000
jae 0x14001a0eb
jmp 0x14001a19a
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x14001a142
xor edx, edx
nop
jmp 0x14001a191
mov rcx, qword [0x14023d6f8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.14003a4a0
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x14001a125
jmp 0x14001a114
call fcn.14006cb80
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.14003e540
lea rax, [0x1402f1b24]
mov ebx, 0x18
call fcn.14003ed80
mov rax, qword [rsp + 0x38]
call fcn.14003eae0
lea rax, [0x1402f2773]
mov ebx, 0x19
call fcn.14003ed80
mov rax, qword [rsp + 0x30]
call fcn.14003eae0
call fcn.14003e760
call fcn.14003e5a0
lea rax, [0x1402f70d2]
mov ebx, 0x21
call fcn.14003cd00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14001a080
Function at 0x14001a240
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001a46a
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x14023d6f0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.14003a540
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x14001a2b3
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x14001a2da
add rsp, 0x50
pop rbp
ret
mov rax, rcx
nop dword [rax]
call fcn.140055960
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rbx, rbx
jbe 0x14001a2fc
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x14001a30c
cmp rbx, 0x1000
jae 0x14001a2b9
jmp 0x14001a38e
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x14001a31e
xor esi, esi
jmp 0x14001a380
mov rax, qword [0x14023d6f0]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.14003a540
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x14001a302
jmp 0x14001a2ee
call fcn.14006cb80
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x14001a409
call fcn.14003e540
lea rax, [0x1402f278c]
mov ebx, 0x19
call fcn.14003ed80
mov rax, qword [rsp + 0x68]
call fcn.14003eae0
lea rax, [0x1402f2773]
mov ebx, 0x19
nop dword [rax]
call fcn.14003ed80
mov eax, dword [rsp + 0x34]
call fcn.14003eae0
call fcn.14003e760
call fcn.14003e5a0
lea rax, [0x1402ea400]
mov ebx, 0xd
call fcn.14003cd00
cmp eax, 0x5af
je 0x14001a3b1
call fcn.14003e540
lea rax, [0x1402f278c]
mov ebx, 0x19
call fcn.14003ed80
mov rax, qword [rsp + 0x38]
call fcn.14003eae0
lea rax, [0x1402f2773]
mov ebx, 0x19
nop dword [rax]
call fcn.14003ed80
mov eax, dword [rsp + 0x34]
call fcn.14003eae0
call fcn.14003e760
call fcn.14003e5a0
lea rax, [0x1402f61bc]
mov ebx, 0x1f
call fcn.14003cd00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14001a240
Function at 0x140026a80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140026b86
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x140026ac3
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x140026b7b
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.140027800
test rax, rax
je 0x140026b7b
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x140026bc0]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.1400694a0
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x140026b69
xor eax, eax
jmp 0x140026b73
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x140026ab1
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.140026a80

Function at 0x14005ffa0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14006004f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x1400600a0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.1400694a0
xorps xmm15, xmm15
mov r14, qword [0x14064fb38]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.14005ffa0
Function at 0x14006b420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14000b17e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
call fcn.14000b200
mov rbx, qword [rsp + 0x28]
xor rbx, rax
xor rbx, qword [0x14064fe00]
movabs rcx, 0xe7037ed1a0b428db
xor rax, rcx
movabs rcx, 0xa0761d6478bd642f
xor rbx, rcx
call fcn.14000b1a0
mov rbx, rax
movabs rax, 0x1d8e4e27c47d1247
call fcn.14000b1a0
add rsp, 0x10
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400695e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x14000b120
cmp byte [0x14064f88d], 0
je 0x14006b456
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140650140]
aesenc xmm0, xmmword [0x140650150]
aesenc xmm0, xmmword [0x140650160]
movq rax, xmm0
ret
jmp 0x14000b120

Function at 0x1401fca70
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1405e1b60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401fca90
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401fca98
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401fca90
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1401fcae5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401fcadc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401fca90
add rax, 0x28
cmp rax, r9
jne 0x1401fcac8
xor eax, eax
ret

Function at 0x1401fcaf0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405e1b60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401fcb10
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401fcb18
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401fcb10
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1401fcba0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405e1b60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401fcbc0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1401fcbc8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140003010
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x1400067f0]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x14000305b
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002fb0
cmp rsi, 0x100
jne 0x140003085
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x140003115
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002fb0
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x1400030c0
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x140003127
call fcn.140002860
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1800109b0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x30], 0x11eece0
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x20], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
movsxd rdx, dword [rsp + 0x20]
lea r8, [0x180087710]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087710]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
jmp 0x180010a4f
mov rax, qword [rsp + 0x58]
dec rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180010b89
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x24], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
movsxd rdx, dword [rsp + 0x24]
lea r8, [0x180087710]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087710]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x30]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
movsxd rdx, dword [rsp + 0x28]
lea r8, [0x180087710]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087710]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087710]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x30]
imul rax, rax, 0x1000193
mov qword [rsp + 0x30], rax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x30]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x180010a42
mov eax, dword [rsp + 0x30]
jmp 0x180010bbe
add rsp, 0x48
ret
Function at 0x180013cb0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x180013cbe
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x180013cf0
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call fcn.1800166a0
jmp 0x180013d73
movzx eax, byte [0x1800d36c0]
test eax, eax
jne 0x180013d35
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180013d2e
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d36b8], rax
mov byte [0x1800d36c0], 1
cmp qword [0x1800d36b8], 0
je 0x180013d60
xor r9d, r9d
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [0x1800d36b8]
jmp 0x180013d73
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x38
ret

Function at 0x180013d80
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x180013d8e
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret

Function at 0x1800163c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.180019170
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.180011410
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.1800159d0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180016454
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x50]
call fcn.1800118f0
mov eax, dword [rsp + 0x4c]
jmp 0x180016512
mov dword [rsp + 0x68], 0x100
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800164e1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1800163c0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1800164d4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x50]
call fcn.1800118f0
mov eax, dword [rsp + 0x44]
jmp 0x180016512
mov dword [rsp + 0x68], 0x100
jmp 0x18001645c
lea rcx, [rsp + 0x50]
call fcn.180013840
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.180013cb0
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x50]
call fcn.1800118f0
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18004d370
add rsp, 0x298
ret
Function at 0x1800166a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x18001672c
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800166df
mov eax, 1
jmp 0x18001674e
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18001672a
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x38]
jmp 0x18001674e
jmp 0x180016749
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x180016749
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x18001674e
mov eax, 1
add rsp, 0x48
ret
Function at 0x180017d10
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x180017d23
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x180017d60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x180017d73
cmp qword [rsp + 0x70], 0
je 0x180017d8b
mov dword [rsp + 0x38], 1
jmp 0x180017d93
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x180017da9
mov eax, SafeArrayGetDim
jmp 0x180017e28
xor eax, eax
test eax, eax
jne 0x180017d79
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.18004d9e8
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 1
jne 0x180017dc1
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret

Function at 0x180017e30
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x180017e48
cmp qword [rsp + 0x60], 0
je 0x180017e60
mov dword [rsp + 0x30], 1
jmp 0x180017e68
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x180017e7e
mov eax, SafeArrayGetDim
jmp 0x180017ebe
xor eax, eax
test eax, eax
jne 0x180017e4e
mov rcx, qword [rsp + 0x60]
call fcn.18004d9e8
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret
Function at 0x18001d0b0
Capabilities:
Delete file
Move file

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x80], 0
jne 0x18001d0cf
xor al, al
jmp 0x18001d2d2
mov rcx, qword [rsp + 0x80]
call fcn.18001d580
movzx eax, al
test eax, eax
jne 0x18001d103
mov r8, qword [rsp + 0x80]
lea rdx, [0x18008a250]
mov ecx, 2
call fcn.180040a70
mov al, 1
jmp 0x18001d2d2
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18001d246
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x18001d1a7
mov r8d, 4
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x18001d1a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x80]
lea rdx, [0x18008a290]
mov ecx, 3
call fcn.180040a70
xor al, al
jmp 0x18001d2d2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov r8, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call fcn.18001be50
mov qword [rsp + 0x50], rax
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.18001c940
mov dword [rsp + 0x38], eax
mov eax, 8
mov word [rsp + 0x30], ax
movsx rax, word [rsp + 0x30]
lea rcx, [0x180087980]
cmp dword [rcx + rax*4], 1
jne 0x18001d21e
movsx rax, word [rsp + 0x30]
lea rcx, [0x180087980]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x30]
lea rdx, [0x180087980]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x80]
lea rdx, [0x18008a2d0]
mov ecx, 2
call fcn.180040a70
jmp 0x18001d25f
mov r8, qword [rsp + 0x80]
lea rdx, [0x18008a360]
mov ecx, 2
call fcn.180040a70
mov al, 1
jmp 0x18001d2d2
add rsp, 0x78
ret

Function at 0x18001d2e0
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1800232c0
call fcn.180023310
cmp qword [rax + 0x6d0], 0
je 0x18001d33d
cmp qword [0x1800d1e90], 0
je 0x18001d32f
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [0x1800d1e90]
mov dword [rsp + 0x20], eax
jmp 0x18001d337
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x20]
jmp 0x18001d34d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x38
ret
Function at 0x18001d360
Capabilities:
Delete registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1800881a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x68], 0
jne 0x18001d417
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, SafeArrayGetElement
div rcx
mov rax, rdx
mov dword [rsp + 0x34], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
movsxd rdx, dword [rsp + 0x34]
lea r8, [0x180087980]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087980]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087980]
mov dword [rdx + rcx], eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x18001d4e9
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x78]
or eax, 0x20006
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x18001d4e5
cmp qword [rsp + 0x40], 0
je 0x18001d4e5
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x18001d4e9
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004d370
add rsp, 0x58
ret