Function at 0x481ad0
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x4de745
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x515080]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x481b1b
xor al, al
jmp 0x481d32
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
call fcn.004815a0
mov eax, dword [ebp - 0x24]
xor bl, bl
xor edi, edi
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x2c], edi
test eax, eax
jle 0x481d04
test edi, edi
js 0x481d55
cmp edi, eax
jge 0x481d55
mov eax, dword [ebp - 0x28]
push dword [eax + edi*4]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x48], 0x4ed624
mov dword [ebp - 0x44], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
cmp edi, dword [ebp - 0x24]
jge 0x481d55
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov esi, dword [eax + edi*4]
call fcn.00481a40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], esi
test eax, eax
je 0x481bd5
push eax
call fcn.004abb61
add esp, 4
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], eax
call fcn.00409b90
lea eax, [ebp - 0x38]
push eax
push 0x4817a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x481c3b
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
xor esi, esi
test eax, eax
jle 0x481cac
test esi, esi
js 0x481d55
cmp esi, eax
jge 0x481d55
push 0x104
lea eax, [ebp]
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x481ca4
test ebx, ebx
je 0x481ca4
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x40], 0x103
jne 0x481ca4
mov byte [ebp - 0xd], 1
cmp esi, dword [ebp - 0x18]
jge 0x481d55
mov eax, dword [ebp - 0x1c]
push 0
push 0
push 0x10
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x18]
inc esi
cmp esi, eax
jl 0x481c44
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x481cc7
push eax
call fcn.004abb61
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x48], 0x4ed624
test ebx, ebx
je 0x481cf2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x24]
inc edi
mov dword [ebp - 0x2c], edi
cmp edi, eax
jl 0x481b54
mov bl, byte [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x481d22
push ecx
call fcn.004abb61
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov al, bl
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004a1cf0
lea esp, [ebp + 0x20c]
pop ebp
ret
push 0x8000000b
call fcn.00402720
int3