Function at 0x450f00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
push 0x7d7
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0x7d7
push ebx
mov dword [ebp - 0x28], eax
call edi
xor edx, edx
mov ecx, eax
call fcn.00452f10
mov esi, eax
sub esi, dword [ebp - 0x28]
push 0x7d8
push ebx
mov dword [ebp - 0x38], esi
call edi
xor edx, edx
mov ecx, eax
call fcn.00452f10
sub eax, dword [ebp - 0x28]
cmp esi, eax
jg 0x450f90
push 0x7d8
push ebx
call edi
xor edx, edx
mov ecx, eax
call fcn.00452f10
mov esi, eax
sub esi, dword [ebp - 0x28]
mov dword [ebp - 0x38], esi
test esi, esi
jle 0x451082
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub esi, dword [ebp - 0x14]
add esi, dword [ebp - 0xc]
push 6
push eax
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, 1
cmp esi, 5
jge 0x450ff8
cmp esi, 4
je 0x450fde
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0
jmp 0x451005
cmp esi, 5
jge 0x450ff8
mov dword [ebp - 0x28], 0
cmp esi, 4
je 0x450ff8
mov dword [ebp - 0x30], 0
jmp 0x451005
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
push dword [esi*4 + 0x527d10]
mov eax, dword [esi*4 + 0x527d0c]
push ebx
mov dword [ebp - 0x2c], eax
call edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x45102c
push eax
push ebx
call edi
mov dword [ebp - 0x2c], eax
jmp 0x451033
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
push 0
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x24]
push edx
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
cmp esi, 0xa
jb 0x450fc5
push 0x426
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0xbc5
mov dword [ebp - 0x34], eax
call fcn.0041e970
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00452f10
push 0xbc6
mov esi, eax
call fcn.0041e970
add esp, 4
push eax
push 0xbd6
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 8
mov edx, eax
call fcn.00452f10
cmp esi, eax
jg 0x45111a
push 0xbc6
call fcn.0041e970
add esp, 4
push eax
push 0xbd6
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 8
mov edx, eax
call fcn.00452f10
mov esi, eax
push 0xbc7
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
cmp esi, eax
jg 0x45114e
push 0xbc7
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
mov esi, eax
push 0xbc8
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
cmp esi, eax
jg 0x451182
push 0xbc8
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
mov esi, eax
push 0xbc0
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
cmp esi, eax
jg 0x4511b6
push 0xbc0
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
mov esi, eax
push 0xbc1
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
cmp esi, eax
jg 0x4511ea
push 0xbc1
call fcn.0041e970
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, eax
call fcn.00452f10
mov esi, eax
mov eax, dword [0x5a095c]
sub eax, dword [ebp - 0x34]
add esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
jle 0x4512cf
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 6
push eax
mov eax, esi
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, 1
nop
cmp esi, 3
je 0x4512c5
cmp esi, 5
je 0x4512c5
push dword [esi*4 + 0x527d10]
mov eax, dword [esi*4 + 0x527d0c]
push ebx
mov dword [ebp - 0x30], eax
call edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x451269
push eax
push ebx
call edi
mov dword [ebp - 0x30], eax
jmp 0x451270
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
sub eax, edx
cmp esi, 7
push 0
push eax
mov eax, dword [ebp - 0x34]
cmovge eax, ecx
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x34]
push edx
xor edx, edx
cmp esi, 7
cmovl eax, edx
add eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
cmp esi, 0xa
jb 0x451230
lea eax, [ebp - 0x14]
push eax
push 0x42a
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0x42a
push ebx
mov dword [ebp - 0x30], eax
call edi
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x451388
push 0
push 0
push 0x31
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x451388
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x451388
inc eax
push 2
push eax
mov dword [ebp - 0x34], eax
call fcn.004b6706
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x45138a
push dword [ebp - 0x34]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x451383
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x38]
jmp 0x45138a
xor eax, eax
push eax
call fcn.004d1211
add esp, 4
cmp esi, 0xffffffff
je 0x4513a6
test esi, esi
je 0x4513a6
push esi
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0x40]
sub esi, dword [ebp - 0x30]
add esi, dword [0x5a0960]
push 2
push ebx
mov dword [ebp - 0x34], esi
call edi
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x451445
push 0
push 0
push 0x31
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x451445
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x451445
inc eax
push 2
push eax
mov dword [ebp - 0x44], eax
call fcn.004b6706
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x451447
push dword [ebp - 0x44]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x451440
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x38]
jmp 0x451447
xor eax, eax
push eax
call fcn.004d1211
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 0xffffffff
je 0x451466
test eax, eax
je 0x451466
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x30]
add eax, dword [0x5a0960]
cmp esi, eax
jg 0x451492
push 2
push ebx
call edi
xor edx, edx
mov ecx, eax
call fcn.00452f10
mov esi, dword [0x5a0960]
sub esi, dword [ebp - 0x30]
add esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
jle 0x451546
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub esi, dword [ebp - 0x14]
add esi, dword [ebp - 0xc]
push 6
push eax
push esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, 1
cmp esi, 2
jl 0x4514d1
cmp esi, 6
jle 0x451540
push dword [esi*4 + 0x527d10]
mov eax, dword [esi*4 + 0x527d0c]
push ebx
mov dword [ebp - 0x3c], eax
call edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
jle 0x4514f8
push eax
push ebx
call edi
mov dword [ebp - 0x30], eax
jmp 0x4514ff
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov ecx, dword [ebp - 0x24]
push 0
push eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
add eax, dword [ebp - 0x34]
push eax
push edx
push ecx
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
cmp esi, 0xa
jb 0x4514c7
push 0x42a
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 3
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
sub ecx, edx
push 0
push dword [0x55b220]
push ecx
push dword [ebp - 0x10]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 3
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
sub ecx, edx
push 0
push dword [0x55b220]
push ecx
push dword [ebp - 0x10]
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret