Function at 0x421290
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d6e46
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2b0]
xor edi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
cmp esi, edi
je 0x421649
cmp dword [esi + 0x1ac], 4
jbe 0x421649
push 0x228
lea eax, [esp + 0x78]
push edi
push eax
mov dword [esp + 0x7c], edi
call fcn.0047a920
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x421649
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x78], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x421638
jmp 0x421340
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.004d3920
add esp, 8
cmp dword [esi + 0x1b0], 8
mov dword [esp + 0x2a8], 0
jb 0x421371
mov eax, dword [esi + 0x19c]
jmp 0x421377
lea eax, [esi + 0x19c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.004d3da0
add esp, 8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x2a8], 1
cmp edx, 0x10
jb 0x4215fa
mov ebx, ecx
test ecx, ecx
je 0x4213c8
mov eax, ecx
cmp edx, 0x10
jae 0x4213af
lea eax, [esp + 0x58]
cmp eax, ebx
ja 0x4213c8
mov eax, ecx
cmp edx, 0x10
jae 0x4213be
lea eax, [esp + 0x58]
mov ebp, dword [esp + 0x68]
add eax, ebp
cmp ebx, eax
jbe 0x4213d9
call fcn.0047b9cb
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov eax, ecx
cmp edx, 0x10
jae 0x4213e4
lea eax, [esp + 0x58]
lea edi, [eax + ebp]
test edi, edi
je 0x42140b
mov eax, ecx
cmp edx, 0x10
jae 0x4213f6
lea eax, [esp + 0x58]
cmp eax, edi
ja 0x42140b
mov eax, ecx
cmp edx, 0x10
jae 0x421405
lea eax, [esp + 0x58]
add eax, ebp
cmp edi, eax
jbe 0x42141c
call fcn.0047b9cb
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
cmp edx, 0x10
jb 0x421603
mov esi, ecx
test ecx, ecx
je 0x42144b
mov eax, ecx
cmp edx, 0x10
jae 0x421436
lea eax, [esp + 0x58]
cmp eax, esi
ja 0x42144b
mov eax, ecx
cmp edx, 0x10
jae 0x421445
lea eax, [esp + 0x58]
add eax, ebp
cmp esi, eax
jbe 0x421450
call fcn.0047b9cb
mov edx, dword [esp + 0x14]
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x20]
push ecx
push edx
push 0x47bdfa
push ebx
lea eax, [esp + 0x64]
push eax
push edi
lea eax, [esp + 0x40]
push esi
push eax
call fcn.00420940
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
add esp, 0x20
cmp ecx, 0x10
jb 0x42160c
mov ebx, edx
test edx, edx
je 0x4214b4
mov eax, edx
cmp ecx, 0x10
jae 0x42149b
lea eax, [esp + 0x3c]
cmp eax, ebx
ja 0x4214b4
mov eax, edx
cmp ecx, 0x10
jae 0x4214aa
lea eax, [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
add eax, ebp
cmp ebx, eax
jbe 0x4214c5
call fcn.0047b9cb
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp ecx, 0x10
jae 0x4214d0
lea eax, [esp + 0x3c]
lea edi, [eax + ebp]
test edi, edi
je 0x4214f7
mov eax, edx
cmp ecx, 0x10
jae 0x4214e2
lea eax, [esp + 0x3c]
cmp eax, edi
ja 0x4214f7
mov eax, edx
cmp ecx, 0x10
jae 0x4214f1
lea eax, [esp + 0x3c]
add eax, ebp
cmp edi, eax
jbe 0x421508
call fcn.0047b9cb
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x421615
mov esi, edx
test edx, edx
je 0x421537
mov eax, edx
cmp ecx, 0x10
jae 0x421522
lea eax, [esp + 0x3c]
cmp eax, esi
ja 0x421537
mov eax, edx
cmp ecx, 0x10
jae 0x421531
lea eax, [esp + 0x3c]
add eax, ebp
cmp esi, eax
jbe 0x42153c
call fcn.0047b9cb
mov edx, dword [esp + 0x14]
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
push edx
push 0x47bdfa
push ebx
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x48]
push esi
push eax
call fcn.00420940
mov ecx, dword [esp + 0x78]
mov esi, 0x10
add esp, 0x20
cmp dword [esp + 0x6c], esi
jae 0x421578
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x421586
lea eax, [esp + 0x3c]
push ecx
push eax
call fcn.0047c970
add esp, 8
test eax, eax
jne 0x42161e
cmp dword [esp + 0x50], esi
jb 0x4215ab
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004798f2
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x2a8], 0xffffffff
cmp dword [esp + 0x6c], esi
jb 0x4215de
mov edx, dword [esp + 0x58]
push edx
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x421638
mov esi, dword [esp + 0x14]
jmp 0x421340
lea ebx, [esp + 0x58]
jmp 0x4213a4
lea esi, [esp + 0x58]
jmp 0x42142b
lea ebx, [esp + 0x3c]
jmp 0x421490
lea esi, [esp + 0x3c]
jmp 0x421517
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 1
call fcn.00403df0
lea ecx, [esp + 0x54]
call fcn.00403df0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
jmp 0x42164b
mov eax, edi
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.0047a885
add esp, 0x298
ret