Function at 0x768efc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test byte [eax + 8], 1
je 0x768f25
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x7690d3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x7690cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
test byte [eax + 8], 2
je 0x768f7c
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 0
je 0x768f6f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_RestoreDC
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
test byte [eax + 8], 4
je 0x7690b1
mov eax, dword [ebp - 8]
test byte [eax + 8], 8
je 0x769006
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
test byte [eax + 8], 2
je 0x768fe5
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00488458
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
push 0x14
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
test byte [eax + 8], 2
je 0x769029
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00488458
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
push 0x318
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_RestoreDC
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00488458
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
test byte [eax + 8], 0x10
je 0x76908d
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x34], 0x1e
lea eax, [ebp - 0x40]
push eax
push 0x768e14
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 8]
test byte [eax + 8], 0x20
je 0x7690b1
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
push 0x768e14
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7690d3
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_RestoreDC
ret
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
mov esp, ebp
pop ebp
ret 4