Function at 0x10028990
Capabilities:
Enumerate processes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a671
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x100bd0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10029520
test eax, eax
je 0x10028bb9
lea eax, [ebp - 0x240]
mov dword [ebp - 0x248], 0
push eax
call fcn.1000ffb0
mov ecx, eax
call fcn.1000d630
push dword [eax]
push 0
push str.winlogon_ingore
push str.arctrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x240]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10028a1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x10028ba6
call fcn.100087b0
mov ecx, eax
test ecx, ecx
je 0x10028ce2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x240], eax
mov eax, str.winlogon.exe
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x240]
test eax, 0xffff0000
jne 0x10028a61
movzx eax, ax
push eax
call fcn.1000daa0
jmp 0x10028a6b
push str.winlogon.exe
call fcn.100299f0
push 0
push 2
mov dword [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [ebp - 0x240]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10028a8f
xor ebx, ebx
jmp 0x10028b76
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.10074cb0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x10028ace
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x10028b76
xor ebx, ebx
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1008232f
add esp, 8
test eax, eax
je 0x10028af7
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10028ad0
jmp 0x10028b6f
push dword [ebp - 0x234]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x240], eax
test eax, eax
je 0x10028b6f
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x10028b49
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10028b6f
lea eax, [ebp - 0x260]
push eax
call fcn.100288d0
add esp, 4
mov dword [ebp - 0x248], eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10028b95
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x10028ba6
mov eax, dword [ebp - 0x248]
xor edx, edx
jmp 0x10028cc6
lea eax, [ebp - 0x248]
push eax
call fcn.10028d10
add esp, 4
test eax, eax
jne 0x10028b99
call fcn.10029520
test eax, eax
je 0x10028c54
mov byte [ebp - 0x241], 0
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 2
push eax
call fcn.1002a70d
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 3
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x241]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x260]
push eax
push 0x1000dca0
push 0x100c03ac
call fcn.1002aa73
add esp, 0x10
test eax, eax
je 0x10028c86
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 4
push eax
call fcn.1002a747
mov ecx, dword [0x100c03a8]
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0x1009f3e4
push str.csmt_fail
call fcn.10030860
lea eax, [ebp - 0x250]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x250], xmm0
call fcn.1008300b
mov eax, dword [ebp - 0x250]
add esp, 4
and eax, dword [ebp - 0x24c]
cmp eax, 0xffffffff
jne 0x10028ca3
or eax, eax
or edx, 0xffffffff
jmp 0x10028cc6
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 5
push eax
call fcn.1002a768
add esp, 4
mov byte [ebp - 4], 3
test al, al
je 0x10028d02
jmp 0x10028cec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, dword [ebp - 0x250]
shr edx, 6
sub eax, edx
mov edx, dword [ebp - 0x24c]
sbb edx, 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100395fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10008530
sub esp, 8
lea eax, [ebp - 0x258]
mov ecx, esp
push eax
call fcn.1000a400
call fcn.1000dc60
call fcn.1002aab1
int3