joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4339ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4438f0
cmp edx, dword [eax]
je 0x433a0f
add eax, 8
inc ecx
cmp eax, 0x443980
jl 0x433a00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4438f0]
jne 0x433b3d
mov eax, dword [0x444568]
cmp eax, 1
je 0x433b17
test eax, eax
jne 0x433a40
cmp dword [0x441164], 1
je 0x433b17
cmp edx, 0xfc
je 0x433b3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x433a77
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004332b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004300e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x433aba
lea eax, [ebp - 0x1a4]
push eax
call fcn.004300e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x438b24
push edi
call fcn.00434d00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004332b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004332c0
lea eax, [ebp - 0xa0]
push 0x43f390
push eax
call fcn.004332c0
push dword [esi + 0x4438f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004332c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00434f13
add esp, 0x2c
pop edi
jmp 0x433b3d
lea eax, [ebp + 8]
lea esi, [esi + 0x4438f4]
push 0
push eax
push dword [esi]
call fcn.004300e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402a20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4052a6
push 0x4052ba
push 9
push 0x4052cc
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
mov dword [ebp - 4], 0
push 0x1bc
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x402a6d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6f
jge 0x402a8a
mov eax, dword [ebp - 4]
cdq
mov ecx, 0x6f
idiv ecx
mov eax, dword [ebp - 8]
mov dword [eax + edx*4], 0
jmp 0x402a64
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x402aa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4052f6
push 0x40530c
push 0x8f
push 0x4052cc
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
mov dword [ebp - 4], 0
push 0x1bc
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x402af0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6f
jge 0x402b0d
mov eax, dword [ebp - 4]
cdq
mov ecx, 0x6f
idiv ecx
mov eax, dword [ebp - 8]
mov dword [eax + edx*4], 0
jmp 0x402ae7
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x402c70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4052d4
push 0x4052e6
push 0x77
push 0x4052cc
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x402cb4
or eax, 0xffffffff
jmp 0x402d0b
mov dword [ebp - 4], 0
jmp 0x402cc6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6f
jge 0x402cfd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402cfb
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x402cd8
jmp 0x402cbd
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x402d20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x405320
push 0x405334
push 0xf2
push 0x4052cc
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x402d67
or eax, 0xffffffff
jmp 0x402dc1
mov dword [ebp - 4], 0
jmp 0x402d79
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6f
jge 0x402db3
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402db1
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x120]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x402d8b
jmp 0x402d70
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x403380
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x40511c
push 0x405518
push 0x163
push 0x4054d6
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
movzx eax, byte [0x40703c]
test eax, eax
je 0x4033c8
push 0x405526
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
xor eax, eax
jmp 0x4033f4
call fcn.00404970
call fcn.00404b00
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4033dd
jmp 0x4033f1
mov byte [0x40703c], 1
push 0x40553c
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x403400
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0x40511c
push 0x405554
push 0x185
push 0x4054d6
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
movzx eax, byte [0x40703c]
test eax, eax
jne 0x40343e
push 0x405560
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
jmp 0x40345c
call fcn.00404cd0
call fcn.00404a60
mov byte [0x40703c], 0
push 0x40557e
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
pop ebp
ret
Function at 0x404970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x40511c
push 0x40574e
push 0x27
push 0x405768
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
push 0x4170b4
push 1
push 0
call sub.fwpkclnt.sys_FwpsInjectionHandleCreate0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x404a60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x40511c
push 0x405770
push 0x35
push 0x405768
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
mov eax, dword [0x4170b4]
push eax
call sub.fwpkclnt.sys_FwpsInjectionHandleDestroy0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x404aa9
mov dword [0x4170b4], 0
cmp dword [0x4170b4], 0
je 0x404abb
mov dword [ebp - 8], 1
jmp 0x404ac2
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
je 0x404ae5
push 0
push 0x3b
push 0x405768
push 0x40578c
call dword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [ebp - 0xc], 0
jmp 0x404aec
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x404b00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x40700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x34], 0
push 0x2c
push 0
lea eax, [ebp - 0x30]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0x40511c
push 0x4058b6
push 0xc3
push 0x405768
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
mov dword [ebp - 0x1c], 1
push 0x4170b0
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0xa
push 0
call sub.fwpkclnt.sys_FwpmEngineOpen0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x404b80
jmp 0x404c5a
mov byte [ebp - 0x3d], 1
push 0
mov edx, dword [0x4170b0]
push edx
call sub.fwpkclnt.sys_FwpmTransactionBegin0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x404ba0
jmp 0x404c5a
mov byte [ebp - 0x35], 1
push 0x4170c8
push 0x4170bc
push 0x4014d0
push 0x401500
push 0x401040
push 0x4061a8
push 0x406754
call fcn.00404680
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x404bda
jmp 0x404c5a
push 0x4170d8
push 0x4170d0
push 0x401a80
push 0x401ab0
push 0x401530
push 0x4061b8
push 0x406764
call fcn.00404680
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x404c0d
jmp 0x404c5a
push 0x4170e0
push 0x4170d4
push 0x402310
push 0x402340
push 0x401ae0
push 0x4061c8
push 0x406744
call fcn.00404680
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x404c40
jmp 0x404c5a
mov eax, dword [0x4170b0]
push eax
call sub.fwpkclnt.sys_FwpmTransactionCommit0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x404c56
jmp 0x404c5a
mov byte [ebp - 0x35], 0
cmp dword [ebp - 0x3c], 0
jge 0x404cb3
push 0x405730
push 0x4058b6
push 0x10a
push 0x405768
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
je 0x404c95
mov edx, dword [0x4170b0]
push edx
call sub.fwpkclnt.sys_FwpmTransactionAbort0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x404cb3
mov ecx, dword [0x4170b0]
push ecx
call sub.fwpkclnt.sys_FwpmEngineClose0
mov dword [0x4170b0], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404f14
mov esp, ebp
pop ebp
ret
Function at 0x404cd0
Capabilities:
Delete network filter via wfp api
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0x40511c
push 0x4058cc
push 0x11e
push 0x405768
push 0x405006
call sub.ntoskrnl.exe_DbgPrint
add esp, 0x14
cmp dword [0x4170b0], 0
je 0x404d98
mov eax, dword [0x4170cc]
push eax
mov ecx, dword [0x4170c8]
push ecx
mov edx, dword [0x4170b0]
push edx
call sub.fwpkclnt.sys_FwpmFilterDeleteById0
mov eax, dword [0x4170bc]
push eax
mov ecx, dword [0x4170b0]
push ecx
call sub.fwpkclnt.sys_FwpmCalloutDeleteById0
mov edx, dword [0x4170dc]
push edx
mov eax, dword [0x4170d8]
push eax
mov ecx, dword [0x4170b0]
push ecx
call sub.fwpkclnt.sys_FwpmFilterDeleteById0
mov edx, dword [0x4170d0]
push edx
mov eax, dword [0x4170b0]
push eax
call sub.fwpkclnt.sys_FwpmCalloutDeleteById0
mov ecx, dword [0x4170e4]
push ecx
mov edx, dword [0x4170e0]
push edx
mov eax, dword [0x4170b0]
push eax
call sub.fwpkclnt.sys_FwpmFilterDeleteById0
mov ecx, dword [0x4170d4]
push ecx
mov edx, dword [0x4170b0]
push edx
call sub.fwpkclnt.sys_FwpmCalloutDeleteById0
mov eax, dword [0x4170b0]
push eax
call sub.fwpkclnt.sys_FwpmEngineClose0
mov dword [0x4170b0], 0
mov ecx, dword [0x4170bc]
push ecx
call sub.fwpkclnt.sys_FwpsCalloutUnregisterById0
mov dword [0x4170bc], 0
mov edx, dword [0x4170d0]
push edx
call sub.fwpkclnt.sys_FwpsCalloutUnregisterById0
mov dword [0x4170d0], 0
mov eax, dword [0x4170d4]
push eax
call sub.fwpkclnt.sys_FwpsCalloutUnregisterById0
mov dword [0x4170d4], 0
xor eax, eax
pop ebp
ret

Function at 0x418000
Capabilities:
Create device object
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00418010
pop ebp
jmp fcn.004030e0
Function at 0x401040
Capabilities:
Delete file
Disable system features via registry on windows
Execute command
Persist via winlogon helper dll registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.C:hello.png
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer_
push 0x80000002
mov dword [ebp - 8], 0
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 8]
push 4
push eax
push 4
push 0
push str.UseDefaultTile
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4010e6
push 0x20
push str.C:Windows_system32userinit.exe
push 1
push eax
push str.Userinit
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
call esi
push str.C:WindowsSystem32winnt32.exe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push str.Control_PanelDesktop_
push 0x80000001
call edi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.AutoColorization
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesActiveDesktop_
push 0x80000002
call edi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.NoChangingWallPaper
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
push 0xf003f
push 0
push 0x402128
push 0x80000002
call edi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.EnableLUA
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
call esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push 0x402128
push 0x80000001
call edi
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.DisableTaskmgr
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0xc]
call esi
push str.please_delete_the_userimages_located_in_C:ProgramDataMicrosoftUser_Account_Pictures_and_also_change_the_username
call fcn.00401010
push str.forcing_restart_for_changes_to_take_place
call fcn.00401010
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00401207
mov esp, ebp
pop ebp
ret
Function at 0x401a06
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401a45
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401a45
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401a45
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401a45
cmp dword [ecx + 0x74], 0xe
jbe 0x401a45
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402320
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c613b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa0a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x402422
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x40242c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049a537
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x50f894]
cmp eax, dword [ecx + 4]
jg 0x402436
mov dword [edi + 0x30], 0x4fae5c
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x402c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ae0
push 0x80004005
call fcn.00404ae0
push 0x50f894
call fcn.0049a907
add esp, 4
cmp dword [0x50f894], 0xffffffff
jne 0x4023fa
push 0x4d0a80
mov dword [0x4fae5c], 0x64
mov byte [0x4fae60], 0
call fcn.0049a7bf
push 0x50f894
call fcn.0049a8bd
add esp, 8
jmp 0x4023fa

Function at 0x404560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4045b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4045b9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4045aa
cmp esi, edx
jae 0x4045b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404598
cmp esi, edx
jae 0x4045b9
cmp word [esi], 0
je 0x4045b9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40da70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xf0], 0
je 0x40dad4
mov eax, dword [esi + 0xec]
test eax, eax
je 0x40dad4
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40dad4
mov eax, dword [esi + 0xec]
push ebx
push edi
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x58]
lea edi, [esi + 0x58]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
test eax, eax
je 0x40dad2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop ebx
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x40daee
mov dword [esi + 0xec], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x40db0b
mov dword [esi + 0x68], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x40db1f
mov dword [esi + 0x6c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x40db33
mov dword [esi + 0x70], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40db56
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40db56
mov dword [esi + 0x64], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x413230
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
sub edx, dword [esi + 0x58]
sub ebx, dword [esi + 0x5c]
mov dword [eax], 0
mov eax, dword [esi + 0x138]
mov ecx, dword [esi + 0x134]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], 0
test eax, eax
je 0x41332b
xor edi, edi
push ebx
lea eax, [ecx + 8]
push edx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x4132f5
mov eax, dword [esi + 0x134]
cmp dword [eax + edi + 0x20], 0
je 0x4132f5
push 1
mov dword [ebx], 1
mov eax, dword [esi + 0x134]
push 0
push 0
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x138]
add edi, 0x2c
mov ecx, dword [esi + 0x134]
sub eax, ecx
mov edx, dword [esp + 0xc]
sar eax, 2
inc edx
imul eax, eax, 0xba2e8ba3
mov dword [esp + 0xc], edx
cmp edx, eax
jae 0x413326
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x4132b3
cmp dword [ebx], 0
jne 0x413338
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422cc0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4fa0a8]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x5f7
je 0x422dd4
cmp eax, 0x5f8
je 0x422dd4
cmp eax, 0x201
jne 0x422d1b
mov ecx, dword [esi + 0x138]
push 2
mov eax, dword [ecx]
call dword [eax + 0x158]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049a9dd
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x202
jne 0x422e66
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 4]
add eax, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x422e5e
push 1
call dword [edx + 0x158]
push ecx
mov ecx, esi
call fcn.004215b0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049a9dd
mov esp, ebp
pop ebp
ret 0x14
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov edx, dword [esp + 0x10]
push dword [esp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
push dword [esp + 8]
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x422e5e
push 1
jmp 0x422e60
push 0
call dword [edx + 0x158]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0049a9dd
mov esp, ebp
pop ebp
ret 0x14