Function at 0x41bca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x446004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x44c], 0x104
mov dword [ebp - 0x450], 0
mov dword [ebp - 0xc], 0x6c6c754e
mov dword [ebp - 8], 0x74666f73
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x228
mov ebx, eax
lea eax, [ebp - 0x444]
push 0
push eax
call fcn.00420360
add esp, 0xc
mov dword [ebp - 0x448], 0x22c
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x41bfab
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41bd4a
cmp dword [ebp - 0x440], ebx
je 0x41bd44
lea eax, [ebp - 0x448]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41bd28
jmp 0x41bd4a
mov edi, dword [ebp - 0x430]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41bfab
push edi
push ebx
push str.id_u__u
call fcn.00414230
add esp, 0xc
push edi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41bd8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_OpenProcess_for__u__u
jmp 0x41bfb8
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x41bdbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Failed_to_QueryFullProcessImageName_for__u__u
jmp 0x41bfb8
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
lea eax, [ebp - 0x218]
push eax
push str.PPath:__ls_
call fcn.00414230
add esp, 8
lea eax, [ebp - 0x218]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x45c], esi
cmp esi, 0xffffffff
jne 0x41be2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_file__u
call fcn.00414230
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ee2e
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
shr eax, 0xa
push eax
push ecx
push str.PSize:__u__uKB_
mov dword [ebp - 0x44c], ecx
call fcn.00414230
add esp, 0xc
cmp dword [ebp - 0x44c], 0x800000
jb 0x41bf72
push 0x100000
call fcn.004237fe
mov ebx, eax
add esp, 4
mov dword [ebp - 0x450], ebx
test ebx, ebx
je 0x41bf72
push 0
lea eax, [ebp - 0x44c]
push eax
push 0x100000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41bedd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_readfile__u
call fcn.00414230
push 0
push str.Lunch_main_process__d
call fcn.00414230
add esp, 0x10
push esi
call edi
mov eax, dword [ebp - 0x450]
xor ebx, ebx
push eax
call fcn.004235fd
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ee2e
mov esp, ebp
pop ebp
ret
mov edi, 0x10
mov esi, ebx
sub edi, ebx
xor ebx, ebx
mov dword [ebp - 0x454], edi
nop
test ebx, ebx
jne 0x41bf64
cmp dword [esi], 0x6d783f3c
jne 0x41bf57
cmp dword [esi + 4], 0x6576206c
jne 0x41bf57
xor edx, edx
mov eax, esi
nop dword [eax]
lea ecx, [edi + eax]
cmp ecx, 0x100000
jge 0x41bf57
mov ecx, dword [eax]
lea edi, [ebp - 0xc]
cmp ecx, dword [edi]
mov edi, dword [ebp - 0x454]
jne 0x41bf3b
mov ecx, dword [eax + 4]
lea edi, [ebp - 0xc]
cmp ecx, dword [edi + 4]
mov edi, dword [ebp - 0x454]
je 0x41bf47
inc edx
inc eax
cmp edx, 0x400
jl 0x41bf10
jmp 0x41bf57
mov dword [ebp - 0x458], 1
mov ebx, dword [ebp - 0x458]
add esi, 0x10
lea eax, [esi + edi]
cmp eax, 0x100000
jl 0x41bef0
mov esi, dword [ebp - 0x45c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41bf74
xor ebx, ebx
push ebx
push str.Lunch_main_process__d
call fcn.00414230
add esp, 8
push esi
call edi
mov eax, dword [ebp - 0x450]
test eax, eax
je 0x41bf98
push eax
call fcn.004235fd
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ee2e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.Failed_to_get_parent_process_id_for__u__u
call fcn.00414230
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.0041ee2e
mov esp, ebp
pop ebp
ret