Function at 0x4030dc
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x427eb5
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x435280]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435280]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x294]
xor eax, eax
mov edi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28c], eax
push 0x124
push eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x58]
push eax
call fcn.004171f0
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebp, eax
mov dword [esp + 0x38], ebp
cmp ebp, 0xffffffff
jne 0x403175
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
jmp 0x4033b0
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x128
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x403397
lea ebp, [esi + 4]
mov dword [esp + 0x44], ebp
xor ecx, ecx
mov al, byte [esp + ecx + 0x70]
mov byte [esp + ecx + 0x174], al
inc ecx
test al, al
jne 0x40319a
lea eax, [esp + 0x174]
push eax
call fcn.004113d0
xor eax, eax
pop ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x2c]
call fcn.004016ab
mov eax, dword [ebp]
mov esi, dword [eax + 4]
jmp 0x4031f4
push dword [esp + 0x28]
lea ecx, [esi + 0x10]
call fcn.004035a4
test eax, eax
jns 0x4031f0
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x24]
jmp 0x4031f8
mov eax, esi
mov esi, dword [esi]
mov dword [esp + 0x24], eax
cmp byte [esi + 0xd], 0
je 0x4031d7
cmp eax, dword [ebp]
je 0x403238
mov ecx, dword [eax + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x40338d
push ecx
push dword [esp + 0x2c]
call fcn.004114ec
test eax, eax
pop ecx
sets al
pop ecx
test al, al
jne 0x403238
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x40]
mov dword [esp + 0x40], eax
jmp 0x403243
mov eax, dword [ebp]
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov esi, dword [esi]
lea ecx, [ecx - 0x10]
call fcn.004014f8
cmp esi, dword [ebp]
jne 0x403270
mov eax, dword [esp + 0x20]
add ebp, 8
inc eax
mov dword [esp + 0x20], eax
cmp eax, 3
jl 0x4031be
jmp 0x403370
call fcn.00401514
push eax
lea ecx, [esp + 0x30]
call fcn.00401a0d
call fcn.00401514
push eax
lea ecx, [esp + 0x34]
call fcn.00401a0d
mov byte [esp + 0x28c], 1
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x174]
push eax
call fcn.0040175b
add esi, 0x14
lea ecx, [esp + 0x2c]
push esi
call fcn.00401710
lea eax, [esp + 0x2c]
cmp eax, edi
jae 0x403313
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x403313
sub eax, ecx
push 0xc
cdq
pop ebp
idiv ebp
mov esi, eax
cmp edi, dword [esp + 0x1c]
jne 0x4032ee
push ecx
lea ecx, [esp + 0x18]
call fcn.0040346e
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
imul eax, esi, 0xc
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
add eax, ecx
mov byte [esp + 0x28c], 2
test edi, edi
je 0x40330f
push eax
mov ecx, edi
call fcn.004039f8
add edi, ebp
jmp 0x40334c
cmp edi, dword [esp + 0x1c]
jne 0x403327
push ecx
lea ecx, [esp + 0x18]
call fcn.0040346e
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x28c], 3
test edi, edi
je 0x403347
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.004039f8
push 0xc
pop eax
add edi, eax
mov byte [esp + 0x28c], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], edi
lea ecx, [ecx - 0x10]
call fcn.004014f8
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.004014f8
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x4c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x403397
mov ebp, dword [esp + 0x44]
jmp 0x403198
push 0x80004005
call fcn.004012d0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 4], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00403448
mov eax, ebx
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00410875
add esp, 0x27c
ret 4