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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564a77
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x45fdc1
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], al
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 2
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
call fcn.004211a0
mov byte [ebp - 4], 3
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x453
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0040b1c0
mov esi, eax
push str.RemoveFromInstallList
push esi
mov byte [ebp - 4], 4
call fcn.00409810
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040cbc0
mov edx, dword [ebp - 0x414]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x45fd68
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45fd5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ffa4
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov edx, dword [ebp - 0x42c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x45fdc1
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45fdb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ffa9
push edx
push ecx
call fcn.0046c2cf
add esp, 8
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x45ffae
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x448], eax
push dword [ebp + 8]
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 5
push 0x572f58
push eax
call fcn.00417390
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x45fe5d
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00516260
add esp, 0xc
mov dword [ebp - 0x450], 1
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x44c], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x450]
push eax
push str.InstalledGameIds
push esi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45fe5d
lea eax, [ebp - 0x410]
push eax
jmp 0x45fe62
push 0x5726b4
lea ecx, [ebp - 0x444]
call fcn.0040ad40
mov eax, dword [ebp - 0x444]
mov esi, dword [ebp - 0x448]
mov byte [ebp - 4], 6
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x45fec2
test esi, esi
je 0x45fec2
test ecx, ecx
js 0x45fec2
push esi
push eax
call fcn.00516532
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x444]
test ecx, ecx
je 0x45fec2
sub ecx, eax
sar ecx, 1
js 0x45fec2
mov eax, dword [esi - 0xc]
dec eax
push eax
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x444]
call fcn.0045cf40
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp + 0xc]
test eax, eax
mov edi, 0x5726b4
cmovne edi, eax
test ecx, ecx
je 0x45ff0d
mov edx, edi
lea ebx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45fee0
sub edx, ebx
sar edx, 1
lea eax, [edx + edx]
push eax
push edi
push 1
push str.InstalledGameIds
push ecx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x444]
or edi, 0xffffffff
mov byte [ebp - 4], 5
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ff2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ff46
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ff64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45ff83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret
call fcn.0051a7fc
call fcn.0051a7fc
push 0x80004005
call fcn.00410dc0
int3