Function at 0x6c1c00
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_Most_Wanted
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6c1efe
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x9017b0
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 0x9017b4
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 0x9017b8
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 0x9017bc
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 0x9017d4
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 0x9017dc
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
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
push 0x9017ec
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0
push str.g_ParticleSystemEnable
push eax
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x9017f4
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 0x9017f8
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 0x9017fc
lea edx, [esp + 0x14]
push edx
push 0
push str.g_OverBrightEnable
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 0x901808
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 0x901810
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 0x901818
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
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x90181c
lea edx, [esp + 0x14]
push edx
push 0
push str.g_RacingResolution
push eax
call esi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x982c00
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 0x901824
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 eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push 0x901830
lea edx, [esp + 0x14]
push edx
push 0
push str.g_ShadowDetail
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 0x901828
lea edx, [esp + 0x14]
push edx
push 0
push str.g_VisualTreatment
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 0x982c78
lea edx, [esp + 0x14]
push edx
push 0
push str.VTMode
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