Function at 0x408a80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x408a88
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x408d95
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea ecx, [ebp - 4]
mov eax, 0x412378
mov edx, 7
call fcn.004050a8
lea ecx, [ebp - 8]
mov eax, 0x412380
mov edx, 6
call fcn.004050a8
lea ecx, [ebp - 0xc]
mov eax, 0x412388
mov edx, 5
call fcn.004050a8
lea ecx, [ebp - 0x10]
mov eax, 0x412390
mov edx, 7
call fcn.004050a8
lea ecx, [ebp - 0x14]
mov eax, 0x412398
mov edx, 6
call fcn.004050a8
lea ecx, [ebp - 0x18]
mov eax, 0x4123a0
mov edx, 3
call fcn.004050a8
lea ecx, [ebp - 0x24]
mov eax, 0x4123a4
mov edx, 7
call fcn.004050a8
lea ecx, [ebp - 0x28]
mov eax, 0x4123ac
mov edx, 0xd
call fcn.004050a8
lea ecx, [ebp - 0x2c]
mov eax, 0x4123bc
mov edx, 0xf
call fcn.004050a8
lea ecx, [ebp - 0x30]
mov eax, 0x4123cc
mov edx, 6
call fcn.004050a8
lea ecx, [ebp - 0x34]
mov eax, 0x4123d4
mov edx, 7
call fcn.004050a8
lea ecx, [ebp - 0x38]
mov eax, 0x4123dc
mov edx, 0xf
call fcn.004050a8
lea ecx, [ebp - 0x3c]
mov eax, 0x4123ec
mov edx, 8
call fcn.004050a8
lea ecx, [ebp - 0x40]
mov eax, 0x4123f8
mov edx, 8
call fcn.004050a8
lea ecx, [ebp - 0x44]
mov eax, 0x412404
mov edx, 6
call fcn.004050a8
lea ecx, [ebp - 0x48]
mov eax, 0x41240c
mov edx, 7
call fcn.004050a8
lea ecx, [ebp - 0x4c]
mov eax, 0x412414
mov edx, 9
call fcn.004050a8
lea ecx, [ebp - 0x50]
mov eax, 0x412420
mov edx, 9
call fcn.004050a8
lea ecx, [ebp - 0x1c]
mov eax, 0x41242c
mov edx, 0xf
call fcn.004050a8
lea ecx, [ebp - 0x20]
mov eax, 0x41243c
mov edx, 0xa
call fcn.004050a8
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindow
mov esi, eax
push 0x32
lea eax, [ebp - 0x83]
push eax
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x83]
mov ecx, 0x33
call fcn.00403a80
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.00403e30
test eax, eax
je 0x408c7f
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x83]
mov ecx, 0x33
call fcn.00403a80
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 8]
call fcn.00403e30
test eax, eax
je 0x408c7f
xor ebx, ebx
jmp 0x408d6a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004089d8
test al, al
jne 0x408ca1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004089d8
test al, al
je 0x408ca8
xor ebx, ebx
jmp 0x408d6a
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov eax, esi
call fcn.004089d8
test al, al
jne 0x408cca
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.004089d8
test al, al
je 0x408cd1
xor ebx, ebx
jmp 0x408d6a
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.004089d8
test al, al
jne 0x408cf3
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004089d8
test al, al
je 0x408cf7
xor ebx, ebx
jmp 0x408d6a
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004089d8
test al, al
jne 0x408d19
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004089d8
test al, al
je 0x408d1d
xor ebx, ebx
jmp 0x408d6a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.004089d8
test al, al
jne 0x408d3f
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov eax, esi
call fcn.004089d8
test al, al
je 0x408d43
xor ebx, ebx
jmp 0x408d6a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004089d8
test al, al
je 0x408d58
xor ebx, ebx
jmp 0x408d6a
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x408c19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408d9c
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.00403860
lea eax, [ebp - 0x50]
mov edx, 0x14
call fcn.00403860
ret