Function at 0x41be40
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 [0x42d384]
cmp dword [ecx + 0x3a], 0
je 0x41c097
mov edx, dword [0x42d384]
xor eax, eax
mov ax, word [edx + 0x5e]
cmp eax, 1
je 0x41beb7
mov ecx, dword [0x42d384]
xor edx, edx
mov dx, word [ecx + 0x5e]
cmp edx, 5
je 0x41beb7
mov eax, dword [0x42d384]
xor ecx, ecx
mov cx, word [eax + 0x5e]
cmp ecx, 6
je 0x41beb7
mov edx, dword [0x42d384]
xor eax, eax
mov ax, word [edx + 0x5e]
cmp eax, 7
jne 0x41c097
mov ecx, dword [0x42d384]
xor edx, edx
mov dx, word [ecx + 0x5e]
cmp edx, 6
je 0x41bedc
mov eax, dword [0x42d384]
xor ecx, ecx
mov cx, word [eax + 0x5e]
cmp ecx, 7
jne 0x41bf96
push 0x43118c
call fcn.0041efa0
add esp, 4
cmp eax, 1
jne 0x41bf0a
movsx edx, byte [0x43118c]
cmp edx, 0x23
jne 0x41bf0a
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x1c], ecx
jmp 0x41bf94
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x68]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x43118c
call sub.WINDCS32.dll_Ordinal_83
test eax, eax
jne 0x41bf34
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
push 0x431294
lea edx, [ebp - 0x14]
push edx
call fcn.0041ed50
add esp, 8
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x60]
push eax
lea ecx, [ebp - 0x14]
push ecx
call sub.WINDCS32.dll_Ordinal_84
push 0x431298
lea edx, [ebp - 0xb4]
push edx
call fcn.0041ed50
add esp, 8
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x64]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call sub.WINDCS32.dll_Ordinal_84
jmp 0x41bfd7
push 0x43118c
call fcn.0041f043
add esp, 4
mov dword [ebp - 0x1c], eax
push 0xa
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x60]
push ecx
call fcn.0042067d
add esp, 0xc
push 0xa
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x64]
push ecx
call fcn.0042067d
add esp, 0xc
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x64]
jg 0x41bffd
mov ecx, dword [0x42d384]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x60]
jl 0x41bffd
cmp dword [ebp - 0x18], 0
je 0x41c097
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 0x43129c
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x64]
jle 0x41c061
lea ecx, [ebp - 0xb4]
push ecx
push 0x43118c
call fcn.0041ed50
add esp, 8
jmp 0x41c072
lea edx, [ebp - 0x14]
push edx
push 0x43118c
call fcn.0041ed50
add esp, 8
push 0x431210
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00419ec8
add esp, 0x10
mov eax, dword [0x42d384]
mov dword [eax + 0x3a], 0
mov ecx, dword [0x42d384]
cmp dword [ecx + 0x3a], 0
jne 0x41c0af
mov edx, dword [0x42d384]
cmp dword [edx + 0x42], 0
je 0x41c127
mov eax, dword [0x42d384]
mov dword [eax + 0x3a], 0
mov ecx, dword [0x42d384]
mov dword [ecx + 0x42], 0
push 0x64
push 0x43118c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x43118c
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.00419cd7
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.0041c9d5
add esp, 0x10
jmp 0x41c152
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.0041c9d5
add esp, 0x10
mov esp, ebp
pop ebp
ret