Function at 0x45ede0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x1c], eax
call fcn.0045e2c0
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x873c68
mov edx, dword [ebp + 8]
push edx
call dword [0x8a77e8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x3c]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x10
push 0
push 0
push 0xf0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x45eecb
push 0
lea edx, [ebp - 0x3c]
push edx
push 5
push 2
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x8a77ec]
jmp 0x45eee3
push 0
lea edx, [ebp - 0x3c]
push edx
push 1
push 2
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x8a77ec]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], 0xf
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
call fcn.004a67c0
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0x24], eax
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
push 1
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
call fcn.004a67c0
add esp, 4
mov dword [ebp - 0x18], eax
push 0
push 0
push 0x31
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x38]
add edx, 5
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x30]
add eax, 5
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 2
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x8a77f8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x18]
push edx
call fcn.004a6790
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.004a6790
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x8a77f4]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov esp, ebp
pop ebp
ret