joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016f04
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 [0x1402ef1f8]
xor rax, rsp
mov qword [rbp + 0x780], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x140016f48
xor eax, eax
jmp 0x140017127
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x140016f41
lea rdx, [rsp + 0x34]
lea rcx, str.UserDefinedLocale
xor r8d, r8d
mov word [rsp + 0x30], si
mov dword [rsp + 0x34], esi
call fcn.140001570
test eax, eax
jne 0x140016f97
lea rcx, [rsp + 0x30]
call fcn.140001614
test eax, eax
jne 0x140016f8d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x140016f92
movzx eax, word [rsp + 0x30]
movzx ecx, ax
jmp 0x140016f9b
mov ecx, dword [rsp + 0x34]
call fcn.1400019b8
mov edi, eax
cmp eax, 0x400
je 0x140016f41
mov r13d, 0x206
lea rcx, [rbp + 0x362]
xor edx, edx
mov r8d, r13d
mov word [rbp + 0x360], si
call fcn.1401bfd60
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 0x140016f41
lea rdx, [0x1402283d8]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14001701a
lea r8, [0x1402283d0]
lea rcx, [rbp + 0x360]
mov edx, r12d
call fcn.1401c0390
lea rcx, [rsp + 0x42]
mov r8, r13
xor edx, edx
mov word [rsp + 0x40], si
call fcn.1401bfd60
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, r12
call fcn.1401c0390
lea rcx, [rbp + 0x152]
mov r8, r13
xor edx, edx
mov word [rbp + 0x150], si
call fcn.1401bfd60
lea rcx, [rbp + 0x572]
mov r8, r13
xor edx, edx
mov word [rbp + 0x570], si
call fcn.1401bfd60
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x150]
mov rdx, r12
call fcn.1401c0390
lea r13, [0x140227e78]
jmp 0x14001708e
mov word [rax], si
lea rcx, [rbp + 0x150]
mov rdx, r13
call fcn.1401c00c4
test rax, rax
jne 0x14001708b
lea rdi, [rsp + 0x40]
lea rcx, [rsp + 0x40]
jmp 0x1400170b5
lea rdi, [rax + 2]
mov rcx, rdi
mov rdx, r13
call fcn.1401c00c4
test rax, rax
jne 0x1400170ae
lea rcx, [rbp + 0x570]
mov r8, rdi
mov rdx, r12
call fcn.1401c0390
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.140015264
test eax, eax
je 0x140016f41
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, rbx
call fcn.1401c0390
mov eax, 1
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1401be840
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 0x1400171c4
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 0x14001725e
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 0x140017243
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.140016f04
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001aa54
Capabilities:
Log keystrokes via application hook

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

Function at 0x14001c928
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 0x14001c963
mov eax, dword [rdx + 8]
cmp eax, 0x101
je 0x14001c95c
cmp eax, 0x2f
je 0x14001c95c
cmp eax, 0x103
je 0x14001c95c
cmp eax, 0x102
jne 0x14001c963
mov eax, 1
jmp 0x14001c985
cmp dword [rdx + 8], 0x100
jne 0x14001c9b8
cmp qword [rdx + 0x10], 9
jne 0x14001c9b8
cmp dword [rcx + 0x270], 0
je 0x14001c990
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 0x14001c9af
mov edx, 1
jmp 0x14001c9b1
xor edx, edx
call fcn.14001c4b4
jmp 0x14001c95c
cmp dword [rdx + 8], 0x106
jne 0x14001c983
movzx ecx, word [rdx + 0x10]
call fcn.140057008
movzx r11d, ax
mov qword [rdi + 0x10], r11
mov rcx, qword [rbx + 0x280]
mov edx, r11d
mov rax, qword [rcx + 8]
jmp 0x14001c9f3
cmp dword [rax + 0x18], edx
jae 0x14001c9ed
mov rax, qword [rax + 0x10]
jmp 0x14001c9f3
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x14001c9e2
mov rax, qword [rbx + 0x280]
mov qword [rsp + 0x38], rcx
cmp rcx, rax
je 0x14001ca16
cmp edx, dword [rcx + 0x18]
jb 0x14001ca16
lea rcx, [rsp + 0x38]
jmp 0x14001ca20
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov rcx, qword [rcx]
cmp rcx, rax
je 0x14001c983
mov rcx, qword [rcx + 0x20]
call fcn.14005ed50
test rax, rax
je 0x14001c983
mov rcx, rax
call fcn.140058018
jmp 0x14001c985
Function at 0x14001e6c4
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 0x14001e77f
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.14001e600
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 0x14001e739
mov ecx, edi
test edx, edx
jne 0x14001e73b
mov ecx, ebp
mov r8d, dword [rbx + 0x27c]
mov dword [rbx + 0x278], ecx
test esi, esi
je 0x14001e752
mov eax, edi
test edx, edx
je 0x14001e754
mov eax, ebp
xor ecx, r9d
mov dword [rbx + 0x27c], eax
jne 0x14001e766
xor eax, r8d
jne 0x14001e766
mov edi, ebp
test edi, edi
je 0x14001e77f
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 0x14001f2b8
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 [0x1402ef1f8]
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.1401bfd60
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 0x14001f399
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001f399
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 0x14001f38e
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.1401be840
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001f6e8
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 0x14001f75d
call fcn.14005699c
test eax, eax
je 0x14001f753
call fcn.14001f634
jmp 0x14001f758
call fcn.14001f3c0
test eax, eax
setne bl
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400218d0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
and qword [rdx], 0
lea rcx, [0x14001f08c]
mov rbx, rdx
mov byte [rdx + 8], 0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx], 0
jne 0x140021904
lea rcx, [0x1400216f4]
mov rdx, rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140021e64
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 0x140021ea9
call fcn.14006d538
test rax, rax
je 0x140021e90
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021e93
mov rax, rbx
test rax, rax
je 0x140021e9c
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0xa7fa
jmp 0x14002207c
cmp dword [rcx + 0x2a0], ebx
je 0x140022087
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140021ef5
call fcn.14006d538
test rax, rax
je 0x140021edc
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021edf
mov rax, rbx
test rax, rax
je 0x140021ee8
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b7
jmp 0x14002207c
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140021f35
call fcn.14006d538
test rax, rax
je 0x140021f1c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021f1f
mov rax, rbx
test rax, rax
je 0x140021f28
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b8
jmp 0x14002207c
call fcn.14001f6e8
test al, al
jne 0x140021f6f
call fcn.14006d538
test rax, rax
je 0x140021f56
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021f59
mov rax, rbx
test rax, rax
je 0x140021f62
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b9
jmp 0x14002207c
lea rcx, str.VEN_10DE
call fcn.14001f76c
test eax, eax
jne 0x14002203f
lea rcx, str.VEN_8086
call fcn.14001f880
test al, al
je 0x140022010
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 0x140022010
call fcn.14006d538
test rax, rax
je 0x140021ff9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021ffc
mov rax, rbx
test rax, rax
je 0x140022005
mov rbx, qword [rax + 0x40]
mov edx, 0x5b4
lea r8d, [rdx + 2]
jmp 0x14002207c
call fcn.14006d538
test rax, rax
je 0x140022028
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x14002202b
mov rax, rbx
test rax, rax
je 0x140022034
mov rbx, qword [rax + 0x40]
mov edx, 0x5ba
lea r8d, [rdx + 1]
jmp 0x14002207c
lea rcx, str.VEN_10DE
call fcn.14001fa20
test al, al
jne 0x140022087
call fcn.14006d538
test rax, rax
je 0x140022067
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x14002206a
mov rax, rbx
test rax, rax
je 0x140022073
mov rbx, qword [rax + 0x40]
mov edx, 0x5bc
lea r8d, [rdx + 1]
xor r9d, r9d
mov rcx, rbx
call fcn.1400199bc
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140022094
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 0x1400220fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400220f9
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400218d0
mov r8b, byte [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov r9, rsi
mov rcx, rdi
call fcn.140021dac
jmp 0x1400220fb
mov bl, 1
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140025c48
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 0x140025c6c
mov eax, 0x80004003
jmp 0x140025d03
mov rcx, qword [0x1402fdea0]
mov edx, 0x6d
lea r8d, [rdx - 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x140025c8e
mov eax, 0x8000ffff
jmp 0x140025d03
mov rcx, qword [0x1402fdea0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140025c87
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140025c87
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
call fcn.14000df90
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.14000cc94
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.14000cc94
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.14000cc94
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 0x140026850
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 0x140026911
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.14005ed50
xor ecx, ecx
mov r8d, ecx
test rax, rax
je 0x14002689d
mov r8, qword [rax + 0x40]
lea rdx, [rbx + 0x178]
mov r9, rcx
test rdx, rdx
je 0x1400268b0
mov r9, qword [rdx + 0x40]
cmp r8, r9
jne 0x1400268ea
test dil, dil
jne 0x1400268ea
test rax, rax
je 0x1400268c3
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.14005ed50
mov rcx, rax
call fcn.140065784
mov eax, 1
jmp 0x140026913
mov r8, rcx
test rax, rax
je 0x1400268f6
mov r8, qword [rax + 0x40]
mov rax, rcx
test rdx, rdx
je 0x140026902
mov rax, qword [rdx + 0x40]
cmp r8, rax
je 0x140026911
test dil, dil
je 0x140026911
mov rcx, rdx
jmp 0x1400268de
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140039308
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.14005b2f4
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x14003933d
mov rcx, qword [rdi]
jmp 0x140039340
mov rcx, rdi
mov r8d, 0x7fff
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rbx
call fcn.1401bf020
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1400028c4
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14005b2ec

Function at 0x140039378
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.14005b2f4
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.140028a8c
nop
mov dword [rbp + 0x48], esi
cmp qword [rbx + 0x18], 8
jb 0x1400393d7
mov rdx, qword [rbx]
jmp 0x1400393da
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 0x140039462
mov ecx, dword [rbp + 0x48]
inc ecx
lea eax, [r14 + 3]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.14005b2f4
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14002b644
cmp qword [rbx + 0x18], 8
jb 0x140039439
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 0x1400394c6
mov r8d, dword [rbp + 0x48]
shr r8, 1
cmp dword [rbp - 0x20], 1
je 0x140039484
cmp dword [rbp - 0x20], 2
je 0x140039484
mov r12d, 0x3bc6
jmp 0x1400394c6
cmp word [rsi + r8*2 - 2], bx
jne 0x1400394a4
mov rcx, rsi
call fcn.1401bf020
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call fcn.1400028c4
jmp 0x1400394c6
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x1400394b4
mov rax, qword [rdi]
jmp 0x1400394b7
mov rax, rdi
mov word [rax], bx
mov rdx, rsi
mov rcx, rdi
call fcn.140031ec8
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140039500
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140039500
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 0x140039500
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 0x14003d914
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, r8
lea rcx, [rsp + 0x20]
lea r8, reloc.OLEAUT32.dll_VariantCopyInd
call fcn.14003ca2c
cmp qword [rax + 0x18], 8
jb 0x14003d945
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [rsp + 0x38], 8
jb 0x14003d960
mov rcx, qword [rsp + 0x20]
call fcn.14005b2ec
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401be840
add rsp, 0x58
ret

Function at 0x140042364
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 [0x1402ef1f8]
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.1401bf020
mov r8, rax
lea rdx, str.MaxPrintingDepth
lea rcx, [rbp - 0x30]
call fcn.1400028c4
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 0x140042432
mov ecx, 0x3bc6
cmp dword [rbp - 0x4c], 4
cmovne eax, ecx
lea rdx, str.RegQueryValueEx
mov ecx, eax
call fcn.14004223c
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 0x14004246e
mov rcx, qword [rbp - 0x30]
call fcn.14005b2ec
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401be840
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004318c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rsi, rdx
mov r13, rcx
xor edi, edi
cmp qword [rcx], 0xffffffffffffffff
je 0x14004328a
mov r12d, edi
mov r14, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400431d1
mov r8, qword [rdx]
jmp 0x1400431d4
mov r8, rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
mov rbx, rdi
mov qword [rsp + 0x90], rbx
test eax, eax
jle 0x14004324e
mov rcx, rbp
call fcn.14005b2f4
mov r12, rax
mov rbx, rax
xor ecx, ecx
call fcn.14005b2ec
cmp qword [rsi + 0x18], 8
jb 0x140043228
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r12
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x80]
mov r8d, ebp
mov rdx, r12
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140043282
cmp dword [rsp + 0x80], ebp
jne 0x140043282
mov dil, 1
mov rcx, rbx
call fcn.14005b2ec
mov al, dil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14005177c
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
lea r8, [rcx + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x5ab
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rdi + 0x10]
lea r8, [rdi + 0x228]
mov edx, 0x5ad
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rdi + 0x10]
xor ebx, ebx
cmp dword [rdi + 0x430], ebx
mov edx, 0xa7f9
setne bl
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x5ab
lea r8d, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea r8, [rsp + 0x50]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.14005addc
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rcx, qword [rdi + 0x10]
mov edx, 0x5ae
mov qword [rdi + 0x18], rax
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rdi + 0x10]
lea r8, [rsp + 0x40]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [rsp + 0x48]
mov rcx, qword [rdi + 0x10]
sub ebx, dword [rsp + 0x40]
mov edx, 0x5b0
call qword [sym.imp.USER32.dll_GetDlgItem]
mov dword [rsp + 0x30], 6
xor r9d, r9d
mov rcx, rax
mov eax, dword [rsp + 0x44]
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401be840
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret