Function at 0x48f3c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x4cd190]
mov ecx, dword [str.Jazz_Jackrabbit_2]
mov edx, dword [str.Epic_MegaGames]
push ebp
push esi
push edi
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push str.Software_s_s_s
push eax
mov dword [esp + 0x30], 0x2c
mov byte [0x4f8e6c], 1
call fcn.004b77e0
add esp, 0x14
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
push 0xf003f
push 0
push edx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48f461
push str.WIN:_First_time_startup__using_defaults
call fcn.0048fa80
mov eax, dword [0x4d3e04]
or edi, 0xffffffff
add esp, 4
cmp eax, edi
jne 0x48f441
mov dword [0x4d3e04], 0
cmp dword [0x4d3e38], edi
jne 0x48f933
mov dword [0x4d3e38], 1
pop edi
pop esi
pop ebp
add esp, 0x118
ret
mov al, byte [0x4f9afc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test al, al
mov esi, 4
mov edi, 3
jne 0x48f4cf
mov al, byte [0x4d3e1c]
mov dword [esp + 0xc], esi
test al, al
je 0x48f4c8
push str.System
call fcn.004935f0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push eax
mov eax, dword [0x4f8e40]
push ecx
push edx
push 0
push str.Last_VideoMode
push eax
call ebp
test eax, eax
jne 0x48f4c8
cmp dword [esp + 0xc], esi
jne 0x48f4c8
cmp dword [esp + 0x14], edi
jne 0x48f4c8
mov eax, dword [esp + 0x10]
jmp 0x48f4ca
xor eax, eax
mov byte [0x4f9afc], al
mov al, byte [0x4d3e1c]
mov dword [esp + 0xc], esi
test al, al
je 0x48f51e
push str.System
call fcn.004935f0
add esp, 4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [0x4f8e40]
push edx
push eax
push 0
push str.Free_Scale
push ecx
call ebp
test eax, eax
jne 0x48f51e
cmp dword [esp + 0xc], esi
jne 0x48f51e
cmp dword [esp + 0x10], edi
jne 0x48f51e
mov eax, dword [esp + 0x14]
jmp 0x48f520
xor eax, eax
mov dword [0x4f9b34], eax
mov al, byte [0x4d3e1c]
test al, al
mov dword [esp + 0xc], esi
je 0x48f574
push str.System
call fcn.004935f0
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
mov edx, dword [0x4f8e40]
push eax
push ecx
push 0
push str.Music_Active
push edx
call ebp
test eax, eax
jne 0x48f574
cmp dword [esp + 0xc], esi
jne 0x48f574
mov eax, dword [esp + 0x10]
cmp eax, edi
mov eax, dword [esp + 0x14]
je 0x48f579
mov eax, 1
mov byte [0x4d3e34], al
mov al, byte [0x4d3e1c]
test al, al
mov dword [esp + 0xc], esi
je 0x48f5cc
push str.System
call fcn.004935f0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
mov eax, dword [0x4f8e40]
push ecx
push edx
push 0
push str.Music_Volume
push eax
call ebp
test eax, eax
jne 0x48f5cc
cmp dword [esp + 0xc], esi
jne 0x48f5cc
mov eax, dword [esp + 0x10]
cmp eax, edi
mov eax, dword [esp + 0x14]
je 0x48f5d1
mov eax, 0x50
mov dword [0x4d3e40], eax
mov al, byte [0x4d3e1c]
test al, al
mov dword [esp + 0xc], esi
je 0x48f625
push str.System
call fcn.004935f0
add esp, 4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [0x4f8e40]
push edx
push eax
push 0
push str.Sound_FX_Active
push ecx
call ebp
test eax, eax
jne 0x48f625
cmp dword [esp + 0xc], esi
jne 0x48f625
mov eax, dword [esp + 0x10]
cmp eax, edi
mov eax, dword [esp + 0x14]
je 0x48f62a
mov eax, 1
mov byte [0x4d3e30], al
mov al, byte [0x4d3e1c]
test al, al
mov dword [esp + 0xc], esi
je 0x48f67e
push str.System
call fcn.004935f0
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
mov edx, dword [0x4f8e40]
push eax
push ecx
push 0
push str.Sound_FX_Volume
push edx
call ebp
test eax, eax
jne 0x48f67e
cmp dword [esp + 0xc], esi
jne 0x48f67e
mov eax, dword [esp + 0x10]
cmp eax, edi
mov eax, dword [esp + 0x14]
je 0x48f683
mov eax, 0x80
mov dword [0x4d3e3c], eax
mov al, byte [0x4d3e1c]
test al, al
mov dword [esp + 0xc], esi
je 0x48f6d6
push str.System
call fcn.004935f0
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
mov eax, dword [0x4f8e40]
push ecx
push edx
push 0
push str.Sound_Mixing_Rate
push eax
call ebp
test eax, eax
jne 0x48f6d6
cmp dword [esp + 0xc], esi
jne 0x48f6d6
mov eax, dword [esp + 0x10]
cmp eax, edi
mov eax, dword [esp + 0x14]
je 0x48f6db
mov eax, 0x5622
mov dword [0x4d6008], eax
mov al, byte [0x4d3e1c]
test al, al
mov dword [esp + 0xc], esi
je 0x48f72f
push str.System
call fcn.004935f0
add esp, 4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [0x4f8e40]
push edx
push eax
push 0
push str.Sound_Mixing_Options
push ecx
call ebp
test eax, eax
jne 0x48f72f
cmp dword [esp + 0xc], esi
jne 0x48f72f
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
cmp eax, edi
je 0x48f734
mov esi, 0x8001
mov eax, dword [0x4d3e04]
or edi, 0xffffffff
cmp eax, edi
jne 0x48f79c
mov al, byte [0x4d3e1c]
mov dword [esp + 0xc], 4
test al, al
je 0x48f795
push str.System
call fcn.004935f0
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
mov edx, dword [0x4f8e40]
push eax
push ecx
push 0
push 0x4d44d8
push edx
call ebp
test eax, eax
jne 0x48f795
cmp dword [esp + 0xc], 4
jne 0x48f795
cmp dword [esp + 0x10], 3
jne 0x48f795
mov eax, dword [esp + 0x14]
jmp 0x48f797
xor eax, eax
mov dword [0x4d3e04], eax
mov al, byte [0x4d3e1c]
test al, al
je 0x48f7d1
push str.System
call fcn.004935f0
mov edx, dword [0x4f8e40]
add esp, 4
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push 0x6087c0
push ecx
push 0
push str.Window_Position
push edx
call ebp
mov eax, dword [0x4f9b34]
xor ecx, ecx
test eax, eax
setne cl
and eax, 0xff
cmp ecx, eax
jne 0x48f8f2
mov al, byte [0x4d3e34]
xor edx, edx
test al, al
mov eax, dword [0x4d3e34]
setne dl
and eax, 0xff
cmp edx, eax
jne 0x48f8f2
mov eax, dword [0x4d6008]
mov ecx, 0x2b11
cdq
idiv ecx
test edx, edx
jne 0x48f8f2
mov al, byte [0x4d3e1c]
mov dword [esp + 0xc], 4
test al, al
je 0x48f872
push str.System
call fcn.004935f0
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
mov edx, dword [0x4f8e40]
push eax
push ecx
push 0
push str.Window_Snap_Presets
push edx
call ebp
test eax, eax
jne 0x48f872
cmp dword [esp + 0xc], 4
jne 0x48f872
cmp dword [esp + 0x10], 3
jne 0x48f872
mov eax, dword [esp + 0x14]
jmp 0x48f874
xor eax, eax
lea ecx, [eax*8]
mov dword [0x4f8e88], eax
test eax, eax
mov dword [esp + 0x18], ecx
je 0x48f8bd
mov al, byte [0x4d3e1c]
test al, al
je 0x48f8bd
push str.System
call fcn.004935f0
mov ecx, dword [0x4f8e40]
add esp, 4
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 0x4f8910
push eax
push 0
push str.Window_Snap_Data
push ecx
call ebp
mov eax, dword [0x4d3e38]
mov edx, esi
and edx, 0xff
cmp eax, edi
mov dword [0x4d6004], edx
jne 0x48f928
mov eax, dword [esp + 0x20]
shr esi, 0x1f
push eax
mov dword [0x4d3e38], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
add esp, 0x118
ret
push 0
push 0x491720
push 0x92
call fcn.00494040
add esp, 0xc
mov dword [0x4d3e04], 0
mov byte [0x4d3e30], 1
mov byte [0x4d3e34], 1
mov dword [0x4d3e38], 1
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
add esp, 0x118
ret