Function at 0x411840
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x108
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x4af29c]
push edi
mov edi, edx
cmp ecx, 6
je 0x4118c1
cmp ecx, 4
je 0x4118c1
cmp ecx, 5
je 0x4118c1
push edi
push esi
call dword [0x4aba20]
mov eax, dword [edi]
add esp, 8
mov dword [esi*4 + 0x1bdcc90], eax
call fcn.00458f10
mov edx, 0x4a4c1c
mov dword [0x279232c], esi
mov ecx, 0x45d520
call fcn.00459ea0
inc dword [0x1becca4]
cmp esi, 3
ja 0x4118bb
cmp byte [esi + 0x1bdcc34], 0
je 0x4118bb
mov eax, dword [esi*4 + 0x1bdcc80]
mov dword [esi*4 + 0x1bdcc90], eax
mov dword [edi], eax
mov byte [esi + 0x1bdcc34], 0
mov ecx, dword [0x4af29c]
test esi, esi
jne 0x4118cc
mov eax, dword [edi]
mov dword [0x2483254], eax
test ecx, ecx
je 0x411bae
cmp ecx, 1
jne 0x41193a
cmp dword [0x4b09b8], 0
jne 0x411bae
cmp dword [0x4b0dcc], 0
je 0x411922
mov dword [0x4b0dcc], 0
mov dword [0x4aba54], 0
mov dword [0x4aba58], 0
mov dword [0x4af29c], 3
mov dword [edi], 0
jmp 0x411a4f
push str._VCR_:_Starting_recording..._n
call fcn.0040e1d0
add esp, 4
call fcn.00410cd0
mov ecx, dword [0x4af29c]
cmp ecx, 2
jne 0x41195b
test byte [0x4af290], 1
jne 0x411bae
push str._VCR_:_Starting_recording_from_Snapshot..._n
call fcn.0040e1d0
add esp, 4
jmp 0x41190d
cmp ecx, 4
jne 0x4119bb
cmp dword [0x4b09b8], 0
jne 0x411bae
cmp dword [0x4b0dcc], 0
je 0x4119a3
mov dword [0x4b0dcc], 0
mov dword [0x4aba54], 0
mov dword [0x4aba58], 0
mov dword [0x4af29c], 6
jmp 0x411ade
push 0x49d69c
call fcn.0040e1d0
add esp, 4
call fcn.00410cd0
mov ecx, dword [0x4af29c]
cmp ecx, 5
jne 0x411a46
test byte [0x4af290], 2
jne 0x411bae
cmp dword [0x4aba50], 0
jne 0x411a2a
push 0x104
lea eax, [esp + 0x10]
mov dword [0x4af29c], 0
push eax
push dword [0x4b09c4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [0x4af298]
mov byte [esp + eax + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [0x4b09c4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push edi
push esi
call dword [0x4aba20]
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x108
ret
push str._VCR_:_Starting_playback..._n
call fcn.0040e1d0
add esp, 4
mov dword [0x4af29c], 6
jmp 0x411ade
cmp ecx, 3
jne 0x411ad5
mov ecx, dword [0x2483258]
sub ecx, dword [0x24990f8]
add ecx, 4
call fcn.00410f90
mov bl, byte [0x4af28d]
mov ecx, dword [edi]
test bl, bl
je 0x411a77
or ecx, 0x4000
mov dword [edi], ecx
mov eax, dword [0x2483258]
xor edx, edx
inc dword [0x4aba54]
mov dword [eax], ecx
add eax, 4
movzx ecx, byte [0x2498d0d]
mov dword [0x2483258], eax
mov eax, dword [0x2498d10]
imul ecx, ecx, 0x96
inc eax
mov dword [0x2498d10], eax
div ecx
test edx, edx
jne 0x411ab7
call fcn.00411330
mov bl, byte [0x4af28d]
test bl, bl
je 0x411bae
call fcn.0041cfe0
mov byte [0x4af28d], 0
pop edi
pop esi
pop ebx
add esp, 0x108
ret
cmp ecx, 6
jne 0x411bae
mov eax, dword [0x4aba54]
cmp eax, dword [0x2498d10]
jae 0x411b8a
mov eax, dword [0x4aba58]
cmp eax, dword [0x2498d04]
jae 0x411b8a
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [0x2498d18], eax
je 0x411b82
mov eax, dword [0x2483258]
mov ecx, dword [eax]
add eax, 4
push ecx
push esi
mov dword [edi], ecx
mov dword [0x2483258], eax
call dword [0x4aba3c]
mov eax, dword [edi]
add esp, 8
test eax, 0x4000
je 0x411b47
mov dword [0x4b09b8], 1
call fcn.0041cfe0
mov eax, dword [edi]
mov ecx, esi
mov dword [esi*4 + 0x1bdcc90], eax
call fcn.0045ea20
cmp esi, 3
ja 0x411b7a
cmp byte [esi + 0x1bdcc34], 0
je 0x411b7a
mov eax, dword [esi*4 + 0x1bdcc80]
mov dword [esi*4 + 0x1bdcc90], eax
mov dword [edi], eax
mov byte [esi + 0x1bdcc34], 0
inc dword [0x4aba54]
jmp 0x411ba3
mov dword [edi], 0
jmp 0x411ba3
call fcn.00412d60
push 0
push esi
call dword [0x4aba3c]
push edi
push esi
call dword [0x4aba20]
add esp, 0x10
test esi, esi
jne 0x411bae
mov eax, dword [edi]
mov dword [0x2483254], eax
pop edi
pop esi
pop ebx
add esp, 0x108
ret