Function at 0x456dd0
Capabilities:
Enumerate gui resources
Enumerate process modules
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2aa3
mov eax, dword fs:[0]
push eax
mov eax, 0x4246c
call fcn.005c33c0
mov eax, dword [0x674ff8]
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 - 0x42478], ecx
push 0x42040
lea eax, [ebp - 0x42460]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x42468], 0
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x42468]
push eax
push 0x42040
lea eax, [ebp - 0x42460]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x45707a
mov eax, dword [ebp - 0x42468]
test eax, eax
je 0x45707a
shr eax, 2
xor edi, edi
mov dword [ebp - 0x42468], eax
test eax, eax
je 0x45707a
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x42460]
test eax, eax
je 0x45706d
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45706d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
test eax, eax
jne 0x456ede
call ebx
jmp 0x45706d
call ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x42464], 0
push eax
lea ecx, [ebp - 0x42464]
call fcn.00404b00
lea ecx, [ebp - 0x42464]
mov byte [ebp - 4], 1
call fcn.00418aa0
push eax
lea ecx, [ebp - 0x42464]
call fcn.00404270
lea eax, [ebp - 0x42464]
push eax
mov eax, dword [ebp - 0x42478]
add eax, 0x40
push eax
call fcn.00426de0
add esp, 8
test al, al
mov eax, dword [ebp - 0x42464]
push dword [eax - 8]
push eax
je 0x456f98
call fcn.005cc68a
mov edx, eax
add esp, 8
test edx, edx
js 0x4570be
mov ecx, dword [ebp - 0x42464]
cmp edx, dword [ecx - 8]
jg 0x4570be
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x42464]
mov byte [ebp - 4], cl
mov word [eax + edx*2], cx
or eax, 0xffffffff
mov edx, dword [ebp - 0x42464]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45706d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45706d
call fcn.005cc68a
mov edx, eax
add esp, 8
test edx, edx
js 0x4570be
mov ecx, dword [ebp - 0x42464]
cmp edx, dword [ecx - 8]
jg 0x4570be
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x42464]
mov word [eax + edx*2], cx
mov eax, dword [ebp + edi*4 - 0x42460]
mov dword [ebp - 0x42474], eax
lea eax, [ebp - 0x42474]
push eax
push 0x44fdb0
mov dword [ebp - 0x42470], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x42470]
test esi, esi
je 0x45705e
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x4246c], 0
push eax
lea ecx, [ebp - 0x4246c]
call fcn.00404b00
lea eax, [ebp - 0x4246c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042b820
add esp, 8
lea ecx, [ebp - 0x4246c]
test al, al
jne 0x4570c8
call fcn.00405250
lea ecx, [ebp - 0x42464]
mov byte [ebp - 4], 0
call fcn.00405250
inc edi
cmp edi, dword [ebp - 0x42468]
jb 0x456e80
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45709e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.005c2ae8
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004050a0
mov esi, dword [ebp - 0x42470]
call fcn.00405250
lea ecx, [ebp - 0x42464]
call fcn.00405250
jmp 0x45707c