joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f33d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0xf003f
push dword [0x4a27a4]
mov dword [ebp - 0x30], ecx
xor edi, edi
lea ecx, [ebp - 4]
push SysReAllocString
mov dword [ebp - 4], edi
call fcn.004175bc
test eax, eax
je 0x41f37f
cmp dword [ebp - 4], edi
je 0x41f378
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41f535
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], str.TaskbarWinXP
mov dword [ebp - 0x3c], str.Toolbars
mov dword [ebp - 0x38], str.Taskbar
mov dword [ebp - 0x34], str.Upgrade
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 3
mov esi, str.Test
jmp 0x41f3bd
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], edi
mov edi, dword [eax]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push 0
push eax
push 0
push edi
push dword [ebp - 4]
call ebx
push dword [ebp - 8]
call fcn.004425d8
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
push 0
push eax
call fcn.00442580
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push dword [ebp - 0x18]
push eax
push 0
push edi
push dword [ebp - 4]
call ebx
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push dword [ebp - 0x18]
push eax
call fcn.0041f2ca
mov eax, dword [0x4581d0]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esp
push edi
call fcn.004070c2
push ecx
mov ecx, esp
push esi
call fcn.0040182e
call fcn.00413e24
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, esp
push edi
call fcn.004070c2
push ecx
mov ecx, esp
push esi
call fcn.0040182e
call fcn.00413d64
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00442dbe
add esp, 0x14
test eax, eax
je 0x41f4aa
mov eax, dword [0x4581d0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push dword [eax - 8]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
lea eax, [ebp - 0x18]
push str._d__d
push eax
call fcn.00408f2b
mov eax, dword [ebp - 0x30]
add esp, 0x10
push 0
push edi
push dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x18]
call fcn.00401802
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 8]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
add dword [ebp - 0x14], eax
call fcn.00401802
lea ecx, [ebp - 0xc]
call fcn.00401802
add dword [ebp - 0x1c], 4
dec dword [ebp - 0x28]
jne 0x41f3bb
push dword [ebp - 0x14]
push ecx
mov ecx, esp
push str.Total
call fcn.0040182e
push ecx
mov ecx, esp
push esi
call fcn.0040182e
call fcn.00413dc6
add esp, 0xc
lea ecx, [ebp - 0x2c]
push 0x4a15c4
call fcn.0040182e
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x14]
push str.dwSize:_d__d
push eax
call fcn.00408f2b
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.00401802
cmp dword [ebp - 4], 0
je 0x41f532
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41f616
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4a16f0]
push esi
push edi
mov dword [ebp - 0x80c], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x808]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.11.18
lea ecx, [ebp - 8]
call fcn.004070c2
push eax
push str.DesktopOK
lea ecx, [ebp - 4]
call fcn.0040182e
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004019f3
lea ecx, [ebp - 4]
call fcn.00401802
lea ecx, [ebp - 8]
call fcn.00401802
push 0x458758
lea ecx, [ebp - 4]
call fcn.0040182e
mov esi, dword [eax]
push 0x458370
lea ecx, [ebp - 8]
call fcn.0040182e
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0xc]
call fcn.00401c3b
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.00401802
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push eax
call fcn.004430e9
push dword [ebp - 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.004430e9
lea eax, [ebp - 0x80c]
push str..txt
push eax
call fcn.004430e9
add esp, 0x18
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp - 0x80c]
mov ecx, esp
push eax
call fcn.004070c2
call fcn.00436513
pop ecx
xor eax, eax
pop ecx
push 5
push eax
lea ecx, [ebp - 0x80c]
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp + 8]
call fcn.00401802
lea ecx, [ebp + 0xc]
call fcn.00401802
pop edi
pop esi
leave
ret
Function at 0x41ff8a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
push 0xf003f
push esi
push str.SoftwareClasses
mov edi, ecx
push SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call ebx
test eax, eax
jne 0x41ffce
lea ecx, [ebp - 8]
call fcn.0040df4e
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea eax, [edi + 8]
push 0x45ba34
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a95
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push esi
push eax
push dword [ebp - 8]
mov dword [ebp - 4], esi
call ebx
mov ebx, eax
cmp ebx, esi
jne 0x42000b
lea ecx, [ebp - 0xc]
call fcn.0040df4e
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
call fcn.00401802
cmp ebx, esi
jne 0x4200be
mov eax, dword [0x4581d0]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, 0x400
push eax
mov dword [ebp - 0x14], eax
call fcn.00401b75
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esi
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00401bdd
push str.___1_
lea ecx, [ebp - 0x10]
call fcn.0040182e
lea eax, [ebp - 0x10]
add edi, 4
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004019f3
push dword [ebp - 4]
mov eax, dword [eax]
push eax
call fcn.00442dbe
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call fcn.00401802
lea ecx, [ebp - 0x10]
call fcn.00401802
test bl, bl
lea ecx, [ebp - 4]
je 0x4200b9
call fcn.00401802
lea ecx, [ebp - 8]
call fcn.0040df4e
lea ecx, [ebp - 0xc]
call fcn.0040df4e
push 1
pop eax
jmp 0x4200d0
call fcn.00401802
lea ecx, [ebp - 8]
call fcn.0040df4e
lea ecx, [ebp - 0xc]
call fcn.0040df4e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4200d5
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, 0xf003f
push edi
mov edi, ecx
push esi
xor ebx, ebx
push str.SoftwareClasses
push SysReAllocString
lea ecx, [ebp - 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.004175bc
push esi
push ebx
push dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.004175bc
push dword [edi + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
push ebx
push SysReAllocString
lea ecx, [ebp - 4]
call fcn.004175bc
push dword [edi + 8]
lea ecx, [ebp - 4]
call fcn.00420154
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x420145
push dword [ebp - 8]
call esi
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x42014f
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420154
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.004175bc
mov edi, eax
cmp edi, esi
je 0x420194
cmp dword [ebp - 4], esi
je 0x42018d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x420231
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x420205
lea eax, [ebp - 0x214]
lea ecx, [ebp - 4]
push eax
call fcn.00420154
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x4201f2
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 4]
jmp 0x4201b7
cmp dword [ebp - 4], esi
je 0x420200
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x420231
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x420218
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x42022f
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420554
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push 0
push dword [esp + 0x1c]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
ret 8

Function at 0x42059b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4a16f0]
push esi
push edi
mov dword [ebp - 0x208], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x204]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x208]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp + 8], 1
jne 0x4205ee
push dword [0x4ca3fc]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x208]
push 0x5c
push eax
call fcn.00442d7e
pop ecx
cmp eax, esi
pop ecx
jne 0x420616
lea eax, [ebp - 0x208]
push 0x2f
push eax
call fcn.00442d7e
pop ecx
cmp eax, esi
pop ecx
je 0x420619
mov word [eax], si
push 1
push esi
lea eax, [ebp - 0x208]
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret 4

Function at 0x420636
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push dword [0x4ca3fc]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x420662
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov eax, dword [esi + 0x544]
mov edi, dword [esp + 0x1c]
cmp eax, ebp
je 0x420683
cmp eax, edi
je 0x420683
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [esi + 0x544], edi
lea ecx, [esi + 0xaf0]
mov dword [0x45a03c], 0xc350
call fcn.00408e82
mov eax, dword [0x4ca4fc]
dec eax
neg eax
sbb eax, eax
and al, 0xf8
add eax, 8
push eax
push 0x9c5b
push dword [esi + 0x544]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push esi
push 0x42064f
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, 0x4a5938
xor ecx, ecx
mov eax, ebx
cmp dword [eax], ebp
je 0x4206d9
inc ecx
add eax, 0x5c8
cmp eax, 0x4c9b58
jl 0x4206d4
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
cmp ecx, ebp
jle 0x420725
push ebp
push ebp
push 0x800
push dword [esi + 0x544]
call edi
lea eax, [esp + 0x1c]
push 0x520d
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push ebp
push 1
push dword [esi + 0x544]
call edi
lea ecx, [esp + 0x1c]
call fcn.00401802
mov dword [esp + 0x1c], ebx
mov ebx, 0x4a2700
mov eax, dword [esp + 0x1c]
mov ebp, dword [eax]
test ebp, ebp
je 0x420771
push 0xa0
push ebx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
push dword [0x45a03c]
push 0x108
push dword [esi + 0x544]
call edi
push ebp
lea ecx, [esi + 0xaf0]
push dword [0x45a03c]
call fcn.004376c7
inc dword [0x45a03c]
add dword [esp + 0x1c], 0x5c8
cmp dword [esp + 0x1c], 0x4c9b58
jl 0x42072e
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4208c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4a16f0]
push edi
mov dword [ebp - 0x21c], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.explorer.exe
lea ecx, [ebp - 4]
call fcn.004070c2
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00408ead
lea ecx, [ebp - 4]
call fcn.00401802
push 0x45b008
push 0x45affc
lea ecx, [ebp - 8]
call fcn.00401c3b
push str.___e
lea ecx, [ebp - 4]
call fcn.0040182e
push str.__select__
lea ecx, [ebp - 0x10]
call fcn.0040182e
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004019f3
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004019f3
lea ecx, [ebp - 0x14]
call fcn.00401802
lea ecx, [ebp - 0x10]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.00401802
push 3
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp + 8]
call fcn.00401802
pop edi
leave
ret

Function at 0x420b71
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
xor ebx, ebx
mov eax, 0x4a594c
cmp esi, edi
je 0x420b8c
cmp dword [eax - 0x14], esi
je 0x420bb7
jmp 0x420b94
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x10]
je 0x420ba9
add eax, 0x5c8
inc ebx
cmp eax, 0x4c9b6c
jl 0x420b81
xor eax, eax
pop edi
pop esi
pop ebx
ret 8
mov eax, ebx
imul eax, eax, 0x5c8
mov esi, dword [eax + 0x4a5938]
cmp esi, edi
je 0x420bf8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420bf8
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x420bf8
push 1
push edi
push edi
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
imul ecx, ecx, 0x5c8
add ecx, 0x4a5730
call fcn.00437327
push 1
pop eax
jmp 0x420ba3
Function at 0x421022
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
lea ecx, [ebp - 0xc]
call fcn.0040182e
push 0x20019
xor ebx, ebx
push dword [ebp - 0xc]
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push SysReAllocString
call fcn.004175bc
or dword [ebp - 8], 0xffffffff
push str.AppsUseLightTheme
lea ecx, [ebp - 0x18]
call fcn.0040182e
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
call fcn.00401802
cmp dword [ebp - 8], 1
jne 0x4210a7
cmp dword [ebp - 4], ebx
je 0x4210a3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
mov bl, 1
jmp 0x4210b8
cmp dword [ebp - 4], ebx
je 0x4210b8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xc]
call fcn.00401802
mov al, bl
pop ebx
leave
ret

Function at 0x4210c5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
lea ecx, [ebp - 8]
call fcn.0040182e
and dword [ebp - 4], 0
push 0xf003f
push dword [ebp - 8]
lea ecx, [ebp - 4]
push SysReAllocString
call fcn.004175bc
push str.AppsUseLightTheme
lea ecx, [ebp - 0xc]
call fcn.0040182e
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push 4
push ecx
push 4
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0xc]
call fcn.00401802
cmp dword [ebp - 4], 0
je 0x421135
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.00401802
leave
ret
Function at 0x422231
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cada8]
test eax, eax
jne 0x42226e
mov eax, dword [0x4cadac]
test eax, eax
jne 0x422259
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4cadac], eax
push str.GetLayeredWindowAttributes
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4cada8], eax
je 0x4222e1
push esi
lea ecx, [ebp - 8]
push edi
push ecx
lea ecx, [ebp + 0xb]
and dword [ebp - 0xc], 0
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 8], 1
push dword [ebp + 8]
call eax
movzx esi, byte [ebp + 0xb]
mov dword [ebp - 4], esi
fild dword [ebp - 4]
fmul dword [0x453d90]
fmul dword [0x453d6c]
fsubr qword [0x453b88]
call fcn.00442b7c
mov edi, eax
mov eax, dword [0x4581d0]
mov dword [ebp - 4], eax
push edi
push esi
lea eax, [ebp - 4]
push str.bAlpha:_d_tr:_d_n
push eax
call fcn.00408f2b
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 4]
call fcn.00401802
mov eax, edi
pop edi
pop esi
leave
ret
xor eax, eax
leave
ret
Function at 0x4232aa
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
lea eax, [ebp - 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x42335d
lea eax, [ebp - 8]
push edi
push eax
call esi
push 2
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
push 9
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
mov dword [ebp - 0x48], 0x28
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
push edx
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [ebp - 0x30]
push 0xa
sub dword [ebp - 0x14], eax
sub dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
pop ecx
sub dword [ebp - 0x18], eax
sub dword [ebp - 0x20], eax
xor eax, eax
lea edi, [ebp - 0x70]
mov dword [ebp - 0x74], 0x2c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x6c], 9
call dword [sym.imp.USER32.dll_SetWindowPlacement]
pop edi
pop esi
leave
ret
Function at 0x423360
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0x201
push ebx
mov ebx, dword [sym.imp.USER32.dll_WindowFromPoint]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
jne 0x423387
cmp dword [0x4c9e88], 0
jne 0x4233b3
cmp dword [ebp + 0xc], 0x204
jne 0x423399
cmp dword [0x4c9e90], 0
jne 0x4233b3
cmp dword [ebp + 0xc], 0x20a
jne 0x423474
cmp dword [0x4c9e80], 0
je 0x423437
lea eax, [ebp - 0x14]
push eax
call edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call ebx
mov esi, eax
test esi, esi
je 0x42342e
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00430ab1
pop ecx
cmp esi, eax
pop ecx
mov dword [ebp - 4], eax
jne 0x42342e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [ebp - 8]
je 0x42342e
cmp eax, dword [ebp - 4]
je 0x42342e
test eax, eax
je 0x42342e
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x454240
push 0x15
push 0
push 0x454250
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x42342e
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp + 0xc], 0x20a
jne 0x423474
cmp dword [0x4c9e18], 0
je 0x423474
lea eax, [ebp - 0x14]
push eax
call edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call ebx
mov esi, eax
test esi, esi
je 0x423474
and dword [ebp - 0xc], 0
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00430ab1
pop ecx
cmp esi, eax
pop ecx
jne 0x423474
push 1
pop eax
jmp 0x423476
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423e3f
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [0x4a1708]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov esi, ecx
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
movzx eax, word [esi + 0x5c8]
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, 0x3a8
lea edi, [esi + 0x220]
push ebx
push 0
push edi
mov ebp, eax
call fcn.00442580
mov eax, dword [esi + 0x20c]
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x224], eax
push ebp
call dword [sym.imp.USER32.dll_CopyIcon]
mov ebx, 0x4cef40
mov dword [esi + 0x234], eax
mov eax, dword [esi + 0x214]
push 0xa0
push ebx
add eax, 0x1388
push dword [esi + 0x208]
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], 7
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ebp, [esi + 0x238]
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ebx, [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x423ef8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esi + 0x21c]
push edi
push 1
mov dword [esi + 0x230], eax
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4243b3
Capabilities:
Log keystrokes via polling
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
mov esi, 0x8000
test esi, eax
je 0x424465
push 0x11
call edi
test esi, eax
je 0x424465
cmp dword [0x4cade0], 1
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jne 0x424456
push 0x73
call edi
test esi, eax
jne 0x424456
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.KILLLL_n
call esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x424465
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x424465
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp - 4]
je 0x424465
push dword [ebp - 4]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x424465
push str.TERMINATE_n
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424465
push 0x73
call edi
shr eax, 0xf
and eax, 1
mov dword [0x4cade0], eax
pop edi
pop esi
leave
ret

Function at 0x4248ca
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x45a000]
cmp dword [0x4ca4a4], 0
mov dword [0x4ca01c], eax
mov eax, dword [0x459ffc]
mov dword [0x4ca008], eax
mov eax, dword [0x4ca4a8]
mov dword [0x4ca004], eax
mov eax, dword [0x45a004]
mov dword [0x4ca020], eax
je 0x424905
mov ecx, 0x4c9ff8
jmp fcn.00409c63
ret

Function at 0x424a5b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x4a1708]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
lea ecx, [ebp - 4]
push eax
call fcn.004070c2
push str.RESTART_DESKTOPOK_2018
lea ecx, [ebp - 8]
call fcn.0040182e
push 5
push 0
push dword [ebp - 4]
push 0x45a328
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.00401802
pop esi
leave
ret