joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d3d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14000d3f4
mov eax, 0x80004003
jmp 0x14000d48b
mov rcx, qword [0x1402fce40]
mov edx, 0x68
lea r8d, [rdx - 0x63]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x14000d416
mov eax, 0x8000ffff
jmp 0x14000d48b
mov rcx, qword [0x1402fce40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000d40f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14000d40f
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
call fcn.14000d32c
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.140013a5c
mov rcx, rsi
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x1c]
mov qword [rdi + 0x10], rax
mov edx, dword [rsi + 0x28]
call fcn.140013a5c
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.140013a5c
mov qword [rdi + 0x18], rax
mov eax, dword [rsi + 0x30]
mov dword [rdi + 0x28], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140012398
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, edx
mov rsi, rcx
mov qword [rbp - 0x38], rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea rdx, [rbp - 0x30]
call fcn.140012340
nop
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r8, qword [rbp - 0x30]
movzx edx, bx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r12, rax
test rax, rax
je 0x140012536
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140012536
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140012536
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd r12, eax
mov rdx, r12
lea ecx, [rdi + 0x42]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsi], rax
test rax, rax
je 0x140012536
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140012536
mov qword [rbp - 0x60], rdi
mov r8, r12
mov rdx, rbx
mov rcx, rax
call fcn.1401bdae0
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
setns r12b
test r12b, r12b
je 0x1400124d6
lea ecx, [rdi + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x1400124c7
mov rcx, qword [rbp - 0x60]
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx], rax
lea rdx, [rbx + 8]
mov qword [rdx], rdi
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [rbx + 0x10], eax
jmp 0x1400124ca
mov rbx, rdi
mov rdx, rbx
lea rcx, [rsi + 8]
call fcn.1400122b4
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r12b, r12b
jne 0x140012526
mov ecx, 0x18
call fcn.14005a5d8
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140012511
lea rcx, str.ResourceImage_could_not_load_resource
mov qword [rbp - 0x58], rcx
lea rdx, [rbp - 0x58]
mov rcx, rax
call fcn.1401be3dc
mov rdi, rax
mov qword [rbp - 0x50], rdi
lea rdx, [0x1402dbe58]
lea rcx, [rbp - 0x50]
call fcn.1401be888
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140012536
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
cmp qword [rbp - 0x18], 8
jb 0x140012547
mov rcx, qword [rbp - 0x30]
call fcn.14005a61c
nop
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401be9b0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140012a9c
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov ebx, 0x104
lea rdx, [r11 - 0x228]
lea rcx, str.ProgramFiles_x86_
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movsxd rdi, eax
test eax, eax
jne 0x140012af2
mov eax, 1
jmp 0x140012c0d
lea eax, [rdi + 0x32]
xor esi, esi
cmp eax, ebx
jle 0x140012b1e
movsxd rcx, eax
lea eax, [rsi + 2]
mul rcx
lea rcx, [rsi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.14005a624
mov esi, 1
mov rbx, rax
jmp 0x140012b26
lea rbx, [rsp + 0xe0]
lea eax, [rdi + 1]
lea rdx, str.NVIDIA_Corporation3DTV
mov ebp, 0x5c
movsxd rcx, eax
mov word [rbx + rdi*2], bp
lea rcx, [rbx + rcx*2]
call fcn.1401bfd98
lea r11d, [rdi + 0x18]
lea rdx, str.3DVSerialize.exe
movsxd rax, r11d
mov word [rbx + rax*2], bp
lea eax, [r11 + 1]
movsxd rcx, eax
lea rcx, [rbx + rcx*2]
call fcn.1401bfd98
lea r11d, [rdi + 0x29]
lea ecx, [rbp - 0x3c]
movsxd rax, r11d
lea rdx, str._TestUi
mov word [rbx + rax*2], cx
lea eax, [r11 + 1]
movsxd rcx, eax
lea rcx, [rbx + rcx*2]
call fcn.1401bfd98
lea edi, [rbp + 0xc]
lea rcx, [rsp + 0x70]
mov r8d, edi
xor edx, edx
call fcn.1401bf0f0
lea r8d, [rbp - 0x44]
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.1401bf0f0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], 0x4000000
and dword [rsp + 0x20], 0
mov dword [rsp + 0x70], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140012bff
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140012ae8
test esi, esi
je 0x140012c0b
mov rcx, rbx
call fcn.14005a61c
xor eax, eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1401be9b0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140013ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140013ec4
mov eax, 0x80004003
jmp 0x140013f5d
mov rcx, qword [0x1402fce40]
mov edx, UnRegisterTypeLib
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x140013ee8
mov eax, 0x8000ffff
jmp 0x140013f5d
mov rcx, qword [0x1402fce40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140013ee1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140013ee1
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
call fcn.14000d32c
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.140013a5c
mov rcx, rsi
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x1c]
mov qword [rdi + 0x10], rax
mov edx, dword [rsi + 0x28]
call fcn.140013a5c
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.140013a5c
mov qword [rdi + 0x18], rax
mov eax, dword [rsi + 0x30]
mov dword [rdi + 0x28], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140016408
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x7a8]
sub rsp, 0x890
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rbp + 0x780], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x14001644c
xor eax, eax
jmp 0x14001662b
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x140016445
lea rdx, [rsp + 0x34]
lea rcx, str.UserDefinedLocale
xor r8d, r8d
mov word [rsp + 0x30], si
mov dword [rsp + 0x34], esi
call fcn.140001194
test eax, eax
jne 0x14001649b
lea rcx, [rsp + 0x30]
call fcn.140001238
test eax, eax
jne 0x140016491
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x140016496
movzx eax, word [rsp + 0x30]
movzx ecx, ax
jmp 0x14001649f
mov ecx, dword [rsp + 0x34]
call fcn.1400015dc
mov edi, eax
cmp eax, 0x400
je 0x140016445
mov r13d, 0x206
lea rcx, [rbp + 0x362]
xor edx, edx
mov r8d, r13d
mov word [rbp + 0x360], si
call fcn.1401bf0f0
mov r12d, 0x104
lea r8, [rbp + 0x360]
mov r9d, r12d
mov edx, 3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140016445
lea rdx, [0x140226f88]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14001651e
lea r8, [0x140226f80]
lea rcx, [rbp + 0x360]
mov edx, r12d
call fcn.1401bf720
lea rcx, [rsp + 0x42]
mov r8, r13
xor edx, edx
mov word [rsp + 0x40], si
call fcn.1401bf0f0
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, r12
call fcn.1401bf720
lea rcx, [rbp + 0x152]
mov r8, r13
xor edx, edx
mov word [rbp + 0x150], si
call fcn.1401bf0f0
lea rcx, [rbp + 0x572]
mov r8, r13
xor edx, edx
mov word [rbp + 0x570], si
call fcn.1401bf0f0
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x150]
mov rdx, r12
call fcn.1401bf720
lea r13, [0x140226a28]
jmp 0x140016592
mov word [rax], si
lea rcx, [rbp + 0x150]
mov rdx, r13
call fcn.1401bf454
test rax, rax
jne 0x14001658f
lea rdi, [rsp + 0x40]
lea rcx, [rsp + 0x40]
jmp 0x1400165b9
lea rdi, [rax + 2]
mov rcx, rdi
mov rdx, r13
call fcn.1401bf454
test rax, rax
jne 0x1400165b2
lea rcx, [rbp + 0x570]
mov r8, rdi
mov rdx, r12
call fcn.1401bf720
lea r11, [rbp + 0x570]
lea r9, [rbp + 0x360]
lea r8, [rbp + 0x150]
lea rdx, str._s_s._s
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], r11
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call fcn.140014774
test eax, eax
je 0x140016445
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, rbx
call fcn.1401bf720
mov eax, 1
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1401be9b0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
Function at 0x1400166c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rax, [r11 + 0x18]
mov rbx, rcx
mov word [rcx], di
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140016762
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.HelpFile
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x208
mov dword [rsp + 0x48], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140016747
mov word [rbx], di
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
mov rcx, rbx
mov qword [rsp + 0x50], rdi
call fcn.140016408
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140019e50
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1402f1160]
xor ebx, ebx
test rcx, rcx
je 0x140019e71
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [0x1402f1160], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
lea rdx, [0x140019d2c]
lea ecx, [r8 + 2]
mov r9d, eax
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
test rax, rax
mov qword [0x1402f1160], rax
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001bd20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rdx + 0x10], 9
mov rdi, rdx
mov rbx, rcx
jne 0x14001bd5b
mov eax, dword [rdx + 8]
cmp eax, 0x101
je 0x14001bd54
cmp eax, 0x2f
je 0x14001bd54
cmp eax, 0x103
je 0x14001bd54
cmp eax, 0x102
jne 0x14001bd5b
mov eax, 1
jmp 0x14001bd7d
cmp dword [rdx + 8], 0x100
jne 0x14001bdb0
cmp qword [rdx + 0x10], 9
jne 0x14001bdb0
cmp dword [rcx + 0x250], 0
je 0x14001bd88
and dword [rcx + 0x250], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov rcx, rbx
je 0x14001bda7
mov edx, 1
jmp 0x14001bda9
xor edx, edx
call fcn.14001b864
jmp 0x14001bd54
cmp dword [rdx + 8], 0x106
jne 0x14001bd7b
movzx ecx, word [rdx + 0x10]
call fcn.140056638
movzx r11d, ax
mov qword [rdi + 0x10], r11
mov rcx, qword [rbx + 0x260]
mov edx, r11d
mov rax, qword [rcx + 8]
jmp 0x14001bdeb
cmp dword [rax + 0x18], edx
jae 0x14001bde5
mov rax, qword [rax + 0x10]
jmp 0x14001bdeb
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x14001bdda
mov rax, qword [rbx + 0x260]
mov qword [rsp + 0x38], rcx
cmp rcx, rax
je 0x14001be0e
cmp edx, dword [rcx + 0x18]
jb 0x14001be0e
lea rcx, [rsp + 0x38]
jmp 0x14001be18
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov rcx, qword [rcx]
cmp rcx, rax
je 0x14001bd7b
mov rcx, qword [rcx + 0x20]
call fcn.140063834
test rax, rax
je 0x14001bd7b
mov rcx, rax
call fcn.1400575e4
jmp 0x14001bd7d
Function at 0x14001dabc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x3a0]
xor ebp, ebp
test eax, eax
je 0x14001db77
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14001d9f8
lea edi, [rbp + 1]
mov esi, ebp
cmp rax, 0x14
mov ecx, edi
sete sil
call qword [sym.imp.USER32.dll_GetKeyState]
mov r9d, dword [rbx + 0x278]
test ax, ax
mov edx, ebp
sets dl
test esi, esi
je 0x14001db31
mov ecx, edi
test edx, edx
jne 0x14001db33
mov ecx, ebp
mov r8d, dword [rbx + 0x27c]
mov dword [rbx + 0x278], ecx
test esi, esi
je 0x14001db4a
mov eax, edi
test edx, edx
je 0x14001db4c
mov eax, ebp
xor ecx, r9d
mov dword [rbx + 0x27c], eax
jne 0x14001db5e
xor eax, r8d
jne 0x14001db5e
mov edi, ebp
test edi, edi
je 0x14001db77
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x85
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e6e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea rcx, [rsp + 0x52]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], bx
call fcn.1401bf0f0
lea r9, str.NVTweak
lea r8, str.SOFTWARENVIDIA_CorporationGlobal
lea rdx, str._s_s
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], 4
call qword [sym.imp.USER32.dll_wsprintfW]
lea r11, [rsp + 0x38]
lea edi, [rbx + 1]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov r9d, edi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001e7c9
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001e7c9
lea rax, [rsp + 0x40]
lea rdx, str.DisableVersionCheck
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001e7be
cmp dword [rsp + 0x30], edi
cmove ebx, edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1401be9b0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001eb18
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x10]
lea r8, str.ForceDisableLimitedUser
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalNVTweakOemConfigurations
mov qword [r11 - 0x10], rax
lea rax, [r11 + 8]
xor edi, edi
xor r9d, r9d
mov rcx, 0xffffffff80000002
mov bl, 1
mov qword [r11 - 0x18], rax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x48], 4
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x40], ecx
test ecx, ecx
je 0x14001eb8d
call fcn.140055fcc
test eax, eax
je 0x14001eb83
call fcn.14001ea64
jmp 0x14001eb88
call fcn.14001e7f0
test eax, eax
setne bl
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140020d14
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
and qword [rdx], 0
lea rcx, [0x14001e484]
mov rbx, rdx
mov byte [rdx + 8], 0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx], 0
jne 0x140020d48
lea rcx, [0x140020b38]
mov rdx, rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400212a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x29c], ebx
je 0x1400212ed
call fcn.14006b870
test rax, rax
je 0x1400212d4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x1400212d7
mov rax, rbx
test rax, rax
je 0x1400212e0
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0xa7fa
jmp 0x1400214c0
cmp dword [rcx + 0x2a0], ebx
je 0x1400214cb
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140021339
call fcn.14006b870
test rax, rax
je 0x140021320
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021323
mov rax, rbx
test rax, rax
je 0x14002132c
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b7
jmp 0x1400214c0
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140021379
call fcn.14006b870
test rax, rax
je 0x140021360
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021363
mov rax, rbx
test rax, rax
je 0x14002136c
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b8
jmp 0x1400214c0
call fcn.14001eb18
test al, al
jne 0x1400213b3
call fcn.14006b870
test rax, rax
je 0x14002139a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x14002139d
mov rax, rbx
test rax, rax
je 0x1400213a6
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b9
jmp 0x1400214c0
lea rcx, str.VEN_10DE
call fcn.14001eb9c
test eax, eax
jne 0x140021483
lea rcx, str.VEN_8086
call fcn.14001ecb0
test al, al
je 0x140021454
lea rax, [rsp + 0x48]
lea r8, str.Mode
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalHybridCurrent
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
or edi, 0xffffffff
xor r9d, r9d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], edi
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
test ecx, ecx
jne 0x140021454
call fcn.14006b870
test rax, rax
je 0x14002143d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021440
mov rax, rbx
test rax, rax
je 0x140021449
mov rbx, qword [rax + 0x40]
mov edx, 0x5b4
lea r8d, [rdx + 2]
jmp 0x1400214c0
call fcn.14006b870
test rax, rax
je 0x14002146c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x14002146f
mov rax, rbx
test rax, rax
je 0x140021478
mov rbx, qword [rax + 0x40]
mov edx, 0x5ba
lea r8d, [rdx + 1]
jmp 0x1400214c0
lea rcx, str.VEN_10DE
call fcn.14001ee50
test al, al
jne 0x1400214cb
call fcn.14006b870
test rax, rax
je 0x1400214ab
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x1400214ae
mov rax, rbx
test rax, rax
je 0x1400214b7
mov rbx, qword [rax + 0x40]
mov edx, 0x5bc
lea r8d, [rdx + 1]
xor r9d, r9d
mov rcx, rbx
call fcn.140019308
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400214d8
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
lea r8, str.nvCplUI.exe
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x238], rax
test rax, rax
je 0x14002153f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14002153d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140020d14
mov r8b, byte [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov r9, rsi
mov rcx, rdi
call fcn.1400211f0
jmp 0x14002153f
mov bl, 1
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140025144
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140025168
mov eax, 0x80004003
jmp 0x1400251ff
mov rcx, qword [0x1402fce40]
mov edx, 0x6d
lea r8d, [rdx - 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x14002518a
mov eax, 0x8000ffff
jmp 0x1400251ff
mov rcx, qword [0x1402fce40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140025183
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140025183
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
call fcn.14000d32c
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.140013a5c
mov rcx, rsi
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x1c]
mov qword [rdi + 0x10], rax
mov edx, dword [rsi + 0x28]
call fcn.140013a5c
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.140013a5c
mov qword [rdi + 0x18], rax
mov eax, dword [rsi + 0x30]
mov dword [rdi + 0x28], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140025d20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbx, rcx
jne 0x140025de1
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
setne dil
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140063834
xor ecx, ecx
mov r8d, ecx
test rax, rax
je 0x140025d6d
mov r8, qword [rax + 0x40]
lea rdx, [rbx + 0x178]
mov r9, rcx
test rdx, rdx
je 0x140025d80
mov r9, qword [rdx + 0x40]
cmp r8, r9
jne 0x140025dba
test dil, dil
jne 0x140025dba
test rax, rax
je 0x140025d93
mov rcx, qword [rax + 0x40]
mov rdx, rcx
mov rcx, qword [rbx + 0x40]
xor r8d, r8d
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.140063834
mov rcx, rax
call fcn.14006a630
mov eax, 1
jmp 0x140025de3
mov r8, rcx
test rax, rax
je 0x140025dc6
mov r8, qword [rax + 0x40]
mov rax, rcx
test rdx, rdx
je 0x140025dd2
mov rax, qword [rdx + 0x40]
cmp r8, rax
je 0x140025de1
test dil, dil
je 0x140025de1
mov rcx, rdx
jmp 0x140025dae
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret