Function at 0x4168b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591ad4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7f0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0x3f
push 0x5ac2a0
lea ecx, [ebp - 0x20]
call fcn.00416750
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00579f60
add esp, 8
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x416948
push 0
lea ecx, [ebp - 0x1c]
call fcn.00579cc0
mov byte [ebp - 4], 3
mov eax, dword [edi + 4]
test eax, eax
je 0x416925
cmp eax, 0xffffffff
jae 0x416925
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00579ce8
and esi, edi
je 0x416948
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx]
call eax
push str.SCScheduler_320
call fcn.0043c120
add esp, 4
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x50], 0xff
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00469a20
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, ebx
call fcn.00466b99
push 0
call fcn.00469850
test eax, eax
jne 0x4169b8
push 0xffffffffffffffff
push eax
push 0x68
call fcn.00455074
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00415f40
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0046964a
test eax, eax
jne 0x4169ed
push 0xffffffffffffffff
push eax
push 0x64
call fcn.00455074
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00415f40
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00469025
add esp, 4
push str.StaffCop_Scheduler_Started
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x416a57
push 0
push str.SCScheduler_320
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x416996
push 5
push esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
call edi
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x416996
push 9
push esi
call edi
jmp 0x416996
call fcn.00434ab0
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 4
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.00439b50
mov ecx, eax
call fcn.0043add0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00434790
mov dword [ebp - 4], 2
jmp 0x416aa2
call fcn.00428f70
test eax, eax
je 0x416c25
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
or esi, 0xffffffff
cmp edi, esi
je 0x416bdd
push 0x22c
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.005545b0
add esp, 0xc
mov dword [ebp - 0x2cc], 0x22c
lea ecx, [ebp - 0x2cc]
push ecx
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
setne bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1c], eax
test bl, bl
je 0x416b36
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x2c4]
jne 0x416b17
mov esi, dword [ebp - 0x2b4]
mov dword [ebp - 0x2cc], 0x22c
test esi, esi
jne 0x416b36
lea eax, [ebp - 0x2cc]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x416b06
mov ecx, dword [ebp - 0x2b4]
push ecx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x416bd7
push 0x104
lea edx, [ebp - 0x4d4]
push edx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x416bd7
mov dword [ebp - 0x20], 0x5c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x4d4]
push ecx
call fcn.00555423
add esp, 8
test eax, eax
je 0x416b9e
mov esi, eax
lea edx, [ebp - 0x20]
push edx
push 0
call fcn.00555423
add esp, 8
test eax, eax
jne 0x416b88
jmp 0x416ba1
mov esi, dword [ebp - 0x24]
mov ecx, str.StaffCop.exe
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416bce
test dx, dx
je 0x416bca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416bce
add eax, 4
add ecx, 4
test dx, dx
jne 0x416ba8
xor eax, eax
jmp 0x416bd3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x416c22
mov ebx, dword [ebp - 0x18]
or esi, 0xffffffff
push 0
lea ecx, [ebp - 0x4c0]
call fcn.0040e850
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c0]
call fcn.004558b3
cmp eax, 2
jne 0x416c05
push 1
call fcn.005553bb
cmp eax, 1
je 0x416c11
push 1
call fcn.005553bb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c0]
call fcn.0040e7d0
jmp 0x416c28
mov ebx, dword [ebp - 0x18]
or esi, 0xffffffff
push 0
lea ecx, [ebp - 0x7fc]
call fcn.00426d50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x7fc]
call fcn.004558b3
cmp eax, 1
jne 0x416d60
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0xb
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x48], eax
call fcn.0044abc7
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
call fcn.0044abc7
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x38], eax
call fcn.0044abc7
mov eax, dword [eax + 0xc]
push 0x7f00
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], str.SCScheduler_320
lea edx, [ebp - 0x4c]
push edx
call fcn.00452fa0
test eax, eax
je 0x416d60
push 0x8c
call fcn.00448ee2
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x416d10
push 0x5a8fc0
push 0x5aa068
push 0x5abeb0
push 0x80
mov ecx, eax
call fcn.004684ef
jmp 0x416d12
xor eax, eax
mov byte [ebp - 4], 8
test eax, eax
je 0x416d60
push eax
mov ecx, ebx
call fcn.00467f21
lea ecx, [ebp - 0x84]
call fcn.00415a80
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x84]
push eax
mov ecx, ebx
call fcn.00465cb6
lea ecx, [ebp - 0x84]
push ecx
mov ecx, ebx
call fcn.00467d71
test eax, eax
jne 0x416d77
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
call fcn.0046661e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7fc]
call fcn.00426b40
mov dword [ebp - 4], esi
jmp 0x41699d
cmp dword [0x617a70], 0
jne 0x416e18
lea ecx, [ebp - 0x18]
call fcn.00401c00
mov byte [ebp - 4], 0xc
mov edx, dword [0x617b54]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.TRIAL_VERSION.__d_days_left
call fcn.00405050
mov byte [ebp - 4], 0xd
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.MAINWINDOW_UNREG
call fcn.00405050
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
call fcn.00433490
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x416de2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.004021f0
add esp, 0xc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa0]
call fcn.00401cb0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebx + 0x20]
call fcn.00453f83
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.00401c60
jmp 0x416e25
push str.StaffCop_Scheduler
mov ecx, dword [ebx + 0x20]
call fcn.00453f83
mov ecx, dword [ebx + 0x20]
cmp byte [ebp - 0x58], 0
je 0x416e32
push 0
jmp 0x416e36
mov eax, dword [ebx + 0x4c]
push eax
call fcn.0045404e
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + 0x20]
mov dword [section..shr], eax
call fcn.00406e40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
call fcn.0046661e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7fc]
call fcn.00426b40
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
call fcn.00415f40
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret