Function at 0x58189c17
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push edi
mov edi, dword [ebp + 8]
push 0xfffffffffffffff0
push edi
call esi
test eax, 0x20000000
jne 0x58189f48
push ebx
push 0xfffffffffffffff0
push edi
call esi
mov ebx, dword [ebp + 0xc]
test al, 1
je 0x58189c59
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x58189c6b
mov eax, dword [0x581b4af4]
jmp 0x58189c68
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x58189c6b
mov eax, dword [0x581b4af8]
mov dword [ebp - 0x14], eax
push 2
push edi
call fcn.5816a679
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
pop ecx
je 0x58189f3a
push 2
push 4
push dword [0x581b4ac8]
push eax
call fcn.5816a565
add esp, 0x10
test eax, eax
je 0x58189f3a
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
neg eax
push eax
mov eax, dword [ebp - 0x10]
neg eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.58189a69
pop ecx
mov esi, dword [ebp + 0xc]
pop ecx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push esi
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push 4
call fcn.58147f35
pop ecx
push 2
push 2
push dword [0x581b4adc]
push esi
call fcn.5816a565
add esp, 0x10
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
test byte [ebx + 0x22], 4
je 0x58189d7e
push 1
mov edi, dword [sym.imp.USER32.dll_InflateRect]
pop eax
sub eax, dword [ebx + 8]
push eax
push 1
pop eax
sub eax, dword [ebx + 4]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xc]
push 0
lea eax, [ecx + eax + 1]
push eax
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push 0xffffffffffffffff
push eax
call edi
inc dword [ebp - 4]
jmp 0x58189df3
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ecx + eax + 1]
push 1
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_InflateRect]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push 1
push eax
call esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_Rectangle]
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x34]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push 0xffffffffffffffff
push eax
call esi
inc dword [ebp - 0x28]
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
test byte [ebx + 0x22], 8
je 0x58189ebb
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x58189e1d
push 4
call fcn.58147f35
pop ecx
push 0x7ff2
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov edi, eax
jmp 0x58189e3c
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x58189e38
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x1c], eax
jmp 0x58189e3c
and dword [ebx + 0x1c], 0
mov eax, dword [0x581ae534]
push 2
push 1
push edi
push dword [eax + 0x264]
call fcn.5816a565
mov edi, eax
add esp, 0x10
test edi, edi
je 0x58189e93
mov eax, dword [0x581ae534]
push 0xcc0020
push 0
push 0
push dword [eax + 0x264]
push dword [ebx]
push dword [ebx + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x581ae534]
push edi
push dword [eax + 0x264]
call fcn.5818ba37
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
push 0
add eax, dword [ebx + 0x1c]
push dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp - 4]
inc eax
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.GDI32.dll_LineTo]
inc dword [ebp - 0x10]
lea eax, [ebp - 0xd0]
push eax
push 0x50
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x58189eed
push ebx
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push esi
call eax
add esp, 0x14
jmp 0x58189f3a
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xd0]
or dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x14]
and dword [ebp - 0x60], 0
and byte [ebp - 0x53], 0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], 0x20
mov byte [ebp - 0x64], 2
mov byte [ebp - 0x54], 1
call fcn.5814dc66
pop ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.5818ed71
pop ecx
pop ecx
pop ebx
pop edi
pop esi
leave
ret