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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp eax, 0xf
je 0x10008488
cmp eax, 0x4e
je 0x100085f0
cmp eax, 5
je 0x100085c0
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
call dword [sym.imp.user32.dll_DefWindowProcW]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
lea edi, [ebp - 0x70]
mov dword [esp], ebx
mov dword [esp + 4], edi
call dword [sym.imp.user32.dll_BeginPaint]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 5
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetWindow]
sub esp, 8
test eax, eax
je 0x100085a3
lea eax, [ebp - 0x80]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [sym.imp.gdi32.dll_GetStockObject]
sub esp, 8
mov dword [ebp - 0x8c], ecx
mov dword [esp], 0x13
call ecx
mov edx, dword [sym.imp.gdi32.dll_SelectObject]
sub esp, 4
mov dword [ebp - 0x88], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call edx
sub esp, 8
mov dword [esp], 0x10
call dword [sym.imp.user32.dll_GetSysColor]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_SetDCPenColor]
mov eax, dword [ebp - 0x78]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [sym.imp.gdi32.dll_LineTo]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [ebp - 0x84], eax
call eax
mov ecx, dword [ebp - 0x8c]
sub esp, 0xc
mov dword [esp], 6
call ecx
mov edx, dword [ebp - 0x88]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call edx
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_MoveToEx]
mov eax, dword [ebp - 0x78]
sub esp, 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], 1
mov dword [esp], esi
call eax
sub esp, 0xc
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EndPaint]
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 dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
mov esi, eax
test eax, eax
je 0x100085e3
cmp ebx, dword [eax + 0x48]
je 0x10008850
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], 0
mov esi, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [esp], ebx
call esi
mov ecx, eax
mov eax, dword [ebp + 0x14]
sub esp, 8
mov eax, dword [eax + 8]
cmp eax, 0xfffffe3d
je 0x100088d8
jbe 0x10008650
cmp eax, 0xfffffffc
je 0x10008790
cmp eax, 0xfffffffd
jne 0x100085e3
test ecx, ecx
je 0x100085e3
mov eax, dword [ecx + 0x184]
cmp eax, 1
je 0x1000863d
cmp eax, 2
jne 0x100085e3
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
test edx, edx
jne 0x10008838
xor eax, eax
jmp 0x100085e5
cmp eax, 0xfffffdd9
je 0x100086b0
cmp eax, 0xfffffe3a
jne 0x100085e3
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx + 0x160]
mov ecx, dword [ebp + 0x14]
test byte [eax + 0x40], 0x20
mov dword [eax + 0x38], 0x22
lea ebx, [eax + 0x38]
sete al
movzx eax, al
add eax, 1
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x50], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113f
mov dword [esp], edx
call dword [sym.imp.user32.dll_SendMessageW]
xor eax, eax
sub esp, 0x10
jmp 0x10008477
mov dword [esp + 4], 0
mov dword [esp], ebx
call esi
sub esp, 8
mov esi, eax
test byte [0x10013040], 8
jne 0x100088f8
test esi, esi
je 0x100085e3
mov eax, dword [esi + 0x184]
mov eax, dword [esi + eax*8 + 0x160]
test eax, eax
je 0x100086fc
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
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 dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
cmp dword [esi + 0x164], eax
je 0x10008a2c
cmp eax, dword [esi + 0x16c]
je 0x100089f7
cmp dword [esi + 0x174], eax
je 0x10008a30
test byte [0x10013040], 1
je 0x100085e3
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Tab_ID__d_does_not_correspond_to_a_valid_index_in_the_tab_list._n
mov dword [esp + 8], str.OnTabChange
mov dword [esp + 4], 0x10013040
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
xor eax, eax
jmp 0x10008477
test ecx, ecx
je 0x100085e3
mov eax, dword [ecx + 0x184]
cmp eax, 1
je 0x10008925
cmp eax, 2
jne 0x100085e3
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x144]
je 0x10008992
mov ebx, dword [ecx + 0x148]
cmp eax, ebx
jne 0x100085e3
mov dword [ebp - 0x84], ecx
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1042
mov dword [esp], ebx
call esi
mov dword [ebp - 0x70], 4
sub esp, 0x10
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x50]
sub esp, 0x10
test edx, edx
je 0x100085e3
mov ecx, dword [ebp - 0x84]
lea esi, [esi]
mov eax, ecx
call sym._OnTopicChange.part.0
xor eax, eax
jmp 0x100085e5
lea eax, [ebp - 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x64]
sub esp, 8
sub eax, 8
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x68]
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 dword [sym.imp.user32.dll_SetWindowPos]
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 0x100085e5
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x5c]
test edx, edx
je 0x100085e3
test ecx, ecx
jne 0x10008838
xor eax, eax
jmp 0x100085e5
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x100156e4
mov dword [esp + 8], str.OnTabChange
mov dword [esp + 4], 0x10013040
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x100086cf
mov esi, dword [ecx + 0x168]
mov dword [ebp - 0x84], ecx
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1042
mov dword [esp], esi
call ebx
mov dword [ebp - 0x70], 4
sub esp, 0x10
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104b
mov dword [esp], esi
call ebx
mov edx, dword [ebp - 0x50]
sub esp, 0x10
test edx, edx
jne 0x1000882f
xor eax, eax
jmp 0x100085e5
lea edi, [ebp - 0x70]
mov dword [ebp - 0x84], ecx
mov dword [esp + 8], 0x64
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [ebp - 0x84]
sub esp, 0xc
test eax, eax
mov ebx, eax
jne 0x10008a37
test byte [0x10013040], 1
je 0x100085e3
mov dword [esp + 0xc], str.Unable_to_get_search_text._n
mov dword [esp + 8], str.Child_WndProc
mov dword [esp + 4], 0x10013040
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
xor eax, eax
jmp 0x100085e5
mov eax, 1
mov dword [esi + 0x184], eax
mov eax, dword [esi + eax*8 + 0x160]
test eax, eax
je 0x100085e3
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
xor eax, eax
sub esp, 8
jmp 0x10008477
xor eax, eax
jmp 0x100089fc
mov eax, 2
jmp 0x100089fc
mov dword [ebp - 0x84], ecx
mov esi, edi
add ebx, edi
movsx eax, byte [esi]
add esi, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_tolower]
mov byte [esi - 1], al
cmp ebx, esi
jne 0x10008a41
mov ecx, dword [ebp - 0x84]
mov dword [esp + 4], edi
mov dword [esp], ecx
call sym._InitSearch
xor eax, eax
jmp 0x100085e5