joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031210
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub rsp, 0x2e8
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
mov dword [rsp + 0xd4], eax
mov r8d, 0x200
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call fcn.140038310
mov edx, 0x200
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400313b9
lea rax, [rsp + 0xe0]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400312a4
lea rax, [rcx + 0x2f]
cmp rax, 0x200
jae 0x1400313b9
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x2e0], rbx
add rcx, rax
lea r9, str.GlobalAti_VariBrightMonitorEvent
lea r8, str.atibtmon.exe
lea rdx, str._s__s
call fcn.140003180
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14003135d
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14003134d
lea r8, str.VBMonitorProcessStart:_Failed_to_create_VariBright_Monitor_Process
mov edx, 0x2000
call fcn.14002fe30
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2e8
ret
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140031372
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140031387
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], rbx
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14003134d
mov r9d, dword [rsp + 0x60]
lea r8, str.VBMonitorProcessStart:_VariBright_Monitor_Process__ProcessID__lu__created
mov edx, 0x2000
call fcn.14002ffd0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2e8
ret
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140031355
lea r9, str.VBMonitorProcessStart:_Failed_to_retreive_VBMonitor_Full_Name
xor r8d, r8d
mov edx, 0x60004004
call fcn.14002fdb0
add rsp, 0x2e8
ret
Function at 0x140032700
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140032759
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14003274c
lea r8, str.DeleteRegKey_RegOpenKeyEx_failed.
lea edx, [rbx + 7]
call fcn.14002fe30
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x14003278d
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14003278b
mov r9, rdi
lea r8, str.DeleteRegKey_RegDeleteKey_failed_for_pcPath___s.
mov edx, 8
call fcn.14002fe30
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400327b0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rdi, r8
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rsi, rdx
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140032836
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032824
mov r9, rsi
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.14002fe30
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x78]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x14003286a
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032868
mov r9, rdi
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov edx, 8
call fcn.14002fe30
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140032890
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbp, r9
mov qword [rsp + 0x48], 0
mov rdi, r8
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x140032951
mov rcx, qword [rsp + 0x48]
mov r9d, 0xffff
mov dword [rsp + 0x44], eax
mov r8, rdi
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov rdx, qword [rsp + 0x80]
mov ebx, eax
mov ecx, dword [rsp + 0x40]
mov dword [rdx], ecx
test eax, eax
je 0x140032944
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032944
mov r9, rdi
lea r8, str.GetMultiSzRegValue:_RegGetValue_failed_for_lpValueName___s.
mov edx, 8
call fcn.14002fe30
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140032971
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032971
mov r9, rsi
lea r8, str.GetMultiSzRegValue:_RegOpenKeyEx_failed_for_lpKeyPath___s.
mov edx, 8
call fcn.14002fe30
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400329d0
Capabilities:
Check for sandbox username or hostname
Get session information
Get session user name
Impersonate user

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rdi, r8
mov ebx, edx
test ecx, ecx
je 0x140032a08
mov rdx, r8
mov ecx, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x140032a55
mov eax, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
xorps xmm0, xmm0
mov dword [rsp + 0x80], 0
xor eax, eax
lea r9, [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x30], 0x38
lea r8d, [rcx + 5]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
jne 0x140032a82
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032a72
lea r8, str.GetProfileRootHandle_RegOpenCurrentUser_failed.
mov edx, 8
call fcn.14002fe30
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
lea rdx, [rsp + 0x98]
mov ecx, ebx
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x140032aca
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032ab0
lea r8, str.GetProfileRootHandle_WTSQueryUserToken_failed.
lea edx, [rax + 8]
call fcn.14002fe30
mov rcx, qword [rsp + 0x38]
call sub.WTSAPI32.dll_WTSFreeMemory
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x30]
mov ebx, 1
call qword [sym.imp.USERENV.dll_LoadUserProfileA]
test eax, eax
jne 0x140032b03
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032b01
lea r8, str.OpenProfilePathKey_LoadUserProfile_failed.
lea edx, [rbx + 7]
call fcn.14002fe30
xor ebx, ebx
mov rcx, qword [rsp + 0x60]
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140032b40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov dword [rsp + 0x60], 4
mov rdi, rcx
lea rax, [rsp + 0x68]
lea rdx, str.SoftwareAMDEEU
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140032bc1
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032baf
lea r9, str.SoftwareAMDEEU
lea r8, str.ReadRegKey_RegOpenKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.14002fe30
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
mov qword [rsp + 0x28], rsi
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140032c15
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032c13
mov r9, rdi
lea r8, str.ReadRegKey_RegGetValue_failed_for_value___s.
mov edx, 8
call fcn.14002fe30
xor ebx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140032c40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov edi, 1
test r9d, r9d
je 0x140032c80
sub r9d, edi
je 0x140032c79
cmp r9d, edi
je 0x140032c72
mov ebx, edi
jmp 0x140032c85
mov ebx, 2
jmp 0x140032c85
mov ebx, 8
jmp 0x140032c85
mov ebx, 0x10
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140032cc6
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032cc2
mov r9, rsi
lea r8, str.ReadRegKey_RegOpenKeyEx_failed_for_pcPath___s.
mov edx, 8
call fcn.14002fe30
xor eax, eax
jmp 0x140032d2f
mov rax, qword [rsp + 0x88]
mov r9d, ebx
mov rcx, qword [rsp + 0x40]
mov r8, rbp
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140032d22
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032d20
mov r9, rbp
lea r8, str.ReadRegKey_RegGetValue_failed_for_value___s.
mov edx, 8
call fcn.14002fe30
xor edi, edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140032d50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbp, r9
lea rax, [rsp + 0x40]
mov rdi, r8
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rsi, rdx
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140032db1
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032dad
mov r9, rsi
lea r8, str.ReadRegKey_RegOpenKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.14002fe30
xor eax, eax
jmp 0x140032e15
mov rax, qword [rsp + 0x80]
mov r9d, 2
mov rcx, qword [rsp + 0x40]
mov r8, rdi
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140032e08
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032e06
mov r9, rdi
lea r8, str.ReadRegKey_RegGetValue_failed_for_value___s.
mov edx, 8
call fcn.14002fe30
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140032e30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, r9
mov qword [rsp + 0x30], 0
mov rdi, r8
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rbp, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test eax, eax
jne 0x140032f32
test rdi, rdi
je 0x140032f1e
test rbx, rbx
je 0x140032f1e
mov rax, rbx
lea ecx, [rsi + 1]
cmp byte [rax], 0
jne 0x140032e9c
cmp byte [rax + 1], 0
je 0x140032eab
cmp ecx, 0x200
jae 0x140032eab
inc rax
inc ecx
jmp 0x140032e91
inc ecx
cmp ecx, 0x200
jae 0x140032f0a
mov dword [rsp + 0x28], ecx
mov r9d, 7
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
je 0x140032f23
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032f23
mov r9, rdi
lea r8, str.SetMultiSzRegValue:_RegSetValueEx_failed_for_lpValueName___s.
mov edx, 8
call fcn.14002fe30
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140032f54
mov rcx, qword [rsp + 0x30]
mov ebx, 0x7a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140032f54
mov ebx, 0x57
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140032f54
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032f52
mov r9, rbp
lea r8, str.SetMultiSzRegValue:_RegOpenKeyEx_failed_for_lpKeyPath___s.
mov edx, 8
call fcn.14002fe30
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140032f70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rsi, rdx
mov qword [rsp + 0x30], 0
lea rdx, str.SoftwareAMDEEU
mov rdi, rcx
mov dword [rsp + 0x28], 0x20006
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140033008
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140032ff6
lea r9, str.SoftwareAMDEEU
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.14002fe30
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x70]
mov r9d, 4
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140033052
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033050
mov r9, rdi
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov edx, 8
call fcn.14002fe30
xor ebx, ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140033070
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbp, r8
mov rsi, rdx
mov edi, 1
test r9d, r9d
je 0x1400330ad
sub r9d, edi
je 0x1400330a6
cmp r9d, edi
je 0x1400330a2
xor ebx, ebx
jmp 0x1400330b2
mov ebx, edi
jmp 0x1400330b2
mov ebx, 3
jmp 0x1400330b2
mov ebx, 4
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140033112
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14003310e
mov r9, rsi
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
mov edx, 8
call fcn.14002fe30
xor eax, eax
jmp 0x140033171
mov eax, dword [rsp + 0x98]
mov r9d, ebx
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140033164
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033162
mov r9, rbp
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov edx, 8
call fcn.14002fe30
xor edi, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140033190
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x28], 0
lea rax, [r11 - 0x18]
mov qword [r11 - 0x30], rax
mov rbp, r9
mov qword [r11 - 0x38], 0
mov rdi, r8
mov dword [rsp + 0x28], 0x20006
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rsi, rdx
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14003320c
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033208
mov r9, rsi
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.14002fe30
xor eax, eax
jmp 0x140033263
mov eax, dword [rsp + 0x90]
mov r9d, ebx
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140033256
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033254
mov r9, rdi
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov edx, 8
call fcn.14002fe30
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140033360
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov edx, edx
mov rbx, rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1400333a0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140030100
Function at 0x1400334a0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rax, vtable.InterfaceWin7.0
xor edi, edi
mov qword [rcx], rax
mov rbx, rcx
mov dword [rcx + 8], edi
mov qword [rcx + 0x10], rdi
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140033505
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033684
lea r8, str.InterfaceWin7::InterfaceWin7_LoadLibrary_for_user32.dll_failed
mov edx, 0x8000
call fcn.14002ffd0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, [0x1400948b8]
mov qword [rbx + 0x18], rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140033551
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033684
lea r8, str.InterfaceWin7::InterfaceWin7_GetProcAddress_for_GetDisplayConfigBufferSizes_failed
mov edx, 0x8000
call fcn.14002ffd0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140094938]
mov qword [rbx + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x14003359e
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033684
lea r8, str.InterfaceWin7::InterfaceWin7_GetProcAddress_for_QueryDisplayConfig_failed
mov edx, 0x8000
call fcn.14002ffd0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x10]
lea rdx, str.SetDisplayConfig
mov qword [rbx + 0x28], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x1400335eb
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033684
lea r8, str.InterfaceWin7::InterfaceWin7_GetProcAddress_for_SetDisplayConfig_failed
mov edx, 0x8000
call fcn.14002ffd0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140094a08]
mov qword [rbx + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x140033634
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033684
lea r8, str.InterfaceWin7::InterfaceWin7_GetProcAddress_for_DisplayConfigGetDeviceInfo_failed
mov edx, 0x8000
call fcn.14002ffd0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x10]
lea rdx, str.DisplayConfigSetDeviceInfo
mov qword [rbx + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x14003367d
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140033684
lea r8, str.InterfaceWin7::InterfaceWin7_GetProcAddress_for_DisplayConfigSetDeviceInfo_failed
mov edx, 0x8000
call fcn.14002ffd0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rbx + 8], 1
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400346d0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r15d, edx
mov rbp, rcx
xor r12d, r12d
lea rdx, [rax + 0x18]
lea rcx, str.HKPreferenceUseCCD
mov dword [rax + 0x18], r12d
mov edi, r12d
mov r14d, r8d
mov ebx, r8d
call fcn.140032b40
mov r9d, dword [rsp + 0x80]
test eax, eax
cmove r9d, r12d
mov dword [rsp + 0x80], r9d
test ebx, ebx
je 0x140034739
nop dword [rax]
lea eax, [rbx - 1]
inc edi
and ebx, eax
jne 0x140034730
cmp r9d, 1
jne 0x140034754
mov edx, r9d
lea rcx, str.DisplaySwitch
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x1400348df
mov ecx, 0x48
mov qword [rsp + 0x30], r12
call fcn.140036d44
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003478d
xorps xmm0, xmm0
mov dword [rsp + 0x34], 1
movups xmmword [rax], xmm0
xor ecx, ecx
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rax + 0x40], rcx
mov ecx, 0x40
mov qword [rsp + 0x40], r12
call fcn.140036d44
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400347c0
xorps xmm0, xmm0
mov dword [rsp + 0x44], 1
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
lea r9, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x30]
mov rcx, rbp
mov ebx, r12d
call fcn.140035390
test eax, eax
jne 0x14003480e
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x1400347f8
lea r8, str.CCDGetConnectedDisplayCount_GetPathAndModeList_failed
mov edx, 0x8000
call fcn.14002ffd0
mov rcx, qword [rsp + 0x48]
call fcn.140036d4c
mov rcx, qword [rsp + 0x38]
call fcn.140036d4c
jmp 0x140034866
mov r9d, dword [rsp + 0x30]
mov edx, r12d
test r9d, r9d
je 0x14003484d
mov r8, qword [rsp + 0x38]
cmp edx, r9d
mov rax, r8
cmovae rax, r12
cmp dword [rax + 0x3c], r12d
je 0x140034842
cmp edx, r9d
mov rax, r8
cmovae rax, r12
cmp dword [rax + 8], r12d
jne 0x140034842
inc ebx
inc edx
add r8, 0x48
cmp edx, r9d
jb 0x140034820
mov rcx, qword [rsp + 0x48]
call fcn.140036d4c
mov rcx, qword [rsp + 0x38]
call fcn.140036d4c
cmp ebx, 2
ja 0x1400348d1
cmp edi, 1
jbe 0x1400348d1
cmp dword [rsp + 0x80], 2
jne 0x1400348d1
xor r9d, r9d
mov dword [rsp + 0x20], 0x86
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [rbp + 0x28]
test eax, eax
je 0x1400348df
xor r9d, r9d
mov dword [rsp + 0x20], 0x82
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [rbp + 0x28]
test eax, eax
je 0x1400348df
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x1400348df
mov r9d, eax
mov dword [rsp + 0x20], 0x82
lea r8, str.CCDApplyMultiDisplayDBConfig_SetDisplayConfig_failed__result___x__flags___x
mov edx, 0x8000
call fcn.14002ffd0
jmp 0x1400348df
mov r8d, r14d
mov edx, r15d
mov rcx, rbp
call fcn.140033ef0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop r12
ret

Function at 0x140064980
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140064708