joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400131f8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push rbp
push r13
push r14
lea rbp, [rax - 0xa28]
sub rsp, 0xb10
mov rax, qword [0x1402f2208]
xor rax, rsp
mov qword [rbp + 0xa00], rax
mov edi, 0x104
lea rdx, [rbp - 0x10]
lea rcx, str.ProgramFiles_x86_
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor r14d, r14d
movsxd rsi, eax
test eax, eax
jne 0x140013258
mov eax, 1
jmp 0x1400133b1
lea eax, [rsi + 0x32]
mov r12d, r14d
cmp eax, edi
jle 0x14001328b
movsxd rcx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14005ce84
mov r12d, 1
mov rdi, rax
jmp 0x14001328f
lea rdi, [rbp - 0x10]
lea eax, [rsi + 1]
lea rdx, str.NVIDIA_Corporation3DTV
mov r13d, 0x5c
movsxd rcx, eax
mov word [rdi + rsi*2], r13w
lea rcx, [rdi + rcx*2]
call fcn.1401c25d8
lea r11d, [rsi + 0x18]
lea rdx, str.3DVSerialize.exe
movsxd rax, r11d
mov word [rdi + rax*2], r13w
lea eax, [r11 + 1]
movsxd rcx, eax
lea rcx, [rdi + rcx*2]
call fcn.1401c25d8
lea rcx, [rbp + 0x202]
xor edx, edx
mov r8d, 0x7fe
mov word [rbp + 0x200], r14w
call fcn.1401c1930
lea rdx, str.__s_
lea rcx, [rbp + 0x200]
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x200]
call fcn.1401c0bf0
lea rdx, str._TestUi
cdqe
lea rcx, [rbp + rax*2 + 0x200]
call fcn.1401c25d8
lea esi, [r13 + 0xc]
lea rcx, [rbp - 0x80]
mov r8d, esi
xor edx, edx
call fcn.1401c1930
lea r8d, [r13 - 0x44]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1401c1930
lea rax, [rsp + 0x60]
lea rdx, [rbp + 0x200]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0x4000000
mov dword [rbp - 0x80], esi
mov dword [rsp + 0x20], r14d
call fcn.14005c940
test eax, eax
jne 0x1400133a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001324e
test r12d, r12d
je 0x1400133af
mov rcx, rdi
call fcn.14005ce7c
xor eax, eax
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.1401c0410
lea r11, [rsp + 0xb10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
Function at 0x1400145ac
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 0x1400145d0
mov eax, 0x80004003
jmp 0x140014669
mov rcx, qword [0x140301100]
mov edx, UnRegisterTypeLib
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x1400145f4
mov eax, 0x8000ffff
jmp 0x140014669
mov rcx, qword [0x140301100]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400145ed
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x1400145ed
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
call fcn.14000da88
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.14000c754
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.14000c754
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.14000c754
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 0x140016c94
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 [0x1402f2208]
xor rax, rsp
mov qword [rbp + 0x780], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x140016cd8
xor eax, eax
jmp 0x140016eb7
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x140016cd1
lea rdx, [rsp + 0x34]
lea rcx, str.UserDefinedLocale
xor r8d, r8d
mov word [rsp + 0x30], si
mov dword [rsp + 0x34], esi
call fcn.140001510
test eax, eax
jne 0x140016d27
lea rcx, [rsp + 0x30]
call fcn.1400015b4
test eax, eax
jne 0x140016d1d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x140016d22
movzx eax, word [rsp + 0x30]
movzx ecx, ax
jmp 0x140016d2b
mov ecx, dword [rsp + 0x34]
call fcn.140001958
mov edi, eax
cmp eax, 0x400
je 0x140016cd1
mov r13d, 0x206
lea rcx, [rbp + 0x362]
xor edx, edx
mov r8d, r13d
mov word [rbp + 0x360], si
call fcn.1401c1930
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 0x140016cd1
lea rdx, [0x14022a478]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140016daa
lea r8, [0x14022a470]
lea rcx, [rbp + 0x360]
mov edx, r12d
call fcn.1401c1f60
lea rcx, [rsp + 0x42]
mov r8, r13
xor edx, edx
mov word [rsp + 0x40], si
call fcn.1401c1930
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, r12
call fcn.1401c1f60
lea rcx, [rbp + 0x152]
mov r8, r13
xor edx, edx
mov word [rbp + 0x150], si
call fcn.1401c1930
lea rcx, [rbp + 0x572]
mov r8, r13
xor edx, edx
mov word [rbp + 0x570], si
call fcn.1401c1930
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x150]
mov rdx, r12
call fcn.1401c1f60
lea r13, [0x140229e98]
jmp 0x140016e1e
mov word [rax], si
lea rcx, [rbp + 0x150]
mov rdx, r13
call fcn.1401c1c94
test rax, rax
jne 0x140016e1b
lea rdi, [rsp + 0x40]
lea rcx, [rsp + 0x40]
jmp 0x140016e45
lea rdi, [rax + 2]
mov rcx, rdi
mov rdx, r13
call fcn.1401c1c94
test rax, rax
jne 0x140016e3e
lea rcx, [rbp + 0x570]
mov r8, rdi
mov rdx, r12
call fcn.1401c1f60
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.140014e80
test eax, eax
je 0x140016cd1
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, rbx
call fcn.1401c1f60
mov eax, 1
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1401c0410
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 0x140016efc
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 0x140016f96
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 0x140016f7b
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.140016c94
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001a7a8
Capabilities:
Log keystrokes via application hook

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

