Function at 0x40994a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x557371
call fcn.00514868
sub esp, 0x238
push ebx
push esi
push edi
push dword [0x622528]
mov ebx, ecx
lea ecx, [ebp - 0x144]
call fcn.004be7aa
and dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x46a
push dword [ebx + 4]
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045f520
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4099a2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x144]
call fcn.004befc8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push 0
push 1
call fcn.00401fa5
push 0x460
push dword [ebx + 4]
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045f520
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4099e6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x144]
call fcn.004bf1f3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push 0
push 1
call fcn.00401fa5
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
push 0x49a
push dword [ebx + 4]
call esi
push 0
push 0
mov esi, eax
push 0xba
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov edi, 0x80
xor eax, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
test ecx, ecx
jle 0x409b4d
lea ecx, [ebp - 0x244]
mov word [ebp - 0x244], di
push ecx
push eax
push 0xc4
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x409b3d
xor ecx, ecx
mov word [ebp + eax*2 - 0x244], cx
lea ecx, [ebp - 0x5c]
call fcn.00490e87
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
push 0
push ecx
mov ecx, eax
call fcn.00490fb4
push eax
lea ecx, [ebp - 0x2c]
call fcn.004068fd
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
push 0
push 1
call fcn.00401fa5
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0x74], cl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x409acb
lea eax, [ebp - 0x2c]
push 0x10
push ecx
push eax
call fcn.0053b260
add esp, 0xc
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x409ae6
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.0052cc00
pop ecx
pop ecx
test eax, eax
je 0x409cdf
lea edi, [eax + 1]
push edi
call fcn.004021b6
pop ecx
push eax
push edi
lea ecx, [ebp - 0x74]
call fcn.00403c9f
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040aed3
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401fa5
mov edi, 0x80
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jl 0x409a44
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x144]
call fcn.004befab
push 0x4a6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
mov esi, eax
push ebx
push ebx
push 0xba
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 0xd
test eax, eax
jle 0x409d28
lea eax, [ebp - 0x244]
mov word [ebp - 0x244], di
push eax
push ebx
push 0xc4
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jle 0x409ccf
xor eax, eax
lea ecx, [ebp - 0x74]
mov word [ebp + edi*2 - 0x244], ax
call fcn.00490e87
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x244]
push 0
push ecx
mov ecx, eax
call fcn.00490fb4
push eax
lea ecx, [ebp - 0x2c]
call fcn.004068fd
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x74]
push 0
push 1
call fcn.00401fa5
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ecx
mov byte [ebp - 0x94], cl
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x409c3d
lea eax, [ebp - 0x2c]
push 0x10
push ecx
push eax
call fcn.0053b260
mov edx, dword [ebp - 0xa8]
add esp, 0xc
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x2c]
cmp edi, edx
jbe 0x409c6f
cmp dword [ebp - 0x18], 0x10
mov ecx, eax
jae 0x409c65
lea ecx, [ebp - 0x2c]
cmp byte [edx + ecx], 0x20
jne 0x409d03
cmp dword [ebp - 0x18], 0x10
jae 0x409c78
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.0052cc00
pop ecx
pop ecx
test eax, eax
je 0x409d03
lea edi, [eax + 1]
push edi
call fcn.004021b6
pop ecx
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.00403c9f
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040af3c
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x94]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401fa5
inc ebx
cmp ebx, dword [ebp - 0x14]
jge 0x409d28
mov edi, 0x80
jmp 0x409bab
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401fa5
xor bl, bl
jmp 0x409d71
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x94]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401fa5
jmp 0x409d40
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x144]
call fcn.004bf2a0
cmp byte [ebp - 0x97], 0
jne 0x409d44
xor bl, bl
jmp 0x409d55
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x144]
push eax
call fcn.004074ee
mov bl, 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x38]
call fcn.0040aaef
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
push 0
push 1
call fcn.00401fa5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0040aab9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00406f6a
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4