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

Disassembly:
mov eax, ecx
mov ecx, dword [eax + 0x12c]
test ecx, ecx
je 0x401b91
jmp 0x43c720
mov ecx, dword [0x49a0e8]
test dword [eax + 0x138], ecx
je 0x401baa
push str.CATIExtEvent::TerminateAllMsgThreads:_ERROR_m_pDriverMessage_is_NULL
call fcn.0040acd0
pop ecx
ret
mov eax, dword [0x4aaa18]
test eax, eax
je 0x43c748
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x4aaa18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4aaa18], 0
jmp fcn.0043b280

Function at 0x401bb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
mov ecx, dword [eax + 0x12c]
test ecx, ecx
je 0x401bc5
pop ebp
jmp fcn.0043b230
mov ecx, dword [0x49a0e8]
test dword [eax + 0x138], ecx
je 0x401be0
push str.CATIExtEvent::TerminateMsgThread:_ERROR_m_pDriverMessage_is_NULL
call fcn.0040acd0
add esp, 4
pop ebp
ret 4

Function at 0x4039d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x49b650]
test eax, eax
push edi
mov edi, ecx
je 0x403b18
push esi
lea eax, [ebp - 0x518]
push 0
push eax
mov esi, 0xfa
call fcn.0040ace0
push eax
call fcn.0044db20
add esp, 0xc
cmp eax, 1
jne 0x403a81
lea ecx, [ebp - 4]
push ecx
push 0x2001f
push 0
lea edx, [ebp - 0x514]
mov eax, 4
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403a81
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.ATIPOLLINTERVAL
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403a77
mov esi, dword [ebp - 0xc]
cmp esi, 0xfa
jae 0x403a6a
mov esi, 0xfa
jmp 0x403a77
cmp esi, 0x1388
jbe 0x403a77
mov esi, 0x1388
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.HKeyPollerTimerEvent
push 0
push 1
push 0
mov dword [0x49b65c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [edi + 0x24], eax
jne 0x403ab7
mov edx, dword [0x49a0e8]
test dword [edi + 0x34], edx
je 0x403ab7
push str.FAILURE:_Failed_to_create_event_for_HKeyPollerTimerEvent
call fcn.0040acd0
add esp, 4
mov eax, dword [0x49b650]
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 0x403ae7
mov ecx, dword [0x49a0e8]
test ecx, eax
je 0x403aff
push esi
push str.FAILURE:_Failed_to_SetTimer__tick_u
jmp 0x403af7
mov edx, dword [0x49a0e8]
test edx, eax
je 0x403aff
push esi
push str.Timer_for_hotkey_poller_setup_ok__tick_u
call fcn.0040acd0
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
pop esi
je 0x403b18
mov eax, dword [edi + 0x24]
test eax, eax
je 0x403b18
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40a1d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
cmp dword [0x49b638], 8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
jae 0x40a327
test byte [0x49b70c], 2
jne 0x40a327
mov ecx, 0x49c088
call fcn.0042de70
cmp eax, dword [0x4a812c]
jae 0x40a327
push eax
mov ecx, 0x49c088
call fcn.00430bd0
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x40a327
push 3
mov ecx, esi
call fcn.00437a80
test al, 4
je 0x40a327
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.00437850
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a260
sub eax, edx
mov ebx, eax
mov dword [ebp - 0x1c], ebx
je 0x40a327
lea eax, [ebx + 1]
push eax
mov dword [ebp - 4], edi
call fcn.00460f8e
add esp, 4
mov esi, eax
jmp 0x40a29a
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x40a30a
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.00437850
push eax
push esi
call fcn.00460860
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 0x40a301
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.00460851
add esp, 4
mov eax, dword [0x49b650]
push 0
push 0x7d0
push 0x14d0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x49b660], 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 0x40ae40
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
xor eax, eax
push 4
push eax
mov ecx, 0x80
lea edi, [ebp - 0x21c]
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x40ae97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push str.bGlobalServiceAlive._failed_to_open_SCM._err_d
push eax
call fcn.00460f01
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004113d0
add esp, 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x49b638], 7
mov eax, str.Ati_HotKey_Poller
jbe 0x40aeaa
mov eax, str.Ati_External_Event_Utility
push esi
push 4
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x40aef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x21c]
push str.bGlobalServiceAlive._failed_to_OpenService._err_d
push edx
call fcn.00460f01
lea eax, [ebp - 0x21c]
push eax
call fcn.004113d0
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
push edx
mov dword [ebp - 8], ecx
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x40af52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x21c]
push str.bGlobalServiceAlive._failed_to_QueryServiceStatus._err_d
push eax
call fcn.00460f01
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004113d0
add esp, 0x10
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
pop esi
xor eax, eax
pop edi
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 [ebp - 0x18]
xor eax, eax
cmp ecx, 4
pop esi
sete al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40b1e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x404]
push 0x400
push edx
call fcn.00461515
add esp, 0x10
test eax, eax
jge 0x40b21e
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
mov ecx, 0x400
sub ecx, eax
push ecx
lea edx, [ebp - 0x404]
push 0x475ea4
push edx
call fcn.004613e0
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x40b5a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov ecx, dword [0x49b704]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push esi
push eax
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], eax
call fcn.00424c50
mov esi, eax
add esp, 8
test esi, esi
je 0x40b61e
lea edx, [ebp - 0x28]
push edx
push esi
call fcn.00426530
add esp, 8
test eax, eax
jne 0x40b61e
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40b62a
mov eax, SysReAllocString
lea ecx, [ebp - 4]
push ecx
push 0x2001f
push 0
push str.Control_PanelDesktop_
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b6a2
push edi
mov ecx, 0x41
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push str.ScreenSaverIsSecure
push edx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x40b698
lea eax, [ebp - 0x134]
push eax
call fcn.00461605
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40b6ba
lea edx, [ebp - 0x28]
push edx
push esi
call fcn.00426630
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor eax, eax
test ecx, ecx
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c400
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
cmp dword [0x49b638], 8
jb 0x40c430
call fcn.00427450
push 0x55
mov ecx, 0x49c088
call fcn.00432560
push 0x1388
call fcn.00429120
add esp, 4
mov eax, dword [0x4a8130]
push eax
mov ecx, 0x49c088
call fcn.00430bd0
test eax, eax
je 0x40c44f
push 0
mov ecx, eax
call fcn.00437a80
jmp 0x40c451
xor eax, eax
and eax, 2
push esi
mov esi, eax
mov eax, dword [0x49b66c]
test eax, eax
je 0x40c49c
mov ecx, dword [0x49b678]
test ecx, ecx
je 0x40c49c
push esi
call fcn.004224b0
test esi, esi
jne 0x40c584
mov eax, dword [0x4a8130]
push eax
mov ecx, 0x49c088
call fcn.00430bd0
test eax, eax
je 0x40c53b
mov ecx, eax
call fcn.00437a70
jmp 0x40c53d
mov eax, dword [0x49b6fc]
test eax, eax
je 0x40c521
test byte [0x49b70c], 2
je 0x40c521
push edi
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x650]
rep stosd dword es:[edi], eax
mov eax, dword [0x49b704]
mov dword [ebp - 0x640], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
push ecx
push 0x2c
lea edx, [ebp - 0x30]
push edx
push 0x620
lea eax, [ebp - 0x650]
push eax
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x648], 0x18
mov dword [ebp - 0x650], 0x8001
mov dword [ebp - 0x64c], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
pop edi
je 0x40c521
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x258
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040c2b0
call fcn.0040c350
jmp 0x40c478
xor eax, eax
test ah, 0x20
je 0x40c54c
push 0
call fcn.0040c180
add esp, 4
mov ecx, 0x49c088
call fcn.0042e430
test eax, eax
je 0x40c57f
mov eax, dword [0x49a0e8]
test eax, eax
je 0x40c570
push str.LARGEDESKTOP_FORCEDREMOVE_flag_detected_at_resume
call fcn.0040acd0
add esp, 4
mov ecx, dword [0x49b658]
test ecx, ecx
je 0x40c57f
call fcn.00401790
call fcn.00442680
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c700
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x4a8130]
push eax
mov ecx, 0x49c088
call fcn.00430bd0
test eax, eax
je 0x40c728
push 0
mov ecx, eax
call fcn.00437a80
jmp 0x40c72a
xor eax, eax
and eax, 2
push ebx
mov ebx, eax
mov eax, dword [0x49b6fc]
test eax, eax
mov dword [0x4aaa04], 0
je 0x40c7bf
test byte [0x49b70c], 2
je 0x40c7bf
push edi
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x650]
rep stosd dword es:[edi], eax
mov eax, dword [0x49b704]
mov dword [ebp - 0x640], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
push ecx
push 0x2c
lea edx, [ebp - 0x30]
push edx
push 0x620
lea eax, [ebp - 0x650]
push eax
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x648], 0x17
mov dword [ebp - 0x650], 0x8001
mov dword [ebp - 0x64c], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
pop edi
je 0x40c7bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49b678]
test ecx, ecx
je 0x40c819
push esi
push 1
call fcn.00417b00
mov ecx, 0x49c088
xor esi, esi
call fcn.0042da70
test eax, eax
jbe 0x40c80b
push esi
mov ecx, 0x49c088
call fcn.0042dde0
test eax, eax
je 0x40c7fc
mov ecx, dword [0x49b678]
push esi
call fcn.00418c70
mov ecx, 0x49c088
inc esi
call fcn.0042da70
cmp esi, eax
jb 0x40c7e1
mov eax, dword [0x49b678]
test eax, eax
pop esi
je 0x40c819
test ebx, ebx
jne 0x40c84f
mov eax, dword [0x4a8130]
push eax
mov ecx, 0x49c088
call fcn.00430bd0
test eax, eax
je 0x40c836
mov ecx, eax
call fcn.00437a70
jmp 0x40c838
xor eax, eax
test ah, 0x20
je 0x40c84f
mov ecx, dword [0x49b650]
push 0x4d4
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x49b6fc]
test eax, eax
mov dword [0x4aaa04], 0
je 0x40c8f8
test byte [0x49b70c], 2
je 0x40c8f8
push edi
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x650]
rep stosd dword es:[edi], eax
mov eax, dword [0x49b704]
mov dword [ebp - 0x640], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
push ecx
push 0x2c
lea edx, [ebp - 0x30]
push edx
push 0x620
lea eax, [ebp - 0x650]
push eax
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x648], 0x17
mov dword [ebp - 0x650], 0x8001
mov dword [ebp - 0x64c], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
pop edi
je 0x40c8f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49b678]
test ecx, ecx
je 0x40c909
push 1
call fcn.00417b00
mov esp, ebp
pop ebp
ret
Function at 0x40c910
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x49b6fc]
test eax, eax
je 0x40c99e
test byte [0x49b70c], 2
je 0x40c99e
push edi
xor eax, eax
mov ecx, 0x188
lea edi, [ebp - 0x650]
rep stosd dword es:[edi], eax
mov eax, dword [0x49b704]
mov dword [ebp - 0x640], eax
push 1
xor eax, eax
mov ecx, 0xb
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
push ecx
push 0x2c
lea edx, [ebp - 0x30]
push edx
push 0x620
lea eax, [ebp - 0x650]
push eax
push str..pipeExtEventPipe_Service
mov dword [ebp - 0x648], 0x18
mov dword [ebp - 0x650], 0x8001
mov dword [ebp - 0x64c], 0x620
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
test eax, eax
pop edi
je 0x40c99e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x49b678]
test ecx, ecx
je 0x40c9af
push 0
call fcn.00417b00
mov esp, ebp
pop ebp
ret
Function at 0x40e290
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
xor eax, eax
mov ecx, 0x80
lea edi, [ebp - 0x208]
rep stosd dword es:[edi], eax
test dword [0x49a0e8], 0x10000
mov dword [ebp - 8], 1
je 0x40e2ca
push str.WinMain:_StartBlobalService_Trigger__n
call fcn.0040acd0
add esp, 4
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
mov dword [ebp - 4], esi
jne 0x40e30e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x208]
push str.bGlobalServiceAlive._failed_to_open_SCM._err_d
push eax
call fcn.00460f01
lea ecx, [ebp - 0x208]
push ecx
call fcn.004113d0
add esp, 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x49b638], 7
mov eax, str.Ati_HotKey_Poller
jbe 0x40e321
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 0x40e367
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x208]
push str.StartGlobalService._failed_to_OpenService._err_d
push edx
call fcn.00460f01
lea eax, [ebp - 0x208]
push eax
call fcn.004113d0
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_StartServiceA]
xor esi, esi
push 0
push 0
push edi
inc esi
call ebx
test eax, eax
jne 0x40e38c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0xa
jl 0x40e370
cmp esi, 0xa
jne 0x40e3bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x208]
push str.StartGlobalService._failed_to_StartService._err_d
push ecx
call fcn.00460f01
lea edx, [ebp - 0x208]
push edx
call fcn.004113d0
add esp, 0x10
xor ebx, ebx
jmp 0x40e3bf
mov ebx, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov eax, dword [ebp - 4]
push eax
call esi
test dword [0x49a0e8], 0x10000
je 0x40e3e7
push str.WinMain:_StartBlobalService_Finish__n
call fcn.0040acd0
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e4c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x104]
push str.ATI_ExtEventApp_StartupMutex
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x104]
push str.Global_s
push eax
call fcn.00460f01
push str.bSyncWithGlobalService_enter
call fcn.0040b1e0
add esp, 0x10
mov esi, 4
call fcn.0040ae40
test eax, eax
jne 0x40e534
jmp 0x40e510
push str.bSyncWithGlobalService__Ati_Hot_Key_Poller_Service_is_not_running_n
call fcn.0040b1e0
add esp, 4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
je 0x40e569
call fcn.0040ae40
test eax, eax
je 0x40e510
mov edi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push ebx
xor ebx, ebx
lea ecx, [ecx]
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0x100000
call edi
mov esi, eax
test esi, esi
jne 0x40e587
inc ebx
cmp ebx, 0xa
je 0x40e571
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e540
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push str.bSyncWithGlobalService__Ati_Hot_Key_Poller_Service_Startup_mutex_is_not_ready_n
call fcn.0040b1e0
add esp, 4
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40e5b4
push str.bSyncWithGlobalService:_WaitForSingleObject_failed
call fcn.0040b1e0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
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.0040b1e0
add esp, 4
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411590
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push str.Entering_CNTService::Initialize__
mov esi, ecx
call fcn.0040acd0
mov eax, dword [esi + 0x4c]
push 2
push eax
push str.CNTService::SetStatus__lu___lu_
call fcn.0040acd0
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 ecx, ecx
cmp edi, ecx
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
jne 0x411654
cmp eax, ecx
jne 0x41160b
lea eax, [esi + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0x6c], eax
xor ecx, ecx
mov eax, dword [esi + 0x6c]
cmp eax, ecx
je 0x411626
push ecx
lea edx, [ebp - 0xc]
push edx
push ecx
push ecx
push ecx
push 0x68
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov eax, dword [esi + 0x4c]
push 1
push eax
push str.CNTService::SetStatus__lu___lu_
call fcn.0040acd0
mov ecx, dword [esi + 0x4c]
add esp, 0xc
push ebx
push ecx
mov dword [esi + 0x54], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ecx
jne 0x411668
lea edx, [esi + 4]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0x6c], eax
xor ecx, ecx
mov eax, dword [esi + 0x6c]
cmp eax, ecx
je 0x411683
push ecx
lea edx, [ebp - 0xc]
push edx
push ecx
push ecx
push ecx
push 0x69
push ecx
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.0040acd0
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.0040acd0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4116d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], str.WinSta0Default
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x28], esi
mov word [ebp - 0x24], si
mov dword [ebp - 0x20], esi
mov word [ebp - 0x22], si
mov eax, str.Ati2evxx.exe__NoLogOnClient
jne 0x411718
mov eax, str.Ati2evxx.exe__Client
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push esi
push esi
push 0x20
push esi
push esi
push esi
push eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x41174d
push str.Failed_to_Create_Ati2evxx.exe_process_n
call fcn.0040acd0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Client_Ati2evxx.exe_created_n
call fcn.0040acd0
mov eax, dword [ebp - 0x10]
add esp, 4
cmp eax, esi
je 0x41176e
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret 8