Function at 0x411230
Capabilities:
Set registry value

Disassembly:
sub esp, 0x68
lea eax, [esp]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareEmulatorsSnes9X1.31
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x411745
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
push 1
push 0x716668
push 3
push eax
push 0x4a8da8
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x738278
push 3
push 0
push 0x4a8d98
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x73827d
push 3
push 0
push str.Stereo_Sound
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x73827f
push 3
push 0
push str.16bit_Sound
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x73828d
push 3
push 0
push str.Interpolated_Sound
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x73828c
push 3
push 0
push str.Sync_Sound
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x738288
push 3
push 0
push str.Sound_Envelope_Height_Reading
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x73827e
push 3
push 0
push str.Reverse_Stereo
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x738289
push 3
push 0
push str.Disable_Echo
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x73828a
push 3
push 0
push str.Disable_Sample_Caching
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x73828b
push 3
push 0
push str.Disable_Master_Volume
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x73828f
push 3
push 0
push str.Mute_Sound
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x738291
push 3
push 0
push str.Alt_Sample_Code_Method
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x738290
push 3
push 0
push str.Enable_SPC700
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x738222
push 3
push 0
push str.Sound_CPU_Skip_Method
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x71666c
push 3
push 0
push str.Paused_Frames_Before_Muting_Sound
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x738280
push 3
push 0
push str.Sound_Buffer_Length
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x738284
push 3
push 0
push str.Sound_Mix_Interval
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x738344
push 3
push 0
push str.Sound_Driver
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x716670
push 3
push 0
push str.Width
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x716674
push 3
push 0
push str.Height
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x716678
push 3
push 0
push str.Depth
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x716680
push 3
push 0
push str.Scale
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x716684
push 3
push 0
push str.DoubleBuffered
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x73829c
push 3
push 0
push str.Show_FPS
push ecx
call esi
mov edx, dword [esp + 8]
push 1
push 0x738293
push 3
push 0
push str.Render_SixteenBit
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x738294
push 3
push 0
push str.Enable_Transparency
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x738295
push 3
push 0
push str.Support_HiRes
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x73824c
push 3
push 0
push str.Skip_Frames
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x738330
push 3
push 0
push str.Turbo_Skip_Frames
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x7166c2
push 3
push 0
push str.Turbo_Mode_Toggle
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x738334
push 3
push 0
push str.Auto_Max_Skip_Frames
push edx
call esi
mov eax, dword [esp + 8]
push 0x24
push 0x4a7e70
push 3
push 0
push str.Joypad_1
push eax
call esi
mov ecx, dword [esp + 8]
push 0x24
push 0x4a7e94
push 3
push 0
push str.Joypad_2
push ecx
call esi
mov edx, dword [esp + 8]
push 0x24
push 0x4a7eb8
push 3
push 0
push str.Joypad_3
push edx
call esi
mov eax, dword [esp + 8]
push 0x24
push 0x4a7edc
push 3
push 0
push str.Joypad_4
push eax
call esi
mov ecx, dword [esp + 8]
push 0x24
push 0x4a7f00
push 3
push 0
push str.Joypad_5
push ecx
call esi
mov edx, dword [esp + 8]
push 0x10
push 0x71668c
push 3
push 0
push str.Window_Geometry
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x716686
push 3
push 0
push str.Stretch
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x716685
push 3
push 0
push str.Fullscreen
push ecx
call esi
mov edi, 0x71677c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 8]
not ecx
push ecx
push 0x71677c
push 1
push eax
push str.Freeze_File_Directory
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x73832c
push 3
push 0
push 0x4a8afc
push eax
call esi
mov ecx, dword [esp + 8]
push 4
push 0x738328
push 3
push 0
push str.Auto_Save_Delay
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x738320
push 3
push 0
push str.NetPlay_Port
push edx
call esi
mov eax, dword [esp + 8]
push 1
push 0x7c8125
push 3
push 0
push str.NetPlay_Sync_By_Reset
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x7c8124
push 3
push 0
push str.NetPlay_Send_ROM_On_Connect
push ecx
call esi
mov edx, dword [esp + 8]
push 4
push 0x7c5c6c
push 3
push 0
push str.NetPlay_Max_Frame_Skip
push edx
call esi
mov eax, dword [esp + 8]
push 4
push 0x7c5c70
push 3
push 0
push str.NetPlay_Max_Behind_Frame_Count
push eax
call esi
mov ecx, dword [esp + 8]
push 1
push 0x738296
push 3
push 0
push str.Bi_Linear_Filter_Mode7
push ecx
call esi
mov eax, dword [0x716884]
test eax, eax
je 0x411738
cmp dword [eax], 0
je 0x411738
push ebx
push ebp
xor ebx, ebx
mov ebp, 1
push ebp
lea edx, [esp + 0x18]
push str.Recent_Game__d
push edx
call fcn.00496365
mov eax, dword [0x716884]
or ecx, 0xffffffff
add esp, 0xc
mov edx, dword [ebx + eax]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call esi
mov eax, dword [0x716884]
add ebx, 4
inc ebp
cmp dword [ebx + eax], 0
jne 0x4116f0
pop ebp
pop ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0x68
ret