Function at 0x68986b10
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xa4
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, 0xf
je 0x68986b60
cmp eax, 0x4e
je 0x68986ca0
cmp eax, 5
je 0x68986c70
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call sym._DefWindowProcW_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea esi, [ebp - 0x74]
mov dword [esp], ebx
mov dword [esp + 4], esi
call sym._BeginPaint_8
sub esp, 8
mov edi, eax
mov dword [esp + 4], 5
mov dword [esp], ebx
call sym._GetWindow_8
sub esp, 8
test eax, eax
je 0x68986c55
lea eax, [ebp - 0x84]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._GetClientRect_8
sub esp, 8
mov dword [esp], 0x13
call sym._GetStockObject_4
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._SelectObject_8
sub esp, 8
mov dword [esp], 0x10
call sym._GetSysColor_4
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._SetDCPenColor_8
mov eax, dword [ebp - 0x7c]
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._LineTo_12
sub esp, 0xc
mov dword [esp], 6
call sym._GetStockObject_4
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._SelectObject_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._MoveToEx_16
mov eax, dword [ebp - 0x7c]
sub esp, 0x10
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._LineTo_12
sub esp, 0xc
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._EndPaint_8
xor eax, eax
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._GetWindowLongW_8
sub esp, 8
mov esi, eax
test eax, eax
je 0x68986c92
cmp ebx, dword [eax + 0x48]
je 0x68986f00
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._GetWindowLongW_8
mov edi, eax
mov eax, dword [ebp + 0x14]
sub esp, 8
mov eax, dword [eax + 8]
cmp eax, 0xfffffe3d
je 0x68986f80
jbe 0x68986d00
cmp eax, 0xfffffffc
je 0x68986d70
cmp eax, 0xfffffffd
jne 0x68986c92
test edi, edi
je 0x68986c92
mov eax, dword [edi + 0x184]
cmp eax, 1
je 0x68986cea
cmp eax, 2
jne 0x68986c92
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x68986c92
mov eax, edi
call sym._OnTopicChange.part.10
xor eax, eax
jmp 0x68986c94
cmp eax, 0xfffffdd9
je 0x68986e10
cmp eax, 0xfffffe3a
jne 0x68986c92
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
lea edx, [eax + 0x38]
mov eax, dword [edi + 0x160]
mov dword [ecx + 0x38], 0x22
test byte [ecx + 0x40], 0x20
je 0x68986fa0
mov dword [ecx + 0x50], 1
mov dword [ecx + 0x54], 1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113f
mov dword [esp], eax
call sym._SendMessageW_16
xor eax, eax
sub esp, 0x10
jmp 0x68986b56
test edi, edi
je 0x68986c92
mov eax, dword [edi + 0x184]
cmp eax, 1
je 0x68986ffd
cmp eax, 2
jne 0x68986c92
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp eax, dword [edi + 0x144]
je 0x68987008
mov ebx, dword [edi + 0x148]
cmp eax, ebx
jne 0x68986c92
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1042
mov dword [esp], ebx
call sym._SendMessageW_16
mov dword [ebp - 0x74], 4
sub esp, 0x10
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x74]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], ebx
call sym._SendMessageW_16
mov edx, dword [ebp - 0x54]
sub esp, 0x10
test edx, edx
jne 0x68986cf4
xor eax, eax
jmp 0x68986c94
mov dword [esp + 4], 0
mov dword [esp], ebx
call sym._GetWindowLongW_8
sub esp, 8
mov esi, eax
test byte [0x68992028], 8
jne 0x68986fc0
test esi, esi
je 0x68986c92
mov eax, dword [esi + 0x184]
mov eax, dword [esi + eax*8 + 0x160]
test eax, eax
je 0x68986e5e
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x130b
mov eax, dword [esi + 0x154]
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
cmp dword [esi + 0x164], eax
je 0x689870a6
cmp eax, dword [esi + 0x16c]
je 0x68987072
cmp dword [esi + 0x174], eax
je 0x689870aa
test byte [0x68992028], 1
je 0x68986c92
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.Tab_ID__d_does_not_correspond_to_a_valid_index_in_the_tab_list._n
mov dword [esp + 0x10], 0x24d
mov dword [esp + 0xc], str.OnTabChange
mov dword [esp + 8], 0x68993645
mov dword [esp + 4], 0x68992028
mov dword [esp], 0
call sym._ros_dbg_log
xor eax, eax
jmp 0x68986b56
lea eax, [ebp - 0x74]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._GetClientRect_8
mov eax, dword [ebp - 0x68]
sub esp, 8
sub eax, 8
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0xc], 0
sub eax, 4
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x154]
mov dword [esp], eax
call sym._SetWindowPos_28
xor edx, edx
mov eax, esi
sub esp, 0x1c
call sym._ResizeTabChild
mov edx, 1
mov eax, esi
call sym._ResizeTabChild
mov eax, esi
mov edx, 2
call sym._ResizeTabChild
xor eax, eax
jmp 0x68986c94
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x5c]
test edx, edx
je 0x68986c92
test edi, edi
jne 0x68986cf4
xor eax, eax
jmp 0x68986c94
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x50], 2
mov dword [ecx + 0x54], 2
jmp 0x68986d40
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x68993780
mov dword [esp + 0x10], 0x238
mov dword [esp + 0xc], str.OnTabChange
mov dword [esp + 8], 0x68993645
mov dword [esp + 4], 0x68992028
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x68986e32
mov ebx, dword [edi + 0x168]
jmp 0x68986daf
lea esi, [ebp - 0x74]
mov dword [esp + 8], 0x64
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._GetWindowTextA_12
sub esp, 0xc
test eax, eax
jne 0x689870b1
test byte [0x68992028], 1
je 0x68986c92
mov dword [esp + 0x14], str.Unable_to_get_search_text._n
mov dword [esp + 0x10], 0x2fd
mov dword [esp + 0xc], str.Child_WndProc
mov dword [esp + 8], 0x68993645
mov dword [esp + 4], 0x68992028
mov dword [esp], 0
call sym._ros_dbg_log
xor eax, eax
jmp 0x68986c94
mov eax, 1
mov dword [esi + 0x184], eax
mov eax, dword [esi + eax*8 + 0x160]
test eax, eax
je 0x68986c92
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
xor eax, eax
sub esp, 8
jmp 0x68986b56
xor eax, eax
jmp 0x68987077
mov eax, 2
jmp 0x68987077
add eax, esi
mov ebx, esi
mov dword [ebp - 0x8c], eax
movsx eax, byte [ebx]
add ebx, 1
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_tolower]
mov byte [ebx - 1], al
cmp dword [ebp - 0x8c], ebx
jne 0x689870bb
mov dword [esp + 4], esi
mov dword [esp], edi
call sym._InitSearch
xor eax, eax
jmp 0x68986c94