Function at 0x445090
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4f22ec]
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 - 0x2c], eax
call edi
xor edx, edx
mov ecx, eax
call fcn.00446fb0
mov esi, eax
sub esi, dword [ebp - 0x2c]
push 0x7d8
push ebx
mov dword [ebp - 0x3c], esi
call edi
xor edx, edx
mov ecx, eax
call fcn.00446fb0
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jg 0x445120
push 0x7d8
push ebx
call edi
xor edx, edx
mov ecx, eax
call fcn.00446fb0
mov esi, eax
sub esi, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], esi
test esi, esi
jle 0x445212
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 0x445188
cmp esi, 4
je 0x44516e
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0
jmp 0x445195
cmp esi, 5
jge 0x445188
mov dword [ebp - 0x2c], 0
cmp esi, 4
je 0x445188
mov dword [ebp - 0x34], 0
jmp 0x445195
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0
push dword [esi*4 + 0x4cb644]
mov eax, dword [esi*4 + 0x4cb640]
push ebx
mov dword [ebp - 0x30], eax
call edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x4451bc
push eax
push ebx
call edi
mov dword [ebp - 0x30], eax
jmp 0x4451c3
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
sub eax, edx
push 0
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x28]
push edx
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
cmp esi, 0xa
jb 0x445155
push 0x426
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x2c], 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 - 0x38], eax
call fcn.0041afe0
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00446fb0
push 0xbc6
mov esi, eax
call fcn.0041afe0
add esp, 4
push eax
push 0xbd6
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov edx, eax
call fcn.00446fb0
cmp esi, eax
jg 0x4452aa
push 0xbc6
call fcn.0041afe0
add esp, 4
push eax
push 0xbd6
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov edx, eax
call fcn.00446fb0
mov esi, eax
push 0xbc7
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
cmp esi, eax
jg 0x4452de
push 0xbc7
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
mov esi, eax
push 0xbc8
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
cmp esi, eax
jg 0x445312
push 0xbc8
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
mov esi, eax
push 0xbc0
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
cmp esi, eax
jg 0x445346
push 0xbc0
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
mov esi, eax
push 0xbc1
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
cmp esi, eax
jg 0x44537a
push 0xbc1
call fcn.0041afe0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov edx, eax
call fcn.00446fb0
mov esi, eax
mov eax, dword [0x540f3c]
sub eax, dword [ebp - 0x38]
add esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
jle 0x44545f
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
mov edi, edi
cmp esi, 3
je 0x445455
cmp esi, 5
je 0x445455
push dword [esi*4 + 0x4cb644]
mov eax, dword [esi*4 + 0x4cb640]
push ebx
mov dword [ebp - 0x34], eax
call edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
test eax, eax
jle 0x4453f9
push eax
push ebx
call edi
mov dword [ebp - 0x34], eax
jmp 0x445400
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
sub eax, edx
cmp esi, 7
push 0
push eax
mov eax, dword [ebp - 0x38]
cmovge eax, ecx
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x38]
push edx
xor edx, edx
cmp esi, 7
cmovl eax, edx
add eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
cmp esi, 0xa
jb 0x4453c0
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 - 0x34], eax
call edi
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x445518
push 0
push 0
push 0x31
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x445518
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x30], eax
test eax, eax
jle 0x445518
inc eax
push 2
push eax
mov dword [ebp - 0x38], eax
call fcn.0049570f
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x44551a
push dword [ebp - 0x38]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x445513
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x3c]
jmp 0x44551a
xor eax, eax
push eax
call fcn.004998ec
add esp, 4
cmp esi, 0xffffffff
je 0x445536
test esi, esi
je 0x445536
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0x44]
sub esi, dword [ebp - 0x34]
add esi, dword [0x540f40]
push 2
push ebx
mov dword [ebp - 0x38], esi
call edi
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4455d5
push 0
push 0
push 0x31
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4455d5
push eax
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x40], eax
test eax, eax
jle 0x4455d5
inc eax
push 2
push eax
mov dword [ebp - 0x48], eax
call fcn.0049570f
add esp, 8
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4455d7
push dword [ebp - 0x48]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4455d0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x3c]
jmp 0x4455d7
xor eax, eax
push eax
call fcn.004998ec
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0xffffffff
je 0x4455f6
test eax, eax
je 0x4455f6
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x34]
add eax, dword [0x540f40]
cmp esi, eax
jg 0x445625
push 2
push ebx
call edi
xor edx, edx
mov ecx, eax
call fcn.00446fb0
mov esi, eax
mov dword [ebp - 0x1c], edx
sub esi, dword [ebp - 0x34]
add esi, dword [0x540f40]
mov dword [ebp - 0x38], esi
test esi, esi
jle 0x4456df
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
lea ebx, [ebx]
cmp esi, 2
jl 0x44566a
cmp esi, 6
jle 0x4456d9
push dword [esi*4 + 0x4cb644]
mov eax, dword [esi*4 + 0x4cb640]
push ebx
mov dword [ebp - 0x40], eax
call edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
test eax, eax
jle 0x445691
push eax
push ebx
call edi
mov dword [ebp - 0x34], eax
jmp 0x445698
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
sub eax, edx
mov ecx, dword [ebp - 0x28]
push 0
push eax
mov eax, dword [ebp - 0x20]
sub eax, ecx
add eax, dword [ebp - 0x38]
push eax
push edx
push ecx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc esi
cmp esi, 0xa
jb 0x445660
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 [0x52b934]
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 [0x52b934]
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.00491940
mov esp, ebp
pop ebp
ret