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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, r9
mov dword [rsp + 0x30], 0x100
mov rdi, r8
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001a31c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x40
pop rdi
ret

Function at 0x14001a360
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
xor ebx, ebx
mov dword [rsp + 0x70], r8d
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov qword [rsp + 0x30], rbx
lea rdx, str.SoftwareATIACESettingsADLMaxCofuncPaths_
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14001a3ee
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14001d6c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
sub rsp, 0x78
mov qword [rax - 8], rdi
xor edi, edi
mov dword [rax + 0x10], edi
mov r9d, 0x20019
mov dword [rax + 0x18], 4
lea rax, [rax - 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareATIACESettingsADLAppProfiles
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001d765
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x80], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.AplReloadCounter
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 1
mov ebx, edi
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 1
mov rbx, qword [rsp + 0x80]
je 0x14001d7ec
mov eax, dword [rsp + 0x88]
lea rdx, str.SoftwareATIACESettingsADLAppProfiles
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov dword [rsp + 0x98], eax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14001d7ec
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x98]
mov dword [rsp + 0x28], 4
lea rdx, str.AplReloadCounter
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [rsp + 0x88]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rdi
lea rdx, str.SoftwareATIACESettingsADLAppProfiles
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rdi, qword [rsp + 0x70]
test eax, eax
jne 0x14001d87a
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x88]
mov dword [rsp + 0x28], 4
lea rdx, str.AplReloadCounter
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x78
ret
Function at 0x14001dd80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov ebx, edx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
xor r14d, r14d
call fcn.1400514f0
mov rdi, 0xffffffffffffffff
mov qword [rbp + 0x188], r14
lea rdx, [rbp + 0x180]
mov dword [rbp + 0x180], edi
mov rcx, rsi
call fcn.14001ade0
test eax, eax
je 0x14001df92
cmp ebx, 2
jbe 0x14001de0f
cmp ebx, 3
jne 0x14001df92
mov edx, dword [rbp + 0x180]
mov rcx, rsi
call fcn.140017400
mov rcx, rsi
mov ebx, eax
call fcn.14001d6c0
mov eax, ebx
jmp 0x14001df95
mov ebx, dword [rbp + 0x180]
mov r9d, 1
mov edx, ebx
mov qword [rsp + 0x20], r14
mov rcx, rsi
lea r8d, [r9 + 1]
call fcn.140015ce0
mov r9d, 1
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.140015ce0
lea r9, [rbp + 0x188]
xor r8d, r8d
mov edx, 0x2000
lea rcx, [0x1400bdc08]
mov ebx, eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14001df86
mov r8, qword [rbp + 0x188]
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.1400768d0
lea rax, [rsp + 0x40]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14001de86
add rdi, 0x16
je 0x14001def5
lea r8, str.ATIACEAPLUser.blb
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400770dc
lea r8, [0x1400ae4ac]
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14007774c
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001def5
call fcn.1400778a0
mov edx, dword [rbp + 0x180]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 + 1]
call fcn.140015ce0
or ebx, eax
mov r8, qword [rbp + 0x188]
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.1400768d0
mov r8d, dword [rbp + 0x180]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rsi
call fcn.14001d980
cmp eax, 1
jne 0x14001df72
lea r8, [0x1400ae4ac]
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14007774c
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001df72
call fcn.1400778a0
mov edx, dword [rbp + 0x180]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rcx, rsi
lea r8d, [r9 + 1]
call fcn.140015ce0
or ebx, eax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp + 0x188], r14
mov rcx, rsi
call fcn.14001d6c0
mov eax, ebx
jmp 0x14001df95
mov eax, r14d
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140022170
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x2e8
xor eax, eax
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x68]
call fcn.1400514f0
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov r8d, 0x200
lea rcx, [rsp + 0xe0]
call fcn.1400514f0
mov r8d, 0x200
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1400221f8
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140022270
lea r8, str.GPUInstallation___GetModuleFileName_failed.
mov edx, 0x80000
call fcn.140040750
add rsp, 0x2e8
ret
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, str.PopUpReboot
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xe0]
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14002225c
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14002225c
lea r8, str.GPUInstallation___CreateProcess_failed_to_creating_process_for_pop_up.
mov edx, 0x80000
call fcn.140040750
lea rcx, [rsp + 0x50]
call fcn.140040b70
lea rcx, [rsp + 0x58]
call fcn.140040b70
add rsp, 0x2e8
ret
Function at 0x140022280
Capabilities:
Check if file exists
Copy file
Create process on windows
Get common file path
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x8f0]
sub rsp, 0x9f0
mov eax, dword [str.Rescan]
mov ebx, ecx
mov dword [rbp - 0x20], eax
lea rcx, [rbp - 0x19]
movzx eax, word [0x1400a5c70]
xor edx, edx
mov word [rbp - 0x1c], ax
mov r8d, 0x1f9
movzx eax, byte [0x1400a5c72]
mov byte [rbp - 0x1a], al
call fcn.1400514f0
xor edx, edx
lea rcx, [rbp + 0x3e0]
mov r8d, 0x100
call fcn.1400514f0
mov r8d, 0xa
lea rdx, [rbp + 0x3e0]
mov ecx, ebx
call fcn.1400781d8
lea r8, [0x1400af6dc]
mov edx, 0x200
lea rcx, [rbp - 0x20]
call fcn.1400762b8
lea r8, [rbp + 0x3e0]
mov edx, 0x200
lea rcx, [rbp - 0x20]
call fcn.1400762b8
xor eax, eax
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x68]
call fcn.1400514f0
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov r8d, 0x200
lea rcx, [rbp + 0x4e0]
call fcn.1400514f0
mov r8d, 0x200
lea rdx, [rbp + 0x4e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea rcx, [rbp + 0x1e0]
mov r8d, 0x200
call fcn.1400514f0
lea rdx, [rbp + 0x6e0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
xor ebx, ebx
cmp eax, 0x103
ja 0x1400223de
mov qword [rbp + 0x908], rbx
lea rcx, [rbp + 0x6e0]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400223b0
lea r9, [rbp + 0x6e0]
mov qword [rsp + 0x20], rax
mov r8d, 0x104
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x908]
call fcn.140077034
lea r8, str._atieclxx_tmp.exe
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call fcn.1400762b8
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002241a
and eax, 0xfffffffc
lea rcx, [rbp + 0x1e0]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r8d, r8d
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14002248f
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14002248f
lea r8, str.GPUInstallation___CreateProcess_failed_to_creating_process_for_rescan.
mov edx, 0x80000
call fcn.140040750
lea rcx, [rsp + 0x50]
call fcn.140040b70
lea rcx, [rsp + 0x58]
call fcn.140040b70
mov rbx, qword [rsp + 0xa00]
add rsp, 0x9f0
pop rbp
ret
Function at 0x1400298f0
Capabilities:
Check if file exists
Copy file
Create directory
Get common file path
Get file attributes
Query environment variable
Set file attributes

Disassembly:
test rcx, rcx
je 0x140029b06
push rbp
push rsi
push r14
sub rsp, 0x250
mov r14, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140029afb
test r8, r8
je 0x140029afb
xor edx, edx
mov qword [rsp + 0x280], rdi
mov r8d, 0x104
lea rcx, [rsp + 0x140]
call fcn.1400514f0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400514f0
xor edi, edi
lea r9, [rsp + 0x270]
xor r8d, r8d
mov qword [rsp + 0x270], rdi
mov edx, 0x2000
lea rcx, [0x1400bdc08]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1400299e8
mov r9, qword [rsp + 0x270]
mov qword [rsp + 0x278], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x288], rdi
nop word [rax + rax]
inc rbx
cmp word [r9 + rbx*2], di
jne 0x1400299a0
mov r8d, 0x104
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x288]
call fcn.140077034
mov rcx, qword [rsp + 0x270]
test eax, eax
cmove rdi, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rsp + 0x278]
test rdi, rdi
jne 0x1400299fb
mov r8, rsi
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov rdi, rsi
call fcn.1400522d0
movzx eax, word [0x1400a9684]
lea rcx, [rsp + 0x30]
mov byte [rsp + rdi + 0x30], 0x5c
xor edx, edx
mov word [rsp + rdi + 0x31], ax
movzx eax, byte [0x1400a9686]
mov byte [rsp + rdi + 0x33], al
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140029a5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140029a5b
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140029af3
lea r8, str.CopyEEUClientToUninstallFolder:_failed_to_create_AMD_directory_for_uninstall.
mov edx, 2
call fcn.140040750
jmp 0x140029af3
movsd xmm0, qword [0x1400b0ea0]
lea r8, [rdi + 0x11]
mov eax, dword [0x1400b0ea8]
lea rdx, [rsp + 0x30]
mov byte [rsp + rdi + 0x34], 0x5c
mov rcx, r14
movsd qword [rsp + rdi + 0x35], xmm0
mov dword [rsp + rdi + 0x3d], eax
call fcn.1400522d0
mov r8d, 0x104
lea rdx, [rsp + 0x140]
lea rcx, str._SYSTEMROOT_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea r8, str.System32_atieclxx.exe
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.1400762b8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140029add
and eax, 0xfffffffc
lea rcx, [rsp + 0x30]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rdi, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x140029f00
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov ebx, 0x104
mov r8d, ebx
lea rcx, [rsp + 0x40]
xor edx, edx
xor r14d, r14d
call fcn.1400514f0
lea rax, [rsp + 0x40]
mov r10d, ebx
sub rdi, rax
lea r9, [rsp + 0x40]
nop word [rax + rax]
lea rax, [r10 + 0x7ffffefa]
test rax, rax
je 0x140029f71
movzx eax, byte [rdi + r9]
test al, al
je 0x140029f71
mov byte [r9], al
inc r9
sub r10, 1
jne 0x140029f50
test r10, r10
lea rax, [r9 - 1]
mov rcx, rbx
cmovne rax, r9
mov byte [rax], r14b
lea rax, [rsp + 0x40]
cmp byte [rax], r14b
je 0x140029f95
inc rax
sub rcx, 1
jne 0x140029f87
mov rax, rbx
mov rdx, r14
sub rax, rcx
test rcx, rcx
cmovne rdx, rax
je 0x140029feb
lea rcx, [rsp + 0x40]
lea rcx, [rcx + rdx]
sub rbx, rdx
je 0x140029fdd
lea rax, [rdx + 0x7ffffefa]
add rax, rbx
sub rsi, rcx
test rax, rax
je 0x140029fdd
movzx edx, byte [rsi + rcx]
test dl, dl
je 0x140029fdd
mov byte [rcx], dl
dec rax
inc rcx
sub rbx, 1
jne 0x140029fc2
test rbx, rbx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], r14b
lea r9, [rsp + 0x188]
mov qword [rsp + 0x188], r14
xor r8d, r8d
lea rcx, [0x1400bdb78]
mov edx, 0x2000
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14002a0c3
mov r9, qword [rsp + 0x188]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
mov qword [rsp + 0x30], r14
nop
inc rbx
cmp word [r9 + rbx*2], r14w
jne 0x14002a030
mov r8d, 0x200
mov qword [rsp + 0x20], rbx
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140077034
mov rcx, qword [rsp + 0x188]
test eax, eax
cmovne rbx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rbx, rbx
je 0x14002a141
mov byte [rbx + rbp], 0x5c
xor edx, edx
movzx eax, word [0x1400a9684]
mov rcx, rbp
mov word [rbx + rbp + 1], ax
movzx eax, byte [0x1400a9686]
mov byte [rbx + rbp + 3], al
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14002a0de
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002a0de
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14002a0c3
lea r8, str.CreateInstallPackage:_failed_to_create_AMD_directory_for_uninstall.
mov edx, 2
call fcn.140040750
mov rax, r14
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov byte [rbx + rbp + 4], 0x5c
lea rax, [rsp + 0x40]
add rbx, 5
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r14b
jne 0x14002a0f0
lea rcx, [rbx + rbp]
mov r8, rdi
lea rdx, [rsp + 0x40]
call fcn.1400522d0
xor edx, edx
mov rcx, rbp
add rbx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14002a141
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002a141
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14002a0c3
lea r8, str.CreateInstallPackage:_failed_to_create_amdkmpfd_un_directory_for_uninstall.
jmp 0x14002a0b9
mov rax, rbx
jmp 0x14002a0c6
Function at 0x14002a150
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x2e8
lea rcx, str.EeuPciFilterPackageInstallFolder
call fcn.14002a2b0
lea rcx, str.EeuAudioFilterPackageInstallFolder
call fcn.14002a2b0
xor eax, eax
lea rcx, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x68]
call fcn.1400514f0
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x200
call fcn.1400514f0
lea rax, [rsp + 0x2f0]
mov dword [rsp + 0x2f0], 0x200
mov qword [rsp + 0x28], rax
lea r8, str.EeuClientPathForPciFilterUnInstall
lea rax, [rsp + 0xe0]
mov r9d, 2
lea rdx, [0x1400a65a8]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call fcn.140043e50
cmp eax, 1
jne 0x14002a285
lea r8, str.EeuClientPathForPciFilterUnInstall
mov rcx, 0xffffffff80000002
lea rdx, [0x1400a65a8]
call fcn.140043940
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, str.UninstallPciFilter
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xe0]
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14002a271
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14002a271
lea r8, str.GPUInstallation___CreateProcess_failed_to_creating_process_for_PCI_filter_uninstall.
mov edx, 0x80000
call fcn.140040750
lea rcx, [rsp + 0x50]
call fcn.140040b70
lea rcx, [rsp + 0x58]
call fcn.140040b70
add rsp, 0x2e8
ret
Function at 0x14002adf0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x1130
call fcn.14004ff90
sub rsp, rax
movsd xmm0, qword [str._unknown_]
mov r15, rcx
movzx eax, word [0x1400b0fc0]
lea rcx, [rsp + 0x2a]
xor edx, edx
movsd qword [rsp + 0x20], xmm0
mov r8d, 0xfa
mov word [rsp + 0x28], ax
call fcn.1400514f0
lea r8, [rsp + 0x1158]
mov edx, 0x1000
lea rcx, [rsp + 0x130]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x14002aefa
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r15 + rbx], 0
jne 0x14002ae70
mov r14d, dword [rsp + 0x1158]
xor edi, edi
shr r14d, 2
test r14d, r14d
je 0x14002aefa
lea rsi, [rsp + 0x130]
mov r8d, dword [rsi]
test r8d, r8d
je 0x14002aeef
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14002aeef
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessImageFileNameA
mov dword [rsp + 0x1158], eax
cmp eax, ebx
jb 0x14002aee6
sub eax, ebx
lea rcx, [rsp + 0x20]
add rcx, rax
mov rdx, r15
call fcn.140078434
test eax, eax
je 0x14002af19
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rsi, 4
cmp edi, r14d
jb 0x14002ae95
xor eax, eax
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + rdi*4 + 0x130]
jmp 0x14002aefc
Function at 0x14002df20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov esi, edx
movsxd r15, r9d
xor r12d, r12d
and esi, 0xf
mov edi, r12d
mov r14, r8
mov ebx, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
shr ebx, 4
lea edx, [r12 + 6]
inc bx
movzx r9d, ax
movzx r8d, bx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceExA]
mov r8, r15
xor edx, edx
add r8, r8
mov rcx, r14
mov rbx, rax
call fcn.1400514f0
test rbx, rbx
je 0x14002dff8
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x14002dff8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov eax, r12d
movzx ecx, word [rdx]
cmp eax, esi
je 0x14002dfcc
movzx ecx, cx
inc eax
lea rdx, [rdx + rcx*2]
add rdx, 2
cmp eax, 0x10
jb 0x14002dfb1
jmp 0x14002dfef
test cx, cx
je 0x14002dfef
movzx eax, cx
cmp eax, r15d
jge 0x14002dfef
add rdx, 2
mov r8d, eax
mov rcx, r14
mov edi, eax
call fcn.140076330
mov word [r14 + rdi*2], r12w
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140030b10
Capabilities:
Read file on windows

Disassembly:
push rbp
push r12
push r14
push r15
sub rsp, 0xe8
xor ebp, ebp
mov r15, rdx
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
xor r14b, r14b
mov dword [rsp + 0x20], 3
lea r8d, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140030d1b
lea r9, [rsp + 0x120]
mov qword [rsp + 0x20], rbp
lea r8d, [rbp + 0x50]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140030d12
mov qword [rsp + 0x110], rbx
mov ebx, ebp
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0xe0], rdi
nop
mov ecx, dword [rsp + 0x120]
mov esi, ebp
test ecx, ecx
je 0x140030bf7
lea rdi, [rsp + 0x90]
movzx eax, byte [rdi]
cmp al, 0xa
je 0x140030bc9
cmp al, 0xd
je 0x140030bc9
mov byte [rsp + rbx + 0x40], al
inc rbx
jmp 0x140030bee
lea rdx, str.DriverVer
mov byte [rsp + rbx + 0x40], bpl
lea rcx, [rsp + 0x40]
call fcn.1400512d4
test rax, rax
jne 0x140030c24
mov ecx, dword [rsp + 0x120]
mov rbx, rbp
inc esi
inc rdi
cmp esi, ecx
jb 0x140030bb5
lea r9, [rsp + 0x120]
mov qword [rsp + 0x20], rbp
mov r8d, 0x50
lea rdx, [rsp + 0x90]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140030ba0
jmp 0x140030cfa
mov rdi, 0xffffffffffffffff
lea rax, [rsp + 0x40]
mov rbx, rdi
mov r14, rbp
mov edx, ebp
mov rcx, rbp
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], cl
jne 0x140030c40
test rbx, rbx
je 0x140030c6b
nop dword [rax]
cmp byte [rsp + rcx + 0x40], 0x20
je 0x140030c66
inc edx
inc rcx
movsxd rax, edx
cmp rax, rbx
jb 0x140030c50
jmp 0x140030c6b
mov ebp, edx
mov r14, rcx
movsxd rax, ebp
lea rsi, [rsp + 0x41]
lea rsi, [rsi + rax]
sub rbx, rax
je 0x140030cdf
test r15, r15
jne 0x140030c8e
call fcn.140079164
mov dword [rax], 0x16
jmp 0x140030cda
test rsi, rsi
je 0x140030ca9
cmp rbx, 0x50
ja 0x140030ca9
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call fcn.1400522d0
jmp 0x140030cdf
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 0x50]
call fcn.1400514f0
test rsi, rsi
jne 0x140030cc9
call fcn.140079164
mov dword [rax], 0x16
jmp 0x140030cda
cmp rbx, 0x50
jbe 0x140030cdf
call fcn.140079164
mov dword [rax], 0x22
call fcn.140078fb8
lea rax, [rsp + 0x40]
cmp byte [rax + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x140030ce4
sub r15, r14
mov r14b, 1
mov byte [rdi + r15], 0
mov rsi, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
mov rdi, qword [rsp + 0xe0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r14b
add rsp, 0xe8
pop r15
pop r14
pop r12
pop rbp
ret