joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fe0
Capabilities:
Terminate process
Terminate thread

Disassembly:
mov eax, ecx
mov ecx, dword [eax + 0x12c]
test ecx, ecx
je 0x401ff1
jmp 0x43c160
mov ecx, dword [0x4900e8]
test dword [eax + 0x138], ecx
je 0x40200a
push str.CATIExtEvent::TerminateAllMsgThreads:_ERROR_m_pDriverMessage_is_NULL
call fcn.0040aab0
pop ecx
ret
mov eax, dword [0x4955c0]
test eax, eax
je 0x43c188
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4955c0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4955c0], 0
jmp fcn.0043adb0

Function at 0x403930
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4910b0]
sub esp, 0x518
test eax, eax
push edi
mov edi, ecx
je 0x403a7d
push esi
lea eax, [esp + 0x18]
push 0
push eax
mov esi, 0xfa
call fcn.0040aac0
push eax
call fcn.0044cd90
add esp, 0xc
cmp eax, 1
jne 0x4039e3
lea ecx, [esp + 8]
push ecx
push 0x2001f
push 0
lea edx, [esp + 0x28]
mov eax, 4
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4039e3
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.ATIPOLLINTERVAL
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4039d8
mov esi, dword [esp + 0x10]
cmp esi, 0xfa
jae 0x4039cb
mov esi, 0xfa
jmp 0x4039d8
cmp esi, 0x1388
jbe 0x4039d8
mov esi, 0x1388
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.HKeyPollerTimerEvent
push 0
push 1
push 0
mov dword [0x4910bc], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [edi + 0x24], eax
jne 0x403a19
mov edx, dword [0x4900e8]
test dword [edi + 0x34], edx
je 0x403a19
push str.FAILURE:_Failed_to_create_event_for_HKeyPollerTimerEvent
call fcn.0040aab0
add esp, 4
mov eax, dword [0x4910b0]
push 0
push esi
push 0x4d2
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x28], eax
test eax, eax
mov eax, dword [edi + 0x34]
jne 0x403a49
mov ecx, dword [0x4900e8]
test ecx, eax
je 0x403a61
push esi
push str.FAILURE:_Failed_to_SetTimer__tick_u
jmp 0x403a59
mov edx, dword [0x4900e8]
test edx, eax
je 0x403a61
push esi
push str.Timer_for_hotkey_poller_setup_ok__tick_u
call fcn.0040aab0
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
pop esi
je 0x403a7d
mov eax, dword [edi + 0x24]
test eax, eax
je 0x403a7d
mov eax, 1
pop edi
add esp, 0x518
ret
xor eax, eax
pop edi
add esp, 0x518
ret
Function at 0x409bf0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push edi
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
test esi, esi
sete al
lea ecx, [esp + 0x3c]
mov dword [edx], 0x8001
mov dword [edx + 4], 0x620
push eax
push ecx
mov ecx, dword [esp + 0x40]
push 0x2c
lea eax, [esp + 0x14]
push eax
push 0x620
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x409c69
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
mov eax, 1
je 0x409c6e
mov edi, dword [esp + 0x40]
test edi, edi
je 0x409c6e
mov ecx, 0xb
lea esi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x2c
ret
mov eax, 1
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x409fc0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
cmp dword [0x491098], 8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
jae 0x40a117
test byte [0x49116c], 2
jne 0x40a117
mov ecx, 0x491a60
call fcn.0042dc10
cmp eax, dword [0x492b3c]
jae 0x40a117
push eax
mov ecx, 0x491a60
call fcn.00430950
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x40a117
push 3
mov ecx, esi
call fcn.00437840
test al, 4
je 0x40a117
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.00437620
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a050
sub eax, edx
mov ebx, eax
mov dword [ebp - 0x1c], ebx
je 0x40a117
lea eax, [ebx + 1]
push eax
mov dword [ebp - 4], edi
call fcn.0045ec66
add esp, 4
mov esi, eax
jmp 0x40a08a
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x40a0fa
lea ecx, [ebx + 1]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x20]
push ebx
call fcn.00437620
push eax
push esi
call fcn.0045e560
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a0f1
mov ecx, dword [ebp - 0x14]
push str.ExtEvent_SetDefault32BppOn2ndDrv
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0045e550
add esp, 4
mov eax, dword [0x4910b0]
push 0
push 0x7d0
push 0x14d0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4910c0], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a730
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
push edi
xor eax, eax
push eax
mov ecx, 0x188
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov ecx, 0xb
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0x2c
lea ecx, [esp + 0x18]
push ecx
push 0x620
lea edx, [esp + 0x4c]
push edx
push str..pipeExtEventPipe_Service
mov dword [esp + 0x5c], 0x35
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x54], 0x8001
mov dword [esp + 0x58], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x40a7a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40ac20
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
push esi
push edi
xor eax, eax
push 4
push eax
mov ecx, 0x80
lea edi, [esp + 0x30]
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x40ac76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x2c]
push str.bGlobalServiceAlive._failed_to_open_SCM._err_d
push eax
call fcn.0045ebd9
lea ecx, [esp + 0x34]
push ecx
call fcn.00411050
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x491098], 7
mov eax, str.Ati_HotKey_Poller
jbe 0x40ac89
mov eax, str.Ati_External_Event_Utility
push 4
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x40accb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x2c]
push str.bGlobalServiceAlive._failed_to_OpenService._err_d
push edx
call fcn.0045ebd9
lea eax, [esp + 0x34]
push eax
call fcn.00411050
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0xc]
mov dword [esp + 0x1c], ecx
push edx
mov dword [esp + 0x24], ecx
push esi
mov dword [esp + 0x2c], ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x40ad30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x2c]
push str.bGlobalServiceAlive._failed_to_QueryServiceStatus._err_d
push eax
call fcn.0045ebd9
lea ecx, [esp + 0x34]
push ecx
call fcn.00411050
add esp, 0x10
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 4
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40af80
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x404
lea eax, [esp + 0x40c]
push eax
push ecx
lea edx, [esp + 8]
push 0x400
push edx
call fcn.0045f1a5
add esp, 0x10
test eax, eax
jge 0x40afc2
lea eax, [esp]
push eax
mov byte [esp + 0x404], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x404
ret
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [esp + 4]
push 0x46de2c
push edx
call fcn.0045f070
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x404
ret

Function at 0x40b320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov ecx, dword [0x491164]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebp
mov dword [esp + 0x18], eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push edi
push eax
xor ebp, ebp
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], eax
call fcn.00424ff0
mov esi, eax
add esp, 8
test esi, esi
je 0x40b3ac
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00426cc0
add esp, 8
test eax, eax
jne 0x40b3ac
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x40b3b9
mov eax, SysReAllocString
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push str.Control_PanelDesktop_
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b42f
mov ecx, 0x41
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push str.ScreenSaverIsSecure
push edx
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40b424
lea eax, [esp + 0x38]
push eax
call fcn.0045f27d
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40b448
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00426dc0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test ebp, ebp
pop edi
setne al
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
Function at 0x40c000
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x650
cmp dword [0x491098], 8
push esi
push edi
jb 0x40c035
call fcn.00427de0
push 0x55
mov ecx, 0x491a60
call fcn.004322d0
push 0x1388
call fcn.00427e00
add esp, 4
mov eax, dword [0x492b40]
push eax
mov ecx, 0x491a60
call fcn.00430950
test eax, eax
je 0x40c054
push 0
mov ecx, eax
call fcn.00437840
jmp 0x40c056
xor eax, eax
and eax, 2
mov esi, eax
mov eax, dword [0x4910cc]
test eax, eax
je 0x40c0a0
mov ecx, dword [0x4910d8]
test ecx, ecx
je 0x40c0a0
push esi
call fcn.00421d70
test esi, esi
jne 0x40c17d
mov eax, dword [0x492b40]
push eax
mov ecx, 0x491a60
call fcn.00430950
test eax, eax
je 0x40c134
mov ecx, eax
call fcn.00437830
jmp 0x40c136
mov eax, dword [0x49115c]
test eax, eax
je 0x40c11a
test byte [0x49116c], 2
je 0x40c11a
xor eax, eax
mov ecx, 0x188
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [0x491164]
mov dword [esp + 0x48], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x2c
lea edx, [esp + 0x18]
push edx
push 0x620
lea eax, [esp + 0x4c]
push eax
push str..pipeExtEventPipe_Service
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x54], 0x8001
mov dword [esp + 0x58], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x40c11a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x258
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040beb0
call fcn.0040bf50
jmp 0x40c07c
xor eax, eax
test ah, 0x20
je 0x40c145
push 0
call fcn.0040bd80
add esp, 4
mov ecx, 0x491a60
call fcn.0042e1e0
test eax, eax
je 0x40c178
mov eax, dword [0x4900e8]
test eax, eax
je 0x40c169
push str.LARGEDESKTOP_FORCEDREMOVE_flag_detected_at_resume
call fcn.0040aab0
add esp, 4
mov ecx, dword [0x4910b8]
test ecx, ecx
je 0x40c178
call fcn.004017a0
call fcn.00440f60
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c340
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x492b40]
push ebx
push esi
push edi
push eax
mov ecx, 0x491a60
call fcn.00430950
test eax, eax
je 0x40c36e
push 0
mov ecx, eax
call fcn.00437840
jmp 0x40c370
xor eax, eax
and eax, 2
mov ebx, eax
mov eax, dword [0x49115c]
test eax, eax
mov dword [0x4955ac], 0
je 0x40c3f9
test byte [0x49116c], 2
je 0x40c3f9
xor eax, eax
mov ecx, 0x188
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [0x491164]
mov dword [esp + 0x50], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x2c
lea edx, [esp + 0x20]
push edx
push 0x620
lea eax, [esp + 0x54]
push eax
push str..pipeExtEventPipe_Service
mov dword [esp + 0x64], 0x17
mov dword [esp + 0x5c], 0x8001
mov dword [esp + 0x60], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x40c3f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4910d8]
test ecx, ecx
je 0x40c457
push 1
call fcn.004176f0
mov ecx, 0x491a60
xor esi, esi
call fcn.0042d840
test eax, eax
jbe 0x40c44a
lea ebx, [ebx]
push esi
mov ecx, 0x491a60
call fcn.0042db80
test eax, eax
je 0x40c43b
mov ecx, dword [0x4910d8]
push esi
call fcn.00418940
mov ecx, 0x491a60
inc esi
call fcn.0042d840
cmp esi, eax
jb 0x40c420
mov eax, dword [0x4910d8]
test eax, eax
je 0x40c457
test ebx, ebx
jne 0x40c48d
mov eax, dword [0x492b40]
push eax
mov ecx, 0x491a60
call fcn.00430950
test eax, eax
je 0x40c474
mov ecx, eax
call fcn.00437830
jmp 0x40c476
xor eax, eax
test ah, 0x20
je 0x40c48d
mov ecx, dword [0x4910b0]
push 0x4d4
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c4a0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x49115c]
test eax, eax
push edi
mov dword [0x4955ac], 0
je 0x40c531
test byte [0x49116c], 2
je 0x40c531
xor eax, eax
mov ecx, 0x188
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [0x491164]
mov dword [esp + 0x48], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x2c
lea edx, [esp + 0x18]
push edx
push 0x620
lea eax, [esp + 0x4c]
push eax
push str..pipeExtEventPipe_Service
mov dword [esp + 0x5c], 0x17
mov dword [esp + 0x54], 0x8001
mov dword [esp + 0x58], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x40c531
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4910d8]
test ecx, ecx
je 0x40c542
push 1
call fcn.004176f0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40c550
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x49115c]
test eax, eax
push edi
je 0x40c5d7
test byte [0x49116c], 2
je 0x40c5d7
xor eax, eax
mov ecx, 0x188
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [0x491164]
mov dword [esp + 0x48], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x2c
lea edx, [esp + 0x18]
push edx
push 0x620
lea eax, [esp + 0x4c]
push eax
push str..pipeExtEventPipe_Service
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x54], 0x8001
mov dword [esp + 0x58], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
je 0x40c5d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4910d8]
test ecx, ecx
je 0x40c5e8
push 0
call fcn.004176f0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40deb0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
test dword [0x4900e8], 0x10000
mov dword [esp + 0x14], 1
je 0x40deee
push str.WinMain:_StartBlobalService_Trigger__n
call fcn.0040aab0
add esp, 4
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jne 0x40df31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1c]
push str.bGlobalServiceAlive._failed_to_open_SCM._err_d
push eax
call fcn.0045ebd9
lea ecx, [esp + 0x24]
push ecx
call fcn.00411050
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x491098], 7
mov eax, str.Ati_HotKey_Poller
jbe 0x40df44
mov eax, str.Ati_External_Event_Utility
push 0x10
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x40df88
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x1c]
push str.StartGlobalService._failed_to_OpenService._err_d
push edx
call fcn.0045ebd9
lea eax, [esp + 0x24]
push eax
call fcn.00411050
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0
push 0
push edi
inc esi
call ebx
test eax, eax
jne 0x40dfae
push 0x1f4
call ebp
cmp esi, 0xa
jl 0x40df96
cmp esi, 0xa
jne 0x40dfda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x1c]
push str.StartGlobalService._failed_to_StartService._err_d
push ecx
call fcn.0045ebd9
lea edx, [esp + 0x24]
push edx
call fcn.00411050
add esp, 0x10
xor ebx, ebx
jmp 0x40dfde
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
test dword [0x4900e8], 0x10000
je 0x40e007
push str.WinMain:_StartBlobalService_Finish__n
call fcn.0040aab0
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e0f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push ebx
push ebp
push esi
push edi
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x10]
push str.ATI_ExtEventApp_StartupMutex
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push str.Global_s
push eax
call fcn.0045ebd9
push str.bSyncWithGlobalService_enter
call fcn.0040af80
add esp, 0x10
mov esi, 4
call fcn.0040ac20
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x40e162
push str.bSyncWithGlobalService__Ati_Hot_Key_Poller_Service_is_not_running_n
call fcn.0040af80
add esp, 4
push 0x7d0
call ebp
dec esi
je 0x40e1ce
call fcn.0040ac20
test eax, eax
je 0x40e142
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor ebx, ebx
lea ebx, [ebx]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0x100000
call edi
mov esi, eax
test esi, esi
jne 0x40e1aa
inc ebx
cmp ebx, 0xa
je 0x40e193
push 0x1f4
call ebp
jmp 0x40e170
push str.bSyncWithGlobalService__Ati_Hot_Key_Poller_Service_Startup_mutex_is_not_ready_n
call fcn.0040af80
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40e1d8
push str.bSyncWithGlobalService:_WaitForSingleObject_failed
call fcn.0040af80
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.bSyncWithGlobalService_exit
call fcn.0040af80
add esp, 4
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411150
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x24]
xor edi, edi
test eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
je 0x41117a
mov edi, 1
test ecx, ecx
je 0x41117f
inc edi
test edx, edx
je 0x411184
inc edi
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x41119a
lea eax, [esi + 4]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0x6c], eax
mov esi, dword [esi + 0x6c]
test esi, esi
je 0x4111c0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
push 0
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
pop edi
pop esi
add esp, 0xc
ret 0x14

Function at 0x411200
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push str.Entering_CNTService::Initialize__
mov esi, ecx
call fcn.0040aab0
mov eax, dword [esi + 0x4c]
push 2
push eax
push str.CNTService::SetStatus__lu___lu_
call fcn.0040aab0
mov ecx, dword [esi + 0x4c]
add esp, 0x10
lea ebx, [esi + 0x50]
push ebx
push ecx
mov dword [esi + 0x54], 2
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp edi, ebp
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
jne 0x4112c5
cmp eax, ebp
jne 0x41127a
lea eax, [esi + 4]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp eax, ebp
je 0x411296
push ebp
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push ebp
push 0x68
push ebp
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov edx, dword [esi + 0x4c]
push 1
push edx
push str.CNTService::SetStatus__lu___lu_
call fcn.0040aab0
mov eax, dword [esi + 0x4c]
add esp, 0xc
push ebx
push eax
mov dword [esi + 0x54], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp eax, ebp
jne 0x4112d7
lea ecx, [esi + 4]
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp eax, ebp
je 0x4112f3
push ebp
lea edx, [esp + 0x14]
push edx
push ebp
push ebp
push ebp
push 0x69
push ebp
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov eax, dword [esi + 0x4c]
push 4
push eax
push str.CNTService::SetStatus__lu___lu_
call fcn.0040aab0
mov ecx, dword [esi + 0x4c]
add esp, 0xc
push ebx
push ecx
mov dword [esi + 0x54], 4
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push str.Leaving_CNTService::Initialize__
call fcn.0040aab0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x411340
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x5c]
push esi
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], 0x44
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], str.WinSta0Default
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], esi
mov word [esp + 0x44], si
mov dword [esp + 0x48], esi
mov word [esp + 0x46], si
mov eax, str.Ati2evxx.exe__NoLogOnClient
jne 0x411392
mov eax, str.Ati2evxx.exe__Client
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push esi
push 0x20
push esi
push esi
push esi
push eax
mov eax, dword [esp + 0x80]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x4113cd
push str.Failed_to_Create_Ati2evxx.exe_process_n
call fcn.0040aab0
add esp, 4
xor eax, eax
pop esi
add esp, 0x54
ret 8
push str.Client_Ati2evxx.exe_created_n
call fcn.0040aab0
mov eax, dword [esp + 8]
add esp, 4
cmp eax, esi
je 0x4113f1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
pop esi
add esp, 0x54
ret 8