Function at 0x4177b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515e05
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x224], 0
call fcn.004767a0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push str.Setup_Path
push str.SOFTWARELDSGameCenter
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x417a04
call fcn.00408a30
mov ecx, eax
test ecx, ecx
je 0x417a2a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x220]
call fcn.00408690
test al, al
jne 0x4178b7
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417895
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00407f80
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
call fcn.0042dad0
add esp, 4
mov eax, dword [eax]
mov ebx, 1
mov byte [ebp - 4], 3
mov dword [ebp - 0x224], ebx
cmp dword [eax - 0xc], 0
jne 0x41792d
lea eax, [ebp - 0x234]
push eax
call fcn.0042dd30
add esp, 4
mov eax, dword [eax]
mov ebx, 3
mov dword [ebp - 4], 4
mov dword [ebp - 0x224], ebx
cmp dword [eax - 0xc], 0
jne 0x41792d
lea eax, [ebp - 0x230]
push eax
call fcn.0042db90
add esp, 4
mov byte [ebp - 0x219], 1
mov ebx, 7
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x417934
mov byte [ebp - 0x219], 0
or esi, 0xffffffff
test bl, 4
je 0x417962
mov edx, dword [ebp - 0x230]
and ebx, 0xfffffffb
mov dword [ebp - 0x224], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417962
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
test bl, 2
je 0x417994
mov edx, dword [ebp - 0x234]
and ebx, 0xfffffffd
mov dword [ebp - 0x224], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417994
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov eax, esi
mov dword [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4179b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x219], 0
je 0x4179e5
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x378]
call fcn.004775c0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x378]
call fcn.0047aa60
mov edx, dword [ebp - 0x220]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x417a04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x378]
call fcn.00476f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404400
int3