joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400586e4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
mov rbp, rsp
sub rsp, 0x30
xor edi, edi
mov rsi, rdx
mov r12, rcx
cmp qword [rdx + 8], rdi
je 0x140058729
mov rax, qword [rdx]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdx]
mov qword [rax + 8], rax
mov qword [rdx + 8], rdi
cmp rcx, qword [rdx]
je 0x140058729
mov rbx, qword [rcx]
call fcn.14005b2ec
mov rcx, rbx
cmp rbx, qword [rsi]
jne 0x140058719
lea rax, [rbp + 0x48]
lea rdx, str.SOFTWARENVIDIA_CorporationNVControlPanel2Client
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rbp + 0x38], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140058848
mov rcx, qword [rbp + 0x48]
lea rax, [rbp + 0x38]
lea r9, [rbp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x40], 3
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140058848
cmp dword [rbp + 0x38], edi
je 0x140058848
mov ecx, dword [rbp + 0x38]
call fcn.14005b2f4
mov rcx, qword [rbp + 0x48]
lea r9, [rbp + 0x40]
mov rbx, rax
lea rax, [rbp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140058840
cmp dword [rbp + 0x38], 0x10
jb 0x140058824
mov r12, qword [rsi]
mov r9d, edi
mov rcx, rsi
mov r8, qword [r12 + 8]
shl r9, 4
mov rdx, r12
add r9, rbx
call fcn.1400072dc
mov rdx, qword [rsi + 8]
movabs rcx, 0xffffffffffffffe
sub rcx, rdx
cmp rcx, 1
jb 0x140058833
lea rcx, [rdx + 1]
inc edi
mov qword [rsi + 8], rcx
mov qword [r12 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov eax, dword [rbp + 0x38]
lea ecx, [rdi + 1]
shl rcx, 4
cmp rcx, rax
jbe 0x1400587cb
mov rcx, rbx
call fcn.14005b2ec
mov eax, 1
jmp 0x14005884a
lea rcx, [0x140223d20]
call fcn.1401e3f9c
int3
mov rcx, rbx
call fcn.14005b2ec
xor eax, eax
add rsp, 0x30
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140059080
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x42]
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], di
call fcn.1401bfd60
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
lea r8, str.InstalledDisplayServers
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalNVTweak
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x208
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x140059112
lea rdx, [rsp + 0x40]
cmp dword [rsp + 0x34], edi
ja 0x140059119
lea rdx, [0x140222cf8]
mov rcx, rbx
call fcn.140003308
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401be840
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140059280
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov word [rsp + 0x60], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.1401bfd60
lea ebx, [rsi + 1]
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], 0x208
lea rdx, [0x140222cf8]
mov rcx, rdi
call fcn.140003308
mov dword [rsp + 0x40], ebx
call fcn.140069a9c
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14005931e
mov ecx, 0x80004005
call fcn.1400013b4
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, str.SOFTWARENVIDIA_CorporationGlobal
call fcn.1401bf020
mov r8d, eax
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
lea rcx, [rsp + 0x30]
call fcn.1400025d0
lea rcx, str.Optimus
call fcn.1401bf020
mov r8d, eax
lea rdx, str.Optimus
lea rcx, [rsp + 0x30]
call fcn.14001c6b4
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
lea r8, str.NvUpdtPath
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x140059411
cmp dword [rsp + 0x38], esi
jbe 0x140059411
lea rbx, [0x14022fe58]
mov rcx, rbx
call fcn.1401bf020
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400025d0
lea rcx, [rsp + 0x60]
call fcn.1401bf020
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001c6b4
mov rcx, rbx
call fcn.1401bf020
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001c6b4
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140002844
mov rbx, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14005942d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1401be840
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005945c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x3c], esi
mov word [rsp + 0x50], si
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.1401bfd60
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x208
call fcn.140069a9c
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x1400594e3
mov ecx, 0x80004005
call fcn.1400013b4
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
call fcn.14005699c
test eax, eax
je 0x140059530
lea rcx, str.SOFTWARENVIDIA_Corporation
call fcn.1401bf020
mov r8d, eax
lea rdx, str.SOFTWARENVIDIA_Corporation
lea rcx, [rsp + 0x30]
call fcn.1400025d0
lea rcx, str.NvTray
call fcn.1401bf020
lea rdx, str.NvTray
jmp 0x140059563
lea rcx, str.SOFTWARENVIDIA_CorporationGlobal
call fcn.1401bf020
mov r8d, eax
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
lea rcx, [rsp + 0x30]
call fcn.1400025d0
lea rcx, str.MediaCenterTray
call fcn.1401bf020
lea rdx, str.MediaCenterTray
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001c6b4
lea rcx, str.0_nvupdt.dll
call fcn.1401bf020
mov r8d, eax
lea rdx, str.0_nvupdt.dll
lea rcx, [rsp + 0x30]
call fcn.14001c6b4
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
lea r8, str.FullPath
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x14005965e
cmp dword [rsp + 0x38], esi
jbe 0x14005965e
lea rbx, [0x14022fe58]
mov rcx, rbx
call fcn.1401bf020
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400025d0
lea rcx, [rsp + 0x50]
call fcn.1401bf020
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001c6b4
mov rcx, rbx
call fcn.1401bf020
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001c6b4
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx - 0x18]
call fcn.140001e3c
add rax, 0x18
mov qword [rdi], rax
or ecx, 0xffffffff
lock xadd dword [rbx - 8], ecx
dec ecx
test ecx, ecx
jg 0x140059689
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x140059689
lea rdx, [0x140222cf8]
mov rcx, rdi
call fcn.140003308
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140059689
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1401be840
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400596b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov word [rsp + 0x50], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.1401bfd60
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x208
lea rdx, str.SOFTWARENVIDIA_CorporationNVIDIA_Update_Core
lea rcx, [rsp + 0x38]
call fcn.140003308
nop
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003308
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14005977d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401be840
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140059ac8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x388]
sub rsp, 0x480
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
and dword [rsp + 0x34], 0
call fcn.140069a9c
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140059b2b
mov ecx, 0x80004005
call fcn.1400013b4
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x34], 1
lea rdx, [0x140224cc8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140059c6e
and dword [rsp + 0x30], eax
lea r8, str.SOFTWAREWow6432NodeAGEIA_Technologies
mov edx, 0x104
lea rcx, [rbp + 0x160]
call fcn.1401c0390
lea r11, [rsp + 0x40]
mov qword [rsp + 0x20], r11
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x160]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140059cd4
mov eax, 4
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.PhysX_Version
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140059c61
mov eax, 0x431bde83
mov r10d, dword [rsp + 0x30]
mul r10d
mov r8d, edx
shr r8d, 0x12
mov eax, r8d
imul eax, eax, 0xf4240
mov ecx, r10d
sub ecx, eax
mov r11d, 0xd1b71759
mov eax, r11d
mul ecx
mov r9d, edx
shr r9d, 0xd
mov eax, r11d
mul r10d
shr edx, 0xd
imul edx, edx, 0x2710
mov ecx, r10d
sub ecx, edx
mov r11d, 0x51eb851f
mov eax, r11d
mul ecx
mov ecx, edx
shr ecx, 5
mov eax, r11d
mul r10d
shr edx, 5
imul edx, edx, 0x64
sub r10d, edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
lea rdx, str._02d._02d._02d_02d
mov rcx, rbx
call fcn.1400029ec
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140059cd4
lea rdx, [0x140225400]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140059cd4
mov edx, 0x8b3
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.140058c38
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140003308
nop
mov rdx, rax
mov rcx, rbx
call fcn.140002844
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140059cd4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1401be840
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140059cfc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x398]
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor ebx, ebx
mov edi, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalRunOpenGLOn
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140059e14
mov esi, ebx
lea rdx, str.ShowContextMenu
lea rcx, [rsp + 0x48]
call fcn.140003308
nop
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x40], 0x104
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x60]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r12d, eax
test eax, eax
jne 0x140059de0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.1401c05a4
test eax, eax
je 0x140059de0
inc edi
inc esi
test r12d, r12d
je 0x140059d7d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140059e14
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
cmp edi, 1
setg al
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1401be840
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005a6b0
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r14, r8
mov r12, rdx
mov rbx, rcx
and dword [rsp + 0x30], 0
and qword [rsp + 0x40], 0
lea rdx, str.PhysX
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14005a71c
mov rdx, r14
mov rcx, rbx
call fcn.140059ac8
jmp 0x14005a8e8
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
and qword [rsp + 0x70], 0
call fcn.140069a9c
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14005a74d
mov ecx, 0x80004005
call fcn.1400013b4
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov edx, 0x81
lea rcx, [rsp + 0x38]
call fcn.1400585a4
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140091704
test eax, eax
je 0x14005a8b7
xor edx, edx
mov rcx, r12
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x14005a7b0
mov rdi, qword [rsp + 0x38]
lea rcx, [rdi - 0x18]
call fcn.140001e3c
add rax, 0x18
mov qword [rbx], rax
jmp 0x14005a8cc
mov rcx, rdi
call fcn.14005b2f4
mov rsi, rax
and dword [rsp + 0x30], 0
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, r12
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14005a81b
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14005a7f9
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14005a81f
mov rcx, rsi
call fcn.14005b2ec
mov rdi, qword [rsp + 0x38]
lea rcx, [rdi - 0x18]
call fcn.140001e3c
add rax, 0x18
mov qword [rbx], rax
jmp 0x14005a8cc
mov eax, dword [rsp + 0x30]
xor r12d, r12d
test eax, 0xfffffffc
jbe 0x14005a8af
xor r13d, r13d
mov rax, qword [rsp + 0x40]
movzx r9d, word [r13 + rax + 2]
movzx r8d, word [r13 + rax]
mov qword [rsp + 0x20], r14
lea rdx, str.StringFileInfo_04x_04x_s
lea rcx, [rbp + 0x190]
call fcn.1400573f8
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x190]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14005a8af
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14005a884
xor eax, eax
jmp 0x14005a88c
mov rcx, rdi
call fcn.1401bf020
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1400025d0
inc r12d
add r13, 4
mov eax, dword [rsp + 0x30]
shr eax, 2
cmp r12d, eax
jb 0x14005a830
mov rcx, rsi
call fcn.14005b2ec
mov rdi, qword [rsp + 0x38]
lea rcx, [rdi - 0x18]
call fcn.140001e3c
add rax, 0x18
mov qword [rbx], rax
or eax, 0xffffffff
lock xadd dword [rdi - 8], eax
dec eax
test eax, eax
jg 0x14005a8e8
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1401be840
add rsp, 0x4b0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14005ae40
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1402ef1f8]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x14005af4c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov esi, 0x104
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x14005af3d
cmp dword [rsp + 0x30], 2
mov byte [rsp + 0x143], bl
jne 0x14005af01
lea rcx, [rsp + 0x40]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
cmp eax, 0x103
setbe bl
jmp 0x14005af3d
lea rdx, [rsp + 0x40]
mov ecx, ebx
sub rdx, rdi
lea rax, [rsi + 0x7ffffefa]
cmp rax, rbx
je 0x14005af29
mov al, byte [rdx + rdi]
cmp al, bl
je 0x14005af29
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x14005af0b
cmp rsi, rbx
jne 0x14005af36
dec rdi
mov ecx, 0x8007007a
cmp ecx, ebx
mov byte [rdi], bl
setge bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14005af4e
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401be840
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14005bd98
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400935e4
mov rsi, rax
test rax, rax
je 0x14005be14
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14005be0f
cmp dword [rbx], 0x40
jb 0x14005be0f
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14005be0f
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14005be18
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140063918
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140063980
call fcn.1400678dc
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140063980
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400639a2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140063304
mov esi, eax
test rdi, rdi
je 0x1400639a0
test rbx, rbx
je 0x1400639a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x1400647ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.1400678dc
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140064848
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.14006427c
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x1400648dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x14006491b
cmp dword [rcx + 0xd8], 0
jne 0x14006491b
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.1400678dc
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140064880
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret