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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
lea ecx, [ebp - 0x10]
call fcn.0040182e
lea ecx, [ebp - 0xc]
xor eax, eax
push ecx
push 0xf003f
push eax
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417451
lea ecx, [ebp - 4]
call fcn.0040df4e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, str.____rerr___
lea ecx, [ebp - 8]
push esi
call fcn.0040182e
push str.e2bf9676_5f8f_435c_97eb_11607a5bedf7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x400
call fcn.0040182e
mov ebx, dword [eax]
push 0x400
lea ecx, [ebp - 8]
call fcn.00401b75
lea ecx, [ebp - 0x14]
and dword [ebp - 0xc], 0
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
call fcn.00401802
push esi
lea ecx, [ebp - 0xc]
call fcn.0040182e
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.00442dbe
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0xc]
setne bl
call fcn.00401802
test bl, bl
je 0x4174d0
mov bl, 1
jmp 0x4174d2
xor bl, bl
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.0040df4e
lea ecx, [ebp - 0x10]
call fcn.00401802
mov al, bl
pop esi
pop ebx
leave
ret

Function at 0x4174f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
lea ecx, [ebp - 8]
call fcn.0040182e
mov edi, 0xf003f
mov esi, SysReAllocString
push edi
xor ebx, ebx
push dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push esi
call fcn.004175bc
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x417554
cmp dword [ebp - 4], ebx
je 0x41754e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
push str.e2bf9676_5f8f_435c_97eb_11607a5bedf7
lea ecx, [ebp - 0x10]
call fcn.0040182e
mov edi, dword [eax]
push 0x4a15c4
lea ecx, [ebp - 0xc]
call fcn.0040182e
mov esi, dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp - 0x10]
call fcn.00401802
cmp dword [ebp - 4], ebx
je 0x4175ad
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 8]
call fcn.00401802
pop edi
pop esi
xor al, al
pop ebx
leave
ret
Function at 0x4175fa
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsBlocked
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.e2bf9676_5f8f_435c_97eb_11607a5bedf7
lea ecx, [ebp - 0xc]
call fcn.0040182e
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0xc]
call fcn.00401802
cmp dword [ebp - 4], 0
je 0x417659
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
call fcn.00401802
xor al, al
leave
ret
Function at 0x4183a2
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [0x4ca4c4]
push esi
push edi
xor edi, edi
cmp eax, edi
mov esi, ecx
je 0x4183be
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4ca4c4], edi
cmp dword [0x4ca4bc], edi
jne 0x4183cc
mov dword [0x4c9e48], edi
push dword [esi + 4]
mov ecx, 0x4ca028
push dword [0x4c9e48]
call fcn.004353c2
cmp dword [esp + 0xc], edi
je 0x418400
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push eax
push 0x423b4a
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4ca4c4], eax
push 1
pop eax
pop edi
pop esi
ret 4

Function at 0x418b9a
Capabilities:
Find taskbar
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4c9e38]
push ebx
cmp dword [0x45a138], eax
mov ebx, ecx
mov ecx, dword [0x4c9e30]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], ecx
je 0x418c16
imul ecx, ecx, 0x3e8
push 0x3f6
mov dword [0x45a13c], ecx
mov dword [0x45a138], eax
push dword [ebx + 4]
call edi
mov ecx, dword [0x4c9e38]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call esi
push 0x3f5
push dword [ebx + 4]
call edi
mov ecx, dword [0x4c9e38]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call esi
mov eax, dword [0x4c9e38]
test eax, eax
je 0x418d40
lea eax, [ebp - 0x10]
xor esi, esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4a27cc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4a27c8]
sub eax, edx
sub ecx, dword [ebp - 0x10]
cmp eax, 1
jg 0x418c47
cmp eax, 0xffffffff
jge 0x418c4a
push 1
pop esi
cmp ecx, 1
jg 0x418c54
cmp ecx, 0xffffffff
jge 0x418c57
push 1
pop esi
mov eax, dword [ebp - 0x10]
mov dword [0x4a27cc], edx
test esi, esi
mov dword [0x4a27c8], eax
jne 0x418cc3
and dword [ebp - 4], esi
lea esi, [ebp - 0x210]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
inc dword [ebp - 4]
mov word [esi], ax
inc esi
inc esi
cmp dword [ebp - 4], 0xff
jl 0x418c72
lea eax, [ebp - 0x210]
push 0x1fe
mov esi, 0x4a27d0
push eax
push esi
call fcn.004521a0
add esp, 0xc
test eax, eax
je 0x418d45
lea eax, [ebp - 0x210]
push 0x1fe
push eax
push esi
call fcn.00441de0
add esp, 0xc
mov eax, dword [ebp - 8]
imul eax, eax, 0x3e8
mov dword [0x45a13c], eax
fild dword [0x45a13c]
fild dword [ebp - 8]
fmul dword [0x453d70]
fdivp st(1)
fmul dword [0x453d6c]
call fcn.00442b7c
mov esi, eax
cmp esi, dword [0x45a140]
je 0x418d3d
push 0x3f5
mov dword [0x45a140], esi
push dword [ebx + 4]
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push esi
push 0x402
push eax
call edi
cmp dword [0x45a140], ebx
jne 0x418d3d
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
push ebx
push 0x1a3
push 0x111
push eax
call edi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
sub dword [0x45a13c], 0x14
jmp 0x418cd1
Function at 0x418d4e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
cmp dword [0x4ca580], 0
jne 0x418e43
mov edx, dword [0x4ca584]
mov dword [0x4ca580], 1
test edx, edx
jne 0x418d93
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, eax
test edx, edx
mov dword [0x4ca584], edx
je 0x418e43
mov eax, dword [0x4ca588]
test eax, eax
jne 0x418e48
mov ax, word [0x45b218]
push edi
push 0x3f
mov word [ebp - 0x100], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0xfe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and byte [ebp - 0xf0], 0
lea eax, [ebp - 0x100]
push eax
push edx
mov byte [ebp - 0xff], 0x68
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x77
mov byte [ebp - 0xfc], 0x53
mov byte [ebp - 0xfb], 0x79
mov byte [ebp - 0xfa], 0x73
mov byte [ebp - 0xf9], 0x74
mov byte [ebp - 0xf8], 0x65
mov byte [ebp - 0xf7], 0x6d
mov byte [ebp - 0xf6], 0x43
mov byte [ebp - 0xf5], 0x75
mov byte [ebp - 0xf4], 0x72
mov byte [ebp - 0xf3], 0x73
mov byte [ebp - 0xf2], 0x6f
mov byte [ebp - 0xf1], 0x72
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ca588], eax
pop edi
jmp 0x418e48
mov eax, dword [0x4ca588]
cmp dword [ebp + 0xc], 0
je 0x418e59
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
leave
ret
test eax, eax
je 0x418e64
push dword [ebp + 8]
call eax
leave
ret
xor eax, eax
leave
ret
Function at 0x418eb3
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test byte [0x4a27c4], 1
jne 0x418ed3
or byte [0x4a27c4], 1
call fcn.00443f27
mov dword [0x4a27c0], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call ebx
call dword [sym.imp.USER32.dll_GetCursor]
mov esi, dword [0x4a27bc]
mov edx, dword [0x4a27b8]
mov eax, esi
mov ecx, edx
sub eax, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
cmp eax, 1
jg 0x418f0d
cmp eax, 0xffffffff
jge 0x418f10
push 1
pop edi
cmp ecx, 1
jg 0x418f1a
cmp ecx, 0xffffffff
jge 0x418f1d
push 1
pop edi
cmp dword [0x4ca468], 0
je 0x418f33
cmp edx, dword [ebp - 0xc]
jne 0x418f30
cmp esi, dword [ebp - 8]
je 0x418f33
push 1
pop edi
cmp dword [0x4ca58c], 0
jne 0x418f4f
call fcn.00418b6e
test eax, eax
je 0x418f4f
call fcn.00443f27
mov dword [0x4a27c0], eax
cmp dword [ebp + 0xc], 0x200
jbe 0x418f61
cmp dword [ebp + 0xc], 0x20d
jbe 0x418f6a
cmp dword [ebp + 0xc], 0x20a
jne 0x418f6d
push 3
pop edi
test edi, edi
je 0x418fb2
cmp dword [0x4ca58c], 0
je 0x418fa6
push 1
call fcn.00418e68
mov eax, dword [ebp - 0xc]
and dword [0x4ca58c], 0
mov dword [0x4a29d0], eax
mov eax, dword [ebp - 8]
cmp edi, 3
pop ecx
mov dword [0x4a29d4], eax
jne 0x418fa6
push 1
pop esi
jmp 0x4190ca
call fcn.00443f27
mov dword [0x4a27c0], eax
jmp 0x418fc6
cmp dword [0x4ca58c], 0
jne 0x419096
mov dword [ebp - 4], 1
cmp dword [0x4ca58c], 0
jne 0x419096
call fcn.00418b6e
test eax, eax
je 0x419096
call fcn.00443f27
mov ecx, dword [0x45a038]
imul ecx, ecx, 0x3e8
sub eax, ecx
mov dword [0x4a27c0], eax
call fcn.00443f27
mov ecx, dword [0x45a038]
sub eax, dword [0x4a27c0]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jle 0x41903b
lea eax, [ebp - 0xc]
push eax
call ebx
push 0
call fcn.00418e68
mov eax, dword [ebp - 0xc]
pop ecx
mov dword [0x4a27b8], eax
mov eax, dword [ebp - 8]
mov dword [0x4ca58c], 1
mov dword [0x4a27bc], eax
call fcn.00443f27
mov ecx, dword [0x45a038]
sub eax, dword [0x4a27c0]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jg 0x41908f
sub ecx, eax
mov dword [ebp + 0xc], ecx
jns 0x419061
and dword [ebp + 0xc], 0
fild dword [ebp + 0xc]
push 0
fmul qword [0x453c68]
call fcn.00442b7c
push eax
push 0x402
push 0x3f3
push dword [0x4ca470]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], 0
mov dword [0x4a27b8], eax
mov eax, dword [ebp - 8]
mov dword [0x4a27bc], eax
je 0x41903b
cmp dword [0x4ca58c], 0
jne 0x41903b
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
mov edi, 0x8000
test edi, eax
je 0x4190d8
xor esi, esi
call fcn.00443f27
mov dword [0x4a27c0], eax
mov eax, esi
jmp 0x419091
push 4
call esi
test edi, eax
jne 0x4190f5
push 2
call esi
test edi, eax
jne 0x4190f5
cmp dword [ebp + 0xc], 0x20a
jne 0x418ff8
call fcn.00443f27
mov dword [0x4a27c0], eax
jmp 0x41908f
Function at 0x4196fa
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x45a144]
cmp eax, 0xffffffff
jne 0x4197bb
and dword [0x45a144], 0
push esi
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
push 0
push eax
call fcn.00442580
add esp, 0xc
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
mov eax, dword [0x4581d0]
cmp dword [ebp - 0x114], 5
mov dword [ebp - 4], eax
jb 0x419797
push 0x11c
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.00442580
add esp, 0xc
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x11c
push eax
call esi
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x114], 6
jb 0x4197aa
mov dword [0x45a144], 1
mov esi, dword [0x45a144]
lea ecx, [ebp - 4]
call fcn.00401802
mov eax, esi
pop esi
leave
ret
Function at 0x4197bd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push ebx
push esi
push edi
push 0xd
pop ecx
mov esi, str.shell32.dll_Control_RunDLL
lea edi, [ebp - 0x240]
push 0x72
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [ebp + 0xc]
cmp ax, 0x80d8
jne 0x419822
push str._sysdm.cpl__3
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 5
lea eax, [ebp - 0x240]
push 0
push eax
push str.rundll32.exe
push str.open
push 0
jmp 0x4198f9
cmp ax, 0x80d9
jne 0x419838
xor eax, eax
push 5
push eax
push eax
push str.taskmgr.exe
jmp 0x4198f3
cmp ax, 0x80da
jne 0x4198d2
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x3c
mov ebx, eax
pop edi
lea eax, [ebp - 0x40]
push edi
push esi
push eax
call fcn.00442580
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x40], edi
push str.rundll32.exe
call fcn.004070c2
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x3c], esi
call fcn.00401b75
cmp ebx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x2c], str._netplwiz.dll_UsersRunDll
je 0x4198bb
call fcn.004196fa
test eax, eax
je 0x4198bb
mov dword [ebp - 0x34], 0x459904
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp + 0xc]
call fcn.00401802
jmp 0x4199d8
cmp ax, 0x80db
jne 0x4198e2
push str._desk.cpl__3
jmp 0x4197f9
cmp ax, 0x80dc
jne 0x419904
xor eax, eax
push 5
push eax
push eax
push str.msinfo32.exe
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4199d8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp ax, 0x80dd
mov edi, str.open
jne 0x41993e
lea eax, [ebp - 0x240]
push str._desk.cpl__0
push eax
call ebx
push 5
lea eax, [ebp - 0x240]
push 0
push eax
push str.rundll32.exe
push edi
push 0
call esi
cmp word [ebp + 0xc], 0xd17e
jne 0x419969
lea eax, [ebp - 0x240]
push str._desk.cpl___desktop
push eax
call ebx
push 5
lea eax, [ebp - 0x240]
push 0
push eax
push str.rundll32.exe
push edi
push 0
call esi
cmp word [ebp + 0xc], 0xd180
jne 0x419994
lea eax, [ebp - 0x240]
push str._desk.cpl__2
push eax
call ebx
push 5
lea eax, [ebp - 0x240]
push 0
push eax
push str.rundll32.exe
push edi
push 0
call esi
cmp word [ebp + 0xc], 0xd181
jne 0x4199c1
lea eax, [ebp - 0x240]
push str._desk.cpl__1
push eax
call ebx
xor ebx, ebx
push 5
lea eax, [ebp - 0x240]
push ebx
push eax
push str.rundll32.exe
push edi
push ebx
call esi
jmp 0x4199c3
xor ebx, ebx
cmp word [ebp + 0xc], 0xd182
jne 0x4199d8
push 5
push ebx
push ebx
push str.dpiscaling
push edi
push ebx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x41c3f8
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [ecx + 0xa80], 3
jne 0x41c41f
mov ecx, dword [ebp + 8]
push 0x4a15c4
call fcn.0040182e
mov eax, dword [ebp + 8]
jmp 0x41c5c0
mov eax, dword [0x4581d0]
and word [ebp - 0x218], 0
push esi
push edi
push 0x7f
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x216]
mov esi, 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x218]
test eax, eax
jne 0x41c473
xor eax, eax
jmp 0x41c47c
lea eax, [ebp - 0x218]
push eax
call edi
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.004018f3
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x218]
test eax, eax
je 0x41c4b3
lea eax, [ebp - 0x218]
push eax
call edi
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004018f3
cmp dword [0x4ca500], 0
mov esi, 0x458940
je 0x41c4f5
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push esi
push eax
call fcn.00408ead
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401ae1
lea ecx, [ebp - 8]
call fcn.00401802
cmp dword [0x4ca504], 0
mov edi, 0x45b71c
je 0x41c53e
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x14]
push 0x45b714
push eax
call fcn.00408ead
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401a95
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00401ae1
lea ecx, [ebp - 8]
call fcn.00401802
lea ecx, [ebp - 0x14]
call fcn.00401802
cmp dword [0x4ca508], 0
je 0x41c57e
push edi
push 0x4c9fe4
lea eax, [ebp - 8]
push 0x45b708
push eax
call fcn.00408ead
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401a95
push eax
lea ecx, [ebp - 4]
call fcn.00401b5d
lea ecx, [ebp - 0x14]
call fcn.00401802
lea ecx, [ebp - 8]
call fcn.00401802
mov edi, 0x458938
push esi
push edi
lea ecx, [ebp - 4]
call fcn.00401c3b
push esi
push edi
lea ecx, [ebp - 4]
call fcn.00401c3b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004017bc
lea ecx, [ebp - 0x10]
call fcn.00401802
lea ecx, [ebp - 0xc]
call fcn.00401802
lea ecx, [ebp - 4]
call fcn.00401802
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 4
Function at 0x41e027
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 0x41e19d
sub eax, 3
jne 0x41e1b4
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 0x69e1
push eax
call fcn.0042b86c
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.00401802
push edi
push edi
push 0x801
push dword [ebp + 0x10]
call esi
lea eax, [ebp - 0xc]
push 0x5dc2
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x2b67
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0xc]
call fcn.00401802
lea eax, [ebp - 0x10]
push 0x69dd
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x2b68
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0x10]
call fcn.00401802
lea eax, [ebp - 0x14]
push 0x69de
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x2b69
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0x14]
call fcn.00401802
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.00409985
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 0x41e15c
push 5
push edi
push edi
push str.taskmgr.exe
push ebx
push edi
call esi
cmp dword [ebp - 4], 0x2b68
jne 0x41e172
push 5
push edi
push edi
push str.perfmon.exe
push ebx
push edi
call esi
cmp dword [ebp - 4], 0x2b69
jne 0x41e18c
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 0x41e1b4
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x41e1b4
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 0x41e1bd
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 0x41e333
sub eax, 3
jne 0x41e34a
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.0042b86c
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.00401802
push edi
push edi
push 0x801
push dword [ebp + 0x10]
call esi
lea eax, [ebp - 0xc]
push 0x5dc2
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x2b67
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0xc]
call fcn.00401802
lea eax, [ebp - 0x10]
push 0x69dd
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x2b68
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0x10]
call fcn.00401802
lea eax, [ebp - 0x14]
push 0x69de
push eax
call fcn.0042b86c
pop ecx
pop ecx
push dword [eax]
push 0x2b69
push edi
push dword [ebp + 0x10]
call esi
lea ecx, [ebp - 0x14]
call fcn.00401802
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.00409985
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 0x41e2f2
push 5
push edi
push edi
push str.taskmgr.exe
push ebx
push edi
call esi
cmp dword [ebp - 4], 0x2b68
jne 0x41e308
push 5
push edi
push edi
push str.perfmon.exe
push ebx
push edi
call esi
cmp dword [ebp - 4], 0x2b69
jne 0x41e322
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 0x41e34a
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x41e34a
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