Function at 0x41277d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x43adb6
call fcn.004291ac
sub esp, 0x148
mov eax, dword [0x44a750]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x140]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x134], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x412afb
mov eax, dword [ebp - 0x120]
push ebx
inc eax
push esi
push eax
mov dword [ebp - 0x118], eax
call fcn.00426e49
mov ebx, eax
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.00428c80
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push ebx
lea eax, [ebp - 0x11c]
push eax
push edi
push str.Publisher
push dword [ebp + 8]
call esi
test eax, eax
jne 0x412af2
cmp dword [ebp - 0x11c], 1
jne 0x412af2
push str.Zylom_Games
push ebx
call fcn.00429edd
test eax, eax
pop ecx
pop ecx
jne 0x412af2
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.00428c80
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
lea eax, [ebp - 0x11c]
push eax
push edi
push str.GameID
push dword [ebp + 8]
call esi
test eax, eax
jne 0x412af2
cmp dword [ebp - 0x11c], 4
jne 0x412af2
push 4
lea eax, [ebp - 0x124]
push ebx
push eax
mov dword [ebp - 0x124], edi
call fcn.00429ae0
add esp, 0xc
cmp dword [ebp - 0x124], edi
jbe 0x412af2
mov eax, dword [ebp + 0xc]
cmp eax, edi
jl 0x4128f7
cmp eax, dword [ebp - 0x124]
jne 0x412af2
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x118], eax
call fcn.00428c80
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
lea eax, [ebp - 0x11c]
push eax
push edi
push str.BuildType
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41294e
cmp dword [ebp - 0x11c], 4
jne 0x41294e
push 4
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00429ae0
add esp, 0xc
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.00428c80
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
lea eax, [ebp - 0x11c]
push eax
push edi
push str.DisplayIcon
push dword [ebp + 8]
call esi
test eax, eax
jne 0x412af2
cmp dword [ebp - 0x11c], 1
jne 0x412af2
push edi
push ebx
call fcn.0042a3cd
test eax, eax
pop ecx
pop ecx
jne 0x412af2
push 0x5c
call fcn.00426e49
pop ecx
mov dword [ebp - 0x128], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x4129c4
mov ecx, eax
call fcn.00412284
mov edi, eax
push dword [ebp - 0x130]
mov eax, dword [edi]
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [ebp - 0x128], edi
call dword [eax + 0x44]
push dword [ebp - 0x124]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x84]
mov eax, dword [ebp - 0x120]
inc eax
push eax
push 0
push ebx
mov dword [ebp - 0x118], eax
call fcn.00428c80
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
lea eax, [ebp - 0x11c]
push eax
push 0
push str.DisplayName
push dword [ebp + 8]
call esi
test eax, eax
jne 0x412a3c
cmp dword [ebp - 0x11c], 1
jne 0x412a3c
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x74]
mov eax, dword [ebp - 0x120]
inc eax
push eax
push 0
push ebx
mov dword [ebp - 0x118], eax
call fcn.00428c80
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
lea eax, [ebp - 0x11c]
push eax
push 0
push str.DisplayVersion
push dword [ebp + 8]
call esi
test eax, eax
jne 0x412a85
cmp dword [ebp - 0x11c], 1
jne 0x412a85
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x7c]
mov eax, dword [ebp - 0x120]
inc eax
push eax
push 0
push ebx
mov dword [ebp - 0x118], eax
call fcn.00428c80
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
lea eax, [ebp - 0x11c]
push eax
push 0
push str.GameWrapperVersion
push dword [ebp + 8]
call esi
test eax, eax
jne 0x412aeb
cmp dword [ebp - 0x11c], 4
jne 0x412aeb
and dword [ebp - 0x12c], eax
push 4
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.00429ae0
mov eax, dword [edi]
add esp, 0xc
push dword [ebp - 0x12c]
mov ecx, edi
call dword [eax + 0x5c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
push ebx
call fcn.004291cb
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x128]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
call fcn.0042954e
leave
ret