joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093500
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14009373b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x14009359a
mov qword [rsp + 0x88], rax
lea rbx, [0x1403fa100]
mov rcx, rax
lea rax, [0x1407006e0]
call fcn.140077680
test cl, cl
jne 0x140093583
mov rax, qword [rsp + 0x88]
call fcn.140090aa0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x140494250]
call fcn.1400541e0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call fcn.1400949c0
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x1400935b7
lea rdx, [0x1403f04e0]
cmp rax, rdx
jne 0x1400935a5
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.140068a40
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x140390540]
call fcn.14000c060
inc rdx
cmp rbx, rdx
jle 0x140093601
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x1400935b4
lea rax, [0x1407006e0]
lea rbx, [0x1403fa100]
lea rdi, [0x1403f04e0]
nop dword [rax + rax]
call fcn.140077840
lea rdx, [0x1403f04e0]
cmp rax, rdx
jne 0x14009372b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x140372260]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x1403a4880]
call fcn.14000f3e0
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x140787560], 0
nop
je 0x14009365b
mov rbx, rax
lea rax, [0x1403a4880]
call fcn.140015560
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.140001b00
call fcn.140068b40
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x1400936c2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x1400936b4
mov dword [rsi + 0x10], edx
cmp dword [0x140787560], 0
je 0x1400936e3
call fcn.14006d320
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x1407006e0]
lea rbx, [0x1403fa100]
lea rdi, [0x1403f04e0]
nop dword [rax]
call fcn.140077840
lea rdx, [0x1403f04e0]
cmp rax, rdx
jne 0x14009371c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x140390540]
call fcn.14000c060
mov rbx, rdx
lea rcx, [0x140390540]
call fcn.14000c060
nop
mov qword [rsp + 8], rax
call fcn.14006b3c0
mov rax, qword [rsp + 8]
jmp fcn.140093500
Function at 0x1402f3d20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1406ea4c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1402f3d40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1402f3d48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1402f3d40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1402f3d95
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1402f3d8c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1402f3d40
add rax, 0x28
cmp rax, r9
jne 0x1402f3d78
xor eax, eax
ret

Function at 0x1402f3da0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1406ea4c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1402f3dc0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1402f3dc8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1402f3dc0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1402f3e50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1406ea4c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1402f3e70
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1402f3e78
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x1400031e0
Capabilities:
Read file via mapping

Disassembly:
push rbx
sub rsp, 0x250
lea rax, vtable.IPCClient.0
mov rbx, rcx
mov qword [rcx], rax
xor edx, edx
xor eax, eax
mov r8d, 0x104
mov qword [rcx + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140038310
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.140038310
mov r9d, dword [0x1400b4004]
lea r8, str.GlobalAMDClient
lea rdx, str._s__u
lea rcx, [rsp + 0x30]
call fcn.140003180
mov r9d, dword [0x1400b4004]
lea r8, str.GlobalAMDClientAck
lea rdx, str._s__u
lea rcx, [rsp + 0x140]
call fcn.140003180
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x30]
call fcn.140032380
test eax, eax
jne 0x1400032b3
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003424
lea rax, [rsp + 0x30]
lea r9, str.OpenTheEvent_failed_for__s
mov qword [rsp + 0x20], rax
mov edx, 0x60004004
mov r8d, 1
call fcn.14002fdb0
mov rax, rbx
add rsp, 0x250
pop rbx
ret
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x140]
call fcn.140032380
test eax, eax
jne 0x1400032e2
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003424
lea rax, [rsp + 0x140]
jmp 0x14000328b
lea rdx, str.GlobalEEU_Memory_Map_Mutex
mov qword [rsp + 0x260], rdi
lea rcx, [rbx + 0x28]
call fcn.140033310
test eax, eax
jne 0x140003317
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000341c
lea r9, str.OpenMutex_failed.
jmp 0x140003387
xor edx, edx
lea r8, str.GlobalEEU_Memory_Map
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14000334b
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000341c
lea r9, str.OpenFileMapping_failed.
jmp 0x140003387
xor r9d, r9d
mov qword [rsp + 0x20], 0x170
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x14000339c
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000341c
lea r9, str.MapViewOfFile_failed.
mov edx, 0x60004008
mov r8d, 1
call fcn.14002fdb0
jmp 0x14000341c
lea rcx, [rbx + 0x28]
call fcn.140033280
test eax, eax
je 0x14000341c
mov rax, qword [rbx + 0x20]
cmp dword [rax], 8
je 0x1400033e0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x1400033d5
lea r9, str.MemoryMap_version_is_incorrect.
mov edx, 0x60004008
mov r8d, 1
call fcn.14002fdb0
lea rcx, [rbx + 0x28]
call fcn.140033340
jmp 0x14000341c
or dword [rax + 4], 1
lea rcx, [rbx + 0x28]
call fcn.140033340
xor eax, eax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x88], rax
mov dword [rbx + 0x30], 1
mov rdi, qword [rsp + 0x260]
mov rax, rbx
add rsp, 0x250
pop rbx
ret
Function at 0x140003ba0
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push rbx
sub rsp, 0x110
mov rbx, rcx
lea rdx, str.GlobalTray_Icon_Memory_Map_Mutex
add rcx, 0x48
call fcn.1400332c0
test eax, eax
jne 0x140003bf0
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003dfa
lea r9, str.Tray_Icon_Memory_Map_CreateMutex_failed.
mov edx, 0x60004008
mov r8d, 1
call fcn.14002fdb0
add rsp, 0x110
pop rbx
ret
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call fcn.140030130
xor r9d, r9d
lea rax, str.GlobalDGTrayIconMemoryMap
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x50]
xor ecx, ecx
mov dword [rsp + 0x20], 0x17ec0
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x140003c4c
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003dfa
lea r9, str.CreateFileMapping_failed.
jmp 0x140003bd7
xor r9d, r9d
mov qword [rsp + 0x20], 0x17ec0
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x140003c8d
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003dfa
lea r9, str.MapViewOfFile_failed.
jmp 0x140003bd7
xor edx, edx
mov r8d, 0x17ec0
mov rcx, rax
call fcn.140038310
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140038310
xor ebx, ebx
mov dword [rsp + 0x70], 0x68
lea rax, str.WinSta0Default
mov word [rsp + 0xb0], bx
mov qword [rsp + 0x80], rax
lea rcx, str.DGTrayIcon.exe
lea rax, [0x1400b5070]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
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
je 0x140003ddd
mov rcx, qword [0x1400b5138]
test rcx, rcx
je 0x140003d51
mov rdx, qword [0x1400b5070]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140003d51
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003d51
lea r8, str.Failed_to_assign_the_DGTrayIcon_process_to_the_process_terminator_job_object.
mov edx, 0x100
call fcn.14002ffd0
mov r8d, 1
mov qword [rsp + 0x120], rbx
lea rdx, str.GlobalDGTrayIconInit
lea rcx, [rsp + 0x120]
call fcn.140032320
test eax, eax
jne 0x140003d94
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003dfa
lea r9, str.CreateTheEvent_DGTrayIconInitEvent_failed.
mov edx, 0x60004005
jmp 0x140003bdc
mov edx, 0x3e8
lea rcx, [rsp + 0x120]
call fcn.1400323e0
test eax, eax
je 0x140003dc7
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003dc7
lea r8, str.The_awaited_DGTrayIconInitEvent_hasnt_arrived.
mov edx, 0x10000
call fcn.14002ffd0
lea rcx, [rsp + 0x120]
call fcn.140032310
add rsp, 0x110
pop rbx
ret
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x140003dfa
lea r8, str.DGTrayIcon_process_failed_to_spawn.
mov edx, 0x100
call fcn.14002ffd0
add rsp, 0x110
pop rbx
ret
Function at 0x14000db50
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14000db74
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x14000db8b
xor edx, edx
mov qword [rbx + 0x38], 0
lea rcx, [0x14000d3e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x14000dbd5
xor edx, edx
lea rcx, str.9EDE85BB_30B3_4FDF_94C6_267ACB7EB43B
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x14000dbd5
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000dbd3
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
call fcn.14002ffd0
mov rax, qword [rbx + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000dce0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rdx
mov rbx, rcx
cmp dword [rdx + 0x808], 0
jne 0x14000de2a
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14000dd22
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x14000dd39
mov qword [rbx + 0x38], 0
xor edx, edx
lea rcx, [0x14000d3e0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx + 0x38], 0
jne 0x14000de2a
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000dd61
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
call fcn.14002ffd0
mov edx, 0x5c
lea rcx, [rdi + 8]
call fcn.140038e10
mov rbx, rax
test rax, rax
je 0x14000de2a
add rbx, 2
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000dd90
inc eax
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.140036d44
mov rdi, rax
test rax, rax
je 0x14000de2a
mov rdx, rax
sub rdx, rbx
movzx ecx, word [rbx]
mov word [rdx + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x14000ddc0
mov rbx, qword [0x1400b50b0]
mov ecx, 0x20
call fcn.140036d8c
test rax, rax
je 0x14000de2a
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x18], rcx
mov dword [rax], 0x8486
mov dword [rax + 4], 0x24020
mov dword [rax + 8], 1
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], ecx
lea rcx, [rbx + 0x10]
mov r8d, 1
mov rdx, rax
call fcn.1400364b0
lea rcx, [rbx + 8]
call fcn.1400323c0
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000e250
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov r14d, r9d
mov rcx, qword [rcx + 0x38]
mov ebp, r8d
mov r15d, edx
mov edi, 1
test rcx, rcx
je 0x14000e28f
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x14000e2a6
xor edx, edx
mov qword [rsi + 0x38], 0
lea rcx, [0x14000d3e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsi + 0x38]
test rax, rax
jne 0x14000e2c2
xor edx, edx
lea rcx, str.9EDE85BB_30B3_4FDF_94C6_267ACB7EB43B
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsi + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x1400b5090]
test rax, rax
jne 0x14000e2f5
test rbx, rbx
je 0x14000e2f3
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
mov rcx, rbx
call fcn.14002ffd0
mov rbx, qword [0x1400b5090]
xor edi, edi
test edi, edi
je 0x14000e375
xor eax, eax
cmp r15d, 0x8486
jne 0x14000e33b
test r14d, r14d
je 0x14000e315
mov edx, ebp
mov rcx, rsi
call fcn.14000ead0
jmp 0x14000e317
mov eax, ebp
test eax, eax
jne 0x14000e33b
test rbx, rbx
je 0x14000e337
mov r9d, ebp
lea r8, str.PostMessageToCCC_invalid_message_code_for_ulMessage___x.
mov edx, 0x40000
mov rcx, rbx
call fcn.14002ffd0
xor eax, eax
jmp 0x14000e377
mov r8d, dword [rsp + 0x60]
mov edx, r15d
mov rcx, qword [rsi + 0x38]
mov r9d, eax
call qword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
jne 0x14000e375
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14000e337
lea r8, str.PostMessageToCCC_Post_message_failed.
mov edx, 0x40000
call fcn.14002ffd0
xor eax, eax
jmp 0x14000e377
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000e9b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 0xf]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
test rax, rax
je 0x14000eabf
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000eab6
mov qword [rsp + 0x168], rbp
lea rbp, str.CCC.exe
mov qword [rsp + 0x170], r14
xor r14d, r14d
mov qword [rsp + 0x160], rbx
nop word [rax + rax]
mov rax, r14
lea rdx, [rsp + 0x4c]
nop dword [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [rax + rbp - 1]
jne 0x14000ea45
cmp rax, 8
jne 0x14000ea30
jmp 0x14000ea5a
lea rdx, str.RadeonSettings.exe
lea rcx, [rsp + 0x4c]
call fcn.14005d520
test eax, eax
jne 0x14000ea8d
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000ea8d
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsi + 0x40], r14d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14000ea20
mov r14, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
ret

Function at 0x140016430
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r8
mov dword [rsp + 0x68], 4
mov rsi, rdx
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareATIACESettingsADLMaxCofuncPaths_
mov r9d, 0x20019
mov rcx, 0xffffffff80000001
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400164b4
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov ecx, 1
cmove ebx, ecx
mov rcx, qword [rsp + 0x38]
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 0x140016ac0
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 0x140016b3c
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 0x140016b80
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 0x140016c0e
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 0x140019940
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 0x1400199e5
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 0x140019a6c
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 0x140019a6c
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 0x140019afa
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 0x14001a000
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.140038310
mov rdi, 0xffffffffffffffff
mov qword [rbp + 0x188], r14
lea rdx, [rbp + 0x180]
mov dword [rbp + 0x180], edi
mov rcx, rsi
call fcn.1400173e0
test eax, eax
je 0x14001a212
cmp ebx, 2
jbe 0x14001a08f
cmp ebx, 3
jne 0x14001a212
mov edx, dword [rbp + 0x180]
mov rcx, rsi
call fcn.140014870
mov rcx, rsi
mov ebx, eax
call fcn.140019940
mov eax, ebx
jmp 0x14001a215
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.140013150
mov r9d, 1
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call fcn.140013150
lea r9, [rbp + 0x188]
xor r8d, r8d
mov edx, 0x2000
lea rcx, [0x14009b2d8]
mov ebx, eax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14001a206
mov r8, qword [rbp + 0x188]
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.14005d5f4
lea rax, [rsp + 0x40]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14001a106
add rdi, 0x16
je 0x14001a175
lea r8, str.ATIACEAPLUser.blb
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14005def8
lea r8, [0x14008fa50]
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14005e568
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001a175
call fcn.14005e6bc
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.140013150
or ebx, eax
mov r8, qword [rbp + 0x188]
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.14005d5f4
mov r8d, dword [rbp + 0x180]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rsi
call fcn.140019c00
cmp eax, 1
jne 0x14001a1f2
lea r8, [0x14008fa50]
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14005e568
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001a1f2
call fcn.14005e6bc
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.140013150
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.140019940
mov eax, ebx
jmp 0x14001a215
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 0x14001dfd0
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.140038310
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov r8d, 0x200
lea rcx, [rsp + 0xe0]
call fcn.140038310
mov r8d, 0x200
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14001e058
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14001e0d0
lea r8, str.GPUInstallation___GetModuleFileName_failed.
mov edx, 0x80000
call fcn.14002ffd0
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 0x14001e0bc
mov rcx, qword [0x1400b5090]
test rcx, rcx
je 0x14001e0bc
lea r8, str.GPUInstallation___CreateProcess_failed_to_creating_process_for_pop_up.
mov edx, 0x80000
call fcn.14002ffd0
lea rcx, [rsp + 0x50]
call fcn.140030100
lea rcx, [rsp + 0x58]
call fcn.140030100
add rsp, 0x2e8
ret