Function at 0x4950b8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov esi, 0x4a19d8
xor eax, eax
push ebp
push 0x49546f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
mov eax, dword [eax + 0x208]
call fcn.0045d7bc
mov eax, dword [0x4a19d4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4951a5
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
lea ecx, [ebp - 0x11c]
mov edx, ebx
mov eax, dword [0x4a19d4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
call fcn.00408224
mov edi, eax
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
push edi
call sub.user32.dll_GetWindowTextA
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
push edi
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x118]
call fcn.004089bc
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x10]
call fcn.004080d0
cmp dword [ebp - 0x11c], 0
jne 0x49519b
mov edx, ebx
mov eax, dword [0x4a19d4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, ebx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x44]
inc ebx
dec dword [ebp - 0x18]
jne 0x49511e
mov eax, dword [0x4a19d4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x495361
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
mov eax, dword [eax + 0x208]
call fcn.0045d6a4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x11c]
mov edx, ebx
mov eax, dword [0x4a19d4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
call fcn.00408224
mov edi, eax
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
push edi
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x118]
call fcn.004089bc
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
push edi
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x118]
call fcn.004089bc
lea ecx, [ebp - 0x11c]
mov edx, ebx
mov eax, dword [esi]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
call fcn.00408224
shr eax, 8
test al, 1
jne 0x495262
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0045d1f8
jmp 0x49526d
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0045d1f8
lea ecx, [ebp - 0x11c]
mov edx, ebx
mov eax, dword [esi]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
call fcn.00408224
mov edx, eax
shr edx, 8
and edx, 1
lea ecx, [ebp - 0x11c]
mov eax, dword [0x49a41c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d0]
mov eax, dword [eax + 0x1f4]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x11c]
push 0x495488
lea ecx, [ebp - 0x120]
mov edx, ebx
mov eax, dword [esi]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x120]
call fcn.00408224
mov edx, eax
and edx, 3
lea ecx, [ebp - 0x120]
mov eax, dword [0x49a41c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2cc]
mov eax, dword [eax + 0x1f4]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x120]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403e3c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea ecx, [ebp - 0x11c]
mov edx, ebx
mov eax, dword [esi]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x11c]
call fcn.00408224
test eax, 0x10000
jne 0x495348
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0045d39c
jmp 0x495357
mov ecx, 1
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0045d39c
inc ebx
dec dword [ebp - 0x18]
jne 0x4951be
mov eax, dword [0x49f9cc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x495444
inc eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov esi, 0x49f9d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x440]
mov eax, dword [eax + 0x208]
call fcn.0045d6a4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x11c]
mov edx, ebx
mov eax, dword [0x49f9cc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 8]
call fcn.0045d1f8
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0045d39c
lea ecx, [ebp - 0x11c]
mov edx, dword [esi]
shr edx, 8
and edx, 1
mov eax, dword [0x49a41c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2d0]
mov eax, dword [eax + 0x1f4]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x11c]
push 0x495488
lea ecx, [ebp - 0x120]
mov edx, dword [esi]
and edx, 3
mov eax, dword [0x49a41c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2cc]
mov eax, dword [eax + 0x1f4]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x120]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403e3c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc ebx
add esi, 4
dec dword [ebp - 0x18]
jne 0x49537f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495476
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.00403b08
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403b08
ret