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

Disassembly:
mov eax, 0x43c426
call fcn.0042a52c
sub esp, 0x148
mov eax, dword [0x44c750]
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 0x41286c
mov eax, dword [ebp - 0x120]
push ebx
inc eax
push esi
push eax
mov dword [ebp - 0x118], eax
call fcn.004281b9
mov ebx, eax
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0042a000
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 0x412863
cmp dword [ebp - 0x11c], 1
jne 0x412863
push str.Zylom_Games
push ebx
call fcn.0042b25d
test eax, eax
pop ecx
pop ecx
jne 0x412863
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0042a000
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 0x412863
cmp dword [ebp - 0x11c], 4
jne 0x412863
push 4
lea eax, [ebp - 0x124]
push ebx
push eax
mov dword [ebp - 0x124], edi
call fcn.0042ae60
add esp, 0xc
cmp dword [ebp - 0x124], edi
jbe 0x412863
mov eax, dword [ebp + 0xc]
cmp eax, edi
jl 0x412668
cmp eax, dword [ebp - 0x124]
jne 0x412863
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.0042a000
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 0x4126bf
cmp dword [ebp - 0x11c], 4
jne 0x4126bf
push 4
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.0042ae60
add esp, 0xc
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0042a000
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 0x412863
cmp dword [ebp - 0x11c], 1
jne 0x412863
push edi
push ebx
call fcn.0042b74d
test eax, eax
pop ecx
pop ecx
jne 0x412863
push 0x5c
call fcn.004281b9
pop ecx
mov dword [ebp - 0x128], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x412735
mov ecx, eax
call fcn.00411ff9
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.0042a000
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 0x4127ad
cmp dword [ebp - 0x11c], 1
jne 0x4127ad
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.0042a000
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 0x4127f6
cmp dword [ebp - 0x11c], 1
jne 0x4127f6
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.0042a000
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 0x41285c
cmp dword [ebp - 0x11c], 4
jne 0x41285c
and dword [ebp - 0x12c], eax
push 4
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.0042ae60
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.0042a54b
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.0042a8ce
leave
ret