joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400163b8
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 0x1400163fc
xor eax, eax
jmp 0x1400165db
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jl 0x1400163f5
lea rdx, [rsp + 0x34]
lea rcx, str.UserDefinedLocale
xor r8d, r8d
mov word [rsp + 0x30], si
mov dword [rsp + 0x34], esi
call fcn.1400011f8
test eax, eax
jne 0x14001644b
lea rcx, [rsp + 0x30]
call fcn.14000129c
test eax, eax
jne 0x140016441
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x140016446
movzx eax, word [rsp + 0x30]
movzx ecx, ax
jmp 0x14001644f
mov ecx, dword [rsp + 0x34]
call fcn.140001640
mov edi, eax
cmp eax, 0x400
je 0x1400163f5
mov r13d, 0x206
lea rcx, [rbp + 0x362]
xor edx, edx
mov r8d, r13d
mov word [rbp + 0x360], si
call fcn.1401bf180
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 0x1400163f5
lea rdx, [0x140226f88]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1400164ce
lea r8, [0x140226f80]
lea rcx, [rbp + 0x360]
mov edx, r12d
call fcn.1401bf7b0
lea rcx, [rsp + 0x42]
mov r8, r13
xor edx, edx
mov word [rsp + 0x40], si
call fcn.1401bf180
lea rcx, [rsp + 0x40]
mov r8, rbx
mov rdx, r12
call fcn.1401bf7b0
lea rcx, [rbp + 0x152]
mov r8, r13
xor edx, edx
mov word [rbp + 0x150], si
call fcn.1401bf180
lea rcx, [rbp + 0x572]
mov r8, r13
xor edx, edx
mov word [rbp + 0x570], si
call fcn.1401bf180
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x150]
mov rdx, r12
call fcn.1401bf7b0
lea r13, [0x140226a28]
jmp 0x140016542
mov word [rax], si
lea rcx, [rbp + 0x150]
mov rdx, r13
call fcn.1401bf4e4
test rax, rax
jne 0x14001653f
lea rdi, [rsp + 0x40]
lea rcx, [rsp + 0x40]
jmp 0x140016569
lea rdi, [rax + 2]
mov rcx, rdi
mov rdx, r13
call fcn.1401bf4e4
test rax, rax
jne 0x140016562
lea rcx, [rbp + 0x570]
mov r8, rdi
mov rdx, r12
call fcn.1401bf7b0
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.140014788
test eax, eax
je 0x1400163f5
lea r8, [rsp + 0x40]
mov rdx, r12
mov rcx, rbx
call fcn.1401bf7b0
mov eax, 1
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1401bea40
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 0x140016678
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 0x140016712
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 0x1400166f7
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.1400163b8
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140019e00
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1402f1160]
xor ebx, ebx
test rcx, rcx
je 0x140019e21
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [0x1402f1160], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
lea rdx, [0x140019cdc]
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 0x14001bcd0
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 0x14001bd0b
mov eax, dword [rdx + 8]
cmp eax, 0x101
je 0x14001bd04
cmp eax, 0x2f
je 0x14001bd04
cmp eax, 0x103
je 0x14001bd04
cmp eax, 0x102
jne 0x14001bd0b
mov eax, 1
jmp 0x14001bd2d
cmp dword [rdx + 8], 0x100
jne 0x14001bd60
cmp qword [rdx + 0x10], 9
jne 0x14001bd60
cmp dword [rcx + 0x250], 0
je 0x14001bd38
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 0x14001bd57
mov edx, 1
jmp 0x14001bd59
xor edx, edx
call fcn.14001b814
jmp 0x14001bd04
cmp dword [rdx + 8], 0x106
jne 0x14001bd2b
movzx ecx, word [rdx + 0x10]
call fcn.140056660
movzx r11d, ax
mov qword [rdi + 0x10], r11
mov rcx, qword [rbx + 0x260]
mov edx, r11d
mov rax, qword [rcx + 8]
jmp 0x14001bd9b
cmp dword [rax + 0x18], edx
jae 0x14001bd95
mov rax, qword [rax + 0x10]
jmp 0x14001bd9b
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x14001bd8a
mov rax, qword [rbx + 0x260]
mov qword [rsp + 0x38], rcx
cmp rcx, rax
je 0x14001bdbe
cmp edx, dword [rcx + 0x18]
jb 0x14001bdbe
lea rcx, [rsp + 0x38]
jmp 0x14001bdc8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov rcx, qword [rcx]
cmp rcx, rax
je 0x14001bd2b
mov rcx, qword [rcx + 0x20]
call fcn.1400638d4
test rax, rax
je 0x14001bd2b
mov rcx, rax
call fcn.140057670
jmp 0x14001bd2d
Function at 0x14001da6c
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 0x14001db27
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.14001d9a8
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 0x14001dae1
mov ecx, edi
test edx, edx
jne 0x14001dae3
mov ecx, ebp
mov r8d, dword [rbx + 0x27c]
mov dword [rbx + 0x278], ecx
test esi, esi
je 0x14001dafa
mov eax, edi
test edx, edx
je 0x14001dafc
mov eax, ebp
xor ecx, r9d
mov dword [rbx + 0x27c], eax
jne 0x14001db0e
xor eax, r8d
jne 0x14001db0e
mov edi, ebp
test edi, edi
je 0x14001db27
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 0x14001e698
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.1401bf180
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 0x14001e779
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001e779
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 0x14001e76e
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.1401bea40
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001eac8
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 0x14001eb3d
call fcn.140055ff4
test eax, eax
je 0x14001eb33
call fcn.14001ea14
jmp 0x14001eb38
call fcn.14001e7a0
test eax, eax
setne bl
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140020cc4
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
and qword [rdx], 0
lea rcx, [0x14001e434]
mov rbx, rdx
mov byte [rdx + 8], 0
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx], 0
jne 0x140020cf8
lea rcx, [0x140020ae8]
mov rdx, rbx
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140021258
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 0x14002129d
call fcn.14006b910
test rax, rax
je 0x140021284
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021287
mov rax, rbx
test rax, rax
je 0x140021290
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0xa7fa
jmp 0x140021470
cmp dword [rcx + 0x2a0], ebx
je 0x14002147b
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1400212e9
call fcn.14006b910
test rax, rax
je 0x1400212d0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x1400212d3
mov rax, rbx
test rax, rax
je 0x1400212dc
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b7
jmp 0x140021470
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x140021329
call fcn.14006b910
test rax, rax
je 0x140021310
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x140021313
mov rax, rbx
test rax, rax
je 0x14002131c
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b8
jmp 0x140021470
call fcn.14001eac8
test al, al
jne 0x140021363
call fcn.14006b910
test rax, rax
je 0x14002134a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x14002134d
mov rax, rbx
test rax, rax
je 0x140021356
mov rbx, qword [rax + 0x40]
xor r8d, r8d
mov edx, 0x5b9
jmp 0x140021470
lea rcx, str.VEN_10DE
call fcn.14001eb4c
test eax, eax
jne 0x140021433
lea rcx, str.VEN_8086
call fcn.14001ec60
test al, al
je 0x140021404
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 0x140021404
call fcn.14006b910
test rax, rax
je 0x1400213ed
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x1400213f0
mov rax, rbx
test rax, rax
je 0x1400213f9
mov rbx, qword [rax + 0x40]
mov edx, 0x5b4
lea r8d, [rdx + 2]
jmp 0x140021470
call fcn.14006b910
test rax, rax
je 0x14002141c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x14002141f
mov rax, rbx
test rax, rax
je 0x140021428
mov rbx, qword [rax + 0x40]
mov edx, 0x5ba
lea r8d, [rdx + 1]
jmp 0x140021470
lea rcx, str.VEN_10DE
call fcn.14001ee00
test al, al
jne 0x14002147b
call fcn.14006b910
test rax, rax
je 0x14002145b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
jmp 0x14002145e
mov rax, rbx
test rax, rax
je 0x140021467
mov rbx, qword [rax + 0x40]
mov edx, 0x5bc
lea r8d, [rdx + 1]
xor r9d, r9d
mov rcx, rbx
call fcn.1400192b8
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140021488
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 0x1400214ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400214ed
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140020cc4
mov r8b, byte [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov r9, rsi
mov rcx, rdi
call fcn.1400211a0
jmp 0x1400214ef
mov bl, 1
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140025134
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 0x140025158
mov eax, 0x80004003
jmp 0x1400251ef
mov rcx, qword [0x1402fce40]
mov edx, 0x6d
lea r8d, [rdx - 0x68]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x14002517a
mov eax, 0x8000ffff
jmp 0x1400251ef
mov rcx, qword [0x1402fce40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140025173
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140025173
lea rdx, [rsi + 0x1c]
mov r8b, 1
mov rcx, rax
call fcn.14000d358
mov dword [rdi], 0x30
mov edx, dword [rsi + 0x24]
mov rcx, rsi
call fcn.140013a6c
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.140013a6c
mov rcx, rsi
mov qword [rdi + 0x20], rax
mov edx, dword [rsi + 0x2c]
call fcn.140013a6c
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 0x140025cac
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 0x140025d6d
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.1400638d4
xor ecx, ecx
mov r8d, ecx
test rax, rax
je 0x140025cf9
mov r8, qword [rax + 0x40]
lea rdx, [rbx + 0x178]
mov r9, rcx
test rdx, rdx
je 0x140025d0c
mov r9, qword [rdx + 0x40]
cmp r8, r9
jne 0x140025d46
test dil, dil
jne 0x140025d46
test rax, rax
je 0x140025d1f
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.1400638d4
mov rcx, rax
call fcn.14006a6d0
mov eax, 1
jmp 0x140025d6f
mov r8, rcx
test rax, rax
je 0x140025d52
mov r8, qword [rax + 0x40]
mov rax, rcx
test rdx, rdx
je 0x140025d5e
mov rax, qword [rdx + 0x40]
cmp r8, rax
je 0x140025d6d
test dil, dil
je 0x140025d6d
mov rcx, rdx
jmp 0x140025d3a
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140038740
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.14005a6b4
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x140038775
mov rcx, qword [rdi]
jmp 0x140038778
mov rcx, rdi
mov r8d, 0x7fff
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rbx
call fcn.1401be384
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1401f2230
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14005a6ac

Function at 0x1400387b0
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.14005a6b4
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.140027fd0
nop
mov dword [rbp + 0x48], esi
cmp qword [rbx + 0x18], 8
jb 0x14003880f
mov rdx, qword [rbx]
jmp 0x140038812
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 0x14003889a
mov ecx, dword [rbp + 0x48]
inc ecx
lea eax, [r14 + 3]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.14005a6b4
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14002aa20
cmp qword [rbx + 0x18], 8
jb 0x140038871
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 0x1400388fe
mov r8d, dword [rbp + 0x48]
shr r8, 1
cmp dword [rbp - 0x20], 1
je 0x1400388bc
cmp dword [rbp - 0x20], 2
je 0x1400388bc
mov r12d, 0x3bc6
jmp 0x1400388fe
cmp word [rsi + r8*2 - 2], bx
jne 0x1400388dc
mov rcx, rsi
call fcn.1401be384
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call fcn.1401f2230
jmp 0x1400388fe
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x1400388ec
mov rax, qword [rdi]
jmp 0x1400388ef
mov rax, rdi
mov word [rax], bx
mov rdx, rsi
mov rcx, rdi
call fcn.140031308
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140038938
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x140038938
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 0x140038938
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 0x14003d078
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402ee230]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, r8
lea rcx, [rsp + 0x20]
lea r8, reloc.OLEAUT32.dll_VariantCopyInd
call fcn.14003beb0
cmp qword [rax + 0x18], 8
jb 0x14003d0a9
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp qword [rsp + 0x38], 8
jb 0x14003d0c4
mov rcx, qword [rsp + 0x20]
call fcn.14005a6ac
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401bea40
add rsp, 0x58
ret

Function at 0x140041b14
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 [0x1402ee230]
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.1401be384
mov r8, rax
lea rdx, str.MaxPrintingDepth
lea rcx, [rbp - 0x30]
call fcn.1401f2230
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 0x140041be2
mov ecx, 0x3bc6
cmp dword [rbp - 0x4c], 4
cmovne eax, ecx
lea rdx, str.RegQueryValueEx
mov ecx, eax
call fcn.1400419ec
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 0x140041c1e
mov rcx, qword [rbp - 0x30]
call fcn.14005a6ac
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401bea40
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140042a38
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 0x140042b36
mov r12d, edi
mov r14, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140042a7d
mov r8, qword [rdx]
jmp 0x140042a80
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 0x140042afa
mov rcx, rbp
call fcn.14005a6b4
mov r12, rax
mov rbx, rax
xor ecx, ecx
call fcn.14005a6ac
cmp qword [rsi + 0x18], 8
jb 0x140042ad4
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 0x140042b2e
cmp dword [rsp + 0x80], ebp
jne 0x140042b2e
mov dil, 1
mov rcx, rbx
call fcn.14005a6ac
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 0x140050e90
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1402ee230]
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.14005a1a4
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.1401bea40
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret