Function at 0x402dd0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x1f1]
test al, al
je 0x403138
xor ebp, ebp
lea eax, [esp + 0x10]
push ebp
mov ebx, dword [0x446018]
push eax
push ebp
push 0xf003f
push ebp
push 0x4575c8
push ebp
push 0x4577c9
push 0x80000001
mov dword [esp + 0x34], ebp
call ebx
mov edi, dword [0x44601c]
test eax, eax
jne 0x402f26
mov eax, dword [esp + 0x120]
cmp eax, 1
je 0x402e33
cmp eax, ebp
jne 0x402eb2
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x6a4]
push 4
push ecx
push 4
push ebp
push str.UserWait
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x6a8]
push 4
push eax
push 4
push ebp
push str.UserWaitType
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x6b0]
push 4
push edx
push 4
push ebp
push str.UserImageSize
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x6ac]
push 4
push ecx
push 4
push ebp
push str.UserCaptionLocation
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x6b4]
push 0x3c
push eax
push 3
push ebp
push str.UserCaptionLogfont
push ecx
call edi
mov eax, dword [esp + 0x120]
cmp eax, 2
je 0x402ebb
cmp eax, ebp
jne 0x402f1b
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x76c]
push 4
push edx
push 4
push ebp
push str.UserSoundWait
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x768]
push 4
push ecx
push 4
push ebp
push str.UserSoundWaitType
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x770]
push 4
push eax
push 4
push ebp
push str.UserVideoSize
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x764]
push 4
push edx
push 4
push ebp
push str.UserMuteSounds
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x446008]
mov eax, dword [esp + 0x120]
cmp eax, 4
je 0x402f3a
cmp eax, ebp
jne 0x403028
lea edx, [esp + 0x10]
push ebp
push edx
push ebp
push 0xf003f
push ebp
push 0x4575c8
push ebp
push 0x4577c9
push 0x80000001
mov dword [esp + 0x34], ebp
call ebx
test eax, eax
jne 0x402f9c
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x728]
push 4
push eax
push 4
push ebp
push str.UserFadeToBlack
push ecx
call edi
mov eax, dword [esp + 0x10]
lea edx, [esi + 0x72c]
push 4
push edx
push 4
push ebp
push str.UserUseStandardPalette
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x446008]
lea eax, [esi + 0x1f1]
lea edx, [esp + 0x18]
push eax
push str._sTransitionEffects
push edx
call dword [0x44648c]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], ebp
push ebp
push eax
push ebp
push 0xf003f
push ebp
push 0x4575c8
push ebp
push ecx
push 0x80000001
call ebx
test eax, eax
jne 0x403028
mov eax, dword [esi + 0x734]
test eax, eax
jbe 0x40301b
xor ebx, ebx
mov edx, dword [esi + 0x730]
push 4
lea eax, [ebx + edx]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x5c]
add eax, 4
push ecx
push 4
push 0
push eax
push edx
call edi
mov eax, dword [esi + 0x734]
inc ebp
add ebx, 0x60
cmp ebp, eax
jb 0x402fe9
mov ebx, dword [0x446018]
mov eax, dword [esp + 0x10]
push eax
call dword [0x446008]
xor ebp, ebp
cmp dword [esi + 0x6fc], ebp
je 0x403138
lea ecx, [esp + 0x10]
push ebp
push ecx
push ebp
push 0xf003f
push ebp
push 0x4575c8
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionScreen_Savers
push 0x80000001
mov dword [esp + 0x34], ebp
call ebx
test eax, eax
jne 0x403138
mov eax, dword [esp + 0x120]
cmp eax, 3
je 0x403073
cmp eax, ebp
jne 0x40312d
cmp dword [esi + 0x738], ebp
je 0x403093
mov eax, dword [esp + 0x10]
lea edx, [esi + 0xe8]
push 5
push edx
push 1
push ebp
push str.Mouse_Corners
push eax
call edi
mov eax, dword [esi + 0xe4]
lea ebp, [esi + 0xe4]
cmp eax, 3
ja case.0x4030a4.0
jmp dword [eax*4 + 0x403148]
mov dword [esp + 0x14], 0xc8
jmp 0x4030d1
mov dword [esp + 0x14], 0x190
jmp 0x4030d1
mov dword [esp + 0x14], 0xf423f
jmp 0x4030d1
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push str.Mouse_Threshold
push edx
call edi
mov eax, dword [esp + 0x10]
push 4
push ebp
push 4
push 0
push str.Mouse_Threshold_Index
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xd8]
push 4
push ecx
push 4
push 0
push str.Password_Delay
push edx
call edi
mov eax, dword [esp + 0x10]
add esi, 0xdc
push 4
push esi
push 4
push 0
push str.Password_Delay_Index
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x446008]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4