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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a35c1
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x100c60c0]
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.1002f5b0
test eax, eax
je 0x1002ec49
lea eax, [ebp - 0x240]
mov dword [ebp - 0x248], 0
push eax
call fcn.10012580
mov ecx, eax
call fcn.1000fb50
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 0x1002eaac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x1002ec36
call fcn.10009700
mov ecx, eax
test ecx, ecx
je 0x1002ed72
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 0x1002eaf1
movzx eax, ax
push eax
call fcn.10010070
jmp 0x1002eafb
push str.winlogon.exe
call fcn.1002fa80
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 0x1002eb1f
xor ebx, ebx
jmp 0x1002ec06
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.1007dc10
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 0x1002eb5e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x1002ec06
xor ebx, ebx
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1008b28f
add esp, 8
test eax, eax
je 0x1002eb87
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1002eb60
jmp 0x1002ebff
push dword [ebp - 0x234]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x240], eax
test eax, eax
je 0x1002ebff
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 0x1002ebd9
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002ebff
lea eax, [ebp - 0x260]
push eax
call fcn.1002e960
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 0x1002ec25
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x1002ec36
mov eax, dword [ebp - 0x248]
xor edx, edx
jmp 0x1002ed56
lea eax, [ebp - 0x248]
push eax
call fcn.1002eda0
add esp, 4
test eax, eax
jne 0x1002ec29
call fcn.1002f5b0
test eax, eax
je 0x1002ece4
mov byte [ebp - 0x241], 0
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 2
push eax
call fcn.1003079d
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 0x10010270
push 0x100c98a4
call fcn.10030b03
add esp, 0x10
test eax, eax
je 0x1002ed16
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 4
push eax
call fcn.100307d7
mov ecx, dword [0x100c98a0]
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0x100a83e4
push str.csmt_fail
call fcn.10036b30
lea eax, [ebp - 0x250]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x250], xmm0
call fcn.1008bf6b
mov eax, dword [ebp - 0x250]
add esp, 4
and eax, dword [ebp - 0x24c]
cmp eax, 0xffffffff
jne 0x1002ed33
or eax, eax
or edx, 0xffffffff
jmp 0x1002ed56
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 5
push eax
call fcn.100307f8
add esp, 4
mov byte [ebp - 4], 3
test al, al
je 0x1002ed92
jmp 0x1002ed7c
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.1003ff0d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009480
sub esp, 8
lea eax, [ebp - 0x258]
mov ecx, esp
push eax
call fcn.1000b750
call fcn.10010230
call fcn.10030b41
int3