Function at 0x409a23
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4358eb
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4432c4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x4432c4]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x28], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
mov esi, ecx
push eax
push esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x28]
cmp eax, dword [ebp + 0xc]
je 0x409a96
xor al, al
jmp 0x409f5c
push 1
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409f58
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x409f58
mov eax, dword [0x445c6c]
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x14]
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], 0x445c68
call fcn.0040a700
lea edi, [esp + 0x20]
mov esi, eax
call fcn.0040af92
test al, al
je 0x409f58
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
xor ebx, ebx
cmp byte [eax + 0x21], bl
je 0x409c63
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
push 0x1fe
lea eax, [esp + 0x5a]
push ebx
mov dword [esp + 0x270], ebx
push eax
mov word [esp + 0x60], bx
call fcn.0041a5f0
add esp, 0xc
push 0xff
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x1c]
call edi
lea eax, [esp + 0x54]
lea esi, [esp + 0x38]
call fcn.004010b5
mov esi, 0x43b834
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
je 0x409c4f
mov esi, 0x43b848
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
je 0x409c4f
mov esi, 0x43b850
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
jne 0x409c4f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push str.32770
push ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409c4f
push 0x4b3
push esi
mov ecx, 0x43b858
call fcn.00409f82
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x29], bl
jne 0x409c1c
push 0x4b4
push esi
mov ecx, 0x43b864
call fcn.00409f82
test al, al
je 0x409c1c
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x28], bl
jne 0x409c3e
push 0x4b5
push esi
mov ecx, 0x43b874
call fcn.00409f82
test al, al
je 0x409c3e
mov byte [esp + 0x13], 1
cmp byte [esp + 0x13], bl
je 0x409c4f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [esp + 0x268], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00401197
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x22], bl
je 0x409dbb
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
push 0x1fe
lea eax, [esp + 0x5a]
push ebx
mov dword [esp + 0x270], 1
push eax
mov word [esp + 0x60], bx
call fcn.0041a5f0
add esp, 0xc
push 0xff
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x1c]
call edi
lea eax, [esp + 0x54]
lea esi, [esp + 0x38]
call fcn.004010b5
mov esi, 0x43b87c
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
je 0x409da7
mov esi, 0x43b848
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
je 0x409da7
mov esi, 0x43b850
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
jne 0x409da7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push str.32770
push ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409da7
push 0x4b3
push esi
mov ecx, 0x43b858
call fcn.00409f82
push 0x4b4
push esi
mov ecx, 0x43b864
mov byte [esp + 0x1b], al
call fcn.00409f82
test al, al
je 0x409d7d
mov byte [esp + 0x13], 1
push 0x4b5
push esi
mov ecx, 0x43b874
call fcn.00409f82
test al, al
je 0x409d96
mov byte [esp + 0x13], 1
cmp byte [esp + 0x13], bl
je 0x409da7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [esp + 0x268], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00401197
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x20], bl
je 0x409f32
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
push 0x1fe
lea eax, [esp + 0x5a]
push ebx
mov dword [esp + 0x270], 2
push eax
mov word [esp + 0x60], bx
call fcn.0041a5f0
add esp, 0xc
push 0xff
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x1c]
call edi
lea eax, [esp + 0x54]
lea esi, [esp + 0x38]
call fcn.004010b5
mov esi, 0x43b890
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
je 0x409f1e
mov esi, 0x43b848
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
je 0x409f1e
push 0xff
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call edi
lea eax, [esp + 0x54]
lea esi, [esp + 0x38]
call fcn.004010b5
mov esi, 0x43b850
push esi
call fcn.00419c05
pop ecx
push eax
push esi
xor eax, eax
lea ecx, [esp + 0x40]
call fcn.0040199d
cmp eax, 0xffffffff
jne 0x409f1e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebx
mov edi, str.32770
push edi
push ebx
push dword [esp + 0x20]
call esi
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409ee5
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x409ee5
push ebx
push edi
push ebx
push dword [esp + 0x20]
call esi
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409f1e
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x28], bl
jne 0x409f1e
push 0x4b1
push dword [esp + 0x24]
mov ecx, 0x43b8a0
call fcn.00409f82
cmp al, bl
je 0x409f1e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [esp + 0x268], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00401197
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x30]
call fcn.0040a662
push ebx
push ebx
push 0xf5
push 1
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00419c60
mov esp, ebp
pop ebp
ret 8