Function at 0x450b50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 1
mov edx, dword [edi + 4]
cmp dword [edx - 0xc], 0
jne 0x450bf2
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x450b8e
push 0x104
lea ecx, [edi + 4]
call fcn.00410500
mov edx, dword [edi + 4]
cmp dword [edx - 8], 0x104
jl 0x450e8b
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
push 0x104
push edx
push edi
mov word [eax + 0x208], cx
mov eax, dword [edi]
call dword [eax]
mov eax, dword [edi + 4]
test eax, eax
jne 0x450bc4
xor ecx, ecx
jmp 0x450bda
push dword [eax - 8]
push eax
call fcn.0044043a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x450e8b
mov eax, dword [edi + 4]
cmp ecx, dword [eax - 8]
jg 0x450e8b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 4]
mov word [eax + ecx*2], dx
mov edx, dword [edi + 8]
cmp dword [edx - 0xc], 0
jne 0x450c85
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x450c20
push 0x104
lea ecx, [edi + 8]
call fcn.00410500
mov edx, dword [edi + 8]
cmp dword [edx - 8], 0x104
jl 0x450e8b
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 8]
push 0x104
push edx
push edi
mov word [eax + 0x208], cx
mov eax, dword [edi]
call dword [eax + 4]
mov eax, dword [edi + 8]
test eax, eax
jne 0x450c57
xor ecx, ecx
jmp 0x450c6d
push dword [eax - 8]
push eax
call fcn.0044043a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x450e8b
mov eax, dword [edi + 8]
cmp ecx, dword [eax - 8]
jg 0x450e8b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 8]
mov word [eax + ecx*2], dx
mov edx, dword [edi + 0xc]
cmp dword [edx - 0xc], 0
jne 0x450d34
mov dword [ebp - 4], 0x104
mov ecx, ebx
mov dword [ebp - 8], ebx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x450cbd
push 0x104
lea ecx, [edi + 0xc]
call fcn.00410500
mov edx, dword [edi + 0xc]
cmp dword [edx - 8], 0x104
jl 0x450e8b
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0xc]
mov word [eax + 0x208], cx
lea eax, [ebp - 4]
push eax
push edx
lea eax, [ebp - 8]
push eax
push 0x485e7c
push str.SOFTWARELDSGameMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x450d06
xor ecx, ecx
jmp 0x450d1c
push dword [eax - 8]
push eax
call fcn.0044043a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x450e8b
mov eax, dword [edi + 0xc]
cmp ecx, dword [eax - 8]
jg 0x450e8b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0xc]
mov word [eax + ecx*2], dx
mov edx, dword [edi + 0x10]
cmp dword [edx - 0xc], 0
jne 0x450de3
mov dword [ebp - 8], 0x104
mov ecx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or ecx, eax
jge 0x450d6c
push 0x104
lea ecx, [edi + 0x10]
call fcn.00410500
mov edx, dword [edi + 0x10]
cmp dword [edx - 8], 0x104
jl 0x450e8b
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0x10]
mov word [eax + 0x208], cx
lea eax, [ebp - 8]
push eax
push edx
lea eax, [ebp - 4]
push eax
push str.SUBPID
push str.SOFTWARELDSGameMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x450db5
xor ecx, ecx
jmp 0x450dcb
push dword [eax - 8]
push eax
call fcn.0044043a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x450e8b
mov eax, dword [edi + 0x10]
cmp ecx, dword [eax - 8]
jg 0x450e8b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0x10]
mov word [eax + ecx*2], dx
mov ecx, dword [edi + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x450e84
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0x104
mov eax, dword [ecx - 8]
sub ebx, dword [ecx - 4]
sub eax, 0x104
or ebx, eax
jge 0x450e19
push 0x104
lea ecx, [edi + 0x14]
call fcn.00410500
mov ecx, dword [edi + 0x14]
cmp dword [ecx - 8], 0x104
jl 0x450e8b
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [edi + 0x14]
mov word [eax + 0x208], dx
lea eax, [ebp - 8]
push eax
push ecx
lea eax, [ebp - 4]
push eax
push str.FROM
push str.SOFTWARELDSGameMaster
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x450e5e
xor ecx, ecx
jmp 0x450e70
push dword [eax - 8]
push eax
call fcn.0044043a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x450e8b
mov eax, dword [edi + 0x14]
cmp ecx, dword [eax - 8]
jg 0x450e8b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0x14]
mov word [eax + ecx*2], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004068b0
int3