joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005ae0
Capabilities:
Set registry value

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov word [rsp + 0x38], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140005b2a
xor eax, eax
jmp 0x140005b79
movzx eax, word [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140005b69
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140005b79
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x48
ret

Function at 0x140005d20
Capabilities:
Query or enumerate 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
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140005da3
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140005a30
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140005de2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x68]
jmp 0x140005df1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x140005ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140005f2b
xor eax, eax
jmp 0x140005f7a
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140005f6a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140005f7a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x48
ret
Function at 0x14000c940
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x158], rax
cmp dword [rsp + 0x190], 2
jne 0x14000c981
mov eax, 1
jmp 0x14000ca2f
mov r9d, 0x104
lea r8, [rsp + 0x40]
mov edx, 0x17
mov rcx, qword [0x140057268]
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rsp + 0x40]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x3e8
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x168
ret

Function at 0x14000ca50
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x148], rax
cmp dword [rsp + 0x178], 2
jne 0x14000ca8e
mov eax, 1
jmp 0x14000cb09
mov r9d, 0x104
lea r8, [rsp + 0x30]
mov edx, 0x17
mov rcx, qword [0x140057268]
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rsp + 0x30]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [rsp + 0x140], eax
mov edx, 0x3e8
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x158
ret
Function at 0x14000ccf0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp dword [rsp + 0x2a0], 2
jne 0x14000cd31
mov eax, 1
jmp 0x14000cde8
mov r9d, 0x104
lea r8, [rsp + 0x30]
mov edx, 0x17
mov rcx, qword [0x140057268]
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rsp + 0x30]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov byte [rsp + 0x150], 0
mov r8, qword [rsp + 0x290]
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.1400027f0
mov r8, qword [rsp + 0x298]
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.1400027f0
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [rsp + 0x140], eax
mov edx, 0x3e8
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x278
ret

Function at 0x14000ce10
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate 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, 0x298
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x288], rax
cmp dword [rsp + 0x2b8], 2
jne 0x14000ce51
mov eax, 1
jmp 0x14000cfa3
mov r9d, 0x104
lea r8, [rsp + 0x50]
mov edx, 0x17
mov rcx, qword [0x140057268]
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rsp + 0x50]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
lea rax, [rsp + 0x280]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x160], eax
cmp dword [rsp + 0x160], 0
jne 0x14000cf7a
mov r9d, 0x104
lea r8, [rsp + 0x170]
xor edx, edx
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [rsp + 0x16c], eax
mov dword [rsp + 0x164], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x164]
lea r8, [rsp + 0x170]
xor edx, edx
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x16c], 0
je 0x14000cf6c
cmp dword [rsp + 0x168], 0
je 0x14000cf6c
mov rdx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x3e8
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x298
ret
Function at 0x14000cfd0
Capabilities:
Delete file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x148], rax
cmp dword [rsp + 0x178], 2
jne 0x14000d011
mov eax, 1
jmp 0x14000d0db
mov r9d, 0x104
lea r8, [rsp + 0x30]
mov edx, 0x16
mov rcx, qword [0x140057268]
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rsp + 0x30]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov r8, qword [rsp + 0x168]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400027a0
mov r8, qword [rsp + 0x170]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400027f0
cmp dword [rsp + 0x178], 0
jne 0x14000d096
lea r8, [rsp + 0x30]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
lea rcx, [rsp + 0x30]
call fcn.140002750
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x140], eax
mov edx, 0x3e8
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x158
ret

Function at 0x14000d240
Capabilities:
Delete directory

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp dword [rsp + 0x50], 2
jne 0x14000d261
mov eax, 1
jmp 0x14000d2b2
cmp dword [rsp + 0x50], 0
jne 0x14000d27d
mov r8, qword [rsp + 0x48]
mov edx, 0x3e9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [rsp + 0x20], eax
mov edx, 0x3e8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000d2f0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x3c8
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x3b8], rax
cmp dword [rsp + 0x3d8], 2
jne 0x14000d326
mov eax, 1
jmp 0x14000d4af
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x14000d341
xor eax, eax
jmp 0x14000d4af
lea r8, str.inf
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400027f0
lea r9, [rsp + 0x40]
lea r8, str._soem.inf
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.140002a40
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x150], rax
cmp qword [rsp + 0x150], 0xffffffffffffffff
je 0x14000d3ab
mov dword [rsp + 0x3b0], 1
jmp 0x14000d3b6
mov dword [rsp + 0x3b0], 0
mov eax, dword [rsp + 0x3b0]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000d49f
lea rax, str.Apfiltr.cat
mov qword [rsp + 0x20], rax
lea r9, [0x14004374c]
lea r8, [rsp + 0x29c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3d0]
call fcn.14000d990
lea rax, str.ApHidUpFiltr.cat
mov qword [rsp + 0x20], rax
lea r9, str.Mouse
lea r8, [rsp + 0x29c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3d0]
call fcn.14000d990
lea rax, str.Apkbfiltr.cat
mov qword [rsp + 0x20], rax
lea r9, str.Keyboard
lea r8, [rsp + 0x29c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3d0]
call fcn.14000d990
lea rax, str.ApHidfiltr.cat
mov qword [rsp + 0x20], rax
lea r9, str.HIDClass
lea r8, [rsp + 0x29c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x3d0]
call fcn.14000d990
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [rsp + 0x30], eax
jmp 0x14000d3c1
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rsp + 0x3b8]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x3c8
ret
Function at 0x14000d4d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov dword [rsp + 0x298], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x1400437c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x14000d53b
mov eax, dword [rsp + 0x298]
jmp 0x14000d71c
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x14000d5a1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
jmp 0x14000d71c
mov dword [rsp + 0x54], 1
jmp 0x14000d5b6
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000d70a
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000d6a1
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.TapTyping
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x14000d6a1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass4D36E96F_E325_11CE_BFC1_08002BE10318
lea r8, [0x140043870]
mov edx, 0x104
lea rcx, [rsp + 0x180]
call fcn.140002a40
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp eax, dword [rsp + 0x2c8]
ja 0x14000d6a1
lea r8, [rsp + 0x180]
mov edx, 0x104
mov rcx, qword [rsp + 0x2c0]
call fcn.1400027a0
mov dword [rsp + 0x298], 1
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x298], 0
je 0x14000d6bb
jmp 0x14000d70a
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x4c], eax
jmp 0x14000d5ab
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x2b8
ret
Function at 0x14000d740
Capabilities:
Query or enumerate registry key

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov dword [rsp + 0x298], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [0x140043880]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14000d7ab
mov eax, dword [rsp + 0x298]
jmp 0x14000d967
mov dword [rsp + 0x4c], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14000d811
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
jmp 0x14000d967
mov dword [rsp + 0x50], 1
jmp 0x14000d826
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x48], 0
jne 0x14000d955
lea r9, [rsp + 0x70]
lea r8, str._sAPHF
mov edx, 0x104
lea rcx, [rsp + 0x180]
call fcn.140002a40
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x14000d8ec
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, str.SYSTEMCurrentControlSetControlClass745a17a0_74d3_11d0_b6fe_00a0c90f57da
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x180]
call fcn.140002a40
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp eax, dword [rsp + 0x2c8]
ja 0x14000d8ec
lea r8, [rsp + 0x180]
mov edx, 0x104
mov rcx, qword [rsp + 0x2c0]
call fcn.1400027a0
mov dword [rsp + 0x298], 1
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x298], 0
je 0x14000d906
jmp 0x14000d955
mov dword [rsp + 0x4c], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [rsp + 0x48], eax
jmp 0x14000d81b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x298]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x2b8
ret
Function at 0x14000dc90
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x50]
call fcn.14000db80
mov r9d, 0x2001f
mov r8, qword [rsp + 0x1a8]
mov rax, qword [rsp + 0x1a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.14000dc10
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14000dd0c
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x170], eax
lea rcx, [rsp + 0x50]
call fcn.14000dba0
mov eax, dword [rsp + 0x170]
jmp 0x14000ddd0
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000dd99
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000dc90
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14000dd8c
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x174], eax
lea rcx, [rsp + 0x50]
call fcn.14000dba0
mov eax, dword [rsp + 0x174]
jmp 0x14000ddd0
mov dword [rsp + 0x40], 0x100
jmp 0x14000dd14
lea rcx, [rsp + 0x50]
call fcn.14000dbc0
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
call fcn.14000ddf0
mov dword [rsp + 0x178], eax
lea rcx, [rsp + 0x50]
call fcn.14000dba0
mov eax, dword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400232d0
add rsp, 0x198
ret

Function at 0x14000ddf0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x14000ddfe
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add rsp, 0x28
ret
Function at 0x14001168c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140055708]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
lea r8, [rsp + 0x30]
mov rdx, qword [rdx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x14001178b
mov r9d, 0x104
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, eax
test eax, eax
jne 0x140011762
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.14000ea30
nop
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.14001168c
mov ebx, eax
test eax, eax
setne byte [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140011749
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rsp + 0x20], 0
je 0x140011752
jmp 0x140011762
jmp 0x1400116e2
cmp ebx, 0x103
je 0x140011772
cmp ebx, 0x3f2
jne 0x140011780
mov rdx, qword [rsi]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400232d0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400130d4
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
test rdx, 0xffffffffffff0000
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
jne 0x140013113
cmp dword [rcx + 0xa8], 0
jne 0x140013113
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140013fcc
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140013078
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400160b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call fcn.14001401c
mov rbx, rax
mov rax, qword [rax + 0x78]
test rax, rax
je 0x1400160e7
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1400160e7
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
mov rbx, qword [rbx + 0xa0]
je 0x140016117
test rbx, rbx
je 0x140016117
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140016117
mov rax, qword [rbx]
or rdx, 0xffffffffffffffff
mov rcx, rbx
call qword [rax + 0x2d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret