Function at 0x44e391
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x48c
push ebx
push esi
push edi
mov edi, eax
lea eax, [ebp + 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push 0xfffffffffffffff0
push dword [edi + 4]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
mov dword [ebp + 0x5c], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [edi + 4]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [ebp - 0x10], eax
mov eax, 0x10000
mov esi, ebx
and esi, eax
sub esi, eax
neg esi
sbb esi, esi
inc esi
je 0x44e414
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 4]
jne 0x44e414
mov dword [ebp - 8], 1
jmp 0x44e418
and dword [ebp - 8], 0
test esi, esi
je 0x44e42a
test bl, 1
je 0x44e42a
mov dword [ebp + 8], 1
jmp 0x44e42e
and dword [ebp + 8], 0
mov eax, ebx
mov ecx, 0x8000
and eax, ecx
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x3c], eax
mov eax, ebx
and al, 0x10
sub al, 0x10
neg al
mov esi, edi
sbb eax, eax
inc eax
mov dword [ebp - 0xc], eax
mov eax, ebx
and al, 0x20
sub al, 0x20
neg al
sbb eax, eax
inc eax
mov dword [ebp + 4], eax
mov eax, ebx
and al, 0x40
sub al, 0x40
neg al
sbb eax, eax
and bl, 0x80
inc eax
sub bl, 0x80
neg bl
mov dword [ebp + 0x64], eax
sbb ebx, ebx
inc ebx
mov dword [ebp + 0x40], ebx
call fcn.00450341
xor ebx, ebx
cmp dword [edi + 0x50], ebx
mov dword [ebp - 0x14], eax
je 0x44e48d
mov dword [ebp + 8], ebx
mov eax, dword [edi + 0x40]
mov esi, dword [edi + 0x3c]
mov dword [ebp + 0x54], eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push dword [edi + 4]
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x50], esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [edi + 0x4c]
mov dword [ebp + 0x60], eax
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebp + 0x60], eax
je 0x44e5c7
push 0x420
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x60]
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_DrawTextA]
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
sub ebx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x20]
xor eax, eax
cmp dword [ebp + 0x40], eax
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], ecx
jne 0x44e5aa
mov edx, dword [edi + 0x3c]
cmp edx, eax
je 0x44e5aa
cmp dword [edi + 0x40], eax
je 0x44e5aa
cmp dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x58]
je 0x44e56d
sub eax, esi
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x54]
sub eax, ecx
sub eax, 4
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x58]
sub eax, ebx
mov ebx, dword [ebp + 0x18]
inc eax
cdq
sub eax, edx
sar eax, 1
sub ebx, ecx
mov dword [ebp + 0x2c], eax
sub ebx, 4
jmp 0x44e5e4
sub eax, edx
sub eax, ebx
cdq
push 3
pop esi
idiv esi
mov esi, eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x54]
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x5c]
sub eax, ecx
inc eax
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [edi + 0x3c]
add eax, esi
sar ebx, 1
add eax, dword [ebp + 0x68]
mov dword [ebp + 0x2c], eax
jmp 0x44e5e4
mov eax, dword [ebp + 0x58]
sub eax, ebx
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x5c]
sub eax, ecx
inc eax
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp 0x44e5e4
mov eax, dword [ebp + 0x58]
sub eax, esi
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x54]
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x6c], eax
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call esi
push 0x14
mov dword [ebp + 0x64], eax
call esi
push 0x10
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x70], ecx
mov ecx, dword [edi + 0x44]
sub ecx, 0
push 5
pop esi
je 0x44e61e
dec ecx
je 0x44e6d8
dec ecx
je 0x44e6aa
dec ecx
jne 0x44e62b
mov esi, dword [ebp + 0x3c]
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 4
xor eax, eax
cmp dword [edi + 0x50], eax
je 0x44e643
cmp dword [0x4e591c], eax
je 0x44e643
cmp dword [ebp + 4], eax
je 0x44e79a
cmp dword [ebp - 0xc], eax
je 0x44e785
push 2
push 2
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov dword [ebp + 0x64], eax
xor eax, eax
cmp dword [edi + 0x44], 2
setne al
dec eax
and eax, 5
add eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
xor esi, esi
cmp dword [ebp + 4], esi
mov dword [ebp], eax
mov dword [ebp + 0x44], esi
jne 0x44e748
mov eax, dword [edi + 0x44]
cmp eax, 1
je 0x44e6f7
cmp eax, esi
je 0x44e6f7
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp + 0x44], eax
jmp 0x44e72e
xor ecx, ecx
cmp dword [ebp + 0x3c], ecx
push eax
push dword [ebp - 4]
sete cl
lea ecx, [ecx*8 + 2]
mov esi, ecx
call fcn.004502f7
inc dword [ebp + 0x68]
inc dword [ebp + 0x6c]
inc dword [ebp + 0x2c]
pop ecx
pop ecx
mov dword [ebp + 0x70], eax
inc ebx
jmp 0x44e62b
mov esi, dword [ebp + 0x3c]
push dword [ebp - 4]
neg esi
push dword [ebp + 0x64]
sbb esi, esi
add esi, 5
call fcn.004502f7
pop ecx
pop ecx
mov dword [ebp + 0x70], eax
jmp 0x44e62b
mov eax, dword [ebp + 0x70]
push 1
push dword [ebp + 0x58]
push 0xffffffffffffffc0
pop esi
call fcn.0040ad2e
push eax
push dword [ebp + 0x70]
mov eax, dword [ebp + 0x5c]
push dword [ebp - 4]
call fcn.0046c73d
add esp, 0x14
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push esi
mov dword [ebp + 0x44], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
cmp dword [ebp + 0x44], esi
je 0x44e748
push dword [ebp + 0x5c]
push dword [ebp + 0x58]
push dword [ebp + 0x44]
push dword [ebp + 0x64]
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_FrameRgn]
cmp dword [ebp + 0x3c], esi
je 0x44e759
mov eax, dword [edi + 0x44]
cmp eax, esi
je 0x44e76c
cmp eax, 3
je 0x44e76c
push 1
push 1
push dword [ebp]
push dword [ebp + 0x64]
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_FrameRgn]
cmp dword [ebp + 0x44], esi
je 0x44e77a
push dword [ebp + 0x44]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x44e79a
cmp esi, 0xffffffff
je 0x44e79a
push 0xf
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_DrawEdge]
cmp dword [ebp + 0x40], 0
jne 0x44e86a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x44e86a
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov eax, dword [edi + 0x44]
mov eax, dword [edi + eax*4 + 0x2c]
cmp eax, 0xffffffff
mov dword [ebp + 0x70], eax
jne 0x44e7c9
and dword [ebp + 0x70], 0
xor eax, eax
cmp dword [edi + 0x50], eax
je 0x44e80f
mov edx, dword [0x4e5990]
cmp edx, eax
je 0x44e80f
mov eax, dword [ebp + 0x68]
push dword [ebp + 0x70]
mov esi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x6c]
push dword [edi + 0x28]
add esi, eax
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x54]
add eax, ecx
mov dword [ebp + 0x28], eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp + 0x20], ecx
push 1
push dword [ebp + 0x7c]
mov dword [ebp + 0x24], esi
push dword [edi + 0x50]
call edx
jmp 0x44e86a
cmp dword [ebp - 0x10], eax
jne 0x44e853
cmp dword [ebp + 0x70], 3
je 0x44e853
push eax
push dword [ebp + 0x70]
push dword [edi + 0x28]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x44e853
push 0x23
push dword [ebp + 0x54]
push dword [ebp + 0x50]
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push eax
push esi
push eax
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_DrawStateA]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x44e86a
push 1
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push dword [ebp + 0x7c]
push dword [ebp + 0x70]
push dword [edi + 0x28]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
cmp dword [ebp + 0x60], 0
je 0x44ea59
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x12
call esi
push 1
push dword [ebp + 0x7c]
mov dword [ebp + 0x40], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [edi + 0x44], 1
jne 0x44e899
push 0xd
call esi
mov dword [ebp + 0x40], eax
xor ecx, ecx
cmp dword [edi + 0x50], ecx
je 0x44e91e
cmp dword [0x4e5920], ecx
je 0x44e91e
call dword [0x4e41a8]
mov ecx, dword [ebp + 0x34]
mov dword [ebp], eax
mov eax, dword [ebp + 0x2c]
add ecx, eax
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x38]
add eax, ebx
mov dword [ebp + 0x28], eax
lea eax, [ebp - 0x418]
push eax
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.004bf900
mov eax, esp
push dword [ebp]
lea ecx, [ebp - 0x418]
push esi
push ecx
mov esi, eax
call fcn.0040a7b4
lea ecx, [ebp + 0x1c]
push ecx
push 0
push 0
push dword [ebp + 0x60]
push eax
push dword [ebp - 0x14]
push 1
push dword [ebp + 0x7c]
push dword [edi + 0x50]
call dword [0x4e5920]
jmp 0x44e9c0
cmp dword [ebp - 0x10], ecx
jne 0x44e946
push 0x22
push dword [ebp + 0x38]
lea eax, [ebp - 0x418]
push dword [ebp + 0x34]
push ebx
push dword [ebp + 0x2c]
push dword [ebp + 0x60]
push eax
push ecx
push ecx
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_DrawStateA]
jmp 0x44e9c0
mov eax, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x34]
add edx, eax
mov dword [ebp + 0x50], edx
mov edx, dword [ebp + 0x38]
add edx, ebx
cmp dword [ebp + 8], ecx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x54], edx
je 0x44e99b
inc eax
mov dword [ebp + 0x48], eax
lea eax, [ebx + 1]
push 0x10
mov dword [ebp + 0x4c], eax
call esi
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x60]
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_DrawTextA]
dec dword [ebp + 0x48]
dec dword [ebp + 0x4c]
push dword [ebp + 0x40]
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x60]
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_DrawTextA]
cmp dword [ebp - 8], 0
je 0x44ea59
lea esi, [ebp + 0xc]
lea edi, [ebp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [ebp + 4], esi
je 0x44e9fc
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x34]
add eax, ebx
push eax
mov eax, dword [ebp + 0x2c]
add ecx, eax
push ecx
push ebx
push eax
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 1
jmp 0x44ea26
cmp dword [ebp - 0xc], esi
je 0x44ea17
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
dec dword [ebp + 0x50]
dec dword [ebp + 0x54]
jmp 0x44ea30
cmp dword [ebp + 0x3c], esi
je 0x44ea22
push 0xfffffffffffffffe
push 0xfffffffffffffffe
jmp 0x44ea26
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp + 0x48]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push dword [ebp - 0x18]
push dword [ebp + 0x7c]
call dword [sym.imp.GDI32.dll_SelectObject]
lea esp, [ebp - 0x424]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4