joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028c30
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14003b4c4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x140028de0
mov rax, qword [0x14003b4c8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x140028c7c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140028d07
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140028c60
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x140028e3d
mov rax, qword [0x14003b4c8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14003b4c8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140028e22
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140028d00
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140028d90
add dword [0x14003b4c4], 1
cmp ebx, 8
jae 0x140028d38
test bl, 4
jne 0x140028df0
test ebx, ebx
je 0x140028d29
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x140028e10
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140028d29
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x140028d6a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14003b4c8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140028d00
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140028c87
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140028d29
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140028d29
mov rax, qword [0x14003b4c8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140029350
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14003b520]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14003b500]
test rbx, rbx
je 0x1400293a4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14002939b
test r12, r12
je 0x14002939b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140029380
lea rcx, [0x14003b520]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400295d0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x1400295e0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x1400295f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140029635
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14002962c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140029637
add rax, 0x28
cmp rax, r9
jne 0x140029618
xor eax, eax
ret

Function at 0x1400296e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x140036260]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140029759
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140029759
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140029756
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x14002974d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140029759
add r8, 0x28
cmp r8, r9
jne 0x140029738
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140029840
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140036260]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400298af
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x1400298af
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x1400298ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400298a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400298b8
add rax, 0x28
cmp rax, r9
jne 0x140029890
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x1400298d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x140036260]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140029948
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140029948
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140029948
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140029948
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x14002993c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140029950
add rdx, 0x28
cmp rdx, r10
jne 0x140029928
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140029960
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14002996e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140029945
test r8d, r8d
jg 0x140029958
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret

Function at 0x140029ac0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor ecx, ecx
xor r9d, r9d
mov r8d, 0xffff
mov dword [0x14003b5a0], 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14003b5a8], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x140029b10
lea rdx, [0x1400299d0]
mov dword [0x14003b598], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x140029b18
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140029b07
call sym.abort
nop
nop
Function at 0x140029b20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r13, qword [0x1400361d0]
mov r11d, dword [r13]
mov r12, rcx
test r11d, r11d
jne 0x140029b60
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140029bc8
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x140029be0
mov r13d, dword [0x14003b598]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
mov r14d, eax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r14d
mov r13, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r13, r13
je 0x140029c58
mov rbx, qword [r13]
cmp rbx, rsi
jb 0x140029ca0
sub rsi, 1
mov rax, qword [r13 + rsi*8 + 8]
test rax, rax
jne 0x140029b49
mov rcx, r12
call fcn.140029a20
mov qword [r13 + rsi*8 + 8], rax
jmp 0x140029b49
call fcn.140029a20
mov qword [r12 + 0x10], rax
jmp 0x140029b49
mov r10d, dword [r13]
test r10d, r10d
je 0x140029d02
mov r9d, dword [0x1400305c0]
test r9d, r9d
je 0x140029d30
lock add dword [0x14003b5a0], 1
jne 0x140029d64
mov rsi, qword [r12 + 0x10]
test rsi, rsi
je 0x140029d10
mov eax, dword [r13]
test eax, eax
je 0x140029b69
mov eax, 0xffffffff
lock xadd dword [0x14003b5a0], eax
sub eax, 1
js 0x140029b69
mov rcx, qword [0x14003b5a8]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x140029b69
lea rcx, [rsi + 0x21]
mov edx, 8
lea rbx, [rsi + 0x20]
call sym.calloc
mov r13, rax
test rax, rax
je 0x140029d8b
mov qword [rax], rbx
mov ecx, dword [0x14003b598]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140029ba7
call rdi
jmp 0x140029ba7
lea r14, [rbx + rbx]
lea rax, [rsi + 0x20]
mov rcx, r13
cmp rsi, r14
cmova r14, rax
lea rdx, [r14*8 + 8]
call sym.realloc
mov r13, rax
test rax, rax
je 0x140029d8b
mov qword [rax], r14
sub r14, rbx
lea rcx, [rax + rbx*8 + 8]
xor edx, edx
lea r8, [r14*8]
call sym.memset
jmp 0x140029c79
call fcn.140029ac0
mov dword [0x1400305c0], 1
mov edx, dword [r13]
test edx, edx
jne 0x140029bfd
mov rsi, qword [r12 + 0x10]
test rsi, rsi
jne 0x140029b69
mov rax, qword [0x14003b590]
lea rsi, [rax + 1]
mov qword [0x14003b590], rsi
mov qword [r12 + 0x10], rsi
jmp 0x140029c19
lock add dword [0x1400305c4], 1
je 0x140029ce7
mov r8d, dword [0x1400305c0]
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [0x1400305c0]
test r8d, r8d
jne 0x140029cf6
nop dword [rax]
xor ecx, ecx
call rsi
mov ecx, dword [rbx]
test ecx, ecx
je 0x140029d58
jmp 0x140029cf6
mov rcx, qword [0x14003b5a8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140029c0b
lock sub dword [0x14003b5a0], 1
jmp 0x140029c0b
call sym.abort
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14000193c
Capabilities:
Parse pe header

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

Function at 0x14006b84a
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
clc
cmp sp, r14w
test r9d, 0x848a6f9a
cmp ecx, 0x1008200
jne 0x14006b870
mov dword [0x140003050], 1
call fcn.140001030
lea rcx, str.pause
jmp 0x14006b881
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
sub eax, eax
test al, r14b
test r8b, 0xb3
clc
add rsp, 0x28
jmp 0x14006b89a
ret
Function at 0x1400032d0
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.14003aa80
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.14003aa80
mov r9d, dword [0x1400b7004]
lea r8, str.GlobalAMDClient
lea rdx, str._s__u
lea rcx, [rsp + 0x30]
call fcn.140003270
mov r9d, dword [0x1400b7004]
lea r8, str.GlobalAMDClientAck
lea rdx, str._s__u
lea rcx, [rsp + 0x140]
call fcn.140003270
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 8]
call fcn.140034ac0
test eax, eax
jne 0x1400033bd
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003521
lea rax, [rsp + 0x30]
lea r9, str.OpenTheEvent_failed_for__s
mov qword [rsp + 0x20], rax
mov edx, 0x60004004
mov r8d, 1
call fcn.1400324f0
jmp 0x140003521
lea rdx, [rsp + 0x140]
lea rcx, [rdi + 0x10]
call fcn.140034ac0
test eax, eax
jne 0x1400033ec
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003521
lea rax, [rsp + 0x140]
jmp 0x14000339c
lea rdx, str.GlobalEEU_Memory_Map_Mutex
lea rcx, [rdi + 0x28]
call fcn.140035a50
test eax, eax
jne 0x14000342c
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003521
lea r9, str.OpenMutex_failed.
mov edx, 0x60004008
mov r8d, 1
call fcn.1400324f0
jmp 0x140003521
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 0x140003460
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003521
lea r9, str.OpenFileMapping_failed.
jmp 0x140003417
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 [rdi + 0x20], rax
test rax, rax
jne 0x1400034a1
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003521
lea r9, str.MapViewOfFile_failed.
jmp 0x140003417
lea rcx, [rdi + 0x28]
call fcn.1400359c0
test eax, eax
je 0x140003521
mov rax, qword [rdi + 0x20]
cmp dword [rax], 8
je 0x1400034e5
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400034da
lea r9, str.MemoryMap_version_is_incorrect.
mov edx, 0x60004008
mov r8d, 1
call fcn.1400324f0
lea rcx, [rdi + 0x28]
call fcn.140035a80
jmp 0x140003521
or dword [rax + 4], 1
lea rcx, [rdi + 0x28]
call fcn.140035a80
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 0x140003cb0
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.140035a00
test eax, eax
jne 0x140003d00
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003f0a
lea r9, str.Tray_Icon_Memory_Map_CreateMutex_failed.
mov edx, 0x60004008
mov r8d, 1
call fcn.1400324f0
add rsp, 0x110
pop rbx
ret
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xe0]
call fcn.140032870
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 0x140003d5c
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003f0a
lea r9, str.CreateFileMapping_failed.
jmp 0x140003ce7
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 0x140003d9d
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003f0a
lea r9, str.MapViewOfFile_failed.
jmp 0x140003ce7
xor edx, edx
mov r8d, 0x17ec0
mov rcx, rax
call fcn.14003aa80
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.14003aa80
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, [0x1400b8098]
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 0x140003eed
mov rcx, qword [0x1400b8168]
test rcx, rcx
je 0x140003e61
mov rdx, qword [0x1400b8098]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140003e61
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003e61
lea r8, str.Failed_to_assign_the_DGTrayIcon_process_to_the_process_terminator_job_object.
mov edx, 0x100
call fcn.140032710
mov r8d, 1
mov qword [rsp + 0x120], rbx
lea rdx, str.GlobalDGTrayIconInit
lea rcx, [rsp + 0x120]
call fcn.140034a60
test eax, eax
jne 0x140003ea4
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003f0a
lea r9, str.CreateTheEvent_DGTrayIconInitEvent_failed.
mov edx, 0x60004005
jmp 0x140003cec
mov edx, 0x3e8
lea rcx, [rsp + 0x120]
call fcn.140034b20
test eax, eax
je 0x140003ed7
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003ed7
lea r8, str.The_awaited_DGTrayIconInitEvent_hasnt_arrived.
mov edx, 0x10000
call fcn.140032710
lea rcx, [rsp + 0x120]
call fcn.140034a50
add rsp, 0x110
pop rbx
ret
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140003f0a
lea r8, str.DGTrayIcon_process_failed_to_spawn.
mov edx, 0x100
call fcn.140032710
add rsp, 0x110
pop rbx
ret
Function at 0x14000dce0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14000dd04
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x14000dd1b
xor edx, edx
mov qword [rbx + 0x38], 0
lea rcx, [0x14000d570]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx + 0x38]
test rax, rax
jne 0x14000dd65
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 0x14000dd65
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000dd63
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
call fcn.140032710
mov rax, qword [rbx + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000de70
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 0x14000dfba
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14000deb2
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x14000dec9
mov qword [rbx + 0x38], 0
xor edx, edx
lea rcx, [0x14000d570]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp qword [rbx + 0x38], 0
jne 0x14000dfba
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000def1
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
call fcn.140032710
mov edx, 0x5c
lea rcx, [rdi + 8]
call fcn.14003b580
mov rbx, rax
test rax, rax
je 0x14000dfba
add rbx, 2
mov r8, 0xffffffffffffffff
mov rax, r8
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000df20
inc eax
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1400394b4
mov rdi, rax
test rax, rax
je 0x14000dfba
mov rdx, rax
sub rdx, rbx
movzx ecx, word [rbx]
mov word [rdx + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x14000df50
mov rbx, qword [0x1400b80d8]
mov ecx, 0x20
call fcn.1400394fc
test rax, rax
je 0x14000dfba
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.140038bf0
lea rcx, [rbx + 8]
call fcn.140034b00
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000e3e0
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 0x14000e41f
lea rdx, str.04874F40_A61B_405c_8206_7116B598FD8A
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
jne 0x14000e436
xor edx, edx
mov qword [rsi + 0x38], 0
lea rcx, [0x14000d570]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsi + 0x38]
test rax, rax
jne 0x14000e452
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 [0x1400b80b8]
test rax, rax
jne 0x14000e485
test rbx, rbx
je 0x14000e483
lea r8, str.FindCCCWindow_EnumWindows_failed.
mov edx, 0x40000
mov rcx, rbx
call fcn.140032710
mov rbx, qword [0x1400b80b8]
xor edi, edi
test edi, edi
je 0x14000e505
xor eax, eax
cmp r15d, 0x8486
jne 0x14000e4cb
test r14d, r14d
je 0x14000e4a5
mov edx, ebp
mov rcx, rsi
call fcn.14000ec60
jmp 0x14000e4a7
mov eax, ebp
test eax, eax
jne 0x14000e4cb
test rbx, rbx
je 0x14000e4c7
mov r9d, ebp
lea r8, str.PostMessageToCCC_invalid_message_code_for_ulMessage___x.
mov edx, 0x40000
mov rcx, rbx
call fcn.140032710
xor eax, eax
jmp 0x14000e507
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 0x14000e505
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14000e4c7
lea r8, str.PostMessageToCCC_Post_message_failed.
mov edx, 0x40000
call fcn.140032710
xor eax, eax
jmp 0x14000e507
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 0x14000eb40
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 0x14000ec4f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000ec46
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 0x14000ebd5
cmp rax, 8
jne 0x14000ebc0
jmp 0x14000ebea
lea rdx, str.RadeonSettings.exe
lea rcx, [rsp + 0x4c]
call fcn.14005f760
test eax, eax
jne 0x14000ec1d
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 0x14000ec1d
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 0x14000ebb0
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 0x1400165c0
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 0x140016644
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