joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c4bb0
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.140013530
nop
mov dword [rsp + 0x34], 0x1000
mov rcx, qword [rsp + 0x90]
call fcn.14000f0c0
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c4cd0
mov edx, dword [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.14001d850
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x88]
call fcn.14000f0c0
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.1400bab50
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.1400133e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x88]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x90]
call fcn.1400165c0
mov rax, qword [rsp + 0x80]
jmp 0x1400c4d1d
lea rdx, [0x1402b9fd8]
mov rcx, qword [rsp + 0x80]
call fcn.140013470
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x88]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x90]
call fcn.1400165c0
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret

Function at 0x1400c4d30
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.14000f0c0
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c4e0e
mov rcx, qword [rsp + 0x60]
call fcn.14000f0c0
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 0x1400c4de2
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.1400165c0
mov rcx, qword [rsp + 0x70]
call fcn.1400165c0
movzx eax, byte [rsp + 0x30]
jmp 0x1400c4e2c
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.1400165c0
mov rcx, qword [rsp + 0x70]
call fcn.1400165c0
movzx eax, byte [rsp + 0x31]
jmp 0x1400c4e2c
mov byte [rsp + 0x32], 0
mov rcx, qword [rsp + 0x60]
call fcn.1400165c0
mov rcx, qword [rsp + 0x70]
call fcn.1400165c0
movzx eax, byte [rsp + 0x32]
add rsp, 0x58
ret
Function at 0x1400c4e40
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.14000f0c0
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400c4f6a
mov rcx, qword [rsp + 0x78]
call fcn.14001e780
cdqe
shl rax, 1
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x78]
call fcn.14003b490
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x70]
call fcn.14000f0c0
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 0x1400c4f2f
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.1400165c0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400165c0
movzx eax, byte [rsp + 0x30]
jmp 0x1400c4f97
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.1400165c0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400165c0
movzx eax, byte [rsp + 0x31]
jmp 0x1400c4f97
mov byte [rsp + 0x32], 0
mov rcx, qword [rsp + 0x70]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x78]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x80]
call fcn.1400165c0
movzx eax, byte [rsp + 0x32]
add rsp, 0x68
ret
Function at 0x1400c7a30
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rcx, qword [rsp + 0x2c0]
call fcn.14001fd30
movzx eax, al
test eax, eax
jne 0x1400c7a6d
mov rcx, qword [rsp + 0x2c8]
call fcn.14001fd30
movzx eax, al
test eax, eax
je 0x1400c7b3c
lea rax, [rsp + 0x228]
mov qword [rsp + 0x60], rax
lea rdx, str.invalid_parameters
mov rcx, qword [rsp + 0x60]
call fcn.140014930
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.1400aaa00
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400133e0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x90]
call fcn.1400aa010
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov r8d, 2
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x1f8]
call fcn.1400afea0
nop
lea rdx, [0x14030b070]
lea rcx, [rsp + 0x1f8]
call fcn.1402620d8
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400165c0
nop
mov dx, 0x5c
mov rcx, qword [rsp + 0x2c0]
call fcn.140093a70
nop
mov rdx, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x2c0]
call fcn.140093a20
nop
mov rcx, qword [rsp + 0x2c0]
call fcn.14000f0c0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400c7c82
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xb7
je 0x1400c7c82
lea rax, [rsp + 0x248]
mov qword [rsp + 0x98], rax
lea rdx, str.CreateDirectory_failed
mov rcx, qword [rsp + 0x98]
call fcn.140014930
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.1400aaa00
mov qword [rsp + 0x1a8], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xa8]
call fcn.1400133e0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xc8]
call fcn.1400aa010
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x210]
call fcn.1400afea0
nop
lea rdx, [0x14030b070]
lea rcx, [rsp + 0x210]
call fcn.1402620d8
nop
lea rcx, [rsp + 0xc8]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x48]
call fcn.1400165c0
nop
jmp 0x1400c7c97
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x2c0]
call fcn.1400165c0
mov eax, dword [rsp + 0x38]
add rsp, 0x2b8
ret
Function at 0x1400c8850
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x1b8
lea rax, [rsp + 0x130]
mov qword [rsp + 0x50], rax
lea rdx, str.SoftwarePCAppStore
mov rcx, qword [rsp + 0x50]
call fcn.140014930
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1400aaa00
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140014930
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
lea rax, [rsp + 0x150]
mov qword [rsp + 0x78], rax
lea rdx, [0x1402bb058]
mov rcx, qword [rsp + 0x78]
call fcn.140014930
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.1400aaa00
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.140014930
nop
lea rcx, [rsp + 0x98]
call fcn.1400165c0
nop
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x170]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0xa0]
call fcn.140014890
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xb8]
call fcn.1400aa390
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.14000f0c0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0xb8]
call fcn.1400165c0
nop
cmp dword [rsp + 0x38], 0
jne 0x1400c8ab5
lea rax, [rsp + 0x190]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
call fcn.140014890
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xe8]
call fcn.1400aa390
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.14000f0c0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xe8]
call fcn.1400165c0
nop
cmp dword [rsp + 0x40], 0
jne 0x1400c8aa9
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0xf0]
call fcn.140016ce0
nop
lea rcx, [rsp + 0x110]
call fcn.140016ce0
mov eax, dword [rsp + 0x44]
add rsp, 0x1b8
ret
Function at 0x1400caaf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x3b8
mov dword [rsp + 0x30], 0x200
lea rcx, [0x140332e40]
call fcn.1400c8af0
nop
lea rdx, str.03000200_0400_0500_0006_000700080009
lea rcx, [0x140332e40]
call fcn.14027086c
test eax, eax
je 0x1400cab7e
lea rdx, str.12345678_1234_5678_90AB_CDDEEFAABBCC
lea rcx, [0x140332e40]
call fcn.14027086c
test eax, eax
je 0x1400cab7e
lea rdx, str.00000000_0000_0000_0000_000000000000
lea rcx, [0x140332e40]
call fcn.14027086c
test eax, eax
je 0x1400cab7e
lea rdx, str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
lea rcx, [0x140332e40]
call fcn.14027086c
test eax, eax
je 0x1400cab7e
lea rcx, [0x140332e40]
call fcn.140267d20
cmp rax, 0x24
je 0x1400cade1
lea rax, [rsp + 0x128]
mov qword [rsp + 0x48], rax
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, qword [rsp + 0x48]
call fcn.140014930
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400aaa00
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0x108]
call fcn.140014930
nop
lea rcx, [rsp + 0x68]
call fcn.1400165c0
nop
lea rax, [rsp + 0x148]
mov qword [rsp + 0x70], rax
lea rdx, str.MachineGuid
mov rcx, qword [rsp + 0x70]
call fcn.140014930
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x90]
call fcn.1400aaa00
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.14000f0c0
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140014930
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rax, [rsp + 0x168]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x98]
call fcn.140014890
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xb0]
call fcn.1400aa390
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.14000f0c0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rcx, [rsp + 0xb0]
call fcn.1400165c0
nop
lea rax, [rsp + 0x188]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0xb8]
call fcn.140014890
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.1400aa390
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.14000f0c0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rsp + 0xe0]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x1b0]
call fcn.140276fe0
mov r8, rax
lea rdx, str._wsX
lea rcx, [0x140332e40]
call qword [sym.imp.USER32.dll_wsprintfW]
nop
lea rcx, [rsp + 0xe8]
call fcn.140016ce0
nop
lea rcx, [rsp + 0x108]
call fcn.140016ce0
nop
add rsp, 0x3b8
ret
Function at 0x1400d1890
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2a0]
call fcn.14011a340
test eax, eax
je 0x1400d18c1
jmp 0x1400d1b2d
mov eax, 4
mov eax, eax
mov ecx, dword [0x14033cf38]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1403332c8], eax
jle 0x1400d194a
lea rcx, [0x1403332c8]
call fcn.1402612d8
cmp dword [0x1403332c8], 0xffffffff
jne 0x1400d194a
lea rax, [rsp + 0x140]
mov qword [rsp + 0x48], rax
lea rdx, str.SELECT_moz_places.url__moz_places.title__moz_places.visit_count__moz_historyvisits.visit_date_1000000_AS_visit_time_FROM_moz_places_JOIN_moz_historyvisits_WHERE_moz_places.id__moz_historyvisits.place_id_AND_visit_time_1000000____d_ORDER_BY_visit_time_DESC
mov rcx, qword [rsp + 0x48]
call fcn.1400140c0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1403332a8]
call fcn.1400aabf0
nop
lea rcx, [0x1402ad290]
call fcn.140261218
nop
lea rcx, [0x1403332c8]
call fcn.14026126c
nop
mov rax, qword [rsp + 0x290]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x58], rax
lea rdx, [0x1403332a8]
mov rcx, qword [rsp + 0x58]
call fcn.140014020
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call fcn.1400aa6e0
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400299a0
mov qword [rsp + 0x78], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov edx, 0x100
lea rcx, [rsp + 0x180]
call fcn.140032100
lea rcx, [rsp + 0xe0]
call fcn.140016cb0
nop
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0xffffffff
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x40]
call fcn.14011aee0
test eax, eax
je 0x1400d19fc
jmp 0x1400d1b2d
mov dword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x30]
call fcn.14011bdd0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x64
jne 0x1400d1b18
lea rcx, [rsp + 0x90]
call fcn.1400cf7a0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x100]
call fcn.1400d0680
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x90]
call fcn.140017b00
lea rcx, [rsp + 0x100]
call fcn.140016cb0
nop
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.14011c230
cmp eax, 5
je 0x1400d1ac2
mov r8d, 1
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x120]
call fcn.1400d0680
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xb0]
call fcn.140017b00
lea rcx, [rsp + 0x120]
call fcn.140016cb0
nop
mov edx, 2
mov rcx, qword [rsp + 0x30]
call fcn.14011c030
mov dword [rsp + 0xd0], eax
mov edx, 3
mov rcx, qword [rsp + 0x30]
call fcn.14011c070
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x298]
call fcn.1400d1f60
nop
lea rcx, [rsp + 0x90]
call fcn.14008cb50
nop
jmp 0x1400d1a04
mov rcx, qword [rsp + 0x30]
call fcn.14011c270
mov rcx, qword [rsp + 0x40]
call fcn.1401187f0
nop
add rsp, 0x288
ret
Function at 0x1400d8ad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
cmp qword [rax + 0x10], 0
jne 0x1400d8af8
jmp 0x1400d8d17
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SetErrorInfo
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xa8]
call fcn.140048620
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x48]
call fcn.140048440
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1400d86b0
movzx eax, al
test eax, eax
je 0x1400d8b9e
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x2c], reloc.OLEAUT32.dll_SetErrorInfo
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0xb8]
call fcn.140048620
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140024610
nop
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rax]
call fcn.14002e700
mov rcx, rax
call fcn.1400dca60
movzx eax, al
test eax, eax
jne 0x1400d8d17
mov ecx, dword [rsp + 0xe8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400d8d17
movzx eax, byte [0x14030f088]
test eax, eax
je 0x1400d8d17
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
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 + 0x70], rax
mov dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rcx, [rsp + 0x38]
call fcn.140013530
nop
lea rdx, [rsp + 0x38]
mov ecx, dword [rsp + 0x24]
call fcn.1400e51e0
movzx eax, al
test eax, eax
je 0x1400d8d0c
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
call fcn.1400133e0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.1400d8fa0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400d8d0c
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x30], 0x1b7740
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xc8]
call fcn.140048620
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140024610
nop
lea rcx, [rsp + 0x38]
call fcn.1400165c0
nop
add rsp, 0xd0
pop rdi
ret
Function at 0x1400da1f0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov rcx, rax
call fcn.140015210
nop
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rcx, rax
call fcn.1400da370
mov rax, qword [rsp + 0x60]
add rax, 0x2c
mov rcx, rax
call fcn.1400da370
mov rax, qword [rsp + 0x60]
add rax, 0x40
mov rcx, rax
call fcn.1400da370
mov rax, qword [rsp + 0x60]
add rax, 0x58
mov rcx, rax
call fcn.140014770
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x80], 1
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x88], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x90], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov rax, qword [rsp + 0x60]
add rax, 0x88
mov qword [rsp + 0x20], rax
lea r9, [0x1402d8c98]
mov r8d, 1
xor edx, edx
lea rcx, [0x1402d8ca8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
call qword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x78], 0xffffffffffffffff
jne 0x1400da317
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x80], 0
mov rax, qword [rsp + 0x60]
add rsp, 0x58
ret

Function at 0x1400db6f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea r8, [0x1402bc780]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [0x140333260]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140293240
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
mov ecx, SafeArrayPutElement
call fcn.1400db330
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400db7f5
mov r8d, 0x26200a
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
call fcn.1400dad20
mov qword [rsp + 0x40], rax
jmp 0x1400db7fe
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rsp, 0x88
ret