Function at 0x415bdc
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x13c
mov eax, 0x43cabb
call fcn.00423093
lea eax, [ebp - 0xa0]
xor ebx, ebx
push eax
lea eax, [ebp - 0x80]
mov edi, ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWARE360Game5
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x415e43
lea eax, [ebp - 0x58]
push eax
call fcn.00415ecf
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push ebx
push str.LastUninstallTime
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push ebx
push str.UninstallTimes
push dword [ebp - 0x80]
mov dword [ebp - 0x84], ebx
call esi
test eax, eax
jne 0x415e2f
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x415e2f
push 7
pop edi
xor ecx, ecx
shr eax, 1
push ebx
mov word [ebp - 0x40], cx
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
call fcn.00416dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
push ebx
push ebx
push str.UninstallTimes
push dword [ebp - 0x80]
call esi
push ecx
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x148]
call fcn.0041642b
mov esi, ebx
mov dword [ebp - 0x98], ebx
and dword [ebp - 0x94], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x14], edi
xor eax, eax
xor edi, edi
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.00415f54
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x8c], edx
push eax
call fcn.00421f6a
sub dword [ebp - 0x70], 0x59
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
call fcn.00422492
add esp, 8
mov dword [ebp - 0x8c], edx
lea edx, [ebp - 0x28]
mov edi, eax
lea ecx, [ebp - 0x148]
call fcn.0041844e
pop ecx
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x415db5
mov esi, dword [ebp - 0x8c]
cmp dword [ebp - 0x18], 0
je 0x415d8b
lea eax, [ebp - 0x28]
push eax
call fcn.00415f54
cmp edx, esi
jl 0x415d8b
jg 0x415d7c
cmp eax, edi
jb 0x415d8b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00416b12
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x148]
call fcn.0041844e
pop ecx
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
je 0x415d63
mov ebx, dword [ebp - 0x98]
mov esi, dword [ebp - 0x9c]
push 0x18
mov eax, ebx
sub eax, esi
pop ecx
cdq
idiv ecx
push 0
mov edi, eax
lea ecx, [ebp - 0x28]
push 1
mov dword [ebp - 0x8c], edi
call fcn.0040439c
test esi, esi
je 0x415dfc
mov edi, esi
cmp esi, ebx
je 0x415def
push 0
push 1
mov ecx, edi
call fcn.0040439c
add edi, 0x18
cmp edi, ebx
jne 0x415ddd
push esi
call fcn.0041e630
mov edi, dword [ebp - 0x8c]
pop ecx
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.004164bb
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], vtable.std::ios_base.0
push eax
call fcn.0041e28c
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.0040439c
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0040439c
mov eax, edi
call fcn.00423042
ret