Function at 0x5bad5813
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb14
mov eax, dword [0x5bb70c3c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 8
xor ebx, ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], bl
mov word [ebp - 0x310], bx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, ebx
mov dword [ebp - 0xb14], eax
je case.0x5bad586e.2178
mov ecx, dword [ebp + 0xc]
lea eax, [ecx - 0x880]
cmp eax, 0x15
ja case.0x5bad586e.2178
movzx eax, byte [eax + 0x5bad5c65]
jmp dword [eax*4 + 0x5bad5c2d]
xor eax, eax
mov edi, 0x880
cmp ecx, edi
sete al
push esi
push eax
push dword [ebp - 0xb14]
call fcn.5bad49bb
test eax, eax
je case.0x5bad586e.2178
xor eax, eax
cmp dword [ebp + 0xc], edi
setne al
add eax, 0x882
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push esi
push 0x468
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x5bad586e.2178
push ebx
push ebx
push 0xf0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
dec edi
neg edi
sbb edi, edi
inc edi
jne 0x5bad5912
push 0x5ba4ccc4
push 0x887
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call sub.SHLWAPI.dll_Ordinal_143
push 0x104
push 0x5ba4ccc4
push 0x5bb72690
call sub.SHLWAPI.dll_StrCpyNW
push edi
push 0x885
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x887
jmp 0x5bad5afb
push ebx
push ebx
push 0xf0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
dec edi
neg edi
sbb edi, edi
inc edi
jne 0x5bad5974
push 0x5ba4ccc4
push 0x888
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call sub.SHLWAPI.dll_Ordinal_143
push 0x104
push 0x5ba4ccc4
push 0x5bb72898
call sub.SHLWAPI.dll_StrCpyNW
push edi
push 0x886
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0x888
jmp 0x5bad5afb
push 0x887
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x103
lea ecx, [ebp - 0x310]
push ecx
push eax
call sub.SHLWAPI.dll_Ordinal_95
mov edi, 0x5bb72690
push edi
push esi
mov word [ebp + eax*2 - 0x310], bx
call fcn.5bb4240a
test eax, eax
jl case.0x5bad586e.2178
push edi
call fcn.5bb405d6
push dword [ebp - 0xb14]
push edi
push 1
jmp 0x5bad5a26
push 0x888
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x103
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, 0x5bb72898
push edi
push esi
mov byte [ebp + eax - 0x108], bl
call fcn.5bb4240a
test eax, eax
jl case.0x5bad586e.2178
push edi
call fcn.5bb405d6
push dword [ebp - 0xb14]
push edi
push ebx
push esi
call fcn.5bad0ff9
jmp 0x5bad58b5
push ebx
push ebx
push 0xf0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
mov edi, eax
dec edi
push 0x147
neg edi
push 0x892
sbb edi, edi
push esi
inc edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push edi
push 0x892
push esi
mov dword [ebp - 0xb14], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0xb14], ebx
je 0x5bad5a8d
cmp edi, ebx
je 0x5bad5a8d
xor eax, eax
inc eax
jmp 0x5bad5a8f
xor eax, eax
push eax
push 0x894
jmp 0x5bad5afb
push ebx
push ebx
push 0xf0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
mov edi, eax
dec edi
push 0x147
neg edi
push 0x893
sbb edi, edi
push esi
inc edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push edi
push 0x893
push esi
mov dword [ebp - 0xb14], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, ebx
je 0x5bad5af3
cmp dword [ebp - 0xb14], ebx
je 0x5bad5af3
xor eax, eax
inc eax
jmp 0x5bad5af5
xor eax, eax
push eax
push 0x895
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x5bad58b5
cmp dword [ebp + 0x14], 9
jne case.0x5bad586e.2178
push ebx
push ebx
push 0x147
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
push eax
push 0x894
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push esi
push 0x468
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
jmp case.0x5bad586e.2178
cmp dword [ebp + 0x14], 9
jne case.0x5bad586e.2178
push ebx
push ebx
push 0x147
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call edi
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
push eax
push 0x895
jmp 0x5bad5b38
push 0x893
push 0x892
push esi
call fcn.5bad0ec1
jmp case.0x5bad586e.2178
push 0x892
push 0x893
jmp 0x5bad5b92
push ebx
push 0x1f
push 0x800
lea eax, [ebp - 0xb10]
push eax
push 0x16c6
call fcn.5ba6cdbd
test eax, eax
jl case.0x5bad586e.2178
lea eax, [ebp - 0xb10]
push eax
call sub.MSOERT2.dll_IsHttpUrlA
test eax, eax
je case.0x5bad586e.2178
push 1
push ebx
push ebx
lea eax, [ebp - 0xb10]
push eax
push 0x5ba41cd0
push ebx
call dword [0x5bb70b40]
jmp case.0x5bad586e.2178
push 0x4b4
call fcn.5ba5615b
cmp eax, ebx
pop ecx
je 0x5bad5c09
mov ecx, eax
call fcn.5bb44db7
mov edi, eax
jmp 0x5bad5c0b
xor edi, edi
cmp edi, ebx
je case.0x5bad586e.2178
push esi
mov ecx, edi
call fcn.5bb4542a
mov ecx, edi
call fcn.5bb44e39
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.5bb3f314
leave
ret 0x10