Function at 0x440610
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x558
push ebx
mov ebx, dword [esp + 0x560]
push ebp
push esi
push edi
push 0
push 0
push 0x1032
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x440661
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x588]
push 0x50f
push eax
call fcn.004cc7f0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x558
ret
lea eax, [esi + esi*8]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [eax + eax*8]
shl ecx, 3
push ecx
push 0x40
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
jne 0x4406a8
mov edx, dword [esp + 0x578]
push eax
push eax
push eax
push eax
push 0x50a
push edx
call fcn.004cc7f0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x558
ret
lea eax, [esi*4]
push eax
push 0x40
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor ebp, ebp
mov dword [esp + 0x10], eax
push ebp
push ebp
push 0x1004
push ebx
xor esi, esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x440747
push 2
push esi
push 0x102c
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
jne 0x440732
lea ecx, [esp + 0x58]
push 1
push ecx
push esi
push ebx
call fcn.00474d50
lea edx, [esp + 0x68]
push edx
push edi
call fcn.004d62f1
push 0x598e0c
push edi
call fcn.004d62f1
add esp, 0x20
test ebp, ebp
jne 0x440729
lea eax, [esp + 0x58]
lea ecx, [esp + 0x2e0]
push eax
push ecx
call fcn.004d631b
add esp, 8
mov edx, dword [esp + 0x10]
inc ebp
mov dword [edx + ebp*4 - 4], esi
push 0
push 0
push 0x1004
push ebx
inc esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x4406d5
mov ebp, dword [esp + 0x570]
lea eax, [esp + 0x58]
push 0x104
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push 0
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push 0
lea ecx, [esp + 0x318]
push 0
push ecx
call fcn.004a71a0
push 1
push 0
push 0
push edi
push 0xffffffffffffffff
lea edx, [esp + 0xac]
mov esi, eax
push 0xffffffffffffffff
push edx
push esi
call fcn.00493490
add esp, 0x60
lea eax, [esp + 0x58]
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
call edi
test esi, esi
je 0x4407ee
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x44082d
mov edi, 3
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x38], edi
mov eax, dword [edx + esi*4]
mov dword [esp + 0x34], edi
push eax
push 0x102b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x4407fd
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x10]
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x558
ret