Function at 0x759475a5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x7594d0ac]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x759478f8
push 0x75947890
mov esi, ecx
push 0x80000001
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], edi
mov dword [esi + 0x68], edi
call fcn.7594629a
test al, al
je 0x759475e6
mov ecx, esi
call fcn.759473db
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esi + 0x54]
push eax
push edi
call ebx
mov ecx, esi
call fcn.759463d9
cmp dword [esi + 0x74], 0
je 0x75947617
mov ecx, esi
call fcn.759465b0
test al, al
jne 0x75947617
and dword [esi + 0x74], 0
mov dword [esi + 0x70], 2
lea eax, [ebp - 0x70]
push eax
push edi
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
push 0
push 0
push 1
call ebx
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x64]
push 3
add eax, ecx
pop ecx
cdq
idiv ecx
push eax
push 0
call ebx
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x68]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
mov eax, 0x4e87
push eax
mov ebx, 0x7594731a
push ebx
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
push eax
call sub.COMCTL32.dll_SetWindowSubclass
push esi
mov eax, 0x4e88
push eax
push ebx
push eax
push dword [ebp - 0x54]
call edi
push eax
call sub.COMCTL32.dll_SetWindowSubclass
push esi
mov eax, 0x4e89
push eax
push ebx
push eax
push dword [ebp - 0x54]
call edi
push eax
call sub.COMCTL32.dll_SetWindowSubclass
cmp byte [esi + 0x87], 0
je 0x759476ba
push esi
mov eax, 0x4e8a
push eax
push ebx
push eax
push dword [ebp - 0x54]
call edi
push eax
call sub.COMCTL32.dll_SetWindowSubclass
push 0x759348d0
lea ecx, [ebp - 0x88]
call fcn.75948a2b
push 0x4c
lea eax, [ebp - 0x50]
push eax
xor ebx, ebx
push ebx
push ebx
push 4
call dword [sym.imp.ntdll.dll_NtPowerInformation]
cmp byte [ebp - 0x4a], bl
je 0x759476eb
cmp byte [ebp - 0x48], bl
je 0x759476eb
xor eax, eax
inc eax
jmp 0x759476ed
xor eax, eax
cmp byte [ebp - 0x4d], 0
mov byte [esi + 0x86], al
jne 0x75947709
cmp byte [ebp - 0x4c], 0
jne 0x75947709
cmp byte [ebp - 0x4b], 0
jne 0x75947709
xor eax, eax
jmp 0x7594770c
xor eax, eax
inc eax
lea ecx, [ebp - 0x88]
mov byte [esi + 0x85], al
call fcn.75948a94
push 0x4e88
push dword [ebp - 0x54]
call edi
push 0x4e8a
push dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
call edi
cmp byte [esi + 0x87], 0
mov dword [ebp - 0x58], eax
je 0x75947765
movzx eax, byte [esi + 0x85]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
push dword [ebp - 0x5c]
call ebx
movzx eax, byte [esi + 0x86]
push eax
push dword [ebp - 0x58]
call ebx
jmp 0x7594781c
cmp byte [esi + 0x85], 0
je 0x759477a7
cmp byte [esi + 0x86], 0
mov dword [esi + 0x6c], 0x10
push ebx
je 0x7594779e
push 0x32
push 0xbd85
push dword [ebp - 0x54]
mov byte [esi + 0x88], 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x80], eax
jmp 0x7594781c
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x7594781c
cmp byte [esi + 0x86], 0
je 0x75947805
push eax
mov dword [esi + 0x6c], 0x40
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
inc ebx
lea eax, [ebx + ebx]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [ebp - 0x60], eax
je 0x7594781c
push ebx
push eax
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x759477fa
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x7594781c
push ebx
push dword [ebp - 0x5c]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
call ebx
push 0
push dword [ebp - 0x58]
call ebx
and dword [esi + 0x6c], 0
cmp byte [esi + 0x85], 0
pop ebx
jne 0x7594782f
cmp byte [esi + 0x86], 0
je 0x75947859
cmp dword [esi + 0x70], 0x100
je 0x75947859
cmp byte [esi + 0x87], 0
je 0x7594784f
cmp byte [esi + 0x86], 0
mov eax, 0x4e8a
jne 0x75947854
mov eax, 0x4e88
mov dword [esi + 0x7c], eax
jmp 0x75947860
mov dword [esi + 0x7c], 0x4e87
push dword [esi + 0x7c]
push dword [ebp - 0x54]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [esi + 0x7c]
push 0x401
push dword [ebp - 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.75921930
leave
ret 4