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

Disassembly:
mov eax, 0x44c4a0
call fcn.0043a614
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 0x42097c
mov eax, dword [ebp - 0x120]
push ebx
inc eax
push esi
push eax
mov dword [ebp - 0x118], eax
call fcn.00439e4b
mov ebx, eax
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0043b4c0
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 0x420973
cmp dword [ebp - 0x11c], 1
jne 0x420973
push 0x452a80
push ebx
call fcn.0043b829
test eax, eax
pop ecx
pop ecx
jne 0x420973
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0043b4c0
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 0x420973
cmp dword [ebp - 0x11c], 4
jne 0x420973
push 4
lea eax, [ebp - 0x124]
push ebx
push eax
mov dword [ebp - 0x124], edi
call fcn.0043a640
add esp, 0xc
cmp dword [ebp - 0x124], edi
jbe 0x420973
mov eax, dword [ebp + 0xc]
cmp eax, edi
jl 0x420778
cmp eax, dword [ebp - 0x124]
jne 0x420973
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.0043b4c0
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 0x4207cf
cmp dword [ebp - 0x11c], 4
jne 0x4207cf
push 4
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.0043a640
add esp, 0xc
mov eax, dword [ebp - 0x120]
inc eax
push eax
push edi
push ebx
mov dword [ebp - 0x118], eax
call fcn.0043b4c0
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 0x420973
cmp dword [ebp - 0x11c], 1
jne 0x420973
push edi
push ebx
call fcn.0043c7ce
test eax, eax
pop ecx
pop ecx
jne 0x420973
push 0x5c
call fcn.00439e4b
pop ecx
mov dword [ebp - 0x128], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x420845
mov ecx, eax
call fcn.00420111
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.0043b4c0
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 0x4208bd
cmp dword [ebp - 0x11c], 1
jne 0x4208bd
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.0043b4c0
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 0x420906
cmp dword [ebp - 0x11c], 1
jne 0x420906
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.0043b4c0
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 0x42096c
cmp dword [ebp - 0x11c], 4
jne 0x42096c
and dword [ebp - 0x12c], eax
push 4
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.0043a640
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.00439d76
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.00439dac
leave
ret