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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100655e8
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x1008c180]
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.1001e920
test eax, eax
je 0x1001df99
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], 0
push eax
call fcn.1000d420
mov ecx, eax
call fcn.1000ac10
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 0x1001ddfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x1001df86
call fcn.10007340
mov ecx, eax
test ecx, ecx
je 0x1001e0f7
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 0x1001de41
movzx eax, ax
push eax
call fcn.1000afc0
jmp 0x1001de4b
push str.winlogon.exe
call fcn.1001edf0
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 0x1001de6f
xor ebx, ebx
jmp 0x1001df56
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.10040b90
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 0x1001deae
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x1001df56
xor ebx, ebx
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.1004dcff
add esp, 8
test eax, eax
je 0x1001ded7
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001deb0
jmp 0x1001df4f
push dword [ebp - 0x234]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x240], eax
test eax, eax
je 0x1001df4f
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x24c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
jne 0x1001df29
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001df4f
lea eax, [ebp - 0x24c]
push eax
call fcn.1001dc90
add esp, 4
mov dword [ebp - 0x244], 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 0x1001df75
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x1001df86
mov eax, dword [ebp - 0x244]
xor edx, edx
jmp 0x1001e0db
lea eax, [ebp - 0x244]
push eax
call fcn.1001e110
add esp, 4
test eax, eax
jne 0x1001df79
call fcn.1001e920
test eax, eax
je 0x1001e086
mov ecx, dword [0x1008dd94]
test ecx, ecx
jne 0x1001e00d
push 0x10082004
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1008dd94], 0
jne 0x1001dff4
push 0x1c
call fcn.10026fbc
mov esi, eax
add esp, 4
mov dword [ebp - 0x248], esi
test esi, esi
je 0x1001dfec
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x1001dfee
xor esi, esi
mov dword [0x1008dd94], esi
push 0x10082004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x1008dd94]
test ecx, ecx
jne 0x1001e00d
xor eax, eax
jmp 0x1001e06f
mov eax, dword [0x1008dd90]
test eax, eax
jne 0x1001e06f
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x1008dd90], 0
jne 0x1001e05f
push 4
call fcn.10026fbc
add esp, 4
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1001e04a
mov ecx, eax
call fcn.10022910
mov ecx, eax
jmp 0x1001e04c
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x248], eax
mov dword [0x1008dd90], ecx
mov eax, dword [0x1008dd94]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x1008dd90]
push 0
push 0
push 0
push 0x10069374
push str.csmt_fail
mov ecx, eax
call fcn.100229e0
lea eax, [ebp - 0x254]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x254], xmm0
call fcn.1004eaf8
mov eax, dword [ebp - 0x254]
add esp, 4
and eax, dword [ebp - 0x250]
cmp eax, 0xffffffff
jne 0x1001e0b8
or eax, eax
or edx, 0xffffffff
jmp 0x1001e0db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, dword [ebp - 0x254]
shr edx, 6
sub eax, edx
mov edx, dword [ebp - 0x250]
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.1002735f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100070c0
int3