Function at 0x556d30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x72747551
xor edi, edi
mov dword [ebp - 0x210], 0x1000
push 0x1000
mov dword [ebp - 0x214], edi
call fcn.004f3590
mov esi, eax
add esp, 8
test esi, esi
je 0x556dc5
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x210]
push esi
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x557079
mov eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x210], eax
jne 0x556e33
push esi
call fcn.004f3570
mov eax, dword [ebp - 0x210]
add eax, eax
push 0x72747551
push eax
mov dword [ebp - 0x210], eax
call fcn.004f3590
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x556d70
test byte [0x9538a8], 1
je 0x556df2
push str.Memory_allocation_failure.
push 0xad0
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_utl_utl_winnt_user.c
push str.utl_resolve_all_existing_proc_account_names
push dword [0x7d0568]
push 1
call fcn.004f21c0
add esp, 0x18
mov ebx, 0xc
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x556e08
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x556e13
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x556e20
push esi
call fcn.004f3570
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret
shr eax, 2
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], 0x104
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x218], ecx
test eax, eax
je 0x556df7
xor eax, eax
nop dword [eax]
mov eax, dword [esi + eax*4]
test eax, eax
je 0x55700b
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x556ec5
test byte [0x9538a8], 8
je 0x55700b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x218]
push eax
push dword [esi + ecx*4]
push str.Failed_to_open_process_with_pid___p_._err___d
push 0xb06
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_utl_utl_winnt_user.c
push str.utl_resolve_all_existing_proc_account_names
push dword [0x7d0568]
push 8
call fcn.004f21c0
add esp, 0x20
jmp 0x55700b
lea eax, [ebp - 0x214]
push eax
push 8
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x556f1f
test byte [0x9538a8], 4
je 0x557002
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x218]
push eax
push dword [esi + ecx*4]
push str.Failed_to_get_token_for_pid__d__err__d
push 0xb11
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_utl_utl_winnt_user.c
push str.utl_resolve_all_existing_proc_account_names
push dword [0x7d0568]
push 4
call fcn.004f21c0
add esp, 0x20
jmp 0x557002
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 1
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x556fec
push 0x73747551
push dword [ebp - 0x210]
call fcn.004f3590
mov ebx, eax
add esp, 8
mov dword [ebp - 0x220], ebx
test ebx, ebx
je 0x55705d
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x210]
push ebx
push 1
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x557029
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebx]
call fcn.005588c0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x556fde
test byte [0x9538a8], 8
je 0x556fdc
mov ecx, dword [ebp - 0x218]
push ebx
push dword [esi + ecx*4]
push str.Failed_to_get_account_name_for_pid__d__err__d
push 0xb3b
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_utl_utl_winnt_user.c
push str.utl_resolve_all_existing_proc_account_names
push dword [0x7d0568]
push 8
call fcn.004f21c0
add esp, 0x20
xor ebx, ebx
push dword [ebp - 0x220]
call fcn.004f3570
add esp, 4
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x214], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov eax, dword [ebp - 0x218]
inc eax
mov dword [ebp - 0x218], eax
cmp eax, dword [ebp - 0x224]
jb 0x556e60
jmp 0x556df7
push ebx
call fcn.004f3570
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f1a60
add esp, 4
mov ebx, eax
test byte [0x9538a8], 1
je 0x556df7
push ebx
push str.GetTokenInformation_failed__err__d
push 0xb2b
jmp 0x557099
test byte [0x9538a8], 1
je 0x556df2
push str.Memory_allocation_failure.
push 0xb21
jmp 0x556dd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov ebx, eax
je 0x556df7
push ebx
push str.EnumProcesses_failed__err__d
push 0xad7
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_utl_utl_winnt_user.c
push str.utl_resolve_all_existing_proc_account_names
push dword [0x7d0568]
push 1
call fcn.004f21c0
add esp, 0x1c
jmp 0x556df7