Function at 0x427a00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5f33
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x558]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov edi, ecx
mov dword [esp + 0x18], ebx
cmp dword [eax + 0x10], ebx
je 0x427c03
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, 0xffffffff
jne 0x427c0a
push 1
push 2
lea ecx, [esp + 0x2c]
call fcn.00413cc0
mov dword [esp + 0x560], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [esp + 0x2c]
push str.CreateToolhelp32Snapshot_FAILED._GetLastError:
push eax
call fcn.00416b90
add esp, 0xc
push eax
call fcn.004135f0
push 0x20
mov esi, 0xf
push str.CProcUtility::GetProcessIDByName
lea ecx, [esp + 0x2f8]
mov dword [esp + 0x30c], esi
mov dword [esp + 0x308], ebx
mov byte [esp + 0x2f8], bl
call fcn.0040ebe0
mov byte [esp + 0x560], 1
push esi
push str.ProcUtility.cpp
lea ecx, [esp + 0x314]
mov dword [esp + 0x328], esi
mov dword [esp + 0x324], ebx
mov byte [esp + 0x314], bl
call fcn.0040ebe0
mov byte [esp + 0x560], 2
lea ecx, [esp + 0x328]
push ecx
lea ecx, [esp + 0x28]
call fcn.00413de0
mov byte [esp + 0x560], 3
push eax
lea edx, [esp + 0x2f4]
push edx
push 0x4b
lea eax, [esp + 0x318]
push eax
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x560], 2
cmp dword [esp + 0x33c], 8
jb 0x427b63
mov ecx, dword [esp + 0x328]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [esp + 0x33c], 7
mov dword [esp + 0x338], ebx
mov word [esp + 0x328], dx
mov byte [esp + 0x560], 1
mov edi, 0x10
cmp dword [esp + 0x320], edi
jb 0x427ba5
mov eax, dword [esp + 0x30c]
push eax
call fcn.00490458
add esp, 4
mov dword [esp + 0x320], esi
mov dword [esp + 0x31c], ebx
mov byte [esp + 0x30c], bl
mov byte [esp + 0x560], bl
cmp dword [esp + 0x304], edi
jb 0x427bda
mov ecx, dword [esp + 0x2f0]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0x304], esi
mov dword [esp + 0x300], ebx
mov byte [esp + 0x2f0], bl
mov dword [esp + 0x560], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00412cc0
xor eax, eax
jmp 0x427f61
lea edx, [esp + 0xbc]
push edx
push esi
mov dword [esp + 0xc4], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x427dbc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 2
lea ecx, [esp + 0x2c]
call fcn.00413cc0
mov dword [esp + 0x560], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [esp + 0x2c]
push str.Process32FirstW_FAILED._The_specified_process_is_a_64_bit_process_and_the_caller_is_a_32_bit_process._GetLastError:
push eax
call fcn.00416b90
add esp, 0xc
push eax
call fcn.004135f0
push 0x20
mov esi, 0xf
push str.CProcUtility::GetProcessIDByName
lea ecx, [esp + 0x314]
mov dword [esp + 0x328], esi
mov dword [esp + 0x324], ebx
mov byte [esp + 0x314], bl
call fcn.0040ebe0
mov byte [esp + 0x560], 5
push esi
push str.ProcUtility.cpp
lea ecx, [esp + 0x2f8]
mov dword [esp + 0x30c], esi
mov dword [esp + 0x308], ebx
mov byte [esp + 0x2f8], bl
call fcn.0040ebe0
mov byte [esp + 0x560], 6
lea ecx, [esp + 0x328]
push ecx
lea ecx, [esp + 0x28]
call fcn.00413de0
mov byte [esp + 0x560], 7
push eax
lea edx, [esp + 0x310]
push edx
push 0x54
lea eax, [esp + 0x2fc]
push eax
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x560], 6
cmp dword [esp + 0x33c], 8
jb 0x427d2a
mov ecx, dword [esp + 0x328]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [esp + 0x33c], 7
mov dword [esp + 0x338], ebx
mov word [esp + 0x328], dx
mov byte [esp + 0x560], 5
mov edi, 0x10
cmp dword [esp + 0x304], edi
jb 0x427d6c
mov eax, dword [esp + 0x2f0]
push eax
call fcn.00490458
add esp, 4
mov dword [esp + 0x304], esi
mov dword [esp + 0x300], ebx
mov byte [esp + 0x2f0], bl
mov byte [esp + 0x560], 4
cmp dword [esp + 0x320], edi
jb 0x427da2
mov ecx, dword [esp + 0x30c]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0x320], esi
mov dword [esp + 0x31c], ebx
mov byte [esp + 0x30c], bl
jmp 0x427bef
lea edx, [esp + 0xbc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x427f56
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xe0]
push eax
call fcn.0040f1e0
push eax
call fcn.00493482
add esp, 8
test eax, eax
jne 0x427f32
cmp dword [edi + 0x10], ebx
je 0x427f4b
mov ecx, dword [esp + 0xc4]
push ecx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x427f2e
push 0x206
lea eax, [esp + 0x34a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x350], dx
call fcn.004911e0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x348]
push ecx
push ebx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x427f2e
xor edx, edx
lea eax, [esp + 0x344]
mov word [esp + 0x2f0], dx
mov dword [esp + 0x304], 7
mov dword [esp + 0x300], ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x427e80
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x348]
push eax
lea ecx, [esp + 0x2f8]
call fcn.0040e680
mov eax, 8
mov dword [esp + 0x560], eax
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], eax
jb 0x427ebc
mov eax, dword [edi]
jmp 0x427ebe
mov eax, edi
push ecx
push ebx
push eax
lea ecx, [esp + 0x2fc]
call fcn.0041a490
cmp eax, 0xffffffff
sete byte [esp + 0x17]
mov dword [esp + 0x560], 0xffffffff
cmp dword [esp + 0x304], 8
jb 0x427efa
mov ecx, dword [esp + 0x2f0]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [esp + 0x304], 7
mov dword [esp + 0x300], ebx
mov word [esp + 0x2f0], dx
cmp byte [esp + 0x17], bl
jne 0x427f2e
mov eax, dword [esp + 0xc4]
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0xbc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x427dd3
jmp 0x427f56
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x18], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x558]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret