joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bcec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push ebx
sub eax, 0x202
push edi
mov ebx, ecx
je 0x41be62
sub eax, 3
jne 0x41be79
lea eax, [ebp - 0x1c]
push esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 8]
push 0x69dc
push eax
call fcn.00428fb5
pop ecx
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
pop ecx
xor edi, edi
push dword [eax]
push 0x2b66
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 8]
call fcn.004017ee
push edi
push edi
push 0x801
push dword [ebp + 0x10]
call esi
lea eax, [ebp - 0xc]
push 0x5dc2
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0x2b67
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0xc]
call fcn.004017ee
lea eax, [ebp - 0x10]
push 0x69dd
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0x2b68
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea eax, [ebp - 0x14]
push 0x69de
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0x2b69
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0x14]
call fcn.004017ee
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebx + 4]
push esi
push dword [ebp - 0x1c]
call fcn.00423bcb
pop ecx
pop ecx
push edi
push ebx
push edi
push esi
push eax
push 0x108
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x2b67
mov dword [ebp - 4], eax
mov ebx, str.open
jne 0x41be21
push 5
push edi
push edi
push str.taskmgr.exe
push ebx
push edi
call esi
cmp dword [ebp - 4], 0x2b68
jne 0x41be37
push 5
push edi
push edi
push str.perfmon.exe
push ebx
push edi
call esi
cmp dword [ebp - 4], 0x2b69
jne 0x41be51
push 5
push edi
push str._res
push str.perfmon.exe
push ebx
push edi
call esi
cmp dword [ebp + 0x10], edi
pop esi
je 0x41be79
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x41be79
xor edi, edi
push 5
push edi
push edi
push str.taskmgr.exe
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
pop eax
pop edi
pop ebx
leave
ret 0x10
Function at 0x41ce35
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 [0x47f3f8]
mov dword [ebp - 0x30], ecx
xor edi, edi
lea ecx, [ebp - 4]
push SysReAllocString
mov dword [ebp - 4], edi
call fcn.0041d034
test eax, eax
je 0x41ce77
cmp dword [ebp - 4], edi
je 0x41ce70
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41d02d
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 0x41ceb5
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 sub.MSVCRT.dll_malloc
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
push 0
push eax
call sub.MSVCRT.dll_memset
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.0041cdc2
mov eax, dword [0x4421a0]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esp
push edi
call fcn.00407038
push ecx
mov ecx, esp
push esi
call fcn.0040181a
call fcn.004123ee
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, esp
push edi
call fcn.00407038
push ecx
mov ecx, esp
push esi
call fcn.0040181a
call fcn.0041232e
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call sub.MSVCRT.dll_wcscmp
add esp, 0x14
test eax, eax
je 0x41cfa2
mov eax, dword [0x4421a0]
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.00408deb
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.004017ee
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.004017ee
lea ecx, [ebp - 0xc]
call fcn.004017ee
add dword [ebp - 0x1c], 4
dec dword [ebp - 0x28]
jne 0x41ceb3
push dword [ebp - 0x14]
push ecx
mov ecx, esp
push str.Total
call fcn.0040181a
push ecx
mov ecx, esp
push esi
call fcn.0040181a
call fcn.00412390
add esp, 0xc
lea ecx, [ebp - 0x2c]
push 0x47eaf4
call fcn.0040181a
push dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x14]
push str.dwSize:_d__d
push eax
call fcn.00408deb
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.004017ee
cmp dword [ebp - 4], 0
je 0x41d02a
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 0x41d136
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x47ec20]
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.9.15
lea ecx, [ebp - 8]
call fcn.00407038
push eax
push 0x444ed0
lea ecx, [ebp - 4]
call fcn.0040181a
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004019df
lea ecx, [ebp - 4]
call fcn.004017ee
lea ecx, [ebp - 8]
call fcn.004017ee
push 0x442728
lea ecx, [ebp - 4]
call fcn.0040181a
mov esi, dword [eax]
push 0x442340
lea ecx, [ebp - 8]
call fcn.0040181a
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0xc]
call fcn.00401c27
lea ecx, [ebp - 8]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
push dword [ebp + 8]
lea eax, [ebp - 0x80c]
push eax
call sub.MSVCRT.dll_wcscat
push dword [ebp - 0xc]
lea eax, [ebp - 0x80c]
push eax
call sub.MSVCRT.dll_wcscat
lea eax, [ebp - 0x80c]
push str..txt
push eax
call sub.MSVCRT.dll_wcscat
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.00407038
call fcn.00432e11
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.004017ee
lea ecx, [ebp + 8]
call fcn.004017ee
lea ecx, [ebp + 0xc]
call fcn.004017ee
pop edi
pop esi
leave
ret
Function at 0x41da28
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 0x41da6c
lea ecx, [ebp - 8]
call fcn.0040d8da
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea eax, [edi + 8]
push 0x4456ac
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401a81
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 0x41daa9
lea ecx, [ebp - 0xc]
call fcn.0040d8da
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x10]
call fcn.004017ee
cmp ebx, esi
jne 0x41db5c
mov eax, dword [0x4421a0]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, 0x400
push eax
mov dword [ebp - 0x14], eax
call fcn.00401b61
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.00401bc9
push str.___1_
lea ecx, [ebp - 0x10]
call fcn.0040181a
lea eax, [ebp - 0x10]
add edi, 4
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004019df
push dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.MSVCRT.dll_wcscmp
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call fcn.004017ee
lea ecx, [ebp - 0x10]
call fcn.004017ee
test bl, bl
lea ecx, [ebp - 4]
je 0x41db57
call fcn.004017ee
lea ecx, [ebp - 8]
call fcn.0040d8da
lea ecx, [ebp - 0xc]
call fcn.0040d8da
push 1
pop eax
jmp 0x41db6e
call fcn.004017ee
lea ecx, [ebp - 8]
call fcn.0040d8da
lea ecx, [ebp - 0xc]
call fcn.0040d8da
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41db73
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.0041d034
push esi
push ebx
push dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.0041d034
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.0041d034
push dword [edi + 8]
lea ecx, [ebp - 4]
call fcn.0041dbf2
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41dbe3
push dword [ebp - 8]
call esi
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x41dbed
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41dbf2
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.0041d034
mov edi, eax
cmp edi, esi
je 0x41dc32
cmp dword [ebp - 4], esi
je 0x41dc2b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41dccf
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], pe_nt_image_headers32
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x41dca3
lea eax, [ebp - 0x214]
lea ecx, [ebp - 4]
push eax
call fcn.0041dbf2
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x41dc90
lea eax, [ebp - 0x14]
mov dword [ebp - 8], pe_nt_image_headers32
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 0x41dc55
cmp dword [ebp - 4], esi
je 0x41dc9e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x41dccf
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41dcb6
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 0x41dccd
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41dff2
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 0x41e039
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x47ec20]
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 0x41e08c
push dword [0x4a704c]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x208]
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
cmp eax, esi
pop ecx
jne 0x41e0b4
lea eax, [ebp - 0x208]
push 0x2f
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
cmp eax, esi
pop ecx
je 0x41e0b7
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 0x41e0d4
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push dword [0x4a704c]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x41e100
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebx, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x538]
test eax, eax
je 0x41e11f
cmp eax, ebx
je 0x41e11f
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov dword [esi + 0x538], ebx
lea ecx, [esi + 0xae8]
mov dword [0x443dc4], 0xc350
call fcn.004239fa
lea eax, [esp + 0x1c]
push 0x520e
push eax
call fcn.00428fb5
pop ecx
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
pop ecx
push dword [eax]
push 0
push 1
push ebx
call edi
lea ecx, [esp + 0x1c]
call fcn.004017ee
lea eax, [esp + 0x1c]
push 0x520f
push eax
call fcn.00428fb5
pop ecx
mov ebp, 0x9c5b
pop ecx
push dword [eax]
push ebp
push 0
push dword [esi + 0x538]
call edi
lea ecx, [esp + 0x1c]
call fcn.004017ee
mov eax, dword [0x4a7140]
dec eax
neg eax
sbb eax, eax
and al, 0xf8
add eax, 8
push eax
push ebp
push dword [esi + 0x538]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
mov ebp, 0x800
push 0
push ebp
push dword [esi + 0x538]
call edi
lea eax, [esp + 0x1c]
push 0x520c
push eax
call fcn.00428fb5
pop ecx
pop ecx
push dword [eax]
push 0
push 1
push ebx
call edi
lea ecx, [esp + 0x1c]
call fcn.004017ee
push esi
push 0x41e0ed
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, 0x482588
xor edx, edx
xor ecx, ecx
mov eax, ebx
cmp dword [eax], edx
je 0x41e1fd
inc ecx
add eax, 0x5c8
cmp eax, 0x4a67a8
jl 0x41e1f8
cmp ecx, edx
jle 0x41e238
push edx
push edx
push ebp
push dword [esi + 0x538]
call edi
cmp dword [0x443de8], 0
mov eax, str.Wiederherstellen_aus_dem_Infobereich
je 0x41e22b
mov eax, str.Recovering_from_the_system_tray
push eax
push 0
push 1
push dword [esi + 0x538]
call edi
mov dword [esp + 0x1c], ebx
mov ebp, 0x47f354
mov ebx, dword [ebx]
test ebx, ebx
je 0x41e280
push 0xa0
push ebp
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebp
push dword [0x443dc4]
push 0x108
push dword [esi + 0x538]
call edi
push ebx
lea ecx, [esi + 0xae8]
push dword [0x443dc4]
call fcn.00423992
inc dword [0x443dc4]
mov ebx, dword [esp + 0x1c]
add ebx, 0x5c8
cmp ebx, 0x4a67a8
mov dword [esp + 0x1c], ebx
jl 0x41e241
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x41e3d3
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x47ec20]
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.00407038
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00408d6d
lea ecx, [ebp - 4]
call fcn.004017ee
push 0x444d68
push 0x444d5c
lea ecx, [ebp - 8]
call fcn.00401c27
push 0x44582c
lea ecx, [ebp - 4]
call fcn.0040181a
push str.__select__
lea ecx, [ebp - 0x10]
call fcn.0040181a
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.004019df
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004019df
lea ecx, [ebp - 0x14]
call fcn.004017ee
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
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.004017ee
lea ecx, [ebp - 8]
call fcn.004017ee
lea ecx, [ebp + 8]
call fcn.004017ee
pop edi
leave
ret

Function at 0x41e563
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, 0x48259c
cmp esi, edi
je 0x41e57e
cmp dword [eax - 0x14], esi
je 0x41e5a9
jmp 0x41e586
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x10]
je 0x41e59b
add eax, 0x5c8
inc ebx
cmp eax, 0x4a67bc
jl 0x41e573
xor eax, eax
pop edi
pop esi
pop ebx
ret 8
mov eax, ebx
imul eax, eax, 0x5c8
mov esi, dword [eax + 0x482588]
cmp esi, edi
je 0x41e5ea
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e5ea
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 0x41e5ea
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, 0x482380
call fcn.00433be2
push 1
pop eax
jmp 0x41e595
Function at 0x41e6f6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4421a0]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x10], ecx
test ebx, ebx
jne 0x41e718
xor esi, esi
jmp 0x41e752
lea esi, [eax + 0x1c]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [eax], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x41e714
mov edx, dword [eax + 8]
lea eax, [ecx + 0xae8]
xor esi, esi
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x41e747
mov eax, dword [eax]
cmp dword [eax], edx
je 0x41e761
inc esi
add eax, 4
cmp esi, ecx
jl 0x41e73b
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x41e765
push 1
pop esi
lea ecx, [ebp - 4]
call fcn.004017ee
mov eax, esi
jmp 0x41e873
mov edi, esi
jmp 0x41e74a
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 4
call esi
push 7
mov dword [ebp - 8], eax
call esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
test byte [eax + 0x10], 1
je 0x41e790
push 0xd
call esi
push 0xe
mov dword [ebp - 8], eax
call esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov esi, 0x47f214
push 0xa0
push esi
mov eax, dword [eax + 0xaec]
mov eax, dword [eax + edi*4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, esi
test eax, eax
jne 0x41e7bb
xor edi, edi
jmp 0x41e7c4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edi, edi
push esi
push eax
lea ecx, [ebp - 4]
call fcn.004018df
push dword [ebp - 0x10]
call fcn.0041e61e
mov esi, dword [sym.imp.GDI32.dll_SetBkColor]
pop ecx
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
push ebx
call esi
mov dword [ebp - 0x10], eax
push edi
push edi
lea eax, [ebp - 0x24]
push edi
push eax
push 2
push edi
push edi
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push dword [ebp - 0x10]
push ebx
call esi
mov eax, dword [ebp - 0x20]
push 3
push edi
push edi
push 0x10
push 0x10
push dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ebp - 0x24]
inc eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
add dword [ebp - 0x24], 0x14
sub dword [ebp - 0x1c], 0xc
push ebx
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push ebx
mov dword [ebp - 0x10], eax
call edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push 0x8824
push eax
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [ebp - 4]
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x14]
push ebx
call edi
push dword [ebp - 0x10]
push ebx
call esi
lea ecx, [ebp - 4]
call fcn.004017ee
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x420a20
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 0x420ad3
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 0x420ad6
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 0x420afd
cmp dword [0x4a6ad8], 0
jne 0x420b29
cmp dword [ebp + 0xc], 0x204
jne 0x420b0f
cmp dword [0x4a6ae0], 0
jne 0x420b29
cmp dword [ebp + 0xc], 0x20a
jne 0x420bea
cmp dword [0x4a6ad0], 0
je 0x420bad
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 0x420ba4
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042d4a4
pop ecx
cmp esi, eax
pop ecx
mov dword [ebp - 4], eax
jne 0x420ba4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [ebp - 8]
je 0x420ba4
cmp eax, dword [ebp - 4]
je 0x420ba4
test eax, eax
je 0x420ba4
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x43f198
push 0x15
push 0
push 0x43f1a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x420ba4
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 0x420bea
cmp dword [0x4a6a68], 0
je 0x420bea
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 0x420bea
and dword [ebp - 0xc], 0
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042d4a4
pop ecx
cmp esi, eax
pop ecx
jne 0x420bea
push 1
pop eax
jmp 0x420bec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret