Function at 0x409dc8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4466e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x459210]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x459210]
xor eax, esp
push eax
lea eax, [esp + 0x2d8]
mov dword fs:[0], eax
push 0x20a
xor ebx, ebx
lea eax, [esp + 0xc0]
push ebx
push eax
mov edi, ecx
call fcn.00435420
mov esi, dword [0x448298]
add esp, 0xc
push 0x3ec
push dword [edi + 4]
call esi
push 0x3eb
push dword [edi + 4]
mov dword [esp + 0x20], eax
call esi
cmp dword [esp + 0x18], ebx
mov edi, eax
mov dword [esp + 0x14], edi
je 0x40a1b7
push 0x104
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x20]
call dword [0x448290]
test eax, eax
je 0x40a1b7
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x48]
mov word [esp + 0x2c4], bx
call fcn.00401222
mov esi, 0x44a09c
lea edi, [esp + 0x48]
mov dword [esp + 0x2e0], ebx
call fcn.0040c230
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
jne 0x409f16
cmp dword [esp + 0x14], ebx
je 0x409f0d
push 0x449dac
push dword [esp + 0x18]
call dword [0x448294]
lea eax, [esp + 0x2c]
push 0x5091
push eax
call fcn.00402c83
pop ecx
pop ecx
push 0x449e38
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x2e8], 1
call fcn.00403d3c
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x409ef0
lea eax, [esp + 0x30]
push eax
push ebx
push 0xc2
push dword [esp + 0x20]
call dword [0x44826c]
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.004012b6
lea esi, [esp + 0x48]
jmp 0x40a243
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x409f25
lea eax, [esp + 0x4c]
lea ebx, [eax + ecx*2]
lea esi, [esp + 0x48]
lea edi, [esp + 0x18]
call fcn.00408286
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
xor ebx, ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.0040b1a4
cmp word [eax], 0x5c
je 0x409f67
push 0x449edc
mov eax, esi
push eax
call fcn.00403d3c
lea eax, [esp + 0x48]
push eax
call fcn.0040d4f0
test al, al
pop ecx
jne 0x40a039
lea eax, [esp + 0x48]
push eax
call fcn.0040dcd0
test al, al
pop ecx
jne 0x40a039
cmp dword [esp + 0x14], ebx
je 0x409f0d
lea eax, [esp + 0x2c]
push 0x508f
push eax
call fcn.00402c83
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 2
call fcn.00404193
push 0x44a09c
mov eax, esi
push eax
call fcn.00403d3c
call dword [0x448048]
cmp eax, ebx
jle 0x409fe1
and eax, 0xffff
or eax, 0x80070000
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040cc60
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 3
call fcn.00404193
push ebx
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2e8], 2
call fcn.004012b6
push 0x449e38
lea eax, [esp + 0x30]
push eax
call fcn.00403d3c
push 0x449dac
push dword [esp + 0x18]
call dword [0x448294]
jmp 0x409ee1
push 7
pop eax
mov byte [esp + 0x80], bl
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x4c]
push eax
lea edi, [esp + 0x88]
mov byte [esp + 0x2e8], 5
call fcn.0040f700
test al, al
jne 0x40a181
cmp dword [esp + 0x14], ebx
je 0x40a159
lea eax, [esp + 0x2c]
push 0x5090
push eax
call fcn.00402c83
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 6
call fcn.00404193
push 0x44a09c
mov eax, esi
push eax
call fcn.00403d3c
call dword [0x448048]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040cc60
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x2e8], 7
call fcn.00404193
push ebx
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2e8], 6
call fcn.004012b6
push 0x449e38
lea eax, [esp + 0x30]
push eax
call fcn.00403d3c
push 0x449dac
push dword [esp + 0x18]
call dword [0x448294]
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x40a13c
lea eax, [esp + 0x30]
push eax
push ebx
push 0xc2
push dword [esp + 0x20]
call dword [0x44826c]
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.004012b6
push ebx
push 1
lea esi, [esp + 0xa8]
call fcn.004012b6
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x2e4], bl
call fcn.0040f680
jmp 0x409f0d
push ebx
push 1
lea esi, [esp + 0xa8]
call fcn.004012b6
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x2e4], bl
call fcn.0040f680
push ebx
push 1
lea esi, [esp + 0x50]
call fcn.004012b6
mov al, 1
jmp 0x40a24d
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x64]
mov word [esp + 0x2c4], bx
call fcn.00401222
push 8
pop esi
mov dword [esp + 0x2e0], esi
cmp dword [esp + 0x78], ebx
jne 0x40a23f
cmp edi, ebx
je 0x40a23f
push 0x449dac
push edi
call dword [0x448294]
lea eax, [esp + 0x2c]
push 0x5091
push eax
call fcn.00402c83
pop ecx
pop ecx
push 0x449e38
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x2e8], 9
call fcn.00403d3c
cmp dword [esp + 0x44], esi
mov eax, dword [esp + 0x30]
jae 0x40a225
lea eax, [esp + 0x30]
push eax
push ebx
push 0xc2
push edi
call dword [0x44826c]
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.004012b6
lea esi, [esp + 0x64]
push ebx
push 1
call fcn.004012b6
xor al, al
mov ecx, dword [esp + 0x2d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c0]
xor ecx, esp
call fcn.004351af
mov esp, ebp
pop ebp
ret