Function at 0x44c6c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 4], 0
jne 0x44c71d
push 0x63
mov eax, dword [ebp + 0x1c]
push eax
mov edx, dword [ebp + 0x18]
push edx
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004b6d0c
mov edi, eax
cmp edi, 1
jne 0x44c716
cmp dword [esi + 4], 1
je 0x44c716
cmp dword [esi + 4], 2
je 0x44c716
cmp dword [esi + 4], 3
je 0x44c716
push 6
mov eax, dword [ebp + 0x1c]
push eax
push esi
call fcn.0045c3c8
jmp 0x44d0a1
mov eax, edi
jmp 0x44d0a1
cmp dword [esi + 0x30], 0
jne 0x44c72d
mov eax, 2
jmp 0x44d0a1
cmp dword [esi + 4], 2
jne 0x44c746
mov edx, dword [esi + 0x30]
cmp dword [edx + 0x30], 0
jne 0x44c746
mov eax, 2
jmp 0x44d0a1
cmp dword [esi + 4], 3
jne 0x44c762
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + 0x30]
cmp dword [ecx + 0x30], 0
jne 0x44c762
mov eax, 2
jmp 0x44d0a1
mov edx, dword [esi + 0x30]
cmp dword [edx + 0x18], 1
je 0x44c775
mov eax, 1
jmp 0x44d0a1
cmp dword [esi + 4], 2
jne 0x44c791
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + 0x30]
cmp dword [ecx + 0x18], 1
je 0x44c791
mov eax, 1
jmp 0x44d0a1
cmp dword [esi + 4], 3
jne 0x44c7b0
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx + 0x30]
cmp dword [eax + 0x18], 1
je 0x44c7b0
mov eax, 1
jmp 0x44d0a1
mov edx, dword [esi + 0x30]
cmp dword [edx + 8], 0
jne 0x44d091
cmp dword [esi + 4], 2
jne 0x44c7d3
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x30]
cmp dword [eax + 8], 0
jne 0x44d091
mov eax, dword [esi + 4]
cmp eax, 3
jne 0x44c7ee
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + 0x30]
mov edx, dword [ecx + 0x30]
cmp dword [edx + 8], 0
jne 0x44d091
dec eax
jne 0x44cda7
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
push ecx
call fcn.004b6a38
test eax, eax
je 0x44c814
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
push edx
call fcn.00409a14
pop ecx
mov edi, eax
jmp 0x44c819
mov edi, 0x270f
test edi, edi
jg 0x44c84b
xor edi, edi
mov ebx, dword [0x4f40a4]
test ebx, ebx
je 0x44c834
inc edi
mov ebx, dword [ebx + 0x28dc]
test ebx, ebx
jne 0x44c829
push edi
push 0x4f4474
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
mov ebx, dword [0x4f40a4]
test ebx, ebx
je 0x44c887
cmp edi, 0x270f
jne 0x44c874
push ebx
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
push edx
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44c87d
xor edi, edi
jmp 0x44c887
dec edi
test edi, edi
jg 0x44c87d
xor edi, edi
jmp 0x44c887
mov ebx, dword [ebx + 0x28dc]
test ebx, ebx
jne 0x44c855
test edi, edi
jne 0x44d091
test ebx, ebx
je 0x44d091
cmp dword [esi + 0xc], 0
je 0x44cd7c
push 0x2e
mov eax, dword [esi]
push eax
call fcn.004015cc
add esp, 8
mov edi, eax
test eax, eax
je 0x44cd7c
push 0x4f4478
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44c8f4
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebx + 0xc8]
push ecx
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x10]
push eax
push 0x4f447c
mov edx, dword [ebp + 0x14]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f4480
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44c930
lea ecx, [ebp - 0x10]
push ecx
mov eax, dword [ebx + 0xc8]
push eax
call sub.USER32.dll_GetWindowRect
mov edx, dword [ebp - 0xc]
push edx
push 0x4f4484
mov ecx, dword [ebp + 0x14]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f4488
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44c96f
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebx + 0xc8]
push edx
call sub.USER32.dll_GetWindowRect
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push ecx
push 0x4f448c
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f4490
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44c9ae
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebx + 0xc8]
push ecx
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push 0x4f4494
mov edx, dword [ebp + 0x14]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f4498
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44c9ed
lea ecx, [ebp - 0x10]
push ecx
mov eax, dword [ebx + 0xc8]
push eax
call sub.USER32.dll_GetClientRect
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
push edx
push 0x4f449d
mov ecx, dword [ebp + 0x14]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f44a1
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44ca2c
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebx + 0xc8]
push edx
call sub.USER32.dll_GetClientRect
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
push ecx
push 0x4f44a6
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f44aa
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44ca58
push 0x180
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebx + 0xc8]
push ecx
call sub.USER32.dll_GetWindowTextA
jmp 0x44d091
push 0x4f44b2
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44caa0
cmp dword [ebx + 0x158], 0
je 0x44ca89
mov eax, dword [ebp + 0x14]
push esi
mov esi, 0x4f44ba
mov edi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x44d091
mov edx, dword [ebp + 0x14]
push esi
mov esi, 0x4f44c1
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
jmp 0x44d091
push 0x4f44c9
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44cae0
add ebx, 0x64
mov eax, dword [ebp + 0x14]
push esi
mov edi, ebx
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x44d091
push 0x4f44d1
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44cb27
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x44d091
mov edi, eax
add edi, 0xfffffb9c
test edi, edi
jle 0x44d091
push edi
push 0x4f44d6
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f44da
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44cb6e
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x44d091
mov edi, eax
add edi, 0xfffffb9c
test edi, edi
jle 0x44d091
push edi
push 0x4f44e3
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f44e7
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44cbb5
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x44d091
mov edi, eax
add edi, 0xfffffb9c
test edi, edi
jle 0x44d091
push edi
push 0x4f44f0
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f44f4
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44cc69
call sub.USER32.dll_GetFocus
mov dword [0x50b078], eax
mov edi, dword [0x50b078]
test edi, edi
je 0x44d091
push edi
call sub.USER32.dll_GetParent
cmp eax, dword [ebx + 0xc8]
jne 0x44d091
mov eax, dword [0x50b078]
push eax
call sub.USER32.dll_GetDlgCtrlID
mov edi, eax
test edi, edi
je 0x44d091
cmp dword [ebx + 0x1d4], 0
je 0x44cc4c
cmp edi, 0x68
jne 0x44cc4c
mov eax, dword [ebx + 0x28d4]
mov edx, eax
shl eax, 4
add eax, edx
lea eax, [eax + eax*2]
mov ecx, dword [ebx + eax*4 + 0x10e8]
add ecx, 0xfffffb9c
push ecx
push 0x4f44fc
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
add edi, 0xfffffb9c
push edi
push 0x4f4500
mov eax, dword [ebp + 0x14]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
push 0x4f4504
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44cd26
call sub.USER32.dll_GetFocus
mov dword [0x50b07c], eax
mov edi, dword [0x50b07c]
test edi, edi
je 0x44ccb7
push edi
call sub.USER32.dll_GetParent
cmp eax, dword [ebx + 0xc8]
jne 0x44ccb7
mov eax, dword [ebp + 0x14]
push esi
mov esi, 0x4f450d
mov edi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x44d091
mov eax, dword [0x50b07c]
test eax, eax
je 0x44ccde
cmp eax, dword [ebx + 0xc8]
jne 0x44ccde
mov edx, dword [ebp + 0x14]
push esi
mov esi, 0x4f4514
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x44d091
call sub.USER32.dll_GetActiveWindow
mov dword [0x50b07c], eax
mov eax, dword [0x50b07c]
test eax, eax
je 0x44cd0f
cmp eax, dword [ebx + 0xc8]
jne 0x44cd0f
mov edx, dword [ebp + 0x14]
push esi
mov esi, 0x4f451b
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x44d091
mov edx, dword [ebp + 0x14]
push esi
mov esi, 0x4f4522
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
jmp 0x44d091
push 0x4f452a
push edi
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x44d091
cmp dword [ebx + 0x1d4], 0
je 0x44d091
mov edx, dword [ebx + 0x28d4]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx + edx*2]
mov eax, dword [ebx + edx*4 + 0x10e8]
add eax, 0xfffffb9c
push eax
push 0x4f4530
mov edx, dword [ebp + 0x14]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x44d091
mov ecx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov edi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x44d091
cmp dword [ebp + 0x20], 0
je 0x44cdc3
push 0x50cbd8
push 0x67f
call fcn.0041f178
xor eax, eax
jmp 0x44d0a1
mov edx, dword [esi + 0x30]
mov ecx, dword [edx]
push ecx
call fcn.00401318
pop ecx
cmp eax, 0x5a
jbe 0x44cddd
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
mov byte [edx + 0x5a], 0
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
push eax
call fcn.004b6a38
test eax, eax
je 0x44ce13
mov edx, dword [esi + 0x30]
mov ecx, dword [edx]
push ecx
push 0
push 0x680
call fcn.0041f178
push eax
push 0x50cbd8
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x44d0a1
mov edx, dword [esi + 0x30]
mov ecx, dword [edx]
push ecx
call fcn.00447d9c
mov ebx, eax
test ebx, ebx
je 0x44ce4b
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
push edx
push 0
push 0x681
call fcn.0041f178
push eax
push 0x50cbd8
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x44d0a1
call fcn.00447244
mov ebx, eax
test ebx, ebx
jne 0x44ce67
push 8
mov eax, dword [ebp + 0x1c]
push eax
push esi
call fcn.0045c3c8
jmp 0x44d0a1
cmp dword [esi + 4], 1
jne 0x44cec2
mov edx, dword [esi + 0x30]
mov ecx, dword [edx]
push esi
mov edi, ecx
mov esi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebx + 0x64]
mov edx, dword [esi + 0x30]
mov ecx, dword [edx]
push esi
mov esi, eax
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x44cf3e
cmp dword [esi + 4], 2
jl 0x44cf3e
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
push esi
mov edi, edx
mov esi, ebx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 0x30]
mov ecx, dword [edx]
push ecx
call fcn.00401318
pop ecx
cmp eax, 0x5a
jbe 0x44cf10
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 0x30]
mov ecx, dword [edx]
mov byte [ecx + 0x5a], 0
lea eax, [ebx + 0x64]
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + 0x30]
mov edx, dword [ecx]
push esi
mov esi, eax
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
mov dword [ebx + 0xc8], eax
mov edx, dword [ebp + 0x24]
mov dword [ebx + 0x16c], edx
push ebx
call fcn.00447f48
test eax, eax
jne 0x44cf80
push ebx
call fcn.00447398
cmp byte [0x50cbd8], 0
jne 0x44cf79
push 6
mov ecx, dword [ebp + 0x1c]
push ecx
push esi
call fcn.0045c3c8
jmp 0x44d0a1
xor eax, eax
jmp 0x44d0a1
cmp dword [esi + 4], 3
jne 0x44d021
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx + 0x30]
mov edx, dword [eax]
push edx
call fcn.00409a14
pop ecx
mov edi, eax
cmp edi, 0xffffffff
jne 0x44cfad
call sub.USER32.dll_GetDesktopWindow
mov dword [ebp + 8], eax
jmp 0x44d021
cmp edi, 0xfffffffe
jne 0x44cfbc
mov eax, dword [0x4fd9ec]
mov dword [ebp + 8], eax
jmp 0x44d021
cmp edi, 0xfffffffd
jne 0x44cfdb
mov edx, dword [0x4fd9f8]
mov dword [ebp + 8], edx
cmp dword [ebp + 8], 0
jne 0x44d021
mov ecx, dword [0x4fd9ec]
mov dword [ebp + 8], ecx
jmp 0x44d021
cmp edi, 0xfffffffc
jne 0x44d007
call sub.USER32.dll_GetActiveWindow
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x44cff6
mov eax, dword [0x4fd9f8]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x44d021
mov edx, dword [0x4fd9ec]
mov dword [ebp + 8], edx
jmp 0x44d021
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x30]
mov edx, dword [eax + 0x30]
mov ecx, dword [edx]
push ecx
call fcn.004eae20
test eax, eax
je 0x44d021
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
mov dword [ebx + 0xcc], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xec], ecx
push ebx
call fcn.00447de8
mov edi, eax
test edi, edi
jg 0x44d072
push ebx
call fcn.00447398
cmp byte [0x50cbd8], 0
jne 0x44d06e
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
push edx
push 0
push 0x682
call fcn.0041f178
push eax
push 0x50cbd8
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x44d0a1
push ebx
call fcn.00447398
jmp 0x44d091
mov edx, dword [esi + 0x30]
push edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
call fcn.00498fb0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
dec dword [esi + 4]
cmp dword [esi + 4], 0
jg 0x44d07a
xor ecx, ecx
mov dword [esi + 4], ecx
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20