Function at 0x52f830
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x5df054
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x1f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
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 edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp ebx, 0xffffffff
mov dword [esp + 0x214], edi
mov dword [esp + 0xe0], 0x128
jne 0x52f97d
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040a750
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.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x48]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 2
jb 0x52f901
mov eax, dword [eax + 4]
jmp 0x52f904
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0x93
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0xdc], esi
jb 0x52f93e
mov edx, dword [esp + 0xc8]
push edx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0
call fcn.00409510
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x52feb5
lea ecx, [esp + 0xe0]
push ecx
push ebx
call sub.KERNEL32.dll_Process32First
cmp eax, 1
je 0x52fa6c
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040a750
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.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x48]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 4
jb 0x52f9f1
mov eax, dword [eax + 4]
jmp 0x52f9f4
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0x9e
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0xdc], esi
jb 0x52fa2e
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0
call fcn.00409510
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x52feb5
mov eax, dword [esp + 0xe8]
cmp eax, edi
je 0x52fe7e
cmp eax, 4
je 0x52fe7e
push edi
push 0x63a990
lea ecx, [esp + 0xcc]
mov dword [esp + 0x24], edi
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
call fcn.00408ea0
mov eax, dword [esp + 0xe8]
push eax
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [esp + 0x40], ebx
cmp ebx, edi
mov byte [esp + 0x214], 6
jne 0x52fbc0
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040a750
mov byte [esp + 0x214], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xe8]
push eax
push 0x604310
push ecx
lea edx, [esp + 0x50]
push str.OpenProcess__
push edx
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 8
jb 0x52fb55
mov eax, dword [eax + 4]
jmp 0x52fb58
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0xb6
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0x3c], esi
jb 0x52fb8c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 6
call fcn.00409510
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
jmp 0x52fd2a
push ebx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
cmp eax, edi
mov dword [esp + 0x1c], eax
jne 0x52fcb0
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.0040a750
mov byte [esp + 0x214], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0xec]
push 0x604310
push eax
lea ecx, [esp + 0x50]
push str.GetPriorityClass__
push ecx
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
push eax
call fcn.00409270
add esp, 8
mov ecx, eax
call fcn.00419990
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
call fcn.00408c00
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 0xa
jb 0x52fc4a
mov eax, dword [eax + 4]
jmp 0x52fc4d
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0xbf
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0x3c], esi
jb 0x52fc81
mov eax, dword [esp + 0x28]
push eax
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 6
call fcn.00409510
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
lea edx, [esp + 0xc4]
push edx
push ebx
mov ecx, ebp
call fcn.0052e590
cmp dword [esp + 0xd8], edi
je 0x52fd2a
push 1
push edi
push 0x60114c
lea ecx, [esp + 0xd0]
call fcn.00425830
cmp eax, 0xffffffff
je 0x52fd2a
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.00425380
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x220], 0xb
call fcn.00407630
lea ecx, [esp + 0x24]
mov byte [esp + 0x214], 6
call fcn.0040b640
push 0x108
call fcn.005a1aed
mov esi, eax
add esp, 4
cmp esi, edi
je 0x52fd6e
mov dword [esi], edi
mov dword [esi + 0x18], edi
mov eax, 0xf
mov dword [esi + 0x1c], eax
mov byte [esi + 8], 0
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], edi
mov byte [esi + 0x24], 0
lea ecx, [esi + 0x4c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call fcn.004155f0
jmp 0x52fd70
xor esi, esi
cmp esi, edi
mov dword [esp + 0x14], esi
jne 0x52fdaa
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xdc], 0x10
mov byte [esp + 0x214], 0
jb 0x52fe7e
mov eax, dword [esp + 0xc8]
push eax
call fcn.005a1b1d
add esp, 4
jmp 0x52fe7e
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 0x52fdc0
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.00408ea0
mov eax, dword [esp + 0xf4]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0x1c]
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.00407630
mov eax, dword [esp + 0xe8]
add esi, 0x20
push esi
push eax
mov ecx, ebp
call fcn.0052db70
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.00538770
push 1
mov ecx, esi
mov ebp, eax
call fcn.0053cad0
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 0x52fe78
mov eax, dword [esp + 0xc8]
push eax
call fcn.005a1b1d
add esp, 4
mov ebp, dword [esp + 0x18]
xor edi, edi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0xe0]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x52fa6c
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push edx
lea ecx, [ebp + 4]
call fcn.0052d1b0
push esi
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.005bd2d7
add esp, 0x204
ret