joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140057c34
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 0x140057c79
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 0x140057c79
mov rbx, qword [rcx]
call fcn.14005a6ac
mov rcx, rbx
cmp rbx, qword [rsi]
jne 0x140057c69
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 0x140057d98
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 0x140057d98
cmp dword [rbp + 0x38], edi
je 0x140057d98
mov ecx, dword [rbp + 0x38]
call fcn.14005a6b4
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 0x140057d90
cmp dword [rbp + 0x38], 0x10
jb 0x140057d74
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.1400068b4
mov rdx, qword [rsi + 8]
movabs rcx, 0xffffffffffffffe
sub rcx, rdx
cmp rcx, 1
jb 0x140057d83
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 0x140057d1b
mov rcx, rbx
call fcn.14005a6ac
mov eax, 1
jmp 0x140057d9a
lea rcx, [0x140222910]
call fcn.1401e33bc
int3
mov rcx, rbx
call fcn.14005a6ac
xor eax, eax
add rsp, 0x30
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400585d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1402ee230]
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.1401bf180
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 0x140058662
lea rdx, [rsp + 0x40]
cmp dword [rsp + 0x34], edi
ja 0x140058669
lea rdx, [0x140221918]
mov rcx, rbx
call fcn.140002cfc
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401bea40
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x1400587d0
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 [0x1402ee230]
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.1401bf180
lea ebx, [rsi + 1]
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], 0x208
lea rdx, [0x140221918]
mov rcx, rdi
call fcn.140002cfc
mov dword [rsp + 0x40], ebx
call fcn.14005e240
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14005886e
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, str.SOFTWARENVIDIA_CorporationGlobal
call fcn.1401be384
mov r8d, eax
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
lea rcx, [rsp + 0x30]
call fcn.140002168
lea rcx, str.Optimus
call fcn.1401be384
mov r8d, eax
lea rdx, str.Optimus
lea rcx, [rsp + 0x30]
call fcn.14001ba5c
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 0x140058961
cmp dword [rsp + 0x38], esi
jbe 0x140058961
lea rbx, [0x14022e9e0]
mov rcx, rbx
call fcn.1401be384
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140002168
lea rcx, [rsp + 0x60]
call fcn.1401be384
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001ba5c
mov rcx, rbx
call fcn.1401be384
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001ba5c
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400023dc
mov rbx, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14005897d
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.1401bea40
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 0x1400589ac
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 [0x1402ee230]
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.1401bf180
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x208
call fcn.14005e240
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x140058a33
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
call fcn.140055ff4
test eax, eax
je 0x140058a80
lea rcx, str.SOFTWARENVIDIA_Corporation
call fcn.1401be384
mov r8d, eax
lea rdx, str.SOFTWARENVIDIA_Corporation
lea rcx, [rsp + 0x30]
call fcn.140002168
lea rcx, str.NvTray
call fcn.1401be384
lea rdx, str.NvTray
jmp 0x140058ab3
lea rcx, str.SOFTWARENVIDIA_CorporationGlobal
call fcn.1401be384
mov r8d, eax
lea rdx, str.SOFTWARENVIDIA_CorporationGlobal
lea rcx, [rsp + 0x30]
call fcn.140002168
lea rcx, str.MediaCenterTray
call fcn.1401be384
lea rdx, str.MediaCenterTray
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.14001ba5c
lea rcx, str.0_nvupdt.dll
call fcn.1401be384
mov r8d, eax
lea rdx, str.0_nvupdt.dll
lea rcx, [rsp + 0x30]
call fcn.14001ba5c
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 0x140058bae
cmp dword [rsp + 0x38], esi
jbe 0x140058bae
lea rbx, [0x14022e9e0]
mov rcx, rbx
call fcn.1401be384
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140002168
lea rcx, [rsp + 0x50]
call fcn.1401be384
mov r8d, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14001ba5c
mov rcx, rbx
call fcn.1401be384
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001ba5c
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx - 0x18]
call fcn.140001ac4
add rax, 0x18
mov qword [rdi], rax
or ecx, 0xffffffff
lock xadd dword [rbx - 8], ecx
dec ecx
test ecx, ecx
jg 0x140058bd9
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x140058bd9
lea rdx, [0x140221918]
mov rcx, rdi
call fcn.140002cfc
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140058bd9
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.1401bea40
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 0x140058c04
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 [0x1402ee230]
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.1401bf180
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x208
lea rdx, str.SOFTWARENVIDIA_CorporationNVIDIA_Update_Core
lea rcx, [rsp + 0x38]
call fcn.140002cfc
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.140002cfc
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140058ccd
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.1401bea40
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140059018
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 [0x1402ee230]
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.14005e240
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x14005907b
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x34], 1
lea rdx, [0x1402238b8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400591be
and dword [rsp + 0x30], eax
lea r8, str.SOFTWAREWow6432NodeAGEIA_Technologies
mov edx, 0x104
lea rcx, [rbp + 0x160]
call fcn.1401bf7b0
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 0x140059224
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 0x1400591b1
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.14000245c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140059224
lea rdx, [0x140223fa0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140059224
mov edx, 0x8b3
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.140058188
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140002cfc
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400023dc
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140059224
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.1401bea40
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005924c
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 [0x1402ee230]
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 0x140059364
mov esi, ebx
lea rdx, str.ShowContextMenu
lea rcx, [rsp + 0x48]
call fcn.140002cfc
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 0x140059330
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.1401bf9c4
test eax, eax
je 0x140059330
inc edi
inc esi
test r12d, r12d
je 0x1400592cd
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 0x140059364
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.1401bea40
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 0x140059ea8
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 [0x1402ee230]
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 0x140059f14
mov rdx, r14
mov rcx, rbx
call fcn.140059018
jmp 0x14005a0e0
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
and qword [rsp + 0x70], 0
call fcn.14005e240
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140059f45
mov ecx, 0x80004005
call fcn.140001000
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.140057af4
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140090da8
test eax, eax
je 0x14005a0af
xor edx, edx
mov rcx, r12
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x140059fa8
mov rdi, qword [rsp + 0x38]
lea rcx, [rdi - 0x18]
call fcn.140001ac4
add rax, 0x18
mov qword [rbx], rax
jmp 0x14005a0c4
mov rcx, rdi
call fcn.14005a6b4
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 0x14005a013
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, str.VarFileInfoTranslation
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140059ff1
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x14005a017
mov rcx, rsi
call fcn.14005a6ac
mov rdi, qword [rsp + 0x38]
lea rcx, [rdi - 0x18]
call fcn.140001ac4
add rax, 0x18
mov qword [rbx], rax
jmp 0x14005a0c4
mov eax, dword [rsp + 0x30]
xor r12d, r12d
test eax, 0xfffffffc
jbe 0x14005a0a7
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.140056a50
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x190]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14005a0a7
mov rdi, qword [rsp + 0x50]
test rdi, rdi
jne 0x14005a07c
xor eax, eax
jmp 0x14005a084
mov rcx, rdi
call fcn.1401be384
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140002168
inc r12d
add r13, 4
mov eax, dword [rsp + 0x30]
shr eax, 2
cmp r12d, eax
jb 0x14005a028
mov rcx, rsi
call fcn.14005a6ac
mov rdi, qword [rsp + 0x38]
lea rcx, [rdi - 0x18]
call fcn.140001ac4
add rax, 0x18
mov qword [rbx], rax
or eax, 0xffffffff
lock xadd dword [rdi - 8], eax
dec eax
test eax, eax
jg 0x14005a0e0
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.1401bea40
add rsp, 0x4b0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14005a208
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 [0x1402ee230]
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 0x14005a314
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 0x14005a305
cmp dword [rsp + 0x30], 2
mov byte [rsp + 0x143], bl
jne 0x14005a2c9
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 0x14005a305
lea rdx, [rsp + 0x40]
mov ecx, ebx
sub rdx, rdi
lea rax, [rsi + 0x7ffffefa]
cmp rax, rbx
je 0x14005a2f1
mov al, byte [rdx + rdi]
cmp al, bl
je 0x14005a2f1
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x14005a2d3
cmp rsi, rbx
jne 0x14005a2fe
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 0x14005a316
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401bea40
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140060a00
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.140093424
mov rsi, rax
test rax, rax
je 0x140060a7c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140060a77
cmp dword [rbx], 0x40
jb 0x140060a77
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 0x140060a77
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140060a80
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 0x140068390
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 0x1400683f8
call fcn.14005c010
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400683f8
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14006841a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140067d7c
mov esi, eax
test rdi, rdi
je 0x140068418
test rbx, rbx
je 0x140068418
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 0x14006aabc
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xc8], 0
jne 0x14006aafa
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14006abae
call fcn.14005e240
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14006ab19
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1401bf640
test eax, eax
je 0x14006ab81
cmp eax, 0xc
je 0x14006ab7b
cmp eax, 0x16
je 0x14006ab75
cmp eax, 0x22
je 0x14006ab75
cmp eax, 0x50
je 0x14006ab81
call fcn.14005a804
int3
call fcn.14005a804
int3
call fcn.14005a7bc
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14006abac
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret