Function at 0x409eed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446f2f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x45a210]
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.00435a10
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
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 0x40a2dc
push 0x104
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40a2dc
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x48]
mov word [esp + 0x2c4], bx
call fcn.00401222
mov esi, 0x44a0ac
lea edi, [esp + 0x48]
mov dword [esp + 0x2e0], ebx
call fcn.0040c390
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
jne 0x40a03b
cmp dword [esp + 0x14], ebx
je 0x40a032
push 0x449dac
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x2c]
push 0x5091
push eax
call fcn.00402c78
pop ecx
pop ecx
push 0x449e38
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x2e8], 1
call fcn.00403daf
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x40a015
lea eax, [esp + 0x30]
push eax
push ebx
push 0xc2
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.004012ba
lea esi, [esp + 0x48]
jmp 0x40a368
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x40a04a
lea eax, [esp + 0x4c]
lea ebx, [eax + ecx*2]
lea esi, [esp + 0x48]
lea edi, [esp + 0x18]
call fcn.004083b5
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.0040b2c5
cmp word [eax], 0x5c
je 0x40a08c
push 0x449edc
mov eax, esi
push eax
call fcn.00403daf
lea eax, [esp + 0x48]
push eax
call fcn.0040d650
test al, al
pop ecx
jne 0x40a15e
lea eax, [esp + 0x48]
push eax
call fcn.0040de60
test al, al
pop ecx
jne 0x40a15e
cmp dword [esp + 0x14], ebx
je 0x40a032
lea eax, [esp + 0x2c]
push 0x508f
push eax
call fcn.00402c78
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 2
call fcn.00404251
push 0x44a0ac
mov eax, esi
push eax
call fcn.00403daf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x40a106
and eax, 0xffff
or eax, 0x80070000
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040cdc0
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 3
call fcn.00404251
push ebx
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2e8], 2
call fcn.004012ba
push 0x449e38
lea eax, [esp + 0x30]
push eax
call fcn.00403daf
push 0x449dac
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x40a006
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.0040f980
test al, al
jne 0x40a2a6
cmp dword [esp + 0x14], ebx
je 0x40a27e
lea eax, [esp + 0x2c]
push 0x5090
push eax
call fcn.00402c78
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 6
call fcn.00404251
push 0x44a0ac
mov eax, esi
push eax
call fcn.00403daf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040cdc0
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x2e8], 7
call fcn.00404251
push ebx
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2e8], 6
call fcn.004012ba
push 0x449e38
lea eax, [esp + 0x30]
push eax
call fcn.00403daf
push 0x449dac
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x40a261
lea eax, [esp + 0x30]
push eax
push ebx
push 0xc2
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.004012ba
push ebx
push 1
lea esi, [esp + 0xa8]
call fcn.004012ba
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x2e4], bl
call fcn.0040f900
jmp 0x40a032
push ebx
push 1
lea esi, [esp + 0xa8]
call fcn.004012ba
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x2e4], bl
call fcn.0040f900
push ebx
push 1
lea esi, [esp + 0x50]
call fcn.004012ba
mov al, 1
jmp 0x40a372
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 0x40a364
cmp edi, ebx
je 0x40a364
push 0x449dac
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x2c]
push 0x5091
push eax
call fcn.00402c78
pop ecx
pop ecx
push 0x449e38
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x2e8], 9
call fcn.00403daf
cmp dword [esp + 0x44], esi
mov eax, dword [esp + 0x30]
jae 0x40a34a
lea eax, [esp + 0x30]
push eax
push ebx
push 0xc2
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.004012ba
lea esi, [esp + 0x64]
push ebx
push 1
call fcn.004012ba
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.0043579e
mov esp, ebp
pop ebp
ret