Function at 0x410dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a544
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1cc4
call fcn.00484560
mov eax, dword [0x4abf20]
push ebx
push esi
mov dword [esp + 0x1cc8], eax
push edi
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
xor ebx, ebx
push str.EnableDVDAudio
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
call fcn.00436960
add esp, 8
test eax, eax
je 0x41108e
cmp dword [esp + 0x1c], 1
jne 0x41108e
mov eax, dword [ebp + 8]
and eax, 1
or eax, ebx
je 0x410e87
mov eax, dword [esi + 0x10]
mov esi, dword [eax]
xor edi, edi
cmp esi, eax
mov dword [esp + 0x14], ebx
je 0x41116f
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
cmp eax, 1
jne 0x410e5b
mov dword [esp + 0x14], eax
jmp 0x410e6e
mov eax, dword [esi + 8]
mov edx, dword [eax]
push eax
call dword [edx + 0x28]
cmp eax, 8
jne 0x410e6e
mov edi, 1
mov eax, dword [esp + 0x18]
mov esi, dword [esi]
cmp esi, dword [eax + 0x10]
jne 0x410e47
cmp dword [esp + 0x14], ebx
jne 0x410e94
cmp edi, ebx
je 0x41116f
mov dword [esp + 0x10], 8
jmp 0x41116f
cmp edi, ebx
je 0x41116f
push ebx
lea ecx, [esp + 0x1c]
push ecx
push str.UI_NavPreference
mov dword [esp + 0x24], ebx
call fcn.00436820
mov eax, dword [esp + 0x24]
add esp, 0xc
sub eax, ebx
mov dword [esp + 0x14], ebx
je 0x410ed3
dec eax
jne 0x41116f
mov dword [esp + 0x10], 1
jmp 0x41116f
lea edx, [esp + 0x14]
push edx
push str.KeyUpdate
call fcn.00436960
add esp, 8
test eax, eax
je 0x410fc7
test byte [esp + 0x14], 1
je 0x410fc7
push 0x1764
call fcn.00484484
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x1cdc], ebx
je 0x410f23
push 1
push ebx
push ebx
mov ecx, eax
call fcn.00484c50
mov esi, eax
jmp 0x410f25
xor esi, esi
or edi, 0xffffffff
cmp esi, ebx
mov dword [esp + 0x1cdc], edi
je 0x410fc7
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], 0x491bf0
lea ecx, [esp + 0x48]
mov eax, 1
push ecx
mov dword [esp + 0x1ce0], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push ebx
push 0x40a0e0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x410fa7
push ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x28]
call fcn.00410d80
mov ecx, esi
call fcn.00484f80
push esi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x1cdc], edi
call fcn.0040af80
push 0x104
lea edx, [esp + 0x5c]
push edx
push str.UI_PMK
call fcn.00436b60
mov ecx, dword [ebp + 8]
and ecx, 0x2000000
add esp, 0xc
or ecx, ebx
je 0x410e87
cmp eax, ebx
je 0x411018
lea eax, [esp + 0x14]
push eax
push str.KeyUpdate
call fcn.00436960
add esp, 8
test eax, eax
je 0x410e87
test byte [esp + 0x14], 1
je 0x410e87
lea ecx, [esp + 0x14]
push ecx
push str.UIRemindCPPM
call fcn.00436880
add esp, 8
test eax, eax
je 0x411034
cmp dword [esp + 0x14], ebx
je 0x411081
lea ecx, [esp + 0x10]
call fcn.0040a300
push 0x29e3
lea ecx, [esp + 0x14]
mov dword [esp + 0x1ce0], 2
call fcn.004077b0
push 0x40
call fcn.004338b0
mov edx, dword [esp + 0x14]
push eax
push edx
push ebx
call dword [0x4ac114]
push ebx
push str.UIRemindCPPM
call fcn.004368f0
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004046b0
mov dword [esp + 0x10], 1
jmp 0x41116f
mov eax, dword [0x4ac170]
cmp dword [eax + 0x54], ebx
jl 0x41116f
mov word [esp + 0x260], bx
xor eax, eax
mov ecx, 0x207
lea edi, [esp + 0x262]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0x492
lea edi, [esp + 0xa80]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x260]
push 0x192
push ecx
call fcn.004227f0
add esp, 8
test eax, eax
je 0x41116f
call dword [sym.imp.USER32.dll_GetFocus]
lea edx, [esp + 0x260]
mov esi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], 0x491b8c
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x4ac294
call fcn.00405180
mov edx, dword [0x4adb50]
push ebx
push 0x40a680
push edi
push 0x22e
push edx
call fcn.00410c50
add esp, 0x14
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov dword [esp + 0x20], 0x491b8c
je 0x41116f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1cd4]
mov eax, dword [esp + 0x10]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1ccc]
call fcn.00484547
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8