joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b20
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edx
push eax
mov edi, ecx
mov dword [ebp - 0xc], 0x1c
mov esi, 0xc0000001
mov dword [ebp - 8], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
je 0x402b6d
push 0
push 0
push str.the_computer
push str.restart
push edi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je 0x402d22
lea eax, ds:[ebp - 0xc]
mov dword [ebp - 0xc], 0x34
push eax
mov dword [ebp - 8], str.EnableBootObjectsEnumerate
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov dword [ebp - 0xc], 0x48
lea eax, [ebp - 0xc]
mov dword [ebp - 8], str.EnableUpdateDefaultFirmwareBootEntry
push eax
setne bl
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
test eax, eax
mov cl, bl
setne bh
call fcn.0051eea0
mov dword [ebp - 8], eax
test eax, eax
je 0x402c8c
mov ecx, dword ds:[ebp - 4]
cmp ecx, dword [eax]
jae 0x402bf4
lfence
mov eax, dword [eax + 8]
sub esp, 0x10
mov edx, esp
mov esi, dword [eax + ecx*4]
mov cl, bh
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
call fcn.0051e660
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, eax
mov ebx, esi
call fcn.0051f040
lea ecx, [ecx]
test esi, esi
js 0x402c6c
push 0x80000000
push 5
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
test eax, eax
je 0x402d22
push eax
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x402d0d
push dword [esi + 4]
push 0x5cc434
push str.Unable_to_configure_the_boot_application.
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x402d22
mov edi, edi
call fcn.004fbd80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, ebx
cmp ebx, 0xc0000022
je 0x402c7e
cmp esi, 0xc0000005
jne 0x402c8c
mov esi, ebx
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
jmp 0x402caf
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x402c9f
movzx eax, si
jmp 0x402caf
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x402cbe
mov eax, esi
test eax, eax
je 0x402cbe
push eax
lfence
call sym.SystemInformer.exe_PhGetWin32Message
jmp 0x402cc7
push esi
lfence
call sym.SystemInformer.exe_PhGetNtMessage
mov esi, eax
test esi, esi
je 0x402d0d
lfence
lfence
push dword [esi + 4]
push 0x5cc434
push str.Unable_to_configure_the_boot_application.
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x402d22
lfence
call fcn.004fbd80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unable_to_configure_the_boot_application.
push 0x5cc434
push 0x10
push edi
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [eax], esi
jne 0x41305d
cmp dword [eax + 8], 0xffffff65
jne 0x41305d
movzx eax, word ds:[eax + 0xc]
sub eax, 0x41
je 0x41305d
sub eax, 2
jne 0x41305d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x41305d
push esi
call sym.SystemInformer.exe__PhCopyListView_4
pop esi
pop ecx
pop ebp
ret 8

Function at 0x413080
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [eax], esi
jne 0x4130e7
cmp dword [eax + 8], 0xffffff65
jne 0x4130e7
movzx eax, word ds:[eax + 0xc]
sub eax, 0x41
je 0x4130ca
sub eax, 2
jne 0x4130e7
test byte [ebp + 0x10], 1
je 0x4130e7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4130e7
push esi
call sym.SystemInformer.exe__PhCopyListView_4
pop esi
pop ebp
ret 0xc
test byte [ebp + 0x10], 2
je 0x4130e7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4130e7
push 2
push 2
push esi
call sym.SystemInformer.exe_PhSetStateAllListViewItems
pop esi
pop ebp
ret 0xc

Function at 0x413ce0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov edi, edx
mov esi, ecx
xor bl, bl
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov bh, byte [eax + 1]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov byte [eax + 1], bl
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x60
push 0
push 0
push 0
push edi
push esi
call sym.SystemInformer.exe_PhCreateProcessWin32Ex
test eax, eax
js 0x413da6
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
push 0x1e
push esi
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x413d9d
push 0
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 1
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtSetInformationDebugObject]
test eax, eax
js 0x413d94
push dword [ebp - 0xc]
push esi
call dword [sym.imp.ntdll.dll_NtRemoveProcessDebug]
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtClose]
push esi
mov bl, 1
call dword [sym.imp.ntdll.dll_NtClose]
test bh, bh
je 0x413ddc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1c]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov byte [ecx + 1], bh
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0x1c]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
Function at 0x415600
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
mov edi, dword [ebp + 0xc]
push 0
push str.RegEdit_RegEdit
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x41565e
push edi
push esi
call sym.SystemInformer.exe__PhShellOpenKey_8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
test byte [eax + 4], 1
jne 0x415693
push 0
push 0
push esi
call sym.SystemInformer.exe__PhUiConnectToPhSvcEx_12
test al, al
jne 0x415693
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push 0x62de48
push 0xfffffffffffffff7
push 0x20006
lea eax, [esp + 0x54]
push eax
call sym.SystemInformer.exe_PhCreateKey
test eax, eax
js 0x415790
push 0x11
lea eax, [esp + 0x64]
mov ecx, 8
mov esi, str.A_SystemInformer
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
push eax
call sym.SystemInformer.exe_PhGenerateRandomAlphaString
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x40
call fcn.004f8100
mov esi, eax
mov dword [esp + 0x10], 0x420040
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ecx
mov eax, dword [esi]
add eax, 2
push eax
push dword [esi + 4]
lea eax, [esp + 0x18]
push 1
push 0
push eax
push dword [esp + 0x50]
call dword [sym.imp.ntdll.dll_NtSetValueKey]
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41572d
call fcn.004fbd80
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov al, byte [eax + 4]
not al
and al, 1
movzx eax, al
push eax
call fcn.00415100
mov edx, dword [esp + 0x20]
mov bl, al
mov word [esp + 0x18], dx
lea ecx, [edx + 2]
mov word [esp + 0x1a], cx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
cmp edx, 0xfffe
ja 0x415786
lea eax, ds:[esp + 0x18]
push eax
push dword [esp + 0x40]
call dword [sym.imp.ntdll.dll_NtDeleteValueKey]
push dword [esp + 0x3c]
call dword [sym.imp.ntdll.dll_NtClose]
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
test byte ds:[eax + 4], 1
jne 0x4157a7
call sym.SystemInformer.exe__PhUiDisconnectFromPhSvc_0
mov ecx, dword [esp + 0x8c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 8
Function at 0x41a400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
mov dword [ebp - 0x43c], eax
mov esi, ecx
push edi
lea eax, [ebp - 0x414]
mov dword [ebp - 0x450], 0xd
mov dword [ebp - 0x478], eax
mov edi, edx
lea eax, [ebp - 0x450]
mov dword [ebp - 0x440], 0xffffffff
push eax
push 0
push 0x104b
push esi
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x438], 0x208
mov dword [ebp - 0x48c], 0xd
mov dword [ebp - 0x47c], 0xffffffff
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x474], 0x208
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41a4fb
lea eax, [ebp - 0x48c]
push eax
push 0
push 0x104b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
nop
test eax, eax
je 0x41a4fb
lea eax, ds:[ebp - 0x450]
mov dword [ebp - 0x44c], ebx
push eax
push 0
push 0x104c
push esi
mov dword [ebp - 0x488], edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x48c]
push eax
push 0
push 0x104c
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 4
Function at 0x43afe0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov ebx, ecx
push 0
push 0
mov dword [ebp - 0xc], 0
mov eax, dword [eax + 0x10]
movzx edi, word [eax + 0x40]
mov esi, dword [eax + 0x44]
mov eax, dword [ebx]
add eax, edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call sym.SystemInformer.exe_PhCreateString3
push edi
push esi
mov dword [ebp - 0xc], eax
push dword [eax + 4]
call fcn.00580c90
add esp, 0xc
push dword [ebx]
push dword [ebx + 4]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 4]
add eax, edi
push eax
call fcn.00580c90
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0x20
push 4
push dword [0x633f94]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x60], 0x48
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor ecx, ecx
mov edx, 0x20007
cmp dword [0x62dbb0], 0x71
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 4], 1
mov dword [ebp - 0x1c], eax
jb 0x43b122
mov dword ds:[ebp - 0xc], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x111000
mov dword [ebp - 0x14], 0x10000101
mov dword [ebp - 0x10], 0x1110
push 0x10
jmp 0x43b135
mov dword [ebp - 0x10], 0x111000
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], 0x10000101
push 8
push ecx
mov ecx, eax
call fcn.004fb520
lea ecx, [ecx]
test eax, eax
jns 0x43b158
lfence
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0x180
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push dword [ebx + 4]
push 0
call sym.SystemInformer.exe_PhCreateProcessWin32Ex
mov esi, eax
test esi, esi
js 0x43b186
push 0
call dword [sym.imp.ntdll.dll_RtlExitUserProcess]
lfence
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43b19f
push eax
push 0
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b1b2
call fcn.004fbd80
mov ecx, dword ds:[ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
Function at 0x459a20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x6345d0]
push esi
push edi
mov edi, ecx
cmp edi, ebx
je 0x459b0d
mov dword [0x6345d0], edi
test ebx, ebx
je 0x459a78
mov esi, dword ds:[ebx + 0xc]
mov ecx, esi
push 0
push edi
push 3
push ebx
call dword [0x5a28f0]
call esi
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x459a78
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x34], 0
jne 0x459ada
mov esi, dword ds:[edi + 0xc]
xor eax, eax
push eax
mov dword [ebp - 0x18], eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 5
push edi
call dword [0x5a28f0]
call esi
test al, al
je 0x459ada
cmp byte [ebp - 0x18], 0
jne 0x459ada
push dword [ebp - 8]
mov ecx, dword [0x634500]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00508d20
movzx ecx, byte [0x63361f]
push ecx
push eax
mov dword [edi + 0x34], eax
call sym.SystemInformer.exe_PhInitializeWindowTheme
mov eax, dword ds:[edi + 0x34]
test eax, eax
je 0x459aed
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00459b80
call fcn.00459c60
mov esi, dword [edi + 0xc]
mov ecx, esi
push 0
push 0
push 2
push edi
call dword [0x5a28f0]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
Function at 0x476a00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.004768c0
test al, al
je 0x476a25
mov esi, str.Do_you_want_to_restore_the_default_Windows_Task_Manager_
jmp 0x476a3e
mov edx, str.Changing_the_default_Task_Manager
mov ecx, edi
mov esi, str.Do_you_want_to_make_System_Informer_the_default_Windows_Task_Manager_
call fcn.00478020
test al, al
je 0x476bf0
push esi
push 0x5cab58
push 0xfffd
push 6
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x14
cmp eax, 6
jne 0x476bf0
push 0
push 0
push 0x80
push 0x62ecf8
push 0xfffffffffffffffd
push 0x2001f
lea eax, [ebp - 8]
push eax
call sym.SystemInformer.exe_PhCreateKey
mov esi, eax
or ebx, 0xffffffff
test esi, esi
js 0x476b2e
call fcn.004768c0
test al, al
je 0x476aca
mov ecx, dword [0x62ef40]
mov word [ebp - 0x10], cx
lea eax, [ecx + 2]
mov word [ebp - 0xe], ax
mov eax, dword [str.Debugger]
mov dword [ebp - 0xc], eax
cmp ecx, 0xfffe
jbe 0x476ab9
mov esi, 0xc0000106
jmp 0x476b1c
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov esi, eax
jmp 0x476b1c
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov dword [ebp - 0xc], eax
test eax, eax
je 0x476b1c
push 0x62f058
push eax
push 0x62f058
call sym.SystemInformer.exe_PhConcatStringRef3
push eax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov ecx, dword ds:[eax]
add ecx, 2
push ecx
push dword [eax + 4]
push 1
push 0x62ef40
push dword [ebp - 8]
call sym.SystemInformer.exe_PhSetValueKey
mov ecx, dword [ebp - 0xc]
mov esi, eax
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x476b1c
call fcn.004fbd80
push dword ds:[ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jns 0x476bdc
cmp esi, 0xc0000022
je 0x476b63
cmp esi, 0xc0000005
je 0x476b63
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x476b51
movzx eax, si
jmp 0x476b6d
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x476b71
mov eax, esi
jmp 0x476b6d
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x476b7c
push esi
lfence
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x476b85
push eax
lfence
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x476bc7
lfence
lfence
push dword [esi + 4]
push 0x5cc434
push str.Unable_to_replace_Task_Manager
push 0xfffe
push 0x20
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x18
lea ecx, [esi - 8]
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x476bdc
lfence
call fcn.004fbd80
jmp 0x476bdc
push str.Unable_to_replace_Task_Manager
push 0x5cc434
push 0x10
push edi
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
mov eax, dword [0x63355c]
test eax, eax
je 0x476bf0
cmp dword [eax], 0
je 0x476bf0
push eax
call sym.SystemInformer.exe_PhSaveSettings
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
Function at 0x47f0a0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62dbb0], 0xffffffff
push ebx
push esi
mov esi, dword [0x636ec0]
mov ebx, edx
push edi
mov edi, ecx
jae 0x47f0cd
cmp esi, 0x40
jae 0x47f0cd
lfence
mov eax, dword fs:[0x18]
mov eax, dword [eax + esi*4 + 0xe10]
jmp 0x47f0d4
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov esi, dword [ecx + 0x1c]
add edx, esi
add eax, edx
cmp eax, edx
jb 0x47f0ff
cmp edx, esi
jb 0x47f0ff
cmp eax, dword [ecx + 0x20]
ja 0x47f0ff
lea ecx, [ebx - 1]
test edx, ecx
jne 0x47f0ff
pop edi
pop esi
lfence
mov eax, edx
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x494ea0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
mov esi, ecx
push edi
test byte [esi + 0x3a8], 8
jne 0x494f98
mov eax, dword [esi + 0x3d0]
lea edi, [esi + 0x3d0]
mov dword [edi], 0
test eax, eax
je 0x494ee5
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x494ee5
mov edi, edi
call fcn.004fbd80
mov eax, dword [esi + 0x54]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x494f91
test dword ds:[eax + 0x7c], 0x8000
jne 0x494f91
mov ecx, dword [esi + 0x3cc]
test ecx, ecx
jne 0x494f70
mov eax, dword [esi + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x1d], 1
mov dword [esp + 0xc], edx
test edx, edx
je 0x494f49
cmp dword [0x62dbb0], 0x3e
jb 0x494f49
mov ecx, edx
call fcn.00509c00
mov byte [esp + 0x1c], al
lea eax, [esp + 0x10]
push eax
push 0x509840
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x10]
cmovne ecx, eax
mov dword [esi + 0x3cc], ecx
test ecx, ecx
je 0x494f91
push edi
push 1
push ecx
call sym.SystemInformer.exe_PhGetWindowTextEx
push dword ds:[esi + 0x3cc]
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
setne al
mov byte [esi + 0x3d4], al
or dword [esi + 0x3a8], 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b8f80
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004b8ee0
push dword [0x633f7c]
push 0xc
call sym.SystemInformer.exe_PhCreateObject
push 0x28
mov esi, eax
push 4
push dword [0x633f94]
mov dword [esi], 0
mov dword [esi + 4], 0xa
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov dword [ebp - 0xc], esi
call fcn.0050b5e0
mov dword ds:[ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x4b8e40
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call dword [sym.imp.USER32.dll_EnumDesktopsW]
mov eax, dword [ebp - 0xc]
xor esi, esi
cmp dword [eax], esi
jbe 0x4b9056
mov eax, dword ds:[eax + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4b9009
mov eax, dword [eax + 4]
jmp 0x4b900b
xor eax, eax
push eax
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4b904e
push 4
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ecx, dword [ebp - 0xc]
push eax
push edi
push 0x151
mov ecx, dword [ecx + 8]
push ebx
mov ecx, dword [ecx + esi*4]
mov dword [eax], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
inc esi
cmp esi, dword [eax]
jb 0x4b8ff6
or esi, 0xffffffff
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4b906b
call fcn.004fbd80
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], esi
dec esi
jne 0x4b907e
call fcn.004fbd80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e94f
mov esp, ebp
pop ebp
ret
Function at 0x4c9d20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 4], eax
push esi
push edi
push 0x800
push 0
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c9d89
push 0x200
push eax
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4c9d89
cmp dword [0x62dbb0], 0x3e
jae 0x4c9e10
push eax
push eax
push str.sechost.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4c9e10
cmp byte [0x63361d], 0
je 0x4c9dc3
cmp dword [0x62dbb0], 0x3e
jb 0x4c9dc3
push 0
mov edx, str.SubscribeServiceChangeNotifications
mov ecx, esi
call fcn.00527ae0
push 0
mov edx, str.UnsubscribeServiceChangeNotifications
mov dword [0x635338], eax
mov ecx, esi
call fcn.00527ae0
mov dword [0x635748], eax
jmp 0x4c9e10
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4c9e09
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4c9e09
cmp eax, 0x7fffffff
jae 0x4c9e09
cmp dword [eax + esi], 0x4550
jne 0x4c9e09
lea edx, [eax + 0x78]
mov eax, dword [edx + esi]
add edx, esi
test eax, eax
je 0x4c9e09
cmp dword [edx + 4], 0
je 0x4c9e09
push 0
add eax, esi
mov ecx, esi
push str.NotifyServiceStatusChangeW
push eax
call fcn.00527c80
jmp 0x4c9e0b
xor eax, eax
mov dword [0x63533c], eax
mov byte [0x634468], 1
mov eax, 1
mov ecx, 0x635334
xchg dword [ecx], eax
cmp dword [0x63533c], 0
je 0x4c9e38
push 0
push 0x4c9700
call sym.SystemInformer.exe_PhCreateThread2
cmp dword [0x635338], 0
nop
je 0x4c9e9d
xor ecx, ecx
mov edi, 0x635f34
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
test esi, esi
jne 0x4c9e7e
push 5
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edx, eax
test edx, edx
je 0x4c9e7e
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
test esi, esi
jne 0x4c9e77
mov esi, edx
jmp 0x4c9e7e
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [esp + 8]
push eax
push 0
push 0x4c9cf0
push 0
push esi
mov esi, dword [0x635338]
mov ecx, esi
call dword [0x5a28f0]
call esi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret