Function at 0x410ff0
Capabilities:
Enumerate processes
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x43b077
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x44aba4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44aba4]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov eax, dword [esp + 0x184]
push 0
push 2
mov dword [esp + 0x2c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x41105c
push str.GetAllProcess
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x4112e9
push 0x124
lea ecx, [esp + 0x4c]
push 0
push ecx
call fcn.00424670
add esp, 0xc
push 0x440d84
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0x128
call fcn.0040de10
push 0x440d84
lea ecx, [esp + 0x18]
mov dword [esp + 0x180], 0
call fcn.0040de10
mov ebx, 1
push 0x443118
mov byte [esp + 0x180], bl
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [esp + 0x44]
push edx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41128d
lea esp, [esp]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x20]
push 0x443128
push eax
call fcn.00415760
mov ecx, dword [esp + 0x28]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040de10
mov byte [esp + 0x17c], 2
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41113a
cmp eax, dword [esi]
jne 0x41113a
mov edi, esi
mov eax, ebx
lock xadd dword [ecx], eax
jmp 0x41116f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ebx
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x411311
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00420a3e
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], bl
mov byte [esp + 0x17c], 3
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
lea esi, [eax - 0x10]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4111a6
cmp eax, dword [esi]
jne 0x4111a6
mov edi, esi
mov edx, ebx
lock xadd dword [ecx], edx
jmp 0x4111db
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ebx
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x411311
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
lea ecx, [esi + 0x10]
push ecx
push eax
lea edx, [edi + 0x10]
push edx
call fcn.00420a3e
add esp, 0x10
lea ebp, [edi + 0x10]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x2c], bl
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
lea edi, [esp + 0x3c]
mov byte [esp + 0x180], 4
call fcn.00413830
lea eax, [ebp - 0x10]
mov byte [esp + 0x17c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411224
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x17c], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411245
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x17c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41126d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
mov ebx, 1
jne 0x4110d0
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x17c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x17c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.004200b3
add esp, 0x16c
ret
jmp fcn.0040dc10