Function at 0x443510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push eax
push 0xf003f
push 0
push str.SOFTWAREElectronic_ArtsRoadRash_95
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44386b
mov ebx, 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0x46be68
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x18], ebx
push 0
push 0
push str.HiRes
push ecx
call esi
mov al, byte [0x46be68]
test al, al
je 0x443575
mov byte [0x46be68], bl
mov ebx, 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
mov dword [esp + 0x14], ebx
push 0x46be78
push 0
push 0
push 0x46b16c
push ecx
call esi
mov cl, byte [0x46be78]
test cl, cl
je 0x4435a8
mov byte [0x46be78], bl
mov ebx, 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
mov dword [esp + 0x14], ebx
push 0x46be6c
push 0
push 0
push str.HiResBikers
push ecx
call esi
mov cl, byte [0x46be6c]
test cl, cl
je 0x4435db
mov byte [0x46be6c], bl
mov ebx, 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
mov dword [esp + 0x14], ebx
push 0x46be70
push 0
push 0
push str.HiResCars
push ecx
call esi
mov cl, byte [0x46be70]
test cl, cl
je 0x44360e
mov byte [0x46be70], bl
mov ebx, 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
mov dword [esp + 0x14], ebx
push 0x46be8c
push 0
push 0
push str.AlternateArtwork
push ecx
call esi
mov cl, byte [0x46be8c]
test cl, cl
je 0x443641
mov byte [0x46be8c], bl
mov ebx, 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
mov dword [esp + 0x14], ebx
push 0x46be90
push 0
push 0
push str.OpponentList
push ecx
call esi
mov cl, byte [0x46be90]
test cl, cl
je 0x443674
mov byte [0x46be90], bl
mov dword [esp + 0x10], 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0x45f8b0
push 0
push 0
push str.MiniDash
push ecx
call esi
mov cl, byte [0x45f8b0]
cmp cl, 2
jle 0x4436aa
mov byte [0x45f8b0], 2
jmp 0x4436ba
mov al, byte [0x45f8b0]
test al, al
jge 0x4436ba
mov byte [0x45f8b0], 0
mov dword [esp + 0x10], 1
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0x46ba30
push 0
push 0
push str.ChatState
push ecx
call esi
mov cl, byte [0x46ba30]
cmp cl, 2
jle 0x4436f0
mov byte [0x46ba30], 2
jmp 0x443700
mov al, byte [0x46ba30]
test al, al
jge 0x443700
mov byte [0x46ba30], 0
mov dword [esp + 0x10], 4
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0x46be74
push 0
push 0
push str.VideoMode
push ecx
call esi
mov ecx, dword [0x46be74]
cmp ecx, 2
jle 0x443739
mov dword [0x46be74], 2
jmp 0x44374c
mov eax, dword [0x46be74]
test eax, eax
jge 0x44374c
mov dword [0x46be74], 0
mov dword [esp + 0x10], 0x14
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0x4aa4ac
push 0
push 0
push str.Name
push ecx
call esi
mov dword [esp + 0x10], 4
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push 0x46be58
push 0
push 0
push str.Group
push edx
call esi
mov ecx, dword [0x46be58]
cmp ecx, 5
jle 0x4437a7
mov dword [0x46be58], 5
jmp 0x4437ba
mov eax, dword [0x46be58]
test eax, eax
jge 0x4437ba
mov dword [0x46be58], 0
mov dword [esp + 0x10], 4
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0x46be5c
push 0
push 0
push str.Track
push ecx
call esi
mov ecx, dword [0x46be5c]
cmp ecx, 0xd
jle 0x4437f3
mov dword [0x46be5c], 0xd
jmp 0x443806
mov eax, dword [0x46be5c]
test eax, eax
jge 0x443806
mov dword [0x46be5c], 0
mov ecx, dword [esp + 0xc]
mov ebx, 1
call fcn.00402420
mov ecx, dword [esp + 0xc]
call fcn.0042b240
mov ecx, dword [esp + 0xc]
call fcn.0040e620
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0xc]
push eax
push 0x46bf14
push 0
push 0
push str.CheckDialup
push ecx
call esi
mov cl, byte [0x46bf14]
test cl, cl
je 0x443854
mov byte [0x46bf14], bl
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x104
ret
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0xf003f
push 0
push str.RoadRash
push 0
push str.SOFTWAREElectronic_ArtsRoadRash_95
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4438ad
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x104
ret
mov ecx, 2
call fcn.0042aa90
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
xor ecx, ecx
call fcn.0042aa90
push eax
call fcn.0043df00
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x104
ret