Function at 0x10045390
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x88]
push eax
push ecx
call edi
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
lea eax, [edx + 0x119]
push 0
mov dword [esp + 0x98], eax
lea ecx, [ebx + 0x13d]
mov dword [esp + 0x94], ecx
sub eax, edx
push eax
sub ecx, ebx
push ecx
push edx
push ebx
mov ecx, esi
call sub.MFC71U.DLL_COleControlSite::MoveWindow
push 0
mov ecx, esi
call sub.MFC71U.DLL_CScrollView::CenterOnPoint
mov eax, dword [esi + 0x10f8]
lea edx, [esp + 0x40]
push edx
push eax
call edi
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
push 1
add eax, 0x2f
push 0xc
mov dword [esp + 0x50], eax
add eax, 0xffffffd1
push eax
push 0x2c
push 0x2f
lea ecx, [esi + 0x10d8]
mov dword [esp + 0x54], 0x2f
mov dword [esp + 0x58], 0x2c
mov dword [esp + 0x60], 0x38
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov edx, dword [esi + 0x12c0]
lea ecx, [esp + 0x70]
push ecx
push edx
call edi
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x4c]
add edx, 0xa
push 1
mov dword [esp + 0x80], ecx
add eax, edx
sub ecx, ebx
push ecx
mov dword [esp + 0x80], eax
sub eax, edx
push eax
push ebx
push edx
lea ecx, [esi + 0x12a0]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edx
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x4c]
add ebx, 0xd
lea ecx, [ebx + 0xc]
push 1
mov dword [esp + 0x40], ecx
sub ecx, ebx
push ecx
sub eax, ebp
push eax
push ebx
push ebp
lea ecx, [esi + 0x1170]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov ecx, dword [esi + 0x1358]
lea eax, [esp + 0x60]
push eax
push ecx
call edi
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add edx, 0xa
add eax, edx
push 1
mov dword [esp + 0x70], ecx
sub ecx, ebx
push ecx
mov dword [esp + 0x70], eax
sub eax, edx
push eax
mov eax, ebx
push eax
mov dword [esp + 0x70], ebp
push edx
lea ecx, [esi + 0x1338]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edx
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x3c]
add ebx, 0xe
lea ecx, [ebx + 0xc]
push 1
mov dword [esp + 0x30], ecx
sub ecx, ebx
push ecx
mov dword [esp + 0x30], eax
sub eax, ebp
push eax
push ebx
push ebp
lea ecx, [esi + 0x1208]
mov dword [esp + 0x34], ebp
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov edx, dword [esi + 0x14bc]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov ebp, dword [esp + 0x18]
sub ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, ebx
sub eax, 1
add edx, 0xa
mov dword [esp + 0x1c], ecx
sub ecx, eax
mov dword [esp + 0x10], edx
push 1
lea edx, [edx + ebp - 0xa]
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
sub edx, ecx
mov dword [esp + 0x1c], eax
push edx
push eax
push ecx
lea ecx, [esi + 0x13d0]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov ecx, eax
add eax, ebp
push 1
mov dword [esp + 0x1c], eax
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x20], ecx
push ecx
lea ecx, [esi + 0x149c]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, 2
push 1
add ebp, eax
sub edx, ecx
push edx
mov dword [esp + 0x20], ebp
sub ebp, eax
push ebp
push ecx
push eax
lea ecx, [esi + 0x1568]
mov dword [esp + 0x24], eax
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x2c]
add ebx, 0x16
lea edx, [ebx + 0xc]
push 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
sub edx, ebx
push edx
sub ecx, eax
push ecx
push ebx
push eax
lea ecx, [esi + 0xf10]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov ecx, dword [esi + 0x8b8]
lea eax, [esp + 0x50]
push eax
push ecx
call edi
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
sub ebp, dword [esp + 0x54]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
add ecx, 0xa
add eax, ecx
lea edx, [ebp + 0x78]
push 1
mov dword [esp + 0x60], edx
add edx, 0xffffff88
push edx
mov dword [esp + 0x60], eax
sub eax, ecx
push eax
push 0x78
mov dword [esp + 0x60], ecx
push ecx
lea ecx, [esi + 0x898]
mov dword [esp + 0x68], 0x78
call sub.MFC71U.DLL_COleControlSite::MoveWindow
lea edx, [esp + 0xb8]
push edx
mov eax, dword [esi + 0xfc8]
push eax
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ebx
mov ebx, ecx
sub ebx, dword [esp + 0xc0]
add eax, 0x16
add ebx, dword [esp + 0xb8]
lea edx, [eax + 0xc]
push 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
sub edx, eax
push edx
sub ecx, ebx
push ecx
push eax
push ebx
lea ecx, [esi + 0xfa8]
mov dword [esp + 0x38], eax
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov ecx, dword [esi + 0xc7c]
push 0xa8c0
push 1
push 0x46f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xc7c]
lea edx, [esp + 0xa8]
push edx
push eax
call edi
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0xa8]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x5c]
add ecx, 0xd
lea edx, [ecx + ebp]
sub edi, eax
mov dword [esp + 0x80], eax
mov eax, edx
sub eax, ecx
push 1
push eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x58]
mov edx, edi
sub edx, eax
push edx
push ecx
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esi + 0xe88]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov ecx, dword [esp + 0x84]
mov eax, edi
add edi, dword [esp + 0x80]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, edi
sub edx, eax
push edx
push ecx
push eax
lea ecx, [esi + 0xc5c]
mov dword [esp + 0x44], eax
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x98], ebx
add eax, 0x16
push 1
lea ecx, [eax + 0xc]
sub ecx, eax
push ecx
add edx, 0xffffffd1
push edx
push eax
push 0x2f
lea ecx, [esi + 0x1040]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
lea ecx, [esi + 0x4d4]
test ecx, ecx
je 0x1004581b
cmp dword [ecx + 0x20], 0
je 0x1004581b
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x3c]
add eax, 0xd
push 1
add ebp, eax
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x54]
sub ebp, eax
push ebp
sub edi, edx
push edi
push eax
push edx
call sub.MFC71U.DLL_COleControlSite::MoveWindow
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
add ebp, 0xfffffffb
add edi, 0xffffffba
push 1
lea ebx, [ebp - 0x17]
lea eax, [edi + 0x3c]
sub ebp, ebx
push ebp
sub eax, edi
push eax
push ebx
push edi
lea ecx, [esi + 0xdbc]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
push 1
lea eax, [edi - 0xa]
lea ecx, [eax - 0x3c]
push ebp
sub eax, ecx
push eax
push ebx
push ecx
lea ecx, [esi + 0xcf0]
call sub.MFC71U.DLL_COleControlSite::MoveWindow
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret