Function at 0x460808
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x460810
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x460bac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x473054]
push eax
call sub.user32.dll_SetThreadDesktop
mov bl, 1
lea edx, [ebp - 8]
mov eax, 0x460bc4
call fcn.00457458
mov eax, dword [ebp - 8]
call fcn.00404994
mov edx, eax
xor eax, eax
call fcn.0045cc30
mov edi, eax
test edi, edi
jne 0x460877
lea edx, [ebp - 0xc]
mov eax, 0x460bf0
call fcn.00457458
mov eax, dword [ebp - 0xc]
call fcn.00404994
xor edx, edx
call fcn.0045cc30
mov edi, eax
test edi, edi
jne 0x4608a3
push 0x1770
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x10]
mov eax, 0x460bf0
call fcn.00457458
mov eax, dword [ebp - 0x10]
call fcn.00404994
xor edx, edx
call fcn.0045cc30
mov edi, eax
test edi, edi
jne 0x4608cf
push 0x1770
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x14]
mov eax, 0x460bf0
call fcn.00457458
mov eax, dword [ebp - 0x14]
call fcn.00404994
xor edx, edx
call fcn.0045cc30
mov edi, eax
test edi, edi
jne 0x4608ef
lea edx, [ebp - 0x18]
mov eax, 0x460c04
call fcn.00457458
mov eax, dword [ebp - 0x18]
call fcn.00449bf0
xor ebx, ebx
jmp 0x460b91
lea edx, [ebp - 0x1c]
mov eax, 0x460c38
call fcn.00457458
mov eax, dword [ebp - 0x1c]
call fcn.00449bf0
test edi, edi
je 0x460b91
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 9
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 9
push 0x101
push edi
call sub.user32.dll_PostMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 9
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 9
push 0x101
push edi
call sub.user32.dll_PostMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 9
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 9
push 0x101
push edi
call sub.user32.dll_PostMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push pe_nt_image_headers32
push edi
call sub.user32.dll_PostMessageA
push 0
push 0xd
push 0x101
push edi
call sub.user32.dll_PostMessageA
xor edi, edi
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x473054]
push eax
call sub.user32.dll_SetThreadDesktop
push 0x64
call sub.kernel32.dll_Sleep_1
mov dl, 1
mov eax, dword [0x4162c0]
call fcn.004036b4
mov edx, dword [0x4716d8]
mov dword [edx], eax
mov dl, 1
mov eax, dword [0x4162c0]
call fcn.004036b4
mov edx, dword [0x4715b4]
mov dword [edx], eax
xor esi, esi
push esi
push 0x43e2c4
call sub.user32.dll_EnumWindows
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x460a1e
lea edx, [ebp - 0x20]
mov eax, 0x460c60
call fcn.00457458
mov eax, dword [ebp - 0x20]
call fcn.00449bf0
lea edx, [ebp - 0x28]
mov eax, 0x460c84
call fcn.00457458
push dword [ebp - 0x28]
mov eax, dword [0x4718a8]
push dword [eax]
lea edx, [ebp - 0x2c]
mov eax, dword [0x4716d8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0x2c]
mov eax, dword [0x4718a8]
push dword [eax]
lea edx, [ebp - 0x30]
mov eax, 0x460ca4
call fcn.00457458
push dword [ebp - 0x30]
mov eax, dword [0x4718a8]
push dword [eax]
lea edx, [ebp - 0x34]
mov eax, dword [0x4715b4]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404854
mov eax, dword [ebp - 0x24]
call fcn.00449bf0
jmp 0x460b91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460bb3
lea eax, [ebp - 0x50]
mov edx, 0x13
call fcn.004044dc
ret