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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x410
xor edi, edi
mov esi, ecx
mov dword [rax + 0x20], ecx
lea rcx, [0x1400c0798]
lea r9d, [rdi + 8]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x40], rdi
mov dword [rax + 0x10], edi
mov dword [rax + 8], edi
mov dword [rax + 0x18], 1
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x1400566f6
lea rdx, [rsp + 0x210]
mov rcx, rax
mov dword [rsp + 0x210], 0x128
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInfoListDetailA]
mov rcx, rbx
test eax, eax
je 0x1400566f0
lea r8, [rsp + 0x48]
xor edx, edx
mov dword [rsp + 0x48], 0x20
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400566ed
nop
lea rax, [rsp + 0x438]
lea r9, [rsp + 0x430]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x340]
mov r8d, 1
mov rcx, rbx
mov dword [rsp + 0x28], 0xc8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
jne 0x140056558
bt dword [0x1400dd138], 0x10
jae 0x140056558
lea rcx, str.PowerXpressSetDesktopPreference:_fail_to_get_SPDRP_HARDWAREID
call fcn.14000cbb0
lea rax, [rsp + 0x438]
lea r9, [rsp + 0x430]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x140]
mov r8d, 9
mov rcx, rbx
mov dword [rsp + 0x28], 0xc8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
jne 0x1400565b0
bt dword [0x1400dd138], 0x10
jae 0x1400565b0
lea rcx, str.PowerXpressSetDesktopPreference:_fail_to_get_SPDRP_DRIVER
call fcn.14000cbb0
lea r9, [rsp + 0x140]
lea r8, str.SYSTEMCurrentControlSetControlClass
lea rdx, str._s_s
lea rcx, [rsp + 0x70]
call fcn.14007dc1c
bt dword [0x1400dd138], 0x10
jae 0x1400565eb
lea rdx, [rsp + 0x70]
lea rcx, str.PowerXpressSetDesktopPreference:_registry:_s_n
call fcn.14000cbb0
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400566c7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x438]
lea r9, [rsp + 0x430]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x440]
lea rdx, str.PXACAutoSwitch
xor r8d, r8d
mov dword [rsp + 0x430], 4
mov dword [rsp + 0x438], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x440], 1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [rsp + 0x440], 0
jne 0x1400566c7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x448]
lea rdx, str.PXPreference
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x430], 4
mov dword [rsp + 0x438], 4
mov dword [rsp + 0x448], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 1
lea r8, [rsp + 0x48]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x140056500
mov rcx, rbx
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
add rsp, 0x410
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005d0b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x148
mov eax, dword [0x1400ddb84]
cmp eax, 0xffffffff
jne 0x14005d190
lea rcx, [rsp + 0x30]
call fcn.14000deb0
test eax, eax
je 0x14005d18b
lea rax, [rsp + 0x160]
lea rdx, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14005d18b
mov rcx, qword [rsp + 0x160]
lea rax, [rsp + 0x150]
lea r9, [rsp + 0x158]
mov qword [rsp + 0x28], rax
lea rax, [0x1400ddb84]
lea rdx, str.ExtEvent_VideoPlaybackCpuThrottle
xor r8d, r8d
mov dword [rsp + 0x158], 4
mov dword [rsp + 0x150], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14005d18b
cmp dword [rsp + 0x150], 4
jne 0x14005d18b
mov eax, dword [0x1400ddb84]
cmp eax, 0x64
jbe 0x14005d190
mov eax, 0x64
mov dword [0x1400ddb84], eax
add rsp, 0x148
ret
mov eax, 0x80000000
add rsp, 0x148
ret
Function at 0x140063950
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov ecx, dword [0x1400df4cc]
xor edx, edx
call fcn.14002ec00
test rax, rax
mov rbx, rax
je 0x140063a76
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x140063a6d
mov qword [rsp + 0x78], rdi
lea rdx, [rsp + 0x70]
xor edi, edi
mov ecx, 0x2001f
mov qword [rsp + 0x70], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x140063a62
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareATI_Technologies_Inc._
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140063a17
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
lea rdx, str.SoftwareATI_Technologies_Inc._
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140063a57
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
lea rdx, str.VistaMobileInternalActionInprocess
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rdi, qword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x50
pop rbx
ret

Function at 0x140063a80
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov ecx, dword [0x1400df4cc]
xor edx, edx
call fcn.14002ec00
test rax, rax
mov rbx, rax
je 0x140063b55
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x140063b4c
lea rdx, [rsp + 0x50]
mov ecx, 0x2001f
mov qword [rsp + 0x50], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x140063b46
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, str.SoftwareATI_Technologies_Inc._
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140063b3b
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
lea rdx, str.VistaMobileInternalActionInprocess
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret
Function at 0x140064470
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
call fcn.140063f70
xor ecx, ecx
call fcn.140065880
mov ecx, dword [0x1400df4cc]
xor edx, edx
call fcn.14002ec00
test rax, rax
mov rbx, rax
je 0x140064551
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x140064548
lea rdx, [rsp + 0x58]
mov ecx, 0x2001f
mov qword [rsp + 0x58], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x140064542
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareATI_Technologies_Inc._
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], 0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140064537
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
lea rdx, str.VistaMobileInternalActionInprocess
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x30
pop rbx
ret
Function at 0x140064730
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x78
mov ecx, dword [0x1400df4cc]
xor edi, edi
xor edx, edx
mov dword [rsp + 0x90], edi
call fcn.14002ec00
test rax, rax
mov rbx, rax
je 0x1400648b4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1400648ab
lea r8, [0x140000000]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0xa8], rdi
mov rcx, qword [r8 + 0xc4450]
mov rax, qword [r8 + 0xc4458]
mov dword [rsp + 0xa0], 4
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rax, qword [r8 + 0xc4460]
mov qword [rdx + 0x10], rax
mov eax, dword [r8 + 0xc4468]
lea rcx, [rsp + 0x38]
mov dword [rdx + 0x18], eax
movzx eax, word [r8 + 0xc446c]
mov dword [rsp + 0x98], 4
mov word [rdx + 0x1c], ax
mov rax, qword [r8 + 0xc4440]
lea rdx, [rsp + 0x30]
mov qword [rcx], rax
mov eax, dword [r8 + 0xc4448]
mov qword [rsp + 0x30], rdi
mov dword [rcx + 8], eax
movzx eax, word [r8 + 0xc444c]
mov word [rcx + 0xc], ax
movzx eax, byte [r8 + 0xc444e]
mov byte [rcx + 0xe], al
mov ecx, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x1400648a5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0xa8]
lea rdx, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14006489a
mov rcx, qword [rsp + 0xa8]
lea rax, [rsp + 0x98]
lea r9, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0x90]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x90]
add rsp, 0x78
pop rdi
pop rbx
ret

Function at 0x140065880
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, cl
mov ecx, ebx
call fcn.140065730
lea rcx, [0x1400656b0]
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_EnumWindows]
Function at 0x1400673f0
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0xc0
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
xor ebx, ebx
call fcn.14007cd30
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1400674e7
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400674e2
sub eax, 1
je 0x1400674a7
cmp eax, 1
jne 0x1400674e7
mov eax, dword [rsp + 0x24]
cmp eax, 5
jae 0x14006745b
mov ebx, 4
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
jne 0x140067479
cmp dword [rsp + 0x28], 0
mov ebx, 7
jne 0x1400674e7
mov ebx, 6
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
cmp eax, 6
jne 0x140067495
cmp dword [rsp + 0x28], 1
je 0x140067497
mov ebx, 8
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
jbe 0x140067485
mov ebx, 9
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
cmp dword [rsp + 0x24], 4
jne 0x1400674e7
mov eax, dword [rsp + 0x28]
cmp eax, 0xa
jne 0x1400674c7
mov ebx, 3
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
cmp eax, 0x5a
mov ebx, 2
mov ecx, 5
cmove ebx, ecx
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
mov ebx, 1
mov eax, ebx
add rsp, 0xc0
pop rbx
ret
Function at 0x14006ba20
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0x110
test rcx, rcx
mov r12, r9
mov r14d, r8d
mov rsi, rdx
mov r13, rcx
je 0x14006bbbb
test rdx, rdx
je 0x14006bbbb
test r9, r9
je 0x14006bbbb
mov rbp, qword [rsp + 0x160]
test rbp, rbp
je 0x14006bbbb
mov qword [rsp + 0x150], rdi
mov edi, dword [rsp + 0x168]
test edi, edi
je 0x14006ba9f
cmp edi, 1
je 0x14006ba9f
cmp edi, 2
je 0x14006ba9f
xor eax, eax
mov rdi, qword [rsp + 0x150]
add rsp, 0x110
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0xc8
mov qword [rsp + 0x148], rbx
xor ebx, ebx
call fcn.14007cd30
lea rdx, [rsp + 0x40]
mov r8d, 0xc8
mov rcx, r13
call fcn.14006b700
test eax, eax
je 0x14006bbac
mov eax, dword [rbp]
lea rdx, [rsp + 0x40]
mov r9d, 0x2001f
mov dword [rsp + 0x140], eax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14006bbac
test edi, edi
jne 0x14006bb56
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x140]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14006bba1
mov eax, dword [rsp + 0x140]
lea ebx, [rdi + 1]
mov dword [rbp], eax
jmp 0x14006bba1
cmp edi, 1
jne 0x14006bb89
mov eax, dword [rsp + 0x140]
mov r9d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14006bba1
mov ebx, edi
jmp 0x14006bba1
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x148]
jmp 0x14006ba87
xor eax, eax
add rsp, 0x110
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x140073710
Capabilities:
Make suspicious ntfscontrolfile call

Disassembly:
test rdx, rdx
jne 0x140066208
xor eax, eax
ret
jmp 0x140073710
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov rbx, rdx
mov rbp, r8
mov rdi, rcx
lea r8d, [rax + 0x50]
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.14007cd30
xor esi, esi
mov dword [rsp + 0x30], 1
lea r8, [rsp + 0x40]
lea r9d, [rsi + 0x50]
lea edx, [rsi + 0x10]
mov rcx, rdi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x40], 0x10
mov dword [rsp + 0x44], 0x110038
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x4c], esi
mov dword [rbx], 0x50
mov qword [rsp + 0x20], rbx
call fcn.14007c4c0
test rbp, rbp
je 0x140073795
mov dword [rbp], eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
test eax, eax
sete sil
mov eax, esi
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140079590
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rdi, rdx
test rcx, rcx
jne 0x1400795b6
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rdx, str.D3DKMTOpenAdapterFromHdc
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [rdi], rax
je 0x1400795a9
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
test rcx, rcx
je 0x1400795ea
lea rdx, str.D3DKMTOpenAdapterFromGdiDisplayName
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400795ed
mov rax, rbx
test rax, rax
mov qword [rdi + 8], rax
jne 0x140079615
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14007960e
lea rdx, str.D3DKMTOpenAdapterFromDeviceName
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140079611
mov rax, rbx
mov qword [rdi + 8], rax
cmp qword [rdi + 8], rbx
je 0x140079682
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140079633
lea rdx, str.D3DKMTEscape
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140079636
mov rax, rbx
test rax, rax
mov qword [rdi + 0x10], rax
je 0x140079682
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140079657
lea rdx, str.D3DCloseAdapter
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x14007965a
mov rax, rbx
mov qword [rdi + 0x18], rax
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140079676
lea rdx, str.D3DKMTInvalidateActiveVidPn
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x140079679
mov rax, rbx
test rax, rax
mov qword [rdi + 0x20], rax
jne 0x140079694
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400796ad
lea rdx, str.D3DKMTQueryAdapterInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rsi, qword [rsp + 0x38]
test rbx, rbx
mov qword [rdi + 0x28], rbx
mov rbx, qword [rsp + 0x30]
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x140079ba0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push r12
sub rsp, 0xb88
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x1a8
call fcn.14007cd30
lea r8, [rsp + 0x70]
xor r12d, r12d
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x70], 0x1a8
mov ebx, r12d
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x140079c09
mov eax, dword [rsp + 0x114]
test al, 4
je 0x140079bf0
test al, 1
jne 0x140079c16
add ebx, 1
lea r8, [rsp + 0x70]
xor r9d, r9d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
jne 0x140079be1
xor eax, eax
add rsp, 0xb88
pop r12
pop rbx
ret
lea rcx, str.gdi32.dll
mov qword [rsp + 0xb80], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
jne 0x140079c46
mov rdi, qword [rsp + 0xb80]
add rsp, 0xb88
pop r12
pop rbx
ret
lea rdx, str.D3DKMTOpenAdapterFromHdc
mov rcx, rax
mov qword [rsp + 0xba8], rbp
mov qword [rsp + 0xbb0], rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rbx, rax
je 0x140079d34
lea rdx, str.D3DKMTOpenAdapterFromGdiDisplayName
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140079ca0
lea rdx, str.D3DKMTOpenAdapterFromDeviceName
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140079d34
lea rdx, str.D3DKMTEscape
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140079d34
lea rdx, str.D3DCloseAdapter
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.D3DKMTInvalidateActiveVidPn
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140079d34
lea rdx, str.D3DKMTQueryAdapterInfo
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rsi, rax
je 0x140079d34
lea rdx, [rsp + 0x74]
lea rcx, [rsp + 0x38]
call fcn.140078290
mov r11, qword [rsp + 0x40]
test r11, r11
je 0x140079d2a
xor eax, eax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call rbx
test eax, eax
je 0x140079d62
lea rcx, [rsp + 0x38]
call fcn.140078190
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rsi, qword [rsp + 0xbb0]
mov rbp, qword [rsp + 0xba8]
mov rdi, qword [rsp + 0xb80]
add rsp, 0xb88
pop r12
pop rbx
ret
mov rbx, qword [rsp + 0x58]
xor eax, eax
lea rcx, [rsp + 0x220]
xor edx, edx
mov r8d, 0x960
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xba0], ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
call fcn.14007cd30
lea rax, [rsp + 0x220]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], r12d
mov dword [rsp + 0x30], 0x960
call rsi
test rbp, rbp
mov ebx, eax
je 0x140079dca
lea rcx, [rsp + 0xba0]
call rbp
lea rcx, [rsp + 0x38]
test ebx, ebx
sete r12b
call fcn.140078190
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, r12d
jmp 0x140079d3f
Function at 0x14007c640
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
xor edx, edx
test rcx, rcx
mov ebx, r9d
mov rdi, r8
mov qword [r11 + 8], rdx
je 0x14007c6cb
test ebx, ebx
je 0x14007c6cb
mov qword [r11 - 0x18], rdx
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rdx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], edx
mov rdx, rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14007c6cb
mov rcx, qword [rsp + 0x60]
lea r9d, [rax + 1]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14007c6dd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x50
pop rdi
ret

Function at 0x14007c700
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
test rcx, rcx
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x50], 1
je 0x14007c784
lea rax, [rsp + 0x30]
mov rdx, rcx
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007c784
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14007c796
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x14007c7c0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
xor edx, edx
test rcx, rcx
mov ebx, r9d
mov rdi, r8
mov qword [r11 + 8], rdx
je 0x14007c84b
test ebx, ebx
je 0x14007c84b
mov qword [r11 - 0x18], rdx
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rdx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], edx
mov rdx, rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14007c84b
mov rcx, qword [rsp + 0x60]
lea r9d, [rax + 3]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x14007c85d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x50
pop rdi
ret