Function at 0x4bcf81
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff830
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ebx
call fcn.0051df69
test eax, eax
jne 0x4bcfa9
push 0
call fcn.00417312
jmp 0x4bd49d
push 0x3e7
lea eax, [ebp - 0x3e8]
push eax
call fcn.0042e3f0
mov edx, dword [ebx + 0x6bc]
sub edx, 1
jb 0x4bcfd3
je 0x4bcff7
dec edx
je 0x4bd130
jmp 0x4bd431
push dword [ebx + 0xb6c]
push 0
call fcn.004bd4a6
push eax
push 0x3e7
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.0042e322
jmp 0x4bd431
lea eax, [ebx + 8]
mov edi, eax
lea esi, [ebp - 0x3e8]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebx + 0xb6c]
lea eax, [ebp - 0x3e8]
push eax
call fcn.004bce7d
xor esi, esi
mov eax, dword [ebx + 0x674]
test eax, eax
je 0x4bd045
mov eax, dword [eax + 0x40]
inc esi
test eax, eax
jne 0x4bd03d
push esi
push str.___d_
lea edx, [ebp - 0x3e8]
push edx
call fcn.0054c2d0
pop ecx
lea ecx, [ebp - 0x3e8]
add eax, ecx
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp byte [ebx + 0x10c], 0
je 0x4bd0ae
lea eax, [ebx + 0x10c]
push eax
call fcn.0054c2d0
pop ecx
cmp eax, 3
jbe 0x4bd0ae
push 0x567d64
lea edx, [ebp - 0x3e8]
push edx
call fcn.0054c1f4
add esp, 8
lea ecx, [ebx + 0x10c]
push ecx
lea eax, [ebp - 0x3e8]
push eax
call fcn.0054c1f4
add esp, 8
cmp byte [ebx + 0x26a], 0
je 0x4bd431
lea edx, [ebx + 0x26a]
mov edi, edx
lea esi, [ebp - 0x7d0]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xf
lea eax, [ebp - 0x7d0]
push eax
call fcn.0050cc40
cmp byte [ebp - 0x7d0], 0
je 0x4bd431
push 0x567d67
lea edx, [ebp - 0x3e8]
push edx
call fcn.0054c1f4
add esp, 8
lea ecx, [ebp - 0x7d0]
push ecx
lea eax, [ebp - 0x3e8]
push eax
call fcn.0054c1f4
add esp, 8
jmp 0x4bd431
cmp dword [ebx + 0x6c0], 1
jne 0x4bd304
test esi, esi
je 0x4bd1d6
cmp dword [esi + 0x3f8], 0
je 0x4bd1d6
mov edx, dword [esi + 0x3f8]
cmp byte [edx], 0
je 0x4bd1d6
push dword [esi + 0x3f8]
push 0x64
lea edi, [ebx + 0x206]
push edi
call fcn.0042e322
lea eax, [ebx + 8]
push edi
mov edi, eax
lea esi, [ebp - 0x3e8]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push dword [ebx + 0xb6c]
lea eax, [ebp - 0x3e8]
push eax
call fcn.004bce7d
push edi
push 0x567d6b
lea edx, [ebp - 0x3e8]
push edx
call fcn.0054c2d0
pop ecx
lea ecx, [ebp - 0x3e8]
add eax, ecx
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4bd294
push dword [ebx + 0xb6c]
lea eax, [ebp - 0x3e8]
push eax
lea edx, [ebx + 8]
push edx
call fcn.00495ca9
test eax, eax
je 0x4bd28d
push 0x21
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4bd20a
inc eax
test eax, eax
je 0x4bd284
cmp byte [eax], 0
je 0x4bd284
push eax
push 0x64
lea esi, [ebx + 0x206]
push esi
call fcn.0042e322
lea eax, [ebx + 8]
push esi
mov edi, eax
lea esi, [ebp - 0x3e8]
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push dword [ebx + 0xb6c]
lea eax, [ebp - 0x3e8]
push eax
call fcn.004bce7d
push esi
push 0x567d72
lea edx, [ebp - 0x3e8]
push edx
call fcn.0054c2d0
pop ecx
lea ecx, [ebp - 0x3e8]
add eax, ecx
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4bd294
mov byte [ebp - 0x3e8], 0
jmp 0x4bd294
mov byte [ebp - 0x3e8], 0
cmp byte [ebp - 0x3e8], 0
jne 0x4bd431
lea eax, [ebx + 8]
push eax
push 0x3e7
lea edx, [ebp - 0x3e8]
push edx
call fcn.0042e322
push dword [ebx + 0xb6c]
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.004bce7d
cmp byte [ebx + 0x206], 0
je 0x4bd431
lea eax, [ebx + 0x206]
push eax
push 0x567d79
lea edx, [ebp - 0x3e8]
push edx
call fcn.0054c2d0
pop ecx
lea ecx, [ebp - 0x3e8]
add eax, ecx
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4bd431
cmp dword [ebx + 0x6c0], 2
jne 0x4bd431
test esi, esi
je 0x4bd3dc
mov eax, dword [esi]
cmp dword [eax], 0
je 0x4bd3dc
cmp dword [esi + 0x3f8], 0
je 0x4bd3dc
push dword [esi + 0x3f8]
mov edx, dword [esi]
push dword [edx]
push 0x567d80
lea ecx, [ebp - 0x3e8]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
lea eax, [ebp - 0x3e8]
push eax
push 0x64
lea edx, [ebx + 0x206]
push edx
call fcn.0042e322
push esi
mov esi, 0x567d87
lea edi, [ebp - 0x3e8]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
push dword [ebx + 0xb6c]
lea edx, [ebp - 0x3e8]
push edx
call fcn.004bce7d
mov ecx, dword [esi + 0x3f8]
cmp byte [ecx], 0
je 0x4bd3c2
push dword [esi + 0x3f8]
mov eax, dword [esi]
push dword [eax]
push str.___s__s_
lea edx, [ebp - 0x3e8]
push edx
call fcn.0054c2d0
pop ecx
lea ecx, [ebp - 0x3e8]
add eax, ecx
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
jmp 0x4bd431
mov eax, dword [esi]
push dword [eax]
push str.temp_strlen_temp_____s_
lea edx, [ebp - 0x3e8]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x4bd431
mov esi, 0x567db5
lea edi, [ebp - 0x3e8]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push dword [ebx + 0xb6c]
lea edx, [ebp - 0x3e8]
push edx
call fcn.004bce7d
cmp byte [ebx + 0x206], 0
je 0x4bd431
lea ecx, [ebx + 0x206]
push ecx
push 0x567dbf
lea eax, [ebp - 0x3e8]
push eax
call fcn.0054c2d0
pop ecx
lea edx, [ebp - 0x3e8]
add eax, edx
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp byte [ebp - 0x3e8], 0
je 0x4bd496
push 0x3e7
lea ecx, [ebp - 0x7d0]
push ecx
call fcn.0042e3f0
push 0x3e7
lea eax, [ebp - 0x7d0]
push eax
push dword [ebx]
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x3e8]
lea edx, [ebp - 0x7d0]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4bd486
test cl, cl
je 0x4bd496
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4bd486
add eax, 2
add edx, 2
test cl, cl
jne 0x4bd46a
je 0x4bd496
lea eax, [ebp - 0x3e8]
push eax
push dword [ebx]
call sub.USER32.dll_SetWindowTextA
push 0
call fcn.00417312
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8