Function at 0x5be6f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareEA_GamesNeed_for_Speed_Underground_2
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5beb61
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x870cb0
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x18]
push str.VERSION
mov edi, 4
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cb4
lea edx, [esp + 0x14]
push edx
push 0
push str.SIZE
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cb8
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CarEnvironmentMapEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cbc
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CarEnvironmentMapUpdateData
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cc0
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CarShadowEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cc4
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CarHeadlightEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
push 0x870cc8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CarLightingEnable
push eax
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870ccc
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CarDamageEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cd0
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CrowdEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cd4
lea edx, [esp + 0x14]
push edx
push 0
push str.g_RoadReflectionEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cd8
lea edx, [esp + 0x14]
push edx
push 0
push str.g_FogEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cdc
lea edx, [esp + 0x14]
push edx
push 0
push str.g_MotionBlurEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870ce0
lea edx, [esp + 0x14]
push edx
push 0
push str.g_LightStreaksEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870ce4
lea edx, [esp + 0x14]
push edx
push 0
push str.g_LightGlowEnable
push eax
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870ce8
lea edx, [esp + 0x14]
push edx
push 0
push str.g_AnimatedTextureEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cec
lea edx, [esp + 0x14]
push edx
push 0
push str.g_ParticleSystemEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cf0
lea edx, [esp + 0x14]
push edx
push 0
push str.g_DepthOfFieldEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cf4
lea edx, [esp + 0x14]
push edx
push 0
push str.g_WorldLodLevel
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cf8
lea edx, [esp + 0x14]
push edx
push 0
push str.g_CarLodLevel
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870cfc
lea edx, [esp + 0x14]
push edx
push 0
push str.g_OverBrightEnable
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
push eax
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870d00
lea edx, [esp + 0x14]
push edx
push 0
push str.g_BleachByPassEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870d04
lea edx, [esp + 0x14]
push edx
push 0
push str.g_TintingEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870d08
lea edx, [esp + 0x14]
push edx
push 0
push str.g_FSAALevel
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870d0c
lea edx, [esp + 0x14]
push edx
push 0
push str.g_HorizonFogEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870d10
lea edx, [esp + 0x14]
push edx
push 0
push str.g_RainEnable
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870d18
lea edx, [esp + 0x14]
push edx
push 0
push str.g_TextureFiltering
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
lea ecx, [esp + 0x10]
push ecx
push 0x870d1c
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
push 0
mov eax, dword [esp + 0x18]
push str.g_RacingResolution
push eax
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x87099c
lea edx, [esp + 0x14]
push edx
push 0
push str.g_PerformanceLevel
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x870d24
lea edx, [esp + 0x14]
push edx
push 0
push str.g_VSyncOn
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call esi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0xc
ret