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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xc
dec eax
push esi
cmp eax, 5
ja case.0x402853.4
jmp dword [eax*4 + 0x4029f8]
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
mov dword [esp + 0x10], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov esi, dword [ebp + 8]
test eax, eax
je 0x402893
push 0
push 0
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
mov ecx, dword [ebp + 0x10]
or ecx, 2
call fcn.0050b1c0
mov edi, edi
test eax, eax
je 0x4029ee
push eax
push 0
push str.Unable_to_shut_down_the_computer.
push esi
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.shut_down
push str.preforms_a_hard
push str.This_option__s__s_in_an_disorderly_manner_and_may_cause_corrupted_files_or_instability_in_the_system.
call fcn.00401820
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push dword [eax + 4]
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
push 2
call dword [sym.imp.ntdll.dll_NtShutdownSystem]
lea ebx, [ebx]
test eax, eax
jns 0x4029ee
push 0
push eax
push str.Unable_to_shut_down_the_computer.
push esi
lfence
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.shut_down
push str.forces_a_critical
push str.This_option__s__s_in_an_disorderly_manner_and_may_cause_corrupted_files_or_instability_in_the_system.
call fcn.00401820
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push dword [eax + 4]
push str.the_computer
push str.shut_down
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
push 0x80000000
push 6
push 6
call dword [sym.imp.ntdll.dll_NtSetSystemPowerState]
test eax, eax
jns 0x4029ee
push 0
push eax
push str.Unable_to_shut_down_the_computer.
push esi
lfence
call sym.SystemInformer.exe_PhShowStatus
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
mov dword [esp + 0x10], str.EnableWarnings
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov esi, dword [ebp + 8]
test eax, eax
je 0x4029cd
push 0
push 0
push str.the_computer
push str.update_and_shutdown
push esi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je case.0x402853.4
push 0x80000000
push 0x49
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
test eax, eax
jne 0x4028a8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402a20
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 0x402a6d
push 0
push 0
push str.the_computer
push str.restart
push edi
call sym.SystemInformer.exe_PhShowConfirmMessage
test al, al
je 0x402c22
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.005203a0
mov dword [ebp - 8], eax
test eax, eax
je 0x402b8c
mov ecx, dword ds:[ebp - 4]
cmp ecx, dword [eax]
jae 0x402af4
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.0051fb60
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, eax
mov ebx, esi
call fcn.00520540
lea ecx, [ecx]
test esi, esi
js 0x402b6c
push 0x80000000
push 5
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
test eax, eax
je 0x402c22
push eax
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x402c0d
push dword [esi + 4]
push 0x5ce56c
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 0x402c22
mov edi, edi
call fcn.004fc420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, ebx
cmp ebx, 0xc0000022
je 0x402b7e
cmp esi, 0xc0000005
jne 0x402b8c
mov esi, ebx
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
jmp 0x402baf
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x402b9f
movzx eax, si
jmp 0x402baf
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x402bbe
mov eax, esi
test eax, eax
je 0x402bbe
push eax
lfence
call sym.SystemInformer.exe_PhGetWin32Message
jmp 0x402bc7
push esi
lfence
call sym.SystemInformer.exe_PhGetNtMessage
mov esi, eax
test esi, esi
je 0x402c0d
lfence
lfence
push dword [esi + 4]
push 0x5ce56c
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 0x402c22
lfence
call fcn.004fc420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Unable_to_configure_the_boot_application.
push 0x5ce56c
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 0x412f40
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 0x412f7d
cmp dword [eax + 8], 0xffffff65
jne 0x412f7d
movzx eax, word ds:[eax + 0xc]
sub eax, 0x41
je 0x412f7d
sub eax, 2
jne 0x412f7d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x412f7d
push esi
call sym.SystemInformer.exe__PhCopyListView_4
pop esi
pop ecx
pop ebp
ret 8

Function at 0x412fa0
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 0x413007
cmp dword [eax + 8], 0xffffff65
jne 0x413007
movzx eax, word ds:[eax + 0xc]
sub eax, 0x41
je 0x412fea
sub eax, 2
jne 0x413007
test byte [ebp + 0x10], 1
je 0x413007
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x413007
push esi
call sym.SystemInformer.exe__PhCopyListView_4
pop esi
pop ebp
ret 0xc
test byte [ebp + 0x10], 2
je 0x413007
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x413007
push 2
push 2
push esi
call sym.SystemInformer.exe_PhSetStateAllListViewItems
pop esi
pop ebp
ret 0xc

