Function at 0x421680
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 + 0x18], esi
mov dword [esp + 0x20], edi
cmp esi, edi
je 0x421a49
mov eax, dword [esi + 0x1c8]
cmp eax, 4
jbe 0x421a3b
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 + 0x1c], eax
cmp eax, 0xffffffff
je 0x421a3b
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x78], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x421a28
lea ebx, [ebx]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.004d3920
add esp, 8
cmp dword [esi + 0x1cc], 8
mov dword [esp + 0x2a8], 0
jb 0x421761
mov eax, dword [esi + 0x1b8]
jmp 0x421767
lea eax, [esi + 0x1b8]
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 0x4219ea
mov ebx, ecx
test ecx, ecx
je 0x4217b8
mov eax, ecx
cmp edx, 0x10
jae 0x42179f
lea eax, [esp + 0x58]
cmp eax, ebx
ja 0x4217b8
mov eax, ecx
cmp edx, 0x10
jae 0x4217ae
lea eax, [esp + 0x58]
mov ebp, dword [esp + 0x68]
add eax, ebp
cmp ebx, eax
jbe 0x4217c9
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 0x4217d4
lea eax, [esp + 0x58]
lea edi, [eax + ebp]
test edi, edi
je 0x4217fb
mov eax, ecx
cmp edx, 0x10
jae 0x4217e6
lea eax, [esp + 0x58]
cmp eax, edi
ja 0x4217fb
mov eax, ecx
cmp edx, 0x10
jae 0x4217f5
lea eax, [esp + 0x58]
add eax, ebp
cmp edi, eax
jbe 0x42180c
call fcn.0047b9cb
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
cmp edx, 0x10
jb 0x4219f3
mov esi, ecx
test ecx, ecx
je 0x42183b
mov eax, ecx
cmp edx, 0x10
jae 0x421826
lea eax, [esp + 0x58]
cmp eax, esi
ja 0x42183b
mov eax, ecx
cmp edx, 0x10
jae 0x421835
lea eax, [esp + 0x58]
add eax, ebp
cmp esi, eax
jbe 0x421840
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 + 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 0x4219fc
mov ebx, edx
test edx, edx
je 0x4218a4
mov eax, edx
cmp ecx, 0x10
jae 0x42188b
lea eax, [esp + 0x3c]
cmp eax, ebx
ja 0x4218a4
mov eax, edx
cmp ecx, 0x10
jae 0x42189a
lea eax, [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
add eax, ebp
cmp ebx, eax
jbe 0x4218b5
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 0x4218c0
lea eax, [esp + 0x3c]
lea edi, [eax + ebp]
test edi, edi
je 0x4218e7
mov eax, edx
cmp ecx, 0x10
jae 0x4218d2
lea eax, [esp + 0x3c]
cmp eax, edi
ja 0x4218e7
mov eax, edx
cmp ecx, 0x10
jae 0x4218e1
lea eax, [esp + 0x3c]
add eax, ebp
cmp edi, eax
jbe 0x4218f8
call fcn.0047b9cb
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x421a05
mov esi, edx
test edx, edx
je 0x421927
mov eax, edx
cmp ecx, 0x10
jae 0x421912
lea eax, [esp + 0x3c]
cmp eax, esi
ja 0x421927
mov eax, edx
cmp ecx, 0x10
jae 0x421921
lea eax, [esp + 0x3c]
add eax, ebp
cmp esi, eax
jbe 0x42192c
call fcn.0047b9cb
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
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 0x421968
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x421976
lea eax, [esp + 0x3c]
push ecx
push eax
call fcn.0047c970
add esp, 8
test eax, eax
jne 0x421a0e
cmp dword [esp + 0x50], esi
jb 0x42199b
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 0x4219ce
mov edx, dword [esp + 0x58]
push edx
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x421a28
mov esi, dword [esp + 0x18]
jmp 0x421730
lea ebx, [esp + 0x58]
jmp 0x421794
lea esi, [esp + 0x58]
jmp 0x42181b
lea ebx, [esp + 0x3c]
jmp 0x421880
lea esi, [esp + 0x3c]
jmp 0x421907
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], 1
call fcn.00403df0
lea ecx, [esp + 0x54]
call fcn.00403df0
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x1c8], 0
mov eax, 1
je 0x421a4b
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