Function at 0x416090
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x44a2f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x264], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x240], esi
cmp esi, 0xffffffff
jne 0x4160db
cmp byte [0x44cd20], 0
jne 0x41640d
int3
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push eax
call fcn.004182b0
add esp, 4
mov dword [ebp - 0x250], 0
lea eax, [ebp - 0x250]
push eax
call fcn.004182b0
add esp, 4
mov dword [ebp - 0x260], 0
lea eax, [ebp - 0x260]
push eax
call fcn.004182b0
add esp, 4
mov dword [ebp - 0x258], 0
lea eax, [ebp - 0x258]
push eax
call fcn.004182b0
add esp, 4
mov dword [ebp - 0x244], 0
lea eax, [ebp - 0x244]
push eax
call fcn.004182b0
add esp, 4
mov dword [ebp - 0x24c], 0
lea eax, [ebp - 0x24c]
push eax
call fcn.004182b0
add esp, 4
mov dword [ebp - 0x248], 0
lea eax, [ebp - 0x248]
push eax
call fcn.004182b0
add esp, 4
mov dword [ebp - 0x25c], 0
lea eax, [ebp - 0x25c]
push eax
call fcn.004182b0
add esp, 4
lea eax, [ebp - 0x234]
push 0x228
push 0
push eax
call fcn.004230a0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4161e2
cmp byte [0x44cd20], al
jne 0x416414
int3
mov ebx, esi
jmp 0x4161f0
push dword [ebp - 0x230]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x23c], 0
test esi, esi
je 0x4163d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x264], eax
test ecx, ecx
je 0x41629b
cmp ecx, 0xffffffff
je 0x41629b
call fcn.004182c0
mov ebx, dword [ebp + 4]
mov edi, eax
mov ecx, dword [0x44cd40]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x268], eax
test ecx, ecx
jne 0x41625d
call fcn.004182d0
mov ecx, dword [0x44cd40]
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push edi
push ebx
push edx
push dword [ebp - 0x268]
call dword [eax + 8]
mov ecx, dword [0x44cd40]
mov edi, dword [ebp - 0x23c]
test ecx, ecx
jne 0x41628c
call fcn.004182d0
mov ecx, dword [0x44cd40]
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [ebp - 0x23c], 0
cmp esi, 0xffffffff
je 0x4162d4
mov dword [ebp - 0x23c], esi
call fcn.004182c0
mov ebx, dword [ebp + 4]
mov edi, eax
mov ecx, dword [0x44cd40]
test ecx, ecx
jne 0x4162c5
call fcn.004182d0
mov ecx, dword [0x44cd40]
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push edi
push ebx
push edx
push esi
call dword [eax + 4]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x4163cf
cmp eax, 0xffffffff
je 0x4163cf
mov edi, dword [sym.imp.USER32.dll_GetGuiResources]
push 0
push eax
call edi
push 1
push dword [ebp - 0x23c]
mov esi, eax
call edi
mov ecx, dword [ebp - 0x250]
inc dword [ebp - 0x254]
add dword [ebp - 0x258], eax
add dword [ebp - 0x260], esi
cmp ecx, esi
cmovl ecx, esi
mov dword [ebp - 0x250], ecx
mov ecx, dword [ebp - 0x26c]
cmp ecx, dword [ebp - 0x220]
jne 0x416362
add dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x24c]
inc dword [ebp - 0x244]
add dword [ebp - 0x248], esi
cmp eax, esi
cmovl eax, esi
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x4163cf
cmp eax, 0xffffffff
je 0x4163cf
call fcn.004182c0
mov edi, dword [ebp + 4]
mov esi, eax
mov ecx, dword [0x44cd40]
mov ebx, dword [ebp - 0x23c]
test ecx, ecx
jne 0x416396
call fcn.004182d0
mov ecx, dword [0x44cd40]
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push esi
push edi
push edx
push ebx
call dword [eax + 8]
mov ecx, dword [0x44cd40]
mov esi, dword [ebp - 0x23c]
test ecx, ecx
jne 0x4163c0
call fcn.004182d0
mov ecx, dword [0x44cd40]
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [ebp - 0x23c], 0
mov ebx, dword [ebp - 0x240]
lea eax, [ebp - 0x238]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4161f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x44cd20], 0
jne 0x41641b
int3
push 1
call fcn.00425113
push 1
call fcn.00425113
push 1
call fcn.00425113
int3