Function at 0x54f950
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b878b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1230
call fcn.0056ffe0
mov eax, dword [0x63b404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x123c], ecx
mov dword [ebp - 0x1224], 0
test ecx, ecx
je 0x54fbb3
lea eax, [ebp - 0x1234]
push eax
push 0x1000
lea eax, [ebp - 0x1220]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x54fbab
xor ecx, ecx
test dword [ebp - 0x1234], 0xfffffffc
mov dword [ebp - 0x1230], ecx
jbe 0x54fbab
nop word [eax + eax]
push dword [ebp + ecx*4 - 0x1220]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x1238], edi
test edi, edi
je 0x54fb8d
mov eax, dword [0x627074]
movups xmm0, xmmword [str._Unknown_]
push 0x1f4
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x220], xmm0
call fcn.00574370
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
lea esi, [ebp - 0x220]
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x54fa60
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
mov dword [ebp - 0x1228], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056f8a6
mov ecx, eax
add esp, 4
mov dword [ebp - 0x122c], ecx
test ecx, ecx
je 0x54facb
xor eax, eax
xor edx, edx
mov word [ecx + esi*2], ax
test esi, esi
je 0x54fad5
lea edi, [ebp - 0x220]
mov eax, ecx
sub edi, ecx
mov cx, word [edi + eax]
lea eax, [eax + 2]
inc edx
mov word [eax - 2], cx
cmp edx, esi
jb 0x54fab3
mov edi, dword [ebp - 0x1238]
jmp 0x54fad5
mov dword [ebp - 0x1228], 0
lea ecx, [ebp - 0x122c]
mov dword [ebp - 4], 0
call fcn.00549310
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x122c]
test eax, eax
je 0x54fb0f
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x122c], 0
mov dword [ebp - 0x1228], 0
test esi, esi
je 0x54fb8d
mov ecx, dword [esi]
test ecx, ecx
je 0x54fb64
cmp dword [esi + 4], 0
jbe 0x54fb64
mov edx, dword [ebp - 0x123c]
mov eax, dword [edx]
test eax, eax
je 0x54fb64
cmp dword [edx + 4], 0
jbe 0x54fb64
push eax
push ecx
call fcn.005856ed
add esp, 8
test eax, eax
jne 0x54fb64
mov ecx, edi
call fcn.0054f760
test eax, eax
je 0x54fb64
lea eax, [ebp - 0x1224]
push eax
push 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esi]
test eax, eax
je 0x54fb7b
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056f898
add esp, 8
mov ecx, dword [ebp - 0x1230]
mov eax, dword [ebp - 0x1234]
inc ecx
shr eax, 2
mov dword [ebp - 0x1230], ecx
cmp ecx, eax
jb 0x54f9f0
mov eax, dword [ebp - 0x1224]
jmp 0x54fbb5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056f3c2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret