Function at 0x51a3d0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5d23a4
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x1f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65d4e4]
xor eax, esp
push eax
lea eax, [esp + 0x20c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ebp
call edx
xor esi, esi
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
mov dword [esp + 0x214], esi
mov dword [esp + 0xe0], 0x128
jne 0x51a51d
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040b040
mov byte [esp + 0x214], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x48]
push str.CreateToolhelp32Snapshot____of_process_
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x48]
call fcn.004094f0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 2
jb 0x51a4a1
mov eax, dword [eax + 4]
jmp 0x51a4a4
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0x93
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0xdc], esi
jb 0x51a4de
mov edx, dword [esp + 0xc8]
push edx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0
call fcn.00409e00
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x51aa34
lea ecx, [esp + 0xe0]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
je 0x51a612
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040b040
mov byte [esp + 0x214], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x48]
push str.Process32First__
push edx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x48]
call fcn.004094f0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 4
jb 0x51a591
mov eax, dword [eax + 4]
jmp 0x51a594
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0x9e
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0xdc], esi
jb 0x51a5ce
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0
call fcn.00409e00
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x51aa34
xor esi, esi
mov eax, dword [esp + 0xe8]
cmp eax, esi
je 0x51aa01
cmp eax, 4
je 0x51aa01
push esi
push 0x62b600
lea ecx, [esp + 0xcc]
mov dword [esp + 0x28], esi
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], esi
mov byte [esp + 0xd0], 0
call fcn.00409790
mov eax, dword [esp + 0xe8]
push eax
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [esp + 0x40], ebx
cmp ebx, esi
mov byte [esp + 0x214], 6
jne 0x51a766
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040b040
mov byte [esp + 0x214], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xe8]
push eax
push 0x5f6508
push ecx
lea edx, [esp + 0x50]
push str.OpenProcess__
push edx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004094f0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 8
jb 0x51a6fb
mov eax, dword [eax + 4]
jmp 0x51a6fe
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0xb6
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x3c], esi
jb 0x51a732
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 6
call fcn.00409e00
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
jmp 0x51a8d3
push ebx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x51a856
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040b040
mov byte [esp + 0x214], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0xec]
push 0x5f6508
push eax
lea ecx, [esp + 0x50]
push str.GetPriorityClass__
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
call fcn.004094f0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 0xa
jb 0x51a7f0
mov eax, dword [eax + 4]
jmp 0x51a7f3
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0xbf
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x3c], esi
jb 0x51a827
mov eax, dword [esp + 0x28]
push eax
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 6
call fcn.00409e00
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005cdcde
add esp, 4
lea edx, [esp + 0xc4]
push edx
push ebx
mov ecx, ebp
call fcn.00519130
cmp dword [esp + 0xd8], 0
je 0x51a8d3
push 1
push 0
push 0x5f4230
lea ecx, [esp + 0xd0]
call fcn.004264e0
cmp eax, 0xffffffff
je 0x51a8d3
mov ecx, dword [esp + 0xd8]
sub ecx, eax
push ecx
add eax, 1
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0xd0]
call fcn.00425ed0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x220], 0xb
call fcn.00407e40
lea ecx, [esp + 0x24]
mov byte [esp + 0x214], 6
call fcn.0040bf30
push 0xe4
call fcn.00595e8d
add esp, 4
test eax, eax
je 0x51a8ef
mov ecx, eax
call fcn.0050c9d0
mov esi, eax
jmp 0x51a8f1
xor esi, esi
test esi, esi
mov dword [esp + 0x14], esi
jne 0x51a92b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xdc], 0x10
mov byte [esp + 0x214], 0
jb 0x51aa01
mov eax, dword [esp + 0xc8]
push eax
call fcn.00595eb8
add esp, 4
jmp 0x51aa01
mov ecx, dword [esp + 0xe8]
lea eax, [esp + 0x104]
mov dword [esi], ecx
lea ecx, [esi + 4]
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x51a941
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.00409790
mov eax, dword [esp + 0xf4]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x40], ecx
mov edx, dword [esp + 0xfc]
push 0xffffffffffffffff
mov dword [esi + 0x44], edx
push 0
lea edx, [esp + 0xcc]
lea ecx, [esi + 0x64]
push edx
mov dword [esi + 0x48], eax
call fcn.00407e40
mov eax, dword [esp + 0xe8]
add esi, 0x20
push esi
push eax
mov ecx, ebp
call fcn.00518710
mov edi, dword [ebp + 8]
mov edx, dword [edi + 4]
lea esi, [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
mov ecx, esi
call fcn.0050ded0
push 1
mov ecx, esi
mov ebp, eax
call fcn.00530bf0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
push ebx
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xdc], 0x10
mov byte [esp + 0x214], 0
jb 0x51a9f9
mov eax, dword [esp + 0xc8]
push eax
call fcn.00595eb8
add esp, 4
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xe0]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x51a610
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push edx
lea ecx, [ebp + 4]
call fcn.00517d50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f4]
xor ecx, esp
call fcn.005b1988
add esp, 0x204
ret