Function at 0x49b839
Capabilities:
Get graphical window text

Disassembly:
push 0x214
mov eax, 0x533b82
call fcn.005137ab
mov esi, ecx
mov eax, dword [esi + 0xe8]
test eax, eax
jle 0x49b8a1
and dword [ebp - 0x214], 0
test eax, eax
jle 0x49b8a1
lea ebx, [esi + 0x148]
mov eax, dword [esi + 0x150]
lea edi, [eax - 1]
push edi
mov ecx, ebx
call fcn.0041953e
mov ecx, dword [eax]
test ecx, ecx
je 0x49b883
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 1
push edi
mov ecx, ebx
call fcn.00497592
inc dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cmp eax, dword [esi + 0xe8]
jl 0x49b865
and dword [esi + 0xe8], 0
mov ecx, esi
call fcn.004c2fce
test eax, eax
je 0x49bacf
mov ecx, eax
call fcn.00415888
push eax
push 0x54720c
call fcn.004420c7
pop ecx
pop ecx
mov dword [ebp - 0x220], eax
test eax, eax
je 0x49bacf
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [eax + 0xe8]
call ebx
and dword [ebp - 0x214], 0
mov edi, eax
jmp 0x49ba48
cmp dword [ebp - 0x214], 9
jge 0x49ba50
push edi
call fcn.00414748
push eax
push 0x54c994
call fcn.004420c7
pop ecx
pop ecx
test eax, eax
jne 0x49b927
push 2
push edi
call ebx
mov edi, eax
jmp 0x49ba42
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1b4]
test eax, eax
je 0x49b91b
cmp dword [ebp - 0x214], 0
jne 0x49b986
push 0xa8
call fcn.00406ed2
pop ecx
mov dword [ebp - 0x21c], eax
and dword [ebp - 4], 0
test eax, eax
je 0x49b962
push 1
mov ecx, eax
call fcn.004c3aa9
jmp 0x49b964
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [eax + 0x90], 1
call fcn.0049aec3
mov dword [esi + 0xe8], 1
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
call fcn.004021e0
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x214]
inc eax
push eax
lea eax, [ebp - 0x218]
push str._d__s
push eax
mov dword [ebp - 4], 1
call fcn.00406050
push 0x15c
call fcn.00406ed2
add esp, 0x14
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x49ba00
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x218]
mov ecx, eax
push 0xff00
call fcn.0049b7c3
jmp 0x49ba02
xor eax, eax
mov dword [eax + 0x44], edi
mov dword [eax + 0x90], 1
mov ecx, dword [esi + 0x28]
push 0xffffffffffffffff
mov dword [eax + 0x28], ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0049aec3
push 2
push edi
call ebx
mov ecx, dword [ebp - 0x218]
inc dword [esi + 0xe8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov edi, eax
call fcn.004021c0
inc dword [ebp - 0x214]
test edi, edi
jne 0x49b8f7
mov edi, dword [ebp - 0x220]
cmp dword [edi + 0xf4], 0
je 0x49bacf
cmp dword [ebp - 0x214], 9
je 0x49ba71
cmp dword [edi + 0x104], 0
je 0x49bacf
push 0x15c
call fcn.00406ed2
pop ecx
mov ecx, eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 3
test ecx, ecx
je 0x49baa9
mov eax, dword [edi + 0xec]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push dword [edi + 0xf4]
call fcn.0049b7c3
jmp 0x49baab
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [eax + 0x90], 1
mov ecx, dword [esi + 0x28]
push 0xffffffffffffffff
mov dword [eax + 0x28], ecx
push eax
mov ecx, esi
call fcn.0049aec3
inc dword [esi + 0xe8]
call fcn.0051382e
ret