Function at 0x44ee04
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x810]
sub esp, 0x890
mov eax, dword [0x4e7384]
push ebx
push esi
push edi
mov dword [ebp + 0x80c], eax
lea eax, [ebp - 0x5c]
mov edi, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
push 0xfffffffffffffff0
push dword [edi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi + 4]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [ebp - 0x70], eax
mov eax, 0x10000
mov esi, ebx
and esi, eax
sub esi, eax
neg esi
sbb esi, esi
inc esi
je 0x44ee98
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 4]
jne 0x44ee98
mov dword [ebp - 0x6c], 1
jmp 0x44ee9c
and dword [ebp - 0x6c], 0
test esi, esi
je 0x44eeae
test bl, 1
je 0x44eeae
mov dword [ebp - 0x64], 1
jmp 0x44eeb2
and dword [ebp - 0x64], 0
mov eax, ebx
mov ecx, 0x8000
and eax, ecx
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov eax, ebx
and al, 0x10
sub al, 0x10
neg al
mov esi, edi
sbb eax, eax
inc eax
mov dword [ebp - 0x74], eax
mov eax, ebx
and al, 0x20
sub al, 0x20
neg al
sbb eax, eax
inc eax
mov dword [ebp - 0x68], 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 - 4], eax
sbb ebx, ebx
inc ebx
mov dword [ebp - 0x28], ebx
call fcn.00450903
xor ebx, ebx
cmp dword [edi + 0x50], ebx
mov dword [ebp - 0x78], eax
je 0x44ef11
mov dword [ebp - 0x64], ebx
mov eax, dword [edi + 0x40]
mov esi, dword [edi + 0x3c]
mov dword [ebp - 0xc], eax
push 0x400
lea eax, [ebp + 0xc]
push eax
push dword [edi + 4]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [edi + 0x4c]
mov dword [ebp - 8], eax
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x80], eax
xor eax, eax
cmp dword [ebp - 8], eax
je 0x44f04b
push 0x420
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x818]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
sub ebx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x48]
xor eax, eax
cmp dword [ebp - 0x28], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
jne 0x44f02e
mov edx, dword [edi + 0x3c]
cmp edx, eax
je 0x44f02e
cmp dword [edi + 0x40], eax
je 0x44f02e
cmp dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
je 0x44eff1
sub eax, esi
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0xc]
sub eax, ecx
sub eax, 4
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 4], eax
mov eax, dword [ebp - 0x20]
sub eax, ebx
mov ebx, dword [ebp - 0x50]
inc eax
cdq
sub eax, edx
sar eax, 1
sub ebx, ecx
mov dword [ebp - 0x3c], eax
sub ebx, 4
jmp 0x44f068
sub eax, edx
sub eax, ebx
cdq
push 3
pop esi
idiv esi
mov esi, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0xc]
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 4], eax
mov eax, dword [ebp - 0x5c]
add eax, esi
mov dword [ebp], eax
mov eax, dword [ebp - 0x1c]
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]
mov dword [ebp - 0x3c], eax
jmp 0x44f068
mov eax, dword [ebp - 0x20]
sub eax, ebx
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
inc eax
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp 0x44f068
mov eax, dword [ebp - 0x20]
sub eax, esi
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0xc]
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 4], eax
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call esi
push 0x14
mov dword [ebp - 4], eax
call esi
push 0x10
mov dword [ebp - 0x60], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 0x44]
sub ecx, 0
push 5
pop esi
je 0x44f0a2
dec ecx
je 0x44f15c
dec ecx
je 0x44f12e
dec ecx
jne 0x44f0af
mov esi, dword [ebp - 0x34]
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 4
xor eax, eax
cmp dword [edi + 0x50], eax
je 0x44f0c7
cmp dword [0x4eaef0], eax
je 0x44f0c7
cmp dword [ebp - 0x68], eax
je 0x44f227
cmp dword [ebp - 0x74], eax
je 0x44f20f
push 2
push 2
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov dword [ebp - 4], 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 - 0x68], esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x24], esi
jne 0x44f1cf
mov eax, dword [edi + 0x44]
cmp eax, 1
je 0x44f17b
cmp eax, esi
je 0x44f17b
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x24], eax
jmp 0x44f1b2
xor ecx, ecx
cmp dword [ebp - 0x34], ecx
push eax
push dword [ebp - 0x60]
sete cl
lea ecx, [ecx*8 + 2]
mov esi, ecx
call fcn.004508b9
inc dword [ebp]
inc dword [ebp + 4]
inc dword [ebp - 0x3c]
pop ecx
pop ecx
mov dword [ebp + 8], eax
inc ebx
jmp 0x44f0af
mov esi, dword [ebp - 0x34]
push dword [ebp - 0x60]
neg esi
push dword [ebp - 4]
sbb esi, esi
add esi, 5
call fcn.004508b9
pop ecx
pop ecx
mov dword [ebp + 8], eax
jmp 0x44f0af
mov eax, dword [ebp + 8]
push 1
push dword [ebp - 0x20]
push 0xffffffffffffffc0
pop esi
call fcn.0040b42b
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x60]
call fcn.00434319
add esp, 0x14
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push esi
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
cmp dword [ebp - 0x24], esi
je 0x44f1cf
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 4]
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_FrameRgn]
cmp dword [ebp - 0x34], esi
je 0x44f1e0
mov eax, dword [edi + 0x44]
cmp eax, esi
je 0x44f1f6
cmp eax, 3
je 0x44f1f6
push 1
push 1
push dword [ebp - 0x7c]
push dword [ebp - 4]
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_FrameRgn]
cmp dword [ebp - 0x24], esi
je 0x44f204
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x44f227
cmp esi, 0xffffffff
je 0x44f227
push 0xf
push esi
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 0x818]
call dword [sym.imp.USER32.dll_DrawEdge]
cmp dword [ebp - 0x28], 0
jne 0x44f300
mov eax, dword [edi + 0x28]
test eax, eax
je 0x44f300
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 + 8], eax
jne 0x44f256
and dword [ebp + 8], 0
xor eax, eax
cmp dword [edi + 0x50], eax
je 0x44f29f
mov edx, dword [0x4eaf64]
cmp edx, eax
je 0x44f29f
mov eax, dword [ebp]
push dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp + 4]
push dword [edi + 0x28]
add esi, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x48], ecx
push 1
push dword [ebp + 0x818]
mov dword [ebp - 0x44], esi
push dword [edi + 0x50]
call edx
jmp 0x44f300
cmp dword [ebp - 0x70], eax
jne 0x44f2e6
cmp dword [ebp + 8], 3
je 0x44f2e6
push eax
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x44f2e6
push 0x23
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 4]
push dword [ebp]
push eax
push esi
push eax
push eax
push dword [ebp + 0x818]
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x44f300
push 1
push dword [ebp + 4]
push dword [ebp]
push dword [ebp + 0x818]
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
cmp dword [ebp - 8], 0
je 0x44f4d5
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x12
call esi
push 1
push dword [ebp + 0x818]
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [edi + 0x44], 1
jne 0x44f332
push 0xd
call esi
mov dword [ebp - 0x28], eax
xor ecx, ecx
cmp dword [edi + 0x50], ecx
je 0x44f388
cmp dword [0x4eaef4], ecx
je 0x44f388
call dword [0x4e91a8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add ecx, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
add eax, ebx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x48], ebx
push 1
push dword [ebp + 0x818]
mov dword [ebp - 0x44], ecx
push dword [edi + 0x50]
call dword [0x4eaef4]
jmp 0x44f433
cmp dword [ebp - 0x70], ecx
jne 0x44f3b3
push 0x22
push dword [ebp - 0x2c]
lea eax, [ebp + 0xc]
push dword [ebp - 0x30]
push ebx
push dword [ebp - 0x3c]
push dword [ebp - 8]
push eax
push ecx
push ecx
push dword [ebp + 0x818]
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x44f433
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x2c]
add edx, ebx
cmp dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], edx
je 0x44f40b
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebx + 1]
push 0x10
mov dword [ebp - 0x14], eax
call esi
push eax
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x818]
call dword [sym.imp.USER32.dll_DrawTextW]
dec dword [ebp - 0x18]
dec dword [ebp - 0x14]
push dword [ebp - 0x28]
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x818]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x6c], 0
je 0x44f4d5
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x18]
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 - 0x68], esi
je 0x44f46f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
add eax, ebx
push eax
mov eax, dword [ebp - 0x3c]
add ecx, eax
push ecx
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
push 1
jmp 0x44f499
cmp dword [ebp - 0x74], esi
je 0x44f48a
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
dec dword [ebp - 0x10]
dec dword [ebp - 0xc]
jmp 0x44f4a3
cmp dword [ebp - 0x34], esi
je 0x44f495
push 0xfffffffffffffffe
push 0xfffffffffffffffe
jmp 0x44f499
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x818]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push dword [ebp - 0x80]
push dword [ebp + 0x818]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x80c]
pop edi
pop esi
pop ebx
call fcn.004c2215
add ebp, 0x810
leave
ret 4