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 0x43bc60
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 0x43bc88
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.0043a8b0

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.0044c890
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 0x468530
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.0042d710
cmp eax, dword [0x492b3c]
jae 0x40a117
push eax
mov ecx, 0x491a60
call fcn.00430450
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x40a117
push 3
mov ecx, esi
call fcn.00437340
test al, 4
je 0x40a117
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.00437120
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.0045e736
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.00437120
push eax
push esi
call fcn.0045e030
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.0045e020
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.0045e6a9
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.0045e6a9
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.0045e6a9
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.0045ec75
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.0045eb40
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.00424f40
mov esi, eax
add esp, 8
test esi, esi
je 0x40b3ac
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00426c10
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.0045ed4d
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.00426d10
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.00427d30
push 0x55
mov ecx, 0x491a60
call fcn.00431dd0
push 0x1388
call fcn.00427d50
add esp, 4
mov eax, dword [0x492b40]
push eax
mov ecx, 0x491a60
call fcn.00430450
test eax, eax
je 0x40c054
push 0
mov ecx, eax
call fcn.00437340
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.00421cc0
test esi, esi
jne 0x40c17d
mov eax, dword [0x492b40]
push eax
mov ecx, 0x491a60
call fcn.00430450
test eax, eax
je 0x40c134
mov ecx, eax
call fcn.00437330
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.0042dce0
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.00440a60
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.00430450
test eax, eax
je 0x40c36e
push 0
mov ecx, eax
call fcn.00437340
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.004176e0
mov ecx, 0x491a60
xor esi, esi
call fcn.0042d340
test eax, eax
jbe 0x40c44a
lea ebx, [ebx]
push esi
mov ecx, 0x491a60
call fcn.0042d680
test eax, eax
je 0x40c43b
mov ecx, dword [0x4910d8]
push esi
call fcn.00418930
mov ecx, 0x491a60
inc esi
call fcn.0042d340
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.00430450
test eax, eax
je 0x40c474
mov ecx, eax
call fcn.00437330
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.004176e0
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.004176e0
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.0045e6a9
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.0045e6a9
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.0045e6a9
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.0045e6a9
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 0x411480
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [0x49368c]
push edi
mov edi, dword [esp + 0x18]
push edi
push str.CNTService::Handler__lu_
call fcn.0040aab0
lea eax, [edi - 1]
add esp, 8
cmp eax, 4
ja case.default.0x4114a9
jmp dword [eax*4 + 0x4115e0]
push 3
mov ecx, esi
call fcn.004111d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
jne 0x4114ea
lea eax, [esi + 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp eax, edi
je 0x411506
push edi
lea ecx, [esp + 0xc]
push ecx
push edi
push edi
push edi
push 0x6c
push edi
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov ecx, 0x491400
call fcn.00415a00
jmp 0x4115b4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
jmp 0x4115b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
jmp 0x4115b4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
jmp 0x4115b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov dword [esi + 0x54], 1
jmp 0x4115b4
cmp edi, 0x80
jb 0x411575
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x24]
test eax, eax
jne 0x4115b4
mov eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
jne 0x411598
lea eax, [esi + 4]
push eax
jmp 0x41158e
mov eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
jne 0x411598
lea edx, [esi + 4]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp eax, edi
je 0x4115b4
push edi
lea ecx, [esp + 0xc]
push ecx
push edi
push edi
push edi
push 0x6a
push edi
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x4c]
push edx
push eax
push str.Updating_status___lu___lu_
call fcn.0040aab0
mov edx, dword [esi + 0x4c]
add esp, 0xc
lea ecx, [esi + 0x50]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
pop edi
pop esi
add esp, 0xc
ret 4