Function at 0x4122a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42beb5
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x43800c]
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
mov dword [ebp - 0x2ac], ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x40], 0
push eax
push 0x4335d8
mov dword [ebp - 0x2a8], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00409f20
xor eax, eax
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x4335d8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409f20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.00410dd0
mov ebx, dword [ebp - 0x40]
add esp, 4
mov edx, dword [ebp - 0x28]
test al, al
je 0x4125b1
test edi, edi
je 0x4125b1
cmp word [edi], 0
je 0x4125b1
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x2a4], ebx
cmp ebx, 0xffffffff
je 0x4125ab
push 0x228
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.00417e70
add esp, 0xc
mov dword [ebp - 0x29c], 0x22c
lea eax, [ebp - 0x29c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4125a4
lea esi, [ebp - 0x278]
mov eax, esi
push 0x5c
push eax
call fcn.00417915
add esp, 8
test eax, eax
je 0x4123dc
lea esi, [eax + 2]
push edi
push esi
call fcn.004179b9
add esp, 8
test eax, eax
je 0x412575
xor eax, eax
mov dword [ebp - 0x70], 0
push eax
push 0x4335d8
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x29d], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00409f20
xor eax, eax
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push 0x4335d8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00409f20
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x294]
lea edx, [ebp - 0x70]
push eax
call fcn.00410dd0
mov edi, dword [ebp - 0x70]
add esp, 4
mov ebx, dword [ebp - 0x58]
test al, al
je 0x4124e3
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x40]
cmovae ecx, edi
cmp dword [ebp - 0x2c], 8
cmovae esi, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x60]
jne 0x4124e3
mov edx, eax
test edx, edx
je 0x4124a4
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4124e3
add ecx, 2
sub edx, 1
jne 0x412493
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae ecx, ebx
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x48]
jne 0x4124e3
mov edx, eax
test edx, edx
je 0x4124ea
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x4124e3
add ecx, 2
sub edx, 1
jne 0x4124d0
jmp 0x4124ea
mov byte [ebp - 0x29d], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x412525
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41251b
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412635
push ecx
push ebx
call fcn.004165af
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x412560
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x412556
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412635
push ecx
push edi
call fcn.004165af
add esp, 8
cmp byte [ebp - 0x29d], 0
jne 0x41258d
mov ebx, dword [ebp - 0x2a4]
mov edi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x29c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4123c2
jmp 0x4125a4
mov ecx, dword [ebp - 0x2ac]
push dword [ebp - 0x294]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x2a4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4125e4
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4125da
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412635
push ecx
push edx
call fcn.004165af
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x412617
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41260d
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412635
push ecx
push ebx
call fcn.004165af
add esp, 8
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.004165a1
mov esp, ebp
pop ebp
ret 8
call fcn.00419a7c
int3