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

Disassembly:
mov eax, 0x44c590
call fcn.0043a704
sub esp, 0x148
mov eax, dword [0x46159c]
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 0x4209c3
mov eax, dword [ebp - 0x120]
push ebx
inc eax
push esi
push eax
mov dword [ebp - 0x118], eax
call fcn.00439f3b
mov ebx, eax
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0043b5b0
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 0x4209ba
cmp dword [ebp - 0x11c], 1
jne 0x4209ba
push str.Zylom_Games
push ebx
call fcn.0043b919
test eax, eax
pop ecx
pop ecx
jne 0x4209ba
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0043b5b0
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 0x4209ba
cmp dword [ebp - 0x11c], 4
jne 0x4209ba
push 4
lea eax, [ebp - 0x124]
push ebx
push eax
mov dword [ebp - 0x124], edi
call fcn.0043a730
add esp, 0xc
cmp dword [ebp - 0x124], edi
jbe 0x4209ba
mov eax, dword [ebp + 0xc]
cmp eax, edi
jl 0x4207bf
cmp eax, dword [ebp - 0x124]
jne 0x4209ba
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.0043b5b0
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 0x420816
cmp dword [ebp - 0x11c], 4
jne 0x420816
push 4
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.0043a730
add esp, 0xc
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0043b5b0
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 0x4209ba
cmp dword [ebp - 0x11c], 1
jne 0x4209ba
push edi
push ebx
call fcn.0043c8be
test eax, eax
pop ecx
pop ecx
jne 0x4209ba
push 0x5c
call fcn.00439f3b
pop ecx
mov dword [ebp - 0x128], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x42088c
mov ecx, eax
call fcn.00420158
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.0043b5b0
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 0x420904
cmp dword [ebp - 0x11c], 1
jne 0x420904
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.0043b5b0
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 0x42094d
cmp dword [ebp - 0x11c], 1
jne 0x42094d
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.0043b5b0
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 0x4209b3
cmp dword [ebp - 0x11c], 4
jne 0x4209b3
and dword [ebp - 0x12c], eax
push 4
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.0043a730
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.00439e66
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.00439e9c
leave
ret