Function at 0x409e35
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4461f9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x458210]
xor eax, esp
mov dword [esp + 0x2c0], eax
push ebx
push esi
push edi
mov eax, dword [0x458210]
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.00434e30
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 0x40a224
push 0x104
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40a224
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x48]
mov word [esp + 0x2c4], bx
call fcn.00401222
mov esi, 0x44909c
lea edi, [esp + 0x48]
mov dword [esp + 0x2e0], ebx
call fcn.0040c2a0
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
jne 0x409f83
cmp dword [esp + 0x14], ebx
je 0x409f7a
push 0x448dac
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x2c]
push 0x5091
push eax
call fcn.00402ca2
pop ecx
pop ecx
push 0x448e38
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x2e8], 1
call fcn.00403d40
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x409f5d
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.004012b6
lea esi, [esp + 0x48]
jmp 0x40a2b0
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x409f92
lea eax, [esp + 0x4c]
lea ebx, [eax + ecx*2]
lea esi, [esp + 0x48]
lea edi, [esp + 0x18]
call fcn.004082fd
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.0040b208
cmp word [eax], 0x5c
je 0x409fd4
push 0x448edc
mov eax, esi
push eax
call fcn.00403d40
lea eax, [esp + 0x48]
push eax
call fcn.0040d560
test al, al
pop ecx
jne 0x40a0a6
lea eax, [esp + 0x48]
push eax
call fcn.0040dd50
test al, al
pop ecx
jne 0x40a0a6
cmp dword [esp + 0x14], ebx
je 0x409f7a
lea eax, [esp + 0x2c]
push 0x508f
push eax
call fcn.00402ca2
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 2
call fcn.004041b7
push 0x44909c
mov eax, esi
push eax
call fcn.00403d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x40a04e
and eax, 0xffff
or eax, 0x80070000
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040ccd0
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 3
call fcn.004041b7
push ebx
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2e8], 2
call fcn.004012b6
push 0x448e38
lea eax, [esp + 0x30]
push eax
call fcn.00403d40
push 0x448dac
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x409f4e
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.0040f780
test al, al
jne 0x40a1ee
cmp dword [esp + 0x14], ebx
je 0x40a1c6
lea eax, [esp + 0x2c]
push 0x5090
push eax
call fcn.00402ca2
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x50]
lea esi, [esp + 0x34]
mov byte [esp + 0x2e8], 6
call fcn.004041b7
push 0x44909c
mov eax, esi
push eax
call fcn.00403d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040ccd0
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
mov byte [esp + 0x2e8], 7
call fcn.004041b7
push ebx
push 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x2e8], 6
call fcn.004012b6
push 0x448e38
lea eax, [esp + 0x30]
push eax
call fcn.00403d40
push 0x448dac
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x40a1a9
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.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.0040f700
jmp 0x409f7a
push ebx
push 1
lea esi, [esp + 0xa8]
call fcn.004012b6
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x2e4], bl
call fcn.0040f700
push ebx
push 1
lea esi, [esp + 0x50]
call fcn.004012b6
mov al, 1
jmp 0x40a2ba
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 0x40a2ac
cmp edi, ebx
je 0x40a2ac
push 0x448dac
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x2c]
push 0x5091
push eax
call fcn.00402ca2
pop ecx
pop ecx
push 0x448e38
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x2e8], 9
call fcn.00403d40
cmp dword [esp + 0x44], esi
mov eax, dword [esp + 0x30]
jae 0x40a292
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.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.00434bcb
mov esp, ebp
pop ebp
ret