Function at 0x4621c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x2e0
push ebx
push ebp
push esi
lea eax, [esp + 0xf]
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00405d90
mov ecx, dword [esp + 0x14]
mov edi, str.movieVolume1
push ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.movieVolume1
push ecx
push str.movieVolume1
lea ecx, [esp + 0x30]
call fcn.004067a0
lea edx, [esp + 0x12]
lea ecx, [esp + 0x18]
push edx
call fcn.00405d90
mov eax, dword [esp + 0x14]
mov edi, 0x6092e0
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x6092e0
push ecx
push 0x6092e0
lea ecx, [esp + 0x24]
call fcn.004067a0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00409fb0
add esp, 0xc
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00406010
lea ecx, [esp + 0x24]
call fcn.00406010
lea eax, [esp + 0x12]
lea ecx, [esp + 0x18]
push eax
call fcn.00405d90
mov edi, str.movieVolume2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.movieVolume2
push ecx
push str.movieVolume2
lea ecx, [esp + 0x20]
call fcn.00406380
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x28]
call fcn.00405d90
mov edi, 0x6092e0
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
add ecx, 0x6092e0
push ecx
push 0x6092e0
lea ecx, [esp + 0x30]
call fcn.004067a0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00409fb0
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.00406010
lea ecx, [esp + 0x18]
call fcn.00406010
lea edx, [esp + 0x12]
lea ecx, [esp + 0x18]
push edx
call fcn.00405d90
mov edi, str.fullscreen
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.fullscreen
push ecx
push str.fullscreen
lea ecx, [esp + 0x20]
call fcn.00406380
lea eax, [esp + 0x13]
lea ecx, [esp + 0x24]
push eax
call fcn.00405d90
mov ecx, dword [esp + 0x14]
mov edi, str.user
push ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.user
push ecx
push str.user
lea ecx, [esp + 0x30]
call fcn.004067a0
lea edx, [esp + 0x18]
push 0
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00409fb0
add esp, 0xc
lea ecx, [esp + 0x24]
test eax, eax
setne bl
call fcn.00406010
lea ecx, [esp + 0x18]
call fcn.00406010
test bl, bl
je 0x4623a1
mov edi, dword [sym.imp.USER32.dll_ShowCursor]
push 0
call edi
test eax, eax
jl 0x4623a1
push 0
call edi
test eax, eax
jge 0x462399
lea ecx, [esp + 0x50]
mov ebx, 0x60f8bc
push ecx
mov dword [esp + 0x54], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4623da
cmp dword [esp + 0x54], 5
jb 0x4623da
cmp dword [esp + 0x58], 1
jb 0x4623da
cmp dword [esp + 0x5c], 0xa28
jb 0x4623da
mov ebx, 0x60f8b8
call fcn.0045e0e0
mov ebp, dword [eax + 0x4c4]
push 0x5f0030
call fcn.0045e0e0
mov ecx, eax
call fcn.004049d0
mov dword [esp + 0x30], eax
call fcn.005effe0
push ebx
push str.MSLOGO.
lea edx, [esp + 0xec]
push str._S_S
push edx
mov edi, eax
call fcn.005f1bf9
add esp, 0x10
lea eax, [esp + 0xe4]
mov ecx, edi
push esi
push ebp
push eax
call fcn.005f04e0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
test al, al
je 0x4624cb
mov ecx, edi
call fcn.005f07e0
test al, al
jne 0x46249f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push 0
push ecx
call esi
test eax, eax
je 0x462494
push 0
push 0
lea edx, [esp + 0x3c]
push 0
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x462481
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push 0
push ecx
call esi
test eax, eax
jne 0x462461
mov ecx, edi
call fcn.005f07e0
test al, al
je 0x462446
mov al, byte [0x6298f4]
test al, al
je 0x4624cb
call fcn.005f0010
mov edx, dword [esp + 0x30]
push edx
call fcn.0045e0e0
mov ecx, eax
call fcn.004049d0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2e0
ret
lea eax, [esp + 0x12]
lea ecx, [esp + 0x18]
push eax
call fcn.00405d90
mov ecx, dword [esp + 0x14]
mov edi, str.playSecondMovie
push ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.playSecondMovie
push ecx
push str.playSecondMovie
lea ecx, [esp + 0x24]
call fcn.004067a0
lea edx, [esp + 0x13]
lea ecx, [esp + 0x24]
push edx
call fcn.00405d90
mov eax, dword [esp + 0x14]
mov edi, 0x6092e0
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x6092e0
push ecx
push 0x6092e0
lea ecx, [esp + 0x30]
call fcn.004067a0
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00409fb0
add esp, 0xc
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00406010
lea ecx, [esp + 0x18]
call fcn.00406010
test edi, edi
je 0x462634
call fcn.005effe0
mov edi, eax
push ebx
push str.BFLOGO.
lea eax, [esp + 0xec]
push str._S_S
push eax
call fcn.005f1bf9
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0xe4]
push ecx
push ebp
push edx
mov ecx, edi
call fcn.005f04e0
test al, al
je 0x462608
mov ecx, edi
call fcn.005f07e0
test al, al
jne 0x462608
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call esi
test eax, eax
je 0x4625fd
push 0
push 0
lea ecx, [esp + 0x3c]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4625ea
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call esi
test eax, eax
jne 0x4625ca
mov ecx, edi
call fcn.005f07e0
test al, al
je 0x4625af
mov al, byte [0x6298f4]
test al, al
je 0x462634
call fcn.005f0010
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0045e0e0
mov ecx, eax
call fcn.004049d0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2e0
ret
call fcn.005f0010
mov edx, dword [esp + 0x30]
push edx
call fcn.0045e0e0
mov ecx, eax
call fcn.004049d0
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [sym.imp.USER32.dll_ShowCursor]
push 1
call esi
test eax, eax
jge 0x462667
push 1
call esi
test eax, eax
jl 0x46265f
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2e0
ret