Function at 0x455230
Capabilities:
Enumerate process modules
Get graphical window text
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561536
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov ebx, dword [ebp + 0x10]
push 0
push 0x581a44
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov dword [esi], 0
call fcn.00402600
push 0
push 0x581a44
mov ecx, ebx
call fcn.00402600
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esi], eax
test eax, eax
je 0x4554de
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
movdqu xmm0, xmmword [str.unknown]
push 0x1f8
lea eax, [ebp - 0x208]
push 0
push eax
movdqu xmmword [ebp - 0x218], xmm0
call fcn.00531bd0
add esp, 0xc
push dword [ebp - 0x228]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4554de
mov eax, dword [ebp - 0x21c]
cmp dword [eax + 8], 0
je 0x45543a
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x4553cd
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004031c0
mov dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0x21c]
call fcn.0052df7a
mov edx, eax
add esp, 8
test edx, edx
je 0x4553a9
mov ecx, dword [ebp - 0x21c]
sub edx, ecx
sar edx, 1
cmp edx, 0xffffffff
je 0x4553a9
mov eax, dword [ecx - 0xc]
lea ecx, [ebp - 0x21c]
sub eax, edx
dec eax
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00415dc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
push eax
call fcn.00416320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00402750
jmp 0x4553bb
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
call fcn.00402700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00402750
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
inc eax
push eax
mov eax, dword [ebp - 0x220]
push dword [eax]
call esi
inc eax
mov ecx, edi
push eax
call fcn.00402410
push eax
mov eax, dword [ebp - 0x220]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
jne 0x455407
xor ecx, ecx
jmp 0x455419
push dword [eax - 8]
push eax
call fcn.00529878
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x455430
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x455430
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
jmp 0x4554c7
push 0x80070057
call fcn.004027b0
lea eax, [ebp - 0x22c]
push eax
push 4
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4554c1
push 0x208
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x230]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
call fcn.00402700
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextLengthW]
call esi
inc eax
push eax
mov eax, dword [ebp - 0x220]
push dword [eax]
call esi
inc eax
mov ecx, edi
push eax
call fcn.00402410
push eax
mov eax, dword [ebp - 0x220]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
mov eax, dword [edi]
test eax, eax
jne 0x455407
xor ecx, ecx
jmp 0x455419
mov esi, dword [ebp - 0x22c]
test esi, esi
jne 0x4554d7
push 0x581a44
mov ecx, edi
call fcn.00402700
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 0xc