Function at 0x42ce48
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x834
lea ebp, [esp - 4]
mov eax, dword [0x498fa4]
xor eax, ebp
mov dword [ebp + 0x834], eax
push 0x78
mov eax, 0x46df62
call fcn.0045c3cf
mov esi, ecx
lea eax, [esi + 0x1c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], esi
test ecx, 0xfffffff0
je 0x42ce87
call fcn.0042d1fc
call fcn.0040a7a8
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.0041315f
test al, al
jne 0x42cee3
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0040aa9e
mov edi, dword [eax + 0x10]
lea esi, [ebp - 0x20]
call fcn.00413113
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x834]
xor ecx, ebp
call fcn.00457fc4
add ebp, 0x838
leave
ret
push 0x228
lea eax, [ebp + 4]
push edi
push eax
call fcn.00458750
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42cea8
lea eax, [ebp - 0x70]
push eax
call fcn.00411d16
mov byte [ebp - 4], 1
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401b81
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x70]
call fcn.00425bb4
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [ebp - 0x58]
test ecx, ecx
je 0x42cf46
cmp ecx, dword [ebp - 0x70]
je 0x42cf4b
call fcn.0045850c
cmp esi, edi
jne 0x42d0fb
push 1
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401f16
lea esi, [ebp - 0x50]
call fcn.0042d72e
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00401f16
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
lea edi, [ebp - 0x84]
lea ebx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00425829
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00402595
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.00402595
mov dword [ebp - 4], 2
push dword [ebp + 8]
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0041315f
test al, al
je 0x42d024
xor eax, eax
push 0x604
mov word [ebp + 0x22c], ax
lea eax, [ebp + 0x22e]
push edi
push eax
call fcn.00458750
add esp, 0xc
push 0x303
lea eax, [ebp + 0x22c]
push eax
push edi
push dword [ebp - 0x18]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42d024
lea eax, [ebp + 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004020ce
push dword [ebp - 0x14]
lea esi, [ebp - 0x38]
call fcn.0040f31c
lea esi, [ebp - 0x30]
call fcn.0042ca67
mov byte [ebp - 4], 9
push dword [ebp - 0x14]
mov eax, esi
push eax
call fcn.0042cb04
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040f34c
mov byte [ebp - 4], 0xa
push dword [eax]
mov eax, esi
call fcn.0042cab6
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00402595
cmp dword [ebp - 0x28], edi
jne 0x42d09d
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040f3a7
mov byte [ebp - 4], 0xb
push dword [eax]
mov eax, esi
call fcn.0042cab6
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.00402595
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x30]
call fcn.0042cb35
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x42d0b3
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x1c
mov byte [ebp - 4], 0xc
call fcn.0042d194
mov esi, 0x22c
push esi
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 4], 9
call fcn.00458750
mov dword [ebp], esi
add esp, 0xc
lea esi, [ebp - 0x30]
call fcn.00410683
lea esi, [ebp - 0x38]
call fcn.0040f339
lea esi, [ebp - 0x18]
call fcn.00413113
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402595
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42cf19
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 0x10]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0
call fcn.0042d238
jmp 0x42ceb6