Function at 0x427470
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x44dfa4
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x1f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
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 0x4275bd
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.00404370
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.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x48]
call fcn.004044d0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 2
jb 0x427541
mov eax, dword [eax + 4]
jmp 0x427544
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0x93
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0xdc], esi
jb 0x42757e
mov edx, dword [esp + 0xc8]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0
call fcn.00404450
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x427ad4
lea ecx, [esp + 0xe0]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
je 0x4276b2
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.00404370
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.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x48]
call fcn.004044d0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 4
jb 0x427631
mov eax, dword [eax + 4]
jmp 0x427634
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0x9e
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0xdc], esi
jb 0x42766e
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 0
call fcn.00404450
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x427ad4
xor esi, esi
mov eax, dword [esp + 0xe8]
cmp eax, esi
je 0x427aa1
cmp eax, 4
je 0x427aa1
push esi
push 0x45734d
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.00405b30
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 0x427806
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.00404370
mov byte [esp + 0x214], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xe8]
push eax
push 0x453df0
push ecx
lea edx, [esp + 0x50]
push str.OpenProcess__
push edx
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
push eax
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004044d0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 8
jb 0x42779b
mov eax, dword [eax + 4]
jmp 0x42779e
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0xb6
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x3c], esi
jb 0x4277d2
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 6
call fcn.00404450
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
jmp 0x427973
push ebx
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x4278f6
push 1
push 2
lea ecx, [esp + 0x4c]
call fcn.00404370
mov byte [esp + 0x214], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0xec]
push 0x453df0
push eax
lea ecx, [esp + 0x50]
push str.GetPriorityClass__
push ecx
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
push eax
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
call fcn.004044d0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x214], 0xa
jb 0x427890
mov eax, dword [eax + 4]
jmp 0x427893
add eax, 4
push eax
push str.BaseLib::CProcessManage::Enumerate
push 0xbf
push str..ywSMPpubProcessManage.cpp
push 0x5001
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x3c], esi
jb 0x4278c7
mov eax, dword [esp + 0x28]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x214], 6
call fcn.00404450
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
lea edx, [esp + 0xc4]
push edx
push ebx
mov ecx, ebp
call fcn.00426e70
cmp dword [esp + 0xd8], 0
je 0x427973
push 1
push 0
push 0x4573b4
lea ecx, [esp + 0xd0]
call fcn.00404c50
cmp eax, 0xffffffff
je 0x427973
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.00403e30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x220], 0xb
call fcn.00404b70
lea ecx, [esp + 0x24]
mov byte [esp + 0x214], 6
call fcn.00403ce0
push 0xe4
call fcn.00434747
add esp, 4
test eax, eax
je 0x42798f
mov ecx, eax
call fcn.00414ea0
mov esi, eax
jmp 0x427991
xor esi, esi
test esi, esi
mov dword [esp + 0x14], esi
jne 0x4279cb
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xdc], 0x10
mov byte [esp + 0x214], 0
jb 0x427aa1
mov eax, dword [esp + 0xc8]
push eax
call fcn.00433d63
add esp, 4
jmp 0x427aa1
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 0x4279e1
sub eax, edi
push eax
lea edx, [esp + 0x108]
push edx
call fcn.00405b30
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.00404b70
mov eax, dword [esp + 0xe8]
add esi, 0x20
push esi
push eax
mov ecx, ebp
call fcn.00426820
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.0042c340
push 1
mov ecx, esi
mov ebp, eax
call fcn.00425d70
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 0x427a99
mov eax, dword [esp + 0xc8]
push eax
call fcn.00433d63
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 0x4276b0
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push edx
lea ecx, [ebp + 4]
call fcn.004261e0
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.00433d68
add esp, 0x204
ret