Function at 0x409de3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4466c0
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.00435430
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 0x40a1d2
push 0x104
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40a1d2
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.0040c250
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
jne 0x409f31
cmp dword [esp + 0x14], ebx
je 0x409f28
push 0x449dac
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
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 0x409f0b
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 0x40a25e
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x409f40
lea eax, [esp + 0x4c]
lea ebx, [eax + ecx*2]
lea esi, [esp + 0x48]
lea edi, [esp + 0x18]
call fcn.004082a1
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.0040b1bf
cmp word [eax], 0x5c
je 0x409f82
push 0x449edc
mov eax, esi
push eax
call fcn.00403d3c
lea eax, [esp + 0x48]
push eax
call fcn.0040d510
test al, al
pop ecx
jne 0x40a054
lea eax, [esp + 0x48]
push eax
call fcn.0040dcf0
test al, al
pop ecx
jne 0x40a054
cmp dword [esp + 0x14], ebx
je 0x409f28
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 [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x409ffc
and eax, 0xffff
or eax, 0x80070000
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040cc80
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 [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x409efc
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.0040f720
test al, al
jne 0x40a19c
cmp dword [esp + 0x14], ebx
je 0x40a174
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 [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040cc80
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 [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x40a157
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.0040f6a0
jmp 0x409f28
push ebx
push 1
lea esi, [esp + 0xa8]
call fcn.004012b6
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x2e4], bl
call fcn.0040f6a0
push ebx
push 1
lea esi, [esp + 0x50]
call fcn.004012b6
mov al, 1
jmp 0x40a268
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 0x40a25a
cmp edi, ebx
je 0x40a25a
push 0x449dac
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
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 0x40a240
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.004351c0
mov esp, ebp
pop ebp
ret