Function at 0x434900
Capabilities:
Set registry value

Disassembly:
sub esp, 4
lea eax, [esp]
push esi
push edi
push eax
mov edi, dword [0x4cfd38]
push 0xf003f
push 0
push str.SoftwareCAPCOMBIO_HAZARD
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43493e
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 8]
push 4
push 0x4d7124
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push 0
push str.Play_Number
push eax
call esi
test eax, eax
je 0x434972
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 8]
push 4
push 0x4d7160
push 4
push 0
push str.Clear_Number
push eax
call esi
test eax, eax
je 0x4349a0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
push 4
lea eax, [edi + 0x162c]
mov ecx, dword [esp + 0xc]
push eax
push 4
push 0
push str.X_Size
push ecx
call esi
test eax, eax
je 0x4349d0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
push 4
lea eax, [edi + 0x1630]
mov ecx, dword [esp + 0xc]
push eax
push 4
push 0
push str.Y_Size
push ecx
call esi
test eax, eax
je 0x434a00
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
push 4
lea eax, [edi + 0x1634]
mov ecx, dword [esp + 0xc]
push eax
push 4
push 0
push str.Bit_Depth
push ecx
call esi
test eax, eax
je 0x434a30
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
push 4
add edi, 0x1684
mov eax, dword [esp + 0xc]
push edi
push 4
push 0
push str.FullScreen_
push eax
call esi
test eax, eax
je 0x434a60
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 8]
push 0x20
push 0x4ac510
push 0
push 0
push str.Key_Def
push eax
call esi
test eax, eax
je 0x434a8e
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
cmp byte [0x4d48c8], 0
push pe_nt_image_headers32
push 0x4cbcd0
push 0
push 0
je 0x434ac8
mov eax, dword [esp + 0x18]
push str.Side_Def
push eax
call esi
test eax, eax
je 0x434aeb
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 0x18]
push str.Joy_Def
push eax
call esi
test eax, eax
je 0x434aeb
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 8]
push 4
push 0x6a6098
push 4
push 0
push str.Display_Driver
push eax
call esi
test eax, eax
je 0x434b19
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
mov eax, dword [esp + 8]
push 4
push 0x4ac4a4
push 4
push 0
push str.Display_Mode
push eax
call esi
test eax, eax
mov eax, dword [esp + 8]
push eax
je 0x434b47
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
add esp, 4
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
add esp, 4
ret