Function at 0x411ac0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x18], 0
mov ecx, dword [0x41e460]
cmp dword [ecx + 0x3a], 0
je 0x411d17
mov edx, dword [0x41e460]
xor eax, eax
mov ax, word [edx + 0x5e]
cmp eax, 1
je 0x411b37
mov ecx, dword [0x41e460]
xor edx, edx
mov dx, word [ecx + 0x5e]
cmp edx, 5
je 0x411b37
mov eax, dword [0x41e460]
xor ecx, ecx
mov cx, word [eax + 0x5e]
cmp ecx, 6
je 0x411b37
mov edx, dword [0x41e460]
xor eax, eax
mov ax, word [edx + 0x5e]
cmp eax, 7
jne 0x411d17
mov ecx, dword [0x41e460]
xor edx, edx
mov dx, word [ecx + 0x5e]
cmp edx, 6
je 0x411b5c
mov eax, dword [0x41e460]
xor ecx, ecx
mov cx, word [eax + 0x5e]
cmp ecx, 7
jne 0x411c16
push 0x420a3c
call fcn.00414050
add esp, 4
cmp eax, 1
jne 0x411b8a
movsx edx, byte [0x420a3c]
cmp edx, 0x23
jne 0x411b8a
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x1c], ecx
jmp 0x411c14
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x68]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x420a3c
call sub.WINDCS32.dll_Ordinal_83
test eax, eax
jne 0x411bb4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
push 0x420b44
lea edx, [ebp - 0x14]
push edx
call fcn.00413940
add esp, 8
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x60]
push eax
lea ecx, [ebp - 0x14]
push ecx
call sub.WINDCS32.dll_Ordinal_84
push 0x420b48
lea edx, [ebp - 0xb4]
push edx
call fcn.00413940
add esp, 8
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x64]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call sub.WINDCS32.dll_Ordinal_84
jmp 0x411c57
push 0x420a3c
call fcn.0041419f
add esp, 4
mov dword [ebp - 0x1c], eax
push 0xa
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x60]
push ecx
call fcn.0041494d
add esp, 0xc
push 0xa
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x64]
push ecx
call fcn.0041494d
add esp, 0xc
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x64]
jg 0x411c7d
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x60]
jl 0x411c7d
cmp dword [ebp - 0x18], 0
je 0x411d17
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x14]
push ecx
push str._s_...__s
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 0x420b4c
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x41e460]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x64]
jle 0x411ce1
lea ecx, [ebp - 0xb4]
push ecx
push 0x420a3c
call fcn.00413940
add esp, 8
jmp 0x411cf2
lea edx, [ebp - 0x14]
push edx
push 0x420a3c
call fcn.00413940
add esp, 8
push 0x420ac0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040fb48
add esp, 0x10
mov eax, dword [0x41e460]
mov dword [eax + 0x3a], 0
mov ecx, dword [0x41e460]
cmp dword [ecx + 0x3a], 0
jne 0x411d2f
mov edx, dword [0x41e460]
cmp dword [edx + 0x42], 0
je 0x411da7
mov eax, dword [0x41e460]
mov dword [eax + 0x3a], 0
mov ecx, dword [0x41e460]
mov dword [ecx + 0x42], 0
push 0x64
push 0x420a3c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x420a3c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040f957
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00412655
add esp, 0x10
jmp 0x411dd2
push 0xffffffffffffffff
push 0xffff
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00412655
add esp, 0x10
mov esp, ebp
pop ebp
ret