Function at 0x485c30
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6452a8
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x22c], edi
call fcn.005d9d70
add esp, 0xc
mov dword [ebp - 0x234], 1
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
push eax
push str.Setup_Path
push str.SoftwareLDSGameCenter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x485cd3
push 0x6730dc
lea ecx, [ebp - 0x21c]
call fcn.0047d470
jmp 0x485d87
cmp word [ebp - 0x218], 0
je 0x485d22
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485ce6
sub ecx, edx
sar ecx, 1
movzx eax, word [ebp + ecx*2 - 0x21a]
mov ecx, eax
cmp eax, 0x5c
je 0x485d22
cmp ecx, 0x2f
je 0x485d22
push 0x6730a4
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005e4498
add esp, 0xc
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x485f93
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.0047dcb0
test al, al
jne 0x485d87
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485d65
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.00482800
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x485e03
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x485f9d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x6730dc
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0047dcb0
test al, al
jne 0x485dd5
push 0
push 0x6730dc
mov ecx, edi
call fcn.00482800
mov esi, dword [ebp - 0x21c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x485f76
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x485f76
push dword [0x6f3054]
lea ecx, [ebp - 0x228]
call fcn.0047d470
mov byte [ebp - 4], 3
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x485fa7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push str.9JX9QtbXIUcmSHGZCI5lidLwzYe5siIX
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.0047dcb0
test al, al
jne 0x485e5f
push 0x20
push str.9JX9QtbXIUcmSHGZCI5lidLwzYe5siIX
lea ecx, [ebp - 0x220]
call fcn.00482800
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0055ed30
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00484510
add esp, 0x18
mov edx, dword [ebp - 0x22c]
or esi, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485ebc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, esi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485edd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485efe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x224]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485f27
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.0047ddf0
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x485f33
push 0x6730dc
mov ecx, edi
call fcn.0047d470
mov edx, dword [ebp - 0x224]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485f54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x485f76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
push 0x80004005
call fcn.0047dc90
push 0x80004005
call fcn.0047dc90
int3