Function at 0x14001c838
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 0x14001c873
mov eax, dword [rdx + 8]
cmp eax, 0x101
je 0x14001c86c
cmp eax, 0x2f
je 0x14001c86c
cmp eax, 0x103
je 0x14001c86c
cmp eax, 0x102
jne 0x14001c873
mov eax, 1
jmp 0x14001c895
cmp dword [rdx + 8], 0x100
jne 0x14001c8c8
cmp qword [rdx + 0x10], 9
jne 0x14001c8c8
cmp dword [rcx + 0x270], 0
je 0x14001c8a0
and dword [rcx + 0x270], 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 0x14001c8bf
mov edx, 1
jmp 0x14001c8c1
xor edx, edx
call fcn.14001c1bc
jmp 0x14001c86c
cmp dword [rdx + 8], 0x106
jne 0x14001c893
movzx ecx, word [rdx + 0x10]
call fcn.140056f8c
movzx r11d, ax
mov qword [rdi + 0x10], r11
mov rcx, qword [rbx + 0x280]
mov edx, r11d
mov rax, qword [rcx + 8]
jmp 0x14001c903
cmp dword [rax + 0x18], edx
jae 0x14001c8fd
mov rax, qword [rax + 0x10]
jmp 0x14001c903
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x14001c8f2
mov rax, qword [rbx + 0x280]
mov qword [rsp + 0x38], rcx
cmp rcx, rax
je 0x14001c926
cmp edx, dword [rcx + 0x18]
jb 0x14001c926
lea rcx, [rsp + 0x38]
jmp 0x14001c930
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov rcx, qword [rcx]
cmp rcx, rax
je 0x14001c893
mov rcx, qword [rcx + 0x20]
call fcn.1400608c0
test rax, rax
je 0x14001c893
mov rcx, rax
call fcn.14005822c
jmp 0x14001c895
Function at 0x14001e5d4
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 0x14001e68f
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.14001e510
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 0x14001e649
mov ecx, edi
test edx, edx
jne 0x14001e64b
mov ecx, ebp
mov r8d, dword [rbx + 0x27c]
mov dword [rbx + 0x278], ecx
test esi, esi
je 0x14001e662
mov eax, edi
test edx, edx
je 0x14001e664
mov eax, ebp
xor ecx, r9d
mov dword [rbx + 0x27c], eax
jne 0x14001e676
xor eax, r8d
jne 0x14001e676
mov edi, ebp
test edi, edi
je 0x14001e68f
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 0x14001f200
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 [0x1402f2208]
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.1401c1930
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 0x14001f2e1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001f2e1
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 0x14001f2d6
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.1401c0410
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001f630
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 0x14001f6a5
call fcn.140056888
test eax, eax
je 0x14001f69b
call fcn.14001f57c
jmp 0x14001f6a0
call fcn.14001f308
test eax, eax
setne bl
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140021818
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
and qword [rdx], 0
lea rcx, [0x14001efcc]
mov rbx, rdx
mov byte [rdx + 8], 0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx], 0
jne 0x14002184c
lea rcx, [0x14002163c]
mov rdx, rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140021dac
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 0x140021df1
call fcn.14006efb0
test rax, rax
je 0x140021dd8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021ddb
mov rax, rbx
test rax, rax
je 0x140021de4
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0xa7fa
jmp 0x140021fc4
cmp dword [rcx + 0x2a0], ebx
je 0x140021fcf
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140021e3d
call fcn.14006efb0
test rax, rax
je 0x140021e24
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021e27
mov rax, rbx
test rax, rax
je 0x140021e30
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b7
jmp 0x140021fc4
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140021e7d
call fcn.14006efb0
test rax, rax
je 0x140021e64
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021e67
mov rax, rbx
test rax, rax
je 0x140021e70
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b8
jmp 0x140021fc4
call fcn.14001f630
test al, al
jne 0x140021eb7
call fcn.14006efb0
test rax, rax
je 0x140021e9e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021ea1
mov rax, rbx
test rax, rax
je 0x140021eaa
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b9
jmp 0x140021fc4
lea rcx, str.VEN_10DE
call fcn.14001f6b4
test eax, eax
jne 0x140021f87
lea rcx, str.VEN_8086
call fcn.14001f7c8
test al, al
je 0x140021f58
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 0x140021f58
call fcn.14006efb0
test rax, rax
je 0x140021f41
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021f44
mov rax, rbx
test rax, rax
je 0x140021f4d
mov rbx, qword [rax + 0x40]
mov edx, 0x5b4
lea r8d, [rdx + 2]
jmp 0x140021fc4
call fcn.14006efb0
test rax, rax
je 0x140021f70
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021f73
mov rax, rbx
test rax, rax
je 0x140021f7c
mov rbx, qword [rax + 0x40]
mov edx, 0x5ba
lea r8d, [rdx + 1]
jmp 0x140021fc4
lea rcx, str.VEN_10DE
call fcn.14001f968
test al, al
jne 0x140021fcf
call fcn.14006efb0
test rax, rax
je 0x140021faf
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021fb2
mov rax, rbx
test rax, rax
je 0x140021fbb
mov rbx, qword [rax + 0x40]
mov edx, 0x5bc
lea r8d, [rdx + 1]
xor r9d, r9d
mov rcx, rbx
call fcn.140019710
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140021fdc
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 0x140022043
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140022041
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140021818
mov r8b, byte [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov r9, rsi
mov rcx, rdi
call fcn.140021cf4
jmp 0x140022043
mov bl, 1
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140025c20
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 0x140025c44
mov eax, 0x80004003
jmp 0x140025cdb
mov rcx, qword [0x140301100]
mov edx, 0x6d
lea r8d, [rdx - 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x140025c66
mov eax, 0x8000ffff
jmp 0x140025cdb
mov rcx, qword [0x140301100]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140025c5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140025c5f
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
call fcn.14000da88
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.14000c754
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.14000c754
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.14000c754
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 0x1400267c4
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 0x140026885
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.1400608c0
xor ecx, ecx
mov r8d, ecx
test rax, rax
je 0x140026811
mov r8, qword [rax + 0x40]
lea rdx, [rbx + 0x178]
mov r9, rcx
test rdx, rdx
je 0x140026824
mov r9, qword [rdx + 0x40]
cmp r8, r9
jne 0x14002685e
test dil, dil
jne 0x14002685e
test rax, rax
je 0x140026837
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.1400608c0
mov rcx, rax
call fcn.14006725c
mov eax, 1
jmp 0x140026887
mov r8, rcx
test rax, rax
je 0x14002686a
mov r8, qword [rax + 0x40]
mov rax, rcx
test rdx, rdx
je 0x140026876
mov rax, qword [rdx + 0x40]
cmp r8, rax
je 0x140026885
test dil, dil
je 0x140026885
mov rcx, rdx
jmp 0x140026852
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140038c7c
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
mov ecx, 0xfffe
call fcn.14005ce84
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x140038cb1
mov rcx, qword [rdi]
jmp 0x140038cb4
mov rcx, rdi
mov r8d, 0x7fff
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rbx
call fcn.1401c0bf0
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140002850
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14005ce7c

Function at 0x140038cec
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov rbx, rdx
mov r13, rcx
mov esi, 0x800
mov ecx, esi
call fcn.14005ce84
mov qword [rbp - 0x10], rax
xor ecx, ecx
mov byte [rbp + 0x38], cl
mov r8b, cl
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140028a78
nop
mov dword [rbp + 0x48], esi
cmp qword [rbx + 0x18], 8
jb 0x140038d4b
mov rdx, qword [rbx]
jmp 0x140038d4e
mov rdx, rbx
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov rsi, qword [rbp - 0x10]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
or r14, 0xffffffffffffffff
cmp eax, 0xea
jne 0x140038dd6
mov ecx, dword [rbp + 0x48]
inc ecx
lea eax, [r14 + 3]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.14005ce84
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14002b218
cmp qword [rbx + 0x18], 8
jb 0x140038dad
mov rbx, qword [rbx]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov rsi, qword [rbp - 0x10]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
xor ebx, ebx
test r12d, r12d
jne 0x140038e3a
mov r8d, dword [rbp + 0x48]
shr r8, 1
cmp dword [rbp - 0x20], 1
je 0x140038df8
cmp dword [rbp - 0x20], 2
je 0x140038df8
mov r12d, 0x3bc6
jmp 0x140038e3a
cmp word [rsi + r8*2 - 2], bx
jne 0x140038e18
mov rcx, rsi
call fcn.1401c0bf0
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call fcn.140002850
jmp 0x140038e3a
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x140038e28
mov rax, qword [rdi]
jmp 0x140038e2b
mov rax, rdi
mov word [rax], bx
mov rdx, rsi
mov rcx, rdi
call fcn.1400318e8
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140038e74
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140038e74
mov rbx, qword [rbp - 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x140038e74
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, r12d
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14003d568
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402f2208]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, r8
lea rcx, [rsp + 0x20]
lea r8, reloc.OLEAUT32.dll_VariantCopyInd
call fcn.14003c368
cmp qword [rax + 0x18], 8
jb 0x14003d599
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [rsp + 0x38], 8
jb 0x14003d5b4
mov rcx, qword [rsp + 0x20]
call fcn.14005ce7c
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401c0410
add rsp, 0x58
ret

Function at 0x140042174
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402f2208]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x28], rsi
mov dword [rcx + 0x30], esi
mov qword [rcx + 0x38], rsi
lea rax, vtable.Nvidia::Logging::XMLLogPrinter.0
mov qword [rcx], rax
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
lea rcx, str.MaxPrintingDepth
call fcn.1401c0bf0
mov r8, rax
lea rdx, str.MaxPrintingDepth
lea rcx, [rbp - 0x30]
call fcn.140002850
nop
mov dword [rbp - 0x48], 4
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4c]
xor r8d, r8d
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140042242
mov ecx, 0x3bc6
cmp dword [rbp - 0x4c], 4
cmovne eax, ecx
lea rdx, str.RegQueryValueEx
mov ecx, eax
call fcn.14004204c
lea rax, vtable.Nvidia::Logging::XMLContentsPrinter.0
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov ecx, dword [rbp - 0x50]
mov dword [rdi + 0x68], ecx
cmp qword [rbp - 0x18], 8
jb 0x14004227e
mov rcx, qword [rbp - 0x30]
call fcn.14005ce7c
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401c0410
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret