Function at 0x4b69d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x4d435c], 0xffffffff
push esi
call fcn.004b7934
mov ebx, eax
test ebx, ebx
je 0x4b716b
cmp edi, 0xffffffff
jne 0x4b6a1d
mov eax, dword [ebx]
push eax
call fcn.004b5f6c
test eax, eax
je 0x4b6a11
xor edx, edx
mov dword [0x4d435c], edx
jmp 0x4b6a40
mov dword [0x4d435c], 1
jmp 0x4b6a40
mov ecx, dword [ebx]
push ecx
call fcn.004b5f6c
test eax, eax
je 0x4b6a32
test edi, edi
je 0x4b6a3a
jmp 0x4b716b
test edi, edi
je 0x4b716b
mov dword [0x4d435c], edi
mov eax, 0x80000000
mov dword [0x4f0e80], eax
mov dword [0x4f0e84], eax
mov dword [0x4f0e78], eax
mov dword [0x4f0e7c], eax
push esi
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x4b6a6d
push esi
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x4b6a79
mov dword [0x4d4358], 0x20000000
jmp 0x4b6a81
xor edx, edx
mov dword [0x4d4358], edx
mov dword [0x4f0cc0], 0x2c
push 0x4f0cc0
push esi
call sub.USER32.dll_GetWindowPlacement
mov eax, dword [0x4f0ce0]
mov dword [0x4f0e7c], eax
mov edx, dword [0x4f0cdc]
mov dword [0x4f0e78], edx
mov ecx, dword [0x4f0ce8]
sub ecx, eax
mov dword [0x4f0e84], ecx
mov eax, dword [0x4f0ce4]
sub eax, edx
mov dword [0x4f0e80], eax
mov edx, dword [0x4f0e78]
mov dword [0x4f0cf4], edx
mov ecx, dword [0x4f0e7c]
mov dword [0x4f0cf8], ecx
cmp dword [0x4d435c], 1
jne 0x4b6af9
push 0x4f0cf4
mov eax, dword [0x4d42a0]
push eax
call sub.USER32.dll_ScreenToClient
jmp 0x4b6b0a
push 0x4f0cf4
mov edx, dword [0x4d42a0]
push edx
call sub.USER32.dll_ClientToScreen
mov ecx, dword [0x4f0cf4]
mov dword [0x4f0e78], ecx
mov eax, dword [0x4f0cf8]
mov dword [0x4f0e7c], eax
mov edx, dword [0x4d3774]
mov dword [0x4f0cfc], edx
xor ecx, ecx
mov dword [0x4d3774], ecx
push 0
mov al, byte [ebx + 0x4cd]
push eax
mov dl, byte [ebx + 0x4cc]
push edx
lea ecx, [ebx + 4]
push ecx
call fcn.004baa48
mov edi, eax
mov dword [0x4f0cec], edi
push edi
call fcn.004b7934
mov edi, eax
test edi, edi
jne 0x4b6b7a
mov dword [0x4d435c], 0xffffffff
mov eax, dword [0x4f0cfc]
mov dword [0x4d3774], eax
jmp 0x4b716b
mov edx, dword [0x4f0cec]
mov dword [ebx], edx
mov byte [edi + 0x4cc], 0xff
xor ecx, ecx
mov dword [edi], ecx
mov eax, dword [ebx + 0x548]
push eax
call sub.GDI32.dll_DeleteObject
mov edx, dword [edi + 0x548]
mov dword [ebx + 0x548], edx
xor ecx, ecx
mov dword [edi + 0x548], ecx
lea eax, [ebx + 0x54c]
lea edx, [edi + 0x54c]
push esi
push edi
mov esi, eax
mov edi, edx
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
pop esi
mov eax, dword [edi + 0x5b0]
mov dword [ebx + 0x5b0], eax
mov edx, dword [edi + 0x5b4]
mov dword [ebx + 0x5b4], edx
mov ecx, dword [edi + 0x5b8]
mov dword [ebx + 0x5b8], ecx
mov eax, dword [ebx + 0x51c]
mov dword [0x4f0cf0], eax
mov edx, dword [edi + 0x518]
mov dword [ebx + 0x518], edx
mov ecx, dword [edi + 0x51c]
mov dword [ebx + 0x51c], ecx
mov eax, dword [edi + 0x520]
mov dword [ebx + 0x520], eax
push edi
call fcn.004b5da0
push 0x12c
push 0x4e4b90
push esi
call sub.USER32.dll_GetWindowTextA
push 0x4e4b90
mov edx, dword [0x4f0cec]
push edx
call sub.USER32.dll_SetWindowTextA
cmp byte [ebx + 0x4cc], 0
jne 0x4b6c7c
mov ecx, dword [0x4f0cec]
mov dword [0x4d42ac], ecx
mov eax, dword [0x4d435c]
mov dword [0x4d42c8], eax
jmp 0x4b6d38
mov al, byte [ebx + 0x4cc]
cmp al, 2
jne 0x4b6cac
cmp byte [ebx + 0x4cd], 2
jne 0x4b6cac
mov edx, dword [0x4f0cec]
mov dword [0x4d42c4], edx
mov ecx, dword [0x4d435c]
mov dword [0x4d42d0], ecx
jmp 0x4b6d38
cmp al, 4
jne 0x4b6cc8
mov eax, dword [0x4f0cec]
mov dword [0x4d42b0], eax
mov edx, dword [0x4d435c]
mov dword [0x4d42e8], edx
jmp 0x4b6d38
cmp al, 5
jne 0x4b6ce4
mov ecx, dword [0x4f0cec]
mov dword [0x4d42c0], ecx
mov eax, dword [0x4d435c]
mov dword [0x4d42dc], eax
jmp 0x4b6d38
cmp al, 6
jne 0x4b6d02
mov edx, dword [0x4f0cec]
mov dword [0x4d42b4], edx
mov ecx, dword [0x4d435c]
mov dword [0x4d42e4], ecx
jmp 0x4b6d38
cmp al, 7
jne 0x4b6d1e
mov eax, dword [0x4f0cec]
mov dword [0x4d42b8], eax
mov edx, dword [0x4d435c]
mov dword [0x4d42e0], edx
jmp 0x4b6d38
cmp al, 8
jne 0x4b6d38
mov ecx, dword [0x4f0cec]
mov dword [0x4d42bc], ecx
mov eax, dword [0x4d435c]
mov dword [0x4d42ec], eax
cmp dword [0x4f0cf0], 0
je 0x4b6fd0
push 0
push 0
push 0x184
push 0x425
mov edx, dword [0x4f0cec]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0
push 0x18b
mov ecx, dword [0x4f0cf0]
push ecx
call sub.USER32.dll_SendMessageA
mov edi, eax
mov dword [0x4f0d00], edi
inc edi
je 0x4b6f47
xor eax, eax
mov dword [0x4f0d14], eax
jmp 0x4b6ec7
cmp byte [ebx + 0x4cc], 4
jne 0x4b6dea
push 0x4f0d10
push eax
push 0x189
mov edx, dword [0x4f0cf0]
push edx
call sub.USER32.dll_SendMessageA
mov edi, dword [0x4f0d10]
test edi, edi
je 0x4b6de1
push esi
push edi
mov esi, 0x4e4b90
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
pop esi
jmp 0x4b6e06
mov byte [0x4e4b90], 0
jmp 0x4b6e06
push 0x4e4b90
mov eax, dword [0x4f0d14]
push eax
push 0x189
mov edx, dword [0x4f0cf0]
push edx
call sub.USER32.dll_SendMessageA
cmp byte [0x4e4b90], 0
je 0x4b6ec1
push 0
mov ecx, dword [0x4f0d14]
push ecx
push 0x199
mov eax, dword [0x4f0cf0]
push eax
call sub.USER32.dll_SendMessageA
mov dword [0x4f0d0c], eax
push 0x4e4b90
push 0xffffffffffffffff
push 0x181
push 0x425
mov edx, dword [0x4f0cec]
push edx
call sub.USER32.dll_SendDlgItemMessageA
mov edi, eax
mov dword [0x4f0d08], edi
cmp edi, 0xffffffff
je 0x4b6e78
mov eax, dword [0x4f0d0c]
push eax
push edi
push 0x19a
push 0x425
mov edx, dword [0x4f0cec]
push edx
call sub.USER32.dll_SendDlgItemMessageA
push 0
mov ecx, dword [0x4f0d14]
push ecx
push 0x187
mov eax, dword [0x4f0cf0]
push eax
call sub.USER32.dll_SendMessageA
mov dword [0x4f0d04], eax
mov eax, dword [0x4f0d04]
test eax, eax
je 0x4b6ec1
inc eax
je 0x4b6ec1
mov edx, dword [0x4f0d14]
push edx
push 1
push 0x185
push 0x425
mov ecx, dword [0x4f0cec]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
inc dword [0x4f0d14]
mov eax, dword [0x4f0d14]
cmp eax, dword [0x4f0d00]
jl 0x4b6d8f
push 0
push 0
push 0x18e
mov edx, dword [0x4f0cf0]
push edx
call sub.USER32.dll_SendMessageA
mov edi, eax
mov dword [0x4f0d00], edi
push 0
push edi
push 0x197
push 0x425
mov eax, dword [0x4f0cec]
push eax
call sub.USER32.dll_SendDlgItemMessageA
push 0
push 0
push 0x19f
mov edx, dword [0x4f0cf0]
push edx
call sub.USER32.dll_SendMessageA
mov edi, eax
mov dword [0x4f0d00], edi
cmp edi, 0xffffffff
je 0x4b6f47
push 0
push edi
push 0x19e
push 0x425
mov eax, dword [0x4f0cec]
push eax
call sub.USER32.dll_SendDlgItemMessageA
cmp byte [ebx + 0x4cc], 4
jne 0x4b6f6a
push 0
push 0x4d4580
push 0x425
mov edx, dword [0x4d42b0]
push edx
call fcn.004b747c
jmp 0x4b6fd0
cmp byte [ebx + 0x4cc], 6
jne 0x4b6f8d
push 3
push str._tURL:
push 0x425
mov ecx, dword [0x4d42b4]
push ecx
call fcn.004b747c
jmp 0x4b6fd0
cmp byte [ebx + 0x4cc], 7
jne 0x4b6faf
push 1
push 0x4d458b
push 0x425
mov eax, dword [0x4d42b8]
push eax
call fcn.004b747c
jmp 0x4b6fd0
cmp byte [ebx + 0x4cc], 8
jne 0x4b6fd0
push 2
push 0x4d458f
push 0x425
mov edx, dword [0x4d42bc]
push edx
call fcn.004b747c
mov eax, dword [0x4d419c]
test eax, eax
je 0x4b6ff7
cmp esi, dword [eax + 0x304]
jne 0x4b6fed
mov edx, dword [0x4f0cec]
mov dword [eax + 0x304], edx
mov eax, dword [eax + 0x31c]
test eax, eax
jne 0x4b6fd9
mov eax, dword [0x4d38e4]
test eax, eax
je 0x4b701e
cmp esi, dword [eax + 0x88]
jne 0x4b7014
mov edx, dword [0x4f0cec]
mov dword [eax + 0x88], edx
mov eax, dword [eax + 0x480]
test eax, eax
jne 0x4b7000
mov eax, dword [0x4d2294]
test eax, eax
je 0x4b703d
cmp esi, dword [eax]
jne 0x4b7033
mov edx, dword [0x4f0cec]
mov dword [eax], edx
mov eax, dword [eax + 0x1f0]
test eax, eax
jne 0x4b7027
mov eax, dword [0x4ce3ec]
test eax, eax
je 0x4b705e
cmp esi, dword [eax]
jne 0x4b7054
mov edx, dword [0x4f0cec]
mov dword [eax], edx
jmp 0x4b705e
mov eax, dword [eax + 0x438]
test eax, eax
jne 0x4b7046
mov eax, dword [0x4d2d00]
test eax, eax
je 0x4b707f
cmp esi, dword [eax]
jne 0x4b7075
mov edx, dword [0x4f0cec]
mov dword [eax], edx
jmp 0x4b707f
mov eax, dword [eax + 0x440]
test eax, eax
jne 0x4b7067
mov eax, dword [0x4caddc]
test eax, eax
je 0x4b70a0
cmp esi, dword [eax]
jne 0x4b7096
mov edx, dword [0x4f0cec]
mov dword [eax], edx
jmp 0x4b70a0
mov eax, dword [eax + 0x870]
test eax, eax
jne 0x4b7088
push 0
push 0
push 0x10
push esi
call sub.USER32.dll_SendMessageA
push 0
mov ecx, dword [0x4f0cec]
push ecx
call fcn.004b7ee4
push 1
push 0
mov eax, dword [0x4f0cec]
push eax
call sub.USER32.dll_InvalidateRect
mov edx, dword [0x4f0cec]
push edx
call sub.USER32.dll_UpdateWindow
mov ecx, dword [0x4f0cfc]
mov dword [0x4d3774], ecx
mov edi, dword [0x4d435c]
mov dword [0x4d435c], 0xffffffff
test edi, edi
je 0x4b710c
mov eax, dword [0x4d429c]
push eax
call sub.USER32.dll_BringWindowToTop
mov edx, dword [0x4d429c]
push edx
call sub.USER32.dll_SetForegroundWindow
push ebx
call fcn.004b92b8
cmp byte [ebx + 0x4cc], 0
jne 0x4b712b
push edi
push 0x4d4593
mov ecx, dword [ebx]
push ecx
call fcn.004b6214
jmp 0x4b715b
cmp byte [ebx + 0x4cc], 1
jne 0x4b7144
push edi
push 0x4d4597
mov eax, dword [ebx]
push eax
call fcn.004b6214
jmp 0x4b715b
cmp byte [ebx + 0x4cc], 2
jne 0x4b715b
push edi
push 0x4d459b
mov edx, dword [ebx]
push edx
call fcn.004b6214
cmp dword [0x4d3774], 0
je 0x4b716b
push 0
call fcn.004a78e4
pop edi
pop esi
pop ebx
pop ebp
ret 8