Function at 0x413c00
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x62f040]
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 0x413cc6
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 0x413cbd
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 0x413cb4
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 0x413cfc
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.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x415520
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x62f040]
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 0x41557e
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.0058078f
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhGetOwnTokenAttributes
test byte [eax + 4], 1
jne 0x4155b3
push 0
push 0
push esi
call sym.SystemInformer.exe__PhUiConnectToPhSvcEx_12
test al, al
jne 0x4155b3
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0058078f
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push 0x62fe48
push 0xfffffffffffffff7
push 0x20006
lea eax, [esp + 0x54]
push eax
call sym.SystemInformer.exe_PhCreateKey
test eax, eax
js 0x4156b0
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.004f87a0
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 0x41564d
call fcn.004fc420
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.00415020
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 0x4156a6
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 0x4156c7
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.0058078f
mov esp, ebp
pop ebp
ret 8
Function at 0x41a3a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x62f040]
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 0x41a49b
lea eax, [ebp - 0x48c]
push eax
push 0
push 0x104b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
nop
test eax, eax
je 0x41a49b
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.0058078f
mov esp, ebp
pop ebp
ret 4
Function at 0x43af80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x62f040]
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.00582850
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.00582850
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 [0x636044]
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 [0x62fbb0], 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 0x43b0c2
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 0x43b0d5
mov dword [ebp - 0x10], 0x111000
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], 0x10000101
push 8
push ecx
mov ecx, eax
call fcn.004fbbc0
lea ecx, [ecx]
test eax, eax
jns 0x43b0f8
lfence
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058078f
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 0x43b126
push 0
call dword [sym.imp.ntdll.dll_RtlExitUserProcess]
lfence
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43b13f
push eax
push 0
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x43b152
call fcn.004fc420
mov ecx, dword ds:[ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x459bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x636560]
push esi
push edi
mov edi, ecx
cmp edi, ebx
je 0x459cad
mov dword [0x636560], edi
test ebx, ebx
je 0x459c18
mov esi, dword ds:[ebx + 0xc]
mov ecx, esi
push 0
push edi
push 3
push ebx
call dword [0x5a48f4]
call esi
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x459c18
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x34], 0
jne 0x459c7a
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 [0x5a48f4]
call esi
test al, al
je 0x459c7a
cmp byte [ebp - 0x18], 0
jne 0x459c7a
push dword [ebp - 8]
mov ecx, dword [0x636490]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.005095a0
movzx ecx, byte [0x6359c7]
push ecx
push eax
mov dword [edi + 0x34], eax
call sym.SystemInformer.exe_PhInitializeWindowTheme
mov eax, dword ds:[edi + 0x34]
test eax, eax
je 0x459c8d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00459d20
call fcn.00459e00
mov esi, dword [edi + 0xc]
mov ecx, esi
push 0
push 0
push 2
push edi
call dword [0x5a48f4]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x476c60
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00476b20
test al, al
je 0x476c85
mov esi, str.Do_you_want_to_restore_the_default_Windows_Task_Manager_
jmp 0x476c9e
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.00478280
test al, al
je 0x476e50
push esi
push 0x5ccc90
push 0xfffd
push 6
push edi
call sym.SystemInformer.exe_PhShowMessage2
add esp, 0x14
cmp eax, 6
jne 0x476e50
push 0
push 0
push 0x80
push 0x630ce8
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 0x476d8e
call fcn.00476b20
test al, al
je 0x476d2a
mov ecx, dword [0x630f30]
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 0x476d19
mov esi, 0xc0000106
jmp 0x476d7c
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov esi, eax
jmp 0x476d7c
call sym.SystemInformer.exe_PhGetApplicationFileNameWin32
mov dword [ebp - 0xc], eax
test eax, eax
je 0x476d7c
push 0x631048
push eax
push 0x631048
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 0x630f30
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 0x476d7c
call fcn.004fc420
push dword ds:[ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jns 0x476e3c
cmp esi, 0xc0000022
je 0x476dc3
cmp esi, 0xc0000005
je 0x476dc3
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x476db1
movzx eax, si
jmp 0x476dcd
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x476dd1
mov eax, esi
jmp 0x476dcd
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x476ddc
push esi
lfence
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x476de5
push eax
lfence
call sym.SystemInformer.exe_PhGetWin32Message
mov esi, eax
test esi, esi
je 0x476e27
lfence
lfence
push dword [esi + 4]
push 0x5ce56c
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 0x476e3c
lfence
call fcn.004fc420
jmp 0x476e3c
push str.Unable_to_replace_Task_Manager
push 0x5ce56c
push 0x10
push edi
call sym.SystemInformer.exe_PhShowMessage
add esp, 0x10
mov eax, dword [0x6354fc]
test eax, eax
je 0x476e50
cmp dword [eax], 0
je 0x476e50
push eax
call sym.SystemInformer.exe_PhSaveSettings
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret
Function at 0x47f260
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x62fbb0], 0xffffffff
push ebx
push esi
mov esi, dword [0x638de0]
mov ebx, edx
push edi
mov edi, ecx
jae 0x47f28d
cmp esi, 0x40
jae 0x47f28d
lfence
mov eax, dword fs:[0x18]
mov eax, dword [eax + esi*4 + 0xe10]
jmp 0x47f294
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 0x47f2bf
cmp edx, esi
jb 0x47f2bf
cmp eax, dword [ecx + 0x20]
ja 0x47f2bf
lea ecx, [ebx - 1]
test edx, ecx
jne 0x47f2bf
pop edi
pop esi
lfence
mov eax, edx
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x495060
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 0x495158
mov eax, dword [esi + 0x3d0]
lea edi, [esi + 0x3d0]
mov dword [edi], 0
test eax, eax
je 0x4950a5
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4950a5
mov edi, edi
call fcn.004fc420
mov eax, dword [esi + 0x54]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x495151
test dword ds:[eax + 0x7c], 0x8000
jne 0x495151
mov ecx, dword [esi + 0x3cc]
test ecx, ecx
jne 0x495130
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 0x495109
cmp dword [0x62fbb0], 0x3e
jb 0x495109
mov ecx, edx
call fcn.0050a480
mov byte [esp + 0x1c], al
lea eax, [esp + 0x10]
push eax
push 0x50a0c0
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 0x495151
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 0x4b9060
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004b8fc0
push dword [0x635f10]
push 0xc
call sym.SystemInformer.exe_PhCreateObject
push 0x28
mov esi, eax
push 4
push dword [0x636044]
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.0050be60
mov dword ds:[ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x4b8f20
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 0x4b9136
mov eax, dword ds:[eax + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4b90e9
mov eax, dword [eax + 4]
jmp 0x4b90eb
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 0x4b912e
push 4
push 4
push dword [0x636044]
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 0x4b90d6
or esi, 0xffffffff
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4b914b
call fcn.004fc420
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], esi
dec esi
jne 0x4b915e
call fcn.004fc420
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret