Function at 0x447220
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x574590
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0044934a
fld1
xor edi, edi
fstp dword [esp + 0x18]
or esi, 0xffffffff
push 0x5daf34
mov dword [esp + 0x48], vtable.ATL::CImage.0
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov byte [esp + 0x64], 0
mov byte [esp + 0x65], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x5daf4c]
push 0x5daf34
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x44], vtable.CImagePlus.0
push 0xc6
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x88], edi
call fcn.004043a0
cmp dword [esp + 0x48], edi
je 0x447311
push edi
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0x50], edi
je 0x447311
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fidiv dword [esp + 0x50]
fstp dword [esp + 0x18]
lea ecx, [esp + 0x44]
mov dword [esp + 0x80], esi
call fcn.0040bdb0
call fcn.00451b96
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xcc]
cmp dword [eax + 0x98], edi
je 0x4473ab
mov edx, dword [eax + 0x8c]
cmp dword [edx - 0xc], edi
je 0x4473ab
mov eax, dword [ebx + 0x20]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.0044cc05
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
cmp eax, edi
je 0x4473ab
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
fld dword [esp + 0x18]
fmul qword [0x5aa260]
fiadd dword [esp + 0x20]
call fcn.005472a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x30]
sub edx, eax
push edx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.00450176
lea esi, [esp + 0x14]
mov eax, 0x5db24c
call fcn.0040eaa0
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], 1
call fcn.00454dde
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
jl 0x447415
push 0x5aa0a8
push ecx
call fcn.00543082
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, edi
je 0x447410
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x447410
lea eax, [esp + 0x30]
push 0x2c
push eax
mov ecx, esi
call fcn.00407560
add esp, 8
jmp 0x447428
cmp dword [ecx - 0xc], edi
je 0x447428
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0045517f
mov eax, dword [esp + 0x38]
cmp eax, 1
jle 0x4474f1
push 5
lea ecx, [ebx + 0x11c]
call fcn.004501b6
push edi
lea ecx, [ebx + 0x74]
call fcn.004501b6
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, edi
jle 0x447489
cmp esi, edi
jl 0x447515
cmp esi, eax
jge 0x447515
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
mov ecx, dword [ebx + 0x13c]
push eax
push edi
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x447455
push 0x75
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 3
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x430]
call fcn.004500eb
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4474d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x13c]
push edi
push edi
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4475a6
jne 0x447579
lea esi, [ebx + 0x74]
push 5
mov ecx, esi
call fcn.004501b6
push edi
lea ecx, [ebx + 0x11c]
call fcn.004501b6
cmp dword [esp + 0x38], edi
jg 0x44751a
call fcn.00448939
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov ecx, esi
call fcn.004500eb
push 0x76
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 4
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x430]
call fcn.004500eb
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4475a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4475a6
push edi
lea ecx, [ebx + 0x74]
call fcn.004501b6
push edi
lea ecx, [ebx + 0x11c]
call fcn.004501b6
push edi
lea ecx, [ebx + 0x1c4]
call fcn.004501b6
push edi
lea ecx, [ebx + 0x430]
call fcn.004501b6
mov eax, dword [ebx + 0x59c]
cmp eax, edi
jne 0x4475b4
xor eax, eax
jmp 0x4475b7
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x94]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push ecx
call esi
mov eax, dword [ebx + 0x59c]
cmp eax, edi
jne 0x4475d9
xor eax, eax
jmp 0x4475dc
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x13c]
push 1
push eax
push 0x30
push edx
call esi
mov eax, dword [ebx + 0x59c]
cmp eax, edi
jne 0x4475f8
xor eax, eax
jmp 0x4475fb
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x450]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00451b96
mov eax, dword [eax + 4]
lea esi, [esp + 0x18]
call fcn.00401030
mov byte [esp + 0x80], 5
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], edi
jne 0x447649
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 6
jmp 0x447670
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401a30
push 0x5dafc8
lea edi, [esp + 0x18]
call fcn.00415a30
mov byte [esp + 0x80], 7
mov eax, dword [eax]
push eax
mov ecx, ebx
call fcn.004500eb
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4476a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x6e
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 8
mov eax, dword [eax]
lea esi, [ebx + 0x548]
push eax
mov ecx, esi
call fcn.004500eb
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4476f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x5ac]
test eax, eax
je 0x447700
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x568]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push ecx
call edi
lea edx, [ebx + 0x5a4]
push ebx
push edx
call fcn.0040a6d0
add esp, 8
lea esi, [esp + 0x10]
mov eax, 0x5db24c
call fcn.0040ea70
mov byte [esp + 0x80], 9
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004500eb
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x44777d
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0xe8]
push 1
push eax
push 0x30
push ecx
call edi
call fcn.00448a4d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4477a5
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x68
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5dafc8
mov byte [esp + 0x88], 0xa
call fcn.00415220
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0xb
call fcn.00401f40
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x447823
push 2
push 0x5a16a4
lea ecx, [esp + 0x18]
call fcn.00403ee0
mov edx, dword [esp + 0x10]
push edx
lea ecx, [ebx + 0x170]
call fcn.004500eb
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x447840
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x190]
push 0x30
push eax
call edi
push 0x69
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5dafc8
call fcn.00415220
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 0xc
call fcn.00401f40
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447899
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4478b3
push 2
push 0x5a16a4
lea ecx, [esp + 0x18]
call fcn.00403ee0
mov edx, dword [esp + 0x10]
push edx
lea ecx, [ebx + 0x1c4]
call fcn.004500eb
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x4478d0
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x1e4]
push 0x30
push eax
call edi
push 0x70
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 0xd
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x218]
call fcn.004500eb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44792d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x5a8]
test eax, eax
je 0x44793a
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x238]
push 1
push eax
push 0x30
push ecx
call edi
push 0x6f
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 0xe
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x26c]
call fcn.004500eb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x4479a4
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x28c]
push 1
push eax
push 0x30
push ecx
call edi
push 0x72
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 0xf
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x2c0]
call fcn.004500eb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447a01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x5a8]
test eax, eax
je 0x447a0e
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x2e0]
push 1
push eax
push 0x30
push ecx
call edi
push 0x71
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 0x10
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x314]
call fcn.004500eb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447a6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x447a78
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x334]
push 1
push eax
push 0x30
push ecx
call edi
push 0x73
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 0x11
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x368]
call fcn.004500eb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447ad5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x447ae2
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x388]
push 1
push eax
push 0x30
push ecx
call edi
push 0x74
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 0x12
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x3cc]
call fcn.004500eb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447b3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x447b4c
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x3ec]
push 1
push eax
push 0x30
push ecx
call edi
push 0x6c
lea edx, [esp + 0x20]
push edx
mov ecx, 0x5dafc8
call fcn.00415220
mov byte [esp + 0x80], 0x13
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x4e4]
call fcn.004500eb
mov byte [esp + 0x80], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447ba9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x59c]
test eax, eax
je 0x447bb6
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x504]
push 1
push eax
push 0x30
push ecx
call edi
push 0xc6
lea esi, [ebx + 0x5b0]
call fcn.0040ec10
push 0xb8
lea esi, [ebx + 0x4d8]
call fcn.0040ec10
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447c0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447c34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
call fcn.00455030
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447c70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret