Function at 0x4d5570
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x3c], eax
call fcn.004015f0
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x1d], 1
lea ecx, [ebp - 0x1c]
call fcn.0046ae50
push 0
push 0
push 0x1004
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc], eax
movzx ecx, byte [0x5db9bd]
test ecx, ecx
je 0x4d56e7
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x5c], 1
lea ecx, [ebp - 0x4c]
call fcn.0046a990
push 0
lea edx, [ebp - 0x4c]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 4
push 0x1000
push 0x10
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], 0
jmp 0x4d5632
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0xc]
jge 0x4d56c1
mov dword [ebp - 0x74], 3
push 0
push 0x10
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
push 0x100e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x10
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4d56bc
mov byte [ebp - 0x1d], 0
jmp 0x4d56c1
jmp 0x4d5629
push 0x8000
push 0
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004015f0
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x10], eax
mov ecx, 0x5e259c
call fcn.004cd5f0
push 0
push 0x4d52a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x5e259c
call fcn.004cd4f0
mov dword [ebp - 8], eax
mov dword [ebp - 0x78], 0
jmp 0x4d5748
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 8]
jge 0x4d57e5
mov eax, dword [ebp - 0x78]
push eax
mov ecx, 0x5e259c
call fcn.004cd510
mov ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x10]
je 0x4d57e0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x38]
je 0x4d57e0
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x24]
je 0x4d57e0
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d57e0
lea ecx, [ebp - 0x8c]
call fcn.0046a990
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4d57e0
mov byte [ebp - 0x1d], 0
jmp 0x4d57e5
jmp 0x4d573f
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret