joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069530
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x2c], 1
mov ecx, SafeArrayPutElement
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14006957d
mov dword [rsp + 0x2c], 2
lea rcx, [rsp + 0x38]
call fcn.14001f650
nop
lea rcx, [rsp + 0x60]
call fcn.14001f650
nop
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], reloc.OLEAUT32.dll_SetErrorInfo
cmp dword [rsp + 0x24], 0xc8
je 0x1400695b5
mov dword [rsp + 0x24], reloc.OLEAUT32.dll_SetErrorInfo
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x90]
call fcn.140060f30
test eax, eax
jne 0x140069679
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x140069679
movzx eax, byte [0x140290010]
test eax, eax
je 0x140069679
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetPhysicalCursorPos]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
lea rdx, [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.1400d02c0
movzx eax, al
test eax, eax
je 0x140069679
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.14001f430
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x90]
call fcn.1400634f0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140069679
mov dword [rsp + 0x24], 0x1b7740
mov r9d, dword [rsp + 0x24]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1400696a0
jmp 0x1400696ba
cmp dword [rsp + 0x28], 1
jne 0x1400696af
mov dword [rsp + 0x24], reloc.OLEAUT32.dll_SetErrorInfo
xor eax, eax
cmp eax, 1
jne 0x1400695a3
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x60]
call fcn.140026c10
nop
lea rcx, [rsp + 0x38]
call fcn.140026c10
mov eax, dword [rsp + 0x34]
add rsp, 0x88
ret
Function at 0x14007a300
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x2c], 0x4c11db7
mov rax, qword [rsp + 0x40]
mov r8d, 0x400
xor edx, edx
mov rcx, rax
call fcn.1402357d0
nop
mov dword [rsp + 0x20], 0
jmp 0x14007a33b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jg 0x14007a3fb
mov r8b, 8
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.14007a490
shl eax, 0x18
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x24], 0
jmp 0x14007a37e
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 8
jge 0x14007a3cf
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
and eax, 0x80000000
test eax, eax
je 0x14007a3a5
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x28], eax
jmp 0x14007a3ad
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
shl eax, 1
xor eax, dword [rsp + 0x28]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x14007a374
movsxd rax, dword [rsp + 0x20]
mov r8b, 0x20
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
call fcn.14007a490
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x14007a331
add rsp, 0x38
ret

Function at 0x14007d6f0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [0x140255ce0]
mov rcx, qword [rsp + 0x48]
call fcn.140022000
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14007c360
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14001f430
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007b950
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140013a90
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, qword [rsp + 0xb0]
mov qword [rcx + 0xe0], rax
lea rcx, [rsp + 0x70]
call fcn.140026c10
nop
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xe0], 0
jne 0x14007d7c8
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.140026c10
mov eax, dword [rsp + 0x38]
jmp 0x14007d828
mov dword [rsp + 0x20], 0x2710
mov r9d, 0x2710
mov r8d, 0x2710
mov edx, 0x2710
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0xe0]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x14007d812
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x30]
call fcn.140026c10
mov eax, dword [rsp + 0x3c]
jmp 0x14007d828
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x30]
call fcn.140026c10
mov eax, dword [rsp + 0x40]
add rsp, 0xa8
ret
Function at 0x14009aca0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov dword [rsp + 0x70], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xa0]
call fcn.14001e780
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140080070
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xb0]
call fcn.1400240d0
nop
cmp qword [rsp + 0x58], 0
je 0x14009ae36
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx]
mov eax, dword [rax + 8]
sub eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x140]
mov ecx, dword [rcx + 4]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x14009ae36
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14009ae36
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x40], 0x40cc0020
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 4]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xb0]
call fcn.140028ee0
mov rax, qword [rsp + 0x90]
jmp 0x14009ae57
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0xb0]
call fcn.140028ee0
mov rax, qword [rsp + 0x98]
add rsp, 0x138
ret
Function at 0x14009af20
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1402357d0
mov dword [rsp + 0x70], 0x68
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x50]
call fcn.14001f430
nop
mov dx, 0x20
lea rcx, [rsp + 0x50]
call fcn.140034830
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x50]
call fcn.140034630
nop
lea rcx, [rsp + 0x50]
call fcn.140013a90
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140013a90
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14009b010
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x50]
call fcn.140026c10
mov eax, dword [rsp + 0x58]
jmp 0x14009b026
mov dword [rsp + 0x5c], 1
lea rcx, [rsp + 0x50]
call fcn.140026c10
mov eax, dword [rsp + 0x5c]
add rsp, 0xe8
ret

Function at 0x14009b620
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.14001f650
nop
lea rcx, [rsp + 0x28]
call fcn.140036d90
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [rsp + 0x30], eax
xor r9d, r9d
mov r8d, 0x55
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
jne 0x14009b706
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rdx, [0x1402569c8]
mov rcx, qword [rsp + 0x48]
call fcn.140022000
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14007c360
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.14001f430
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xa0]
call fcn.14007b950
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x38]
call fcn.140026c10
nop
lea rcx, [rsp + 0x28]
call fcn.140026c10
nop
mov rax, qword [rsp + 0xa0]
jmp 0x14009b735
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
call fcn.14001f430
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.140026c10
mov rax, qword [rsp + 0xa0]
add rsp, 0x98
ret
Function at 0x1400a8480
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov rcx, qword [rsp + 0x250]
call fcn.140013a90
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1400a84b8
mov eax, 0xffffffff
jmp 0x1400a84e2
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400a84e0
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
jne 0x1400a84e0
mov eax, 1
jmp 0x1400a84e2
xor eax, eax
add rsp, 0x248
ret
Function at 0x1400a9130
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x28]
call fcn.140096b90
nop
lea rdx, [rsp + 0x28]
lea rcx, [0x14009cd10]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140096bc0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x28]
call fcn.140098920
mov rax, qword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x1400aa560
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x1d8
lea rcx, [rsp + 0x30]
call fcn.14009b620
nop
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rdx, [0x1402569d8]
mov rcx, qword [rsp + 0x48]
call fcn.140022000
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14007c360
nop
mov dword [rsp + 0x28], 0
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.14001f430
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007b950
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140099650
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x70]
call fcn.140026c10
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400aa713
lea rcx, [rsp + 0x30]
call fcn.140013a90
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x98]
call fcn.140022280
nop
movsxd rax, dword [rsp + 0x24]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140064000
movsxd rax, dword [rsp + 0x24]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140064190
lea rcx, [rsp + 0x98]
call fcn.140046fb0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x30]
call fcn.140013a90
mov qword [rsp + 0x80], rax
mov r9d, dword [rsp + 0x24]
mov r8, qword [rsp + 0x78]
mov edx, 0x70
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov r9d, 1
mov r8d, 1
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xe0]
call fcn.1400960a0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x90]
call fcn.1400804c0
nop
lea rcx, [rsp + 0xe0]
call fcn.14009a6a0
nop
lea rcx, [rsp + 0x98]
call fcn.140028230
nop
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x40]
call fcn.140026c10
nop
lea rcx, [rsp + 0x30]
call fcn.140026c10
mov eax, dword [rsp + 0x38]
add rsp, 0x1d8
ret
Function at 0x1400b41f0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x58]
call fcn.140013a90
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400b42ad
mov rcx, qword [rsp + 0x50]
call fcn.140013a90
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400b4281
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x50]
call fcn.140026c10
mov rcx, qword [rsp + 0x58]
call fcn.140026c10
movzx eax, byte [rsp + 0x20]
jmp 0x1400b42cb
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0x50]
call fcn.140026c10
mov rcx, qword [rsp + 0x58]
call fcn.140026c10
movzx eax, byte [rsp + 0x21]
jmp 0x1400b42cb
mov byte [rsp + 0x22], 0
mov rcx, qword [rsp + 0x50]
call fcn.140026c10
mov rcx, qword [rsp + 0x58]
call fcn.140026c10
movzx eax, byte [rsp + 0x22]
add rsp, 0x48
ret

Function at 0x1400b42d0
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, 0x68
mov dword [rsp + 0x30], 0x1000
mov eax, dword [rsp + 0x30]
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.1400b4be0
nop
mov rcx, qword [rsp + 0x80]
call fcn.140013a90
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400b43a3
mov rcx, qword [rsp + 0x78]
call fcn.140045510
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x70]
call fcn.140013a90
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400b4394
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400b43a5
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1400b43a5
mov al, 1
add rsp, 0x68
ret
Function at 0x1400b43b0
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, 0x58
mov dword [rsp + 0x34], 4
mov rcx, qword [rsp + 0x70]
call fcn.140013a90
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400b4494
mov rcx, qword [rsp + 0x60]
call fcn.140013a90
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b4468
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x60]
call fcn.140026c10
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
movzx eax, byte [rsp + 0x30]
jmp 0x1400b44b2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x31], 0
mov rcx, qword [rsp + 0x60]
call fcn.140026c10
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
movzx eax, byte [rsp + 0x31]
jmp 0x1400b44b2
mov byte [rsp + 0x32], 1
mov rcx, qword [rsp + 0x60]
call fcn.140026c10
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
movzx eax, byte [rsp + 0x32]
add rsp, 0x58
ret
Function at 0x1400b44c0
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, 0x78
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.14001f650
nop
mov dword [rsp + 0x34], 0x1000
mov rcx, qword [rsp + 0x90]
call fcn.140013a90
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400b45e0
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.140036d70
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x88]
call fcn.140013a90
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.14009c2d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.14001f430
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x88]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x90]
call fcn.140026c10
mov rax, qword [rsp + 0x80]
jmp 0x1400b462d
lea rdx, [0x140256088]
mov rcx, qword [rsp + 0x80]
call fcn.14001f550
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x88]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x90]
call fcn.140026c10
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret

Function at 0x1400b4640
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [rsp + 0x70]
call fcn.140013a90
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400b471e
mov rcx, qword [rsp + 0x60]
call fcn.140013a90
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400b46f2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x60]
call fcn.140026c10
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
movzx eax, byte [rsp + 0x30]
jmp 0x1400b473c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x31], 0
mov rcx, qword [rsp + 0x60]
call fcn.140026c10
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
movzx eax, byte [rsp + 0x31]
jmp 0x1400b473c
mov byte [rsp + 0x32], 0
mov rcx, qword [rsp + 0x60]
call fcn.140026c10
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
movzx eax, byte [rsp + 0x32]
add rsp, 0x58
ret
Function at 0x1400b4750
Capabilities:
Set 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, 0x68
mov dword [rsp + 0x40], 0x1000
mov rcx, qword [rsp + 0x80]
call fcn.140013a90
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400b487a
mov rcx, qword [rsp + 0x78]
call fcn.140036fa0
cdqe
shl rax, 1
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x78]
call fcn.140036d90
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x70]
call fcn.140013a90
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x1400b483f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x78]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x80]
call fcn.140026c10
movzx eax, byte [rsp + 0x30]
jmp 0x1400b48a7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov byte [rsp + 0x31], 0
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x78]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x80]
call fcn.140026c10
movzx eax, byte [rsp + 0x31]
jmp 0x1400b48a7
mov byte [rsp + 0x32], 0
mov rcx, qword [rsp + 0x70]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x78]
call fcn.140026c10
nop
mov rcx, qword [rsp + 0x80]
call fcn.140026c10
movzx eax, byte [rsp + 0x32]
add rsp, 0x68
ret