joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400159f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x1400720d8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140015a75
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140015a75
call fcn.140014090
mov ebx, eax
jmp 0x140015ba0
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.kernel32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140015a96
call fcn.140014090
jmp 0x140015b8f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140015ab9
call fcn.140014090
jmp 0x140015b8f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140015adb
mov ebx, 0x8007000e
jmp 0x140015b91
mov ecx, eax
test eax, eax
je 0x140015b13
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140015bd8
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140015b13
lfence
lea rcx, [rsp + 0x60]
call fcn.140013ee0
jmp 0x140015b1d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x140015b30
cmp qword [rsp + 0x60], 0
jne 0x140015b3f
mov ebx, 0x8007000e
jmp 0x140015b91
lfence
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140015b6c
call fcn.140014090
jmp 0x140015b8f
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140015500
mov ebx, eax
test rdi, rdi
je 0x140015ba0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x140015bb7
lea rcx, [rsp + 0x60]
call fcn.1400145e0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14001df60
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lfence
mov ecx, 0x80070216
call fcn.14000bd70
int3
Function at 0x140018ca0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
mov r8, qword [0x140075090]
xor ecx, ecx
test r8, r8
je 0x140018cf9
lea rdx, str.instance_to_be_deleted:___p
mov qword [rsp + 0x20], rbx
call fcn.140007240
mov rbx, qword [0x140075090]
test rbx, rbx
je 0x140018ce4
mov rcx, rbx
call fcn.140017560
mov edx, 0x88
mov rcx, rbx
call fcn.14001decc
mov rbx, qword [rsp + 0x20]
mov qword [0x140075090], 0
add rsp, 0x28
ret
lea rdx, str.instance_is_NULL
add rsp, 0x28
jmp fcn.140007240

Function at 0x14002060c
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x14002061f
add rsp, 0x48
ret
call qword [sym.imp.kernel32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140020c38
lea rdx, [0x14006f388]
lea rcx, [rsp + 0x20]
call fcn.14003d580
int3

Function at 0x14002c510
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140075a00]
xor edx, edx
jmp fcn.14002060c

Function at 0x14002cee0
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140075a00]
jmp fcn.14002060c

Function at 0x140038a74
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140038b30]
mov r9, qword [r9 + 8]
jmp fcn.140028978

Function at 0x140038b08
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140038b40]
mov r9, qword [r9 + 8]
jmp fcn.140028978
Function at 0x140049d34
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140049dbb
mov rsi, rbx
cmp word [rax], bp
je 0x140049d7a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140049d64
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140049d60
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140045f1c
mov rdi, rax
test rax, rax
je 0x140049da8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003d0f0
mov rbp, rdi
xor ecx, ecx
call fcn.140046674
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x140001124
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x1400011a5
mov byte [rsp], 0
jmp 0x14000113d
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x1400011a0
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x20]
shl edx, 2
movzx r8d, byte [rsp + 1]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rsp]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 0x28]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x140001134
jmp 0x140001119
add rsp, 0x18
ret

Function at 0x140002290
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x1400022ab
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x140002309
mov byte [rsp], 0
jmp 0x1400022c4
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x140002307
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, [0x140016420]
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x1400022bb
jmp 0x1400022a0
add rsp, 0x18
ret
Function at 0x140002790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp], 0
jmp 0x1400027ad
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 0x10
jge 0x1400027e0
movzx eax, byte [rsp]
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 0x28]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rax]
xor eax, ecx
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
jmp 0x1400027a4
add rsp, 0x18
ret
Function at 0x140003550
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x14000356f
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x140003577
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
add rsp, 0x18
ret

Function at 0x140004320
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000436a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000436a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000436a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000436a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000436a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000436c
xor al, al
add rsp, 0x28
ret

Function at 0x14000adb8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000abb4
Function at 0x14000de7c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000deac
xor eax, eax
jmp 0x14000df6f
mov rbp, rbx
cmp word [rax], si
je 0x14000ded1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000deb8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000deb4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000dd9c
movsxd r14, eax
test eax, eax
jne 0x14000df0f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000dea5
mov rcx, r14
call fcn.14000ed58
mov rdi, rax
test rax, rax
jne 0x14000df28
xor ecx, ecx
call fcn.14000c3fc
jmp 0x14000df04
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000dd9c
test eax, eax
jne 0x14000df59
mov rcx, rdi
call fcn.14000c3fc
jmp 0x14000df63
xor ecx, ecx
call fcn.14000c3fc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140011460
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000ce6c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400114ea
cmp byte [rbp - 0x21], r15b
je 0x1400114e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140011520
call fcn.14000f568
test eax, eax
jne 0x14001150c
cmp byte [rbp - 0x21], r15b
je 0x140011504
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140011520
cmp byte [rbp - 0x21], r15b
je 0x14001151d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000c44c
test eax, eax
jne 0x1400115c0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000ce6c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001155f
cmp byte [rbp - 0x21], r15b
je 0x140011594
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140011594
call fcn.14000f568
test eax, eax
jne 0x140011580
cmp byte [rbp - 0x21], r15b
je 0x140011579
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140011594
cmp byte [rbp - 0x21], r15b
je 0x140011591
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000c44c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400115c0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400115c3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400115d1
mov rcx, rdi
call fcn.14000c3fc
cmp byte [rbp + 0x3f], r15b
je 0x1400115e0
mov rcx, qword [rbp + 0x27]
call fcn.14000c3fc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400144c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400144e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400144e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003f80
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
lea rax, vtable.IPCClient.0
mov rdi, rcx
mov qword [rcx], rax
xor edx, edx
xor eax, eax
mov r8d, 0x104
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
lea rcx, [rsp + 0x30]
call fcn.1400514f0
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.1400514f0
mov r9d, dword [0x1400d9004]
lea r8, str.GlobalAMDClient
lea rdx, str._s__u
lea rcx, [rsp + 0x30]
call fcn.140003f20
mov r9d, dword [0x1400d9004]
lea r8, str.GlobalAMDClientAck
lea rdx, str._s__u
lea rcx, [rsp + 0x140]
call fcn.140003f20
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 8]
call fcn.1400434e0
test eax, eax
jne 0x14000406d
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400041d1
lea rax, [rsp + 0x30]
lea r9, str.OpenTheEvent_failed_for__s
mov qword [rsp + 0x20], rax
mov edx, 0x60004004
mov r8d, 1
call fcn.140040490
jmp 0x1400041d1
lea rdx, [rsp + 0x140]
lea rcx, [rdi + 0x10]
call fcn.1400434e0
test eax, eax
jne 0x14000409c
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400041d1
lea rax, [rsp + 0x140]
jmp 0x14000404c
lea rdx, str.GlobalEEU_Memory_Map_Mutex
lea rcx, [rdi + 0x28]
call fcn.1400445a0
test eax, eax
jne 0x1400040dc
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400041d1
lea r9, str.OpenMutex_failed.
mov edx, 0x60004008
mov r8d, 1
call fcn.140040490
jmp 0x1400041d1
xor edx, edx
lea r8, str.GlobalEEU_Memory_Map
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x140004110
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400041d1
lea r9, str.OpenFileMapping_failed.
jmp 0x1400040c7
xor r9d, r9d
mov qword [rsp + 0x20], 0x17c
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x20], rax
test rax, rax
jne 0x140004151
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400041d1
lea r9, str.MapViewOfFile_failed.
jmp 0x1400040c7
lea rcx, [rdi + 0x28]
call fcn.140044510
test eax, eax
je 0x1400041d1
mov rax, qword [rdi + 0x20]
cmp dword [rax], 8
je 0x140004195
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14000418a
lea r9, str.MemoryMap_version_is_incorrect.
mov edx, 0x60004008
mov r8d, 1
call fcn.140040490
lea rcx, [rdi + 0x28]
call fcn.1400445d0
jmp 0x1400041d1
or dword [rax + 4], 1
lea rcx, [rdi + 0x28]
call fcn.1400445d0
xor eax, eax
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x58], rax
mov qword [rdi + 0x60], rax
mov qword [rdi + 0x68], rax
mov qword [rdi + 0x70], rax
mov qword [rdi + 0x78], rax
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x88], rax
mov dword [rdi + 0x30], 1
lea r11, [rsp + 0x250]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000c850
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x150
mov rbx, qword [0x1400da530]
test rbx, rbx
je 0x14000c9cd
mov qword [rsp + 0x148], rdi
xor edi, edi
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.1400514f0
mov qword [rsp + 0x178], rdi
lea r9, [rsp + 0x40]
mov dword [rsp + 0x170], edi
mov dword [rsp + 0x160], edi
mov dword [rsp + 0x168], 4
mov r8d, dword [rbx + 8]
mov edx, dword [rbx + 4]
mov ecx, dword [rbx]
mov dword [rsp + 0x20], 0x100
call fcn.14003fa30
test al, al
je 0x14000c9b8
lea rax, [rsp + 0x178]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000c9b8
mov rcx, qword [rsp + 0x178]
lea rax, [rsp + 0x168]
mov qword [rsp + 0x30], rax
lea r8, str.SCPMAuthenticationFailed
lea rax, [rsp + 0x160]
mov r9d, 0xffff
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14000c9aa
mov eax, dword [rsp + 0x160]
cmp eax, 1
jne 0x14000c965
lea edx, [rax + 0x65]
lea ecx, [rdx + 0x42]
call fcn.14002ddc0
test eax, eax
jne 0x14000c995
lea rdx, str.The_GPU_has_detected_a_critical_configuration_issue.___SACEAIF_._nPlease_visit_https:__www.amd.com_SACEAIF_to_find_out_more
jmp 0x14000c980
cmp eax, 2
jne 0x14000c995
lea edx, [rax + 0x64]
lea ecx, [rdx + 0x43]
call fcn.14002ddc0
test eax, eax
jne 0x14000c995
lea rdx, str.The_GPU_has_detected_a_critical_configuration_issue.__SACEVBF_._nPlease_visit_https:__www.amd.com_SACEVBF_to_find_out_more
mov r9d, 0x30
lea r8, str.AMD_SOFTWARE
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x178]
lea rdx, str.SCPMAuthenticationFailed
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000c873
mov rdi, qword [rsp + 0x148]
add rsp, 0x150
pop rbx
ret

Function at 0x140010230
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140010254
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x14001026b
xor edx, edx
mov qword [rbx + 0x38], 0
lea rcx, [0x14000fac0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x1400102b5
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 0x1400102b5
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400102b3
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
call fcn.140040750
mov rax, qword [rbx + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400103c0
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 0x14001050a
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x140010402
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x140010419
mov qword [rbx + 0x38], 0
xor edx, edx
lea rcx, [0x14000fac0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx + 0x38], 0
jne 0x14001050a
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140010441
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
call fcn.140040750
mov edx, 0x5c
lea rcx, [rdi + 8]
call fcn.140051ff0
mov rbx, rax
test rax, rax
je 0x14001050a
add rbx, 2
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140010470
inc eax
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.14004feec
mov rdi, rax
test rax, rax
je 0x14001050a
mov rdx, rax
sub rdx, rbx
movzx ecx, word [rbx]
mov word [rdx + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x1400104a0
mov rbx, qword [0x1400da5b8]
mov ecx, 0x20
call fcn.14004ff3c
test rax, rax
je 0x14001050a
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.140047c10
lea rcx, [rbx + 8]
call fcn.140043520
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140010930
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 0x14001096f
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x140010986
xor edx, edx
mov qword [rsi + 0x38], 0
lea rcx, [0x14000fac0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsi + 0x38]
test rax, rax
jne 0x1400109a2
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 [0x1400da5d8]
test rax, rax
jne 0x1400109d5
test rbx, rbx
je 0x1400109d3
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
mov rcx, rbx
call fcn.140040750
mov rbx, qword [0x1400da5d8]
xor edi, edi
test edi, edi
je 0x140010a55
xor eax, eax
cmp r15d, 0x8486
jne 0x140010a1b
test r14d, r14d
je 0x1400109f5
mov edx, ebp
mov rcx, rsi
call fcn.1400111b0
jmp 0x1400109f7
mov eax, ebp
test eax, eax
jne 0x140010a1b
test rbx, rbx
je 0x140010a17
mov r9d, ebp
lea r8, str.PostMessageToCCC_invalid_message_code_for_ulMessage___x.
mov edx, 0x40000
mov rcx, rbx
call fcn.140040750
xor eax, eax
jmp 0x140010a57
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 0x140010a55
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140010a17
lea r8, str.PostMessageToCCC_Post_message_failed.
mov edx, 0x40000
call fcn.140040750
xor eax, eax
jmp 0x140010a57
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 0x140011090
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 0x14001119f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140011196
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 0x140011125
cmp rax, 8
jne 0x140011110
jmp 0x14001113a
lea rdx, str.RadeonSettings.exe
lea rcx, [rsp + 0x4c]
call fcn.1400761d0
test eax, eax
jne 0x14001116d
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 0x14001116d
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 0x140011100
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 0x1400199d0
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 0x140019a54
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