Function at 0x49cb1a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x270
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x2804]
sub eax, dword [ebx + 0x2800]
push 0x3c
cdq
pop ecx
idiv ecx
mov dword [esp + 0x28], ebx
test eax, eax
je 0x49ced0
and dword [esp + 0x1c], 0
or edx, 0xffffffff
test eax, eax
je 0x49cda5
and dword [esp + 0x18], 0
push 0x14
pop eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0x15e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], 0xd8
mov eax, dword [ebx + 0x27ec]
lea ebp, [ebx + 0x182c]
inc edx
lea esi, [esp + 0x30]
mov dword [esp + 0x20], edx
push 0x54e058
lea ebp, [ebp + edx*4]
mov ecx, dword [ebp]
mov dword [ecx + 0x40], eax
mov edi, dword [ebp]
mov eax, dword [0x556370]
add edi, 0x2c
imul ecx, edx, 0x14
add eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp]
mov edi, dword [esp + 0x1c]
imul ecx, edi, 0x3c
mov dword [eax + 0x3c], 0xff9600
mov esi, dword [ebx + 0x2800]
add esi, ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x6c]
lea edx, [esi + 0x18]
call fcn.0043de19
pop ecx
push esi
mov ecx, eax
call fcn.0043c3ca
push eax
lea ecx, [esp + 0x54]
call fcn.0043a41d
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push eax
mov eax, dword [ebp]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esp + 0x50]
call fcn.0043c274
lea ecx, [esp + 0x68]
call fcn.0043c274
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 0x2800]
add eax, esi
cmp dword [eax + 0x2c], 8
lea ecx, [eax + 0x18]
jb 0x49cc3b
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x28], 1
jne 0x49cd7b
push 1
push 0x54e054
push ecx
call fcn.0043461b
add esp, 0xc
test eax, eax
jne 0x49cd7b
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x18], edx
mov eax, dword [esi + ecx + 0x34]
sub eax, dword [esi + ecx + 0x30]
mov ecx, 0xd8
cdq
idiv ecx
test eax, eax
je 0x49cd7b
imul edi, edi, 0x3c
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edi
mov eax, dword [edi + esi + 0x30]
lea ebp, [ebp + 4]
inc dword [esp + 0x20]
add eax, ecx
add dword [esp + 0x24], 0x14
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x49cca8
mov ecx, dword [eax]
cmp dword [eax + 0x10], 1
jne 0x49ccc6
push 1
push 0x55a7c4
push ecx
call fcn.0043461b
add esp, 0xc
test eax, eax
jne 0x49ccc6
mov al, 1
jmp 0x49ccc8
xor al, al
mov ecx, dword [ebp]
test al, al
je 0x49ccda
mov eax, dword [ebx + 0x27f4]
mov dword [ecx + 0x40], eax
jmp 0x49cd1a
mov eax, dword [ebx + 0x27f0]
lea esi, [esp + 0x40]
mov dword [ecx + 0x40], eax
mov edi, dword [ebp]
mov eax, dword [0x556370]
add eax, dword [esp + 0x24]
add edi, 0x2c
mov dword [esp + 0x40], 0x28
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x15e
mov dword [esp + 0x4c], 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
add ecx, 0x30
mov dword [eax + 0x3c], 0x3c3c3c
mov eax, dword [ebx + 0x2800]
mov eax, dword [edi + eax + 0x30]
add eax, ecx
cmp dword [eax + 0x14], 8
jb 0x49cd3f
mov eax, dword [eax]
push eax
mov eax, dword [ebp]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x2800]
mov ecx, dword [esp + 0x14]
inc dword [esp + 0x18]
add ecx, 0xd8
mov dword [esp + 0x14], ecx
mov eax, dword [edi + esi + 0x34]
sub eax, dword [edi + esi + 0x30]
cdq
idiv dword [esp + 0x2c]
cmp dword [esp + 0x18], eax
jb 0x49cc8c
mov eax, dword [esp + 0x1c]
inc eax
movzx ecx, ax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x2804]
sub eax, esi
mov dword [esp + 0x18], ecx
push 0x3c
cdq
pop ebp
idiv ebp
mov edx, dword [esp + 0x20]
cmp ecx, eax
jb 0x49cb7a
lea ecx, [edx + 1]
xor ebp, ebp
mov edx, dword [ebx + 0xa0]
mov eax, ecx
sub eax, edx
mov dword [0x5f1fd0], ecx
test eax, eax
jle 0x49ce6c
lea edi, [ebx + 0x182c]
mov dword [esp + 0x1c], edi
push 0x100
lea eax, [esp + 0x84]
push eax
lea eax, [edx + ebp]
mov eax, dword [ebx + eax*4 + 0x182c]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 0xa0]
mov ecx, dword [edi]
add eax, ebp
mov eax, dword [ebx + eax*4 + 0x182c]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [ebx + 0xa0]
mov edi, dword [edi]
add eax, ebp
add edi, 0x2c
mov esi, dword [ebx + eax*4 + 0x182c]
add esi, 0x2c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xa0]
mov edi, dword [esp + 0x1c]
add eax, ebp
mov eax, dword [ebx + eax*4 + 0x182c]
mov ecx, dword [edi]
mov eax, dword [eax + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [edi]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x5f1fd0]
inc ebp
mov edx, dword [ebx + 0xa0]
mov eax, ecx
add edi, 4
sub eax, edx
mov dword [esp + 0x1c], edi
cmp ebp, eax
jl 0x49cdcc
sub ecx, edx
mov esi, 0x1f4
cmp ecx, esi
jae 0x49ce9b
lea edi, [ebx + 0x182c]
sub esi, ecx
lea edi, [edi + ecx*4]
mov ebp, 0x54de54
mov eax, dword [edi]
push ebp
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [edi + 4]
sub esi, 1
jne 0x49ce87
mov eax, dword [ebx + 0xa8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x70]
push 1
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x74]
push 1
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x7c]
push 1
push dword [eax + 8]
call esi
xor edi, edi
jmp 0x49cf45
xor edi, edi
mov ebp, 0x54de54
mov esi, edi
cmp dword [0x5f1fd0], esi
jle 0x49cf05
lea eax, [ebx + 0x182c]
mov ebx, eax
mov eax, dword [ebx]
push ebp
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
inc esi
lea ebx, [ebx + 4]
cmp esi, dword [0x5f1fd0]
jl 0x49cee9
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0xa8]
push ebp
push edi
push 0xc
push dword [eax + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0xa8]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x70]
push edi
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x74]
push edi
push dword [eax + 8]
call esi
mov eax, dword [ebx + 0x7c]
push edi
push dword [eax + 8]
call esi
push 1
push edi
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret