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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push 0x665908
mov eax, dword [esi]
push eax
call fcn.0057ea00
add esp, 8
test eax, eax
je 0x558dc9
mov eax, dword [0x67a050]
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0
push 0x66e014
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x558d87
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.00580063
add esp, 4
lea ecx, [esp + 0x18]
push eax
call fcn.0044d250
mov ecx, eax
call fcn.0044d260
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
xor eax, eax
cmp edx, 1
setge al
test eax, eax
je 0x558fd4
lea ecx, [esp + 4]
push ecx
call fcn.00580063
mov eax, dword [0x67a050]
add esp, 4
lea edx, [esp + 4]
push 4
push edx
push 0
push 0
push 0x66e014
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0
push 0
push 0
push 0x5589e0
call fcn.0059b33b
pop esi
add esp, 0x10
ret
mov ecx, dword [esi]
push 0x66e008
push ecx
call fcn.0057ea00
add esp, 8
test eax, eax
jne 0x558f20
mov edx, dword [esi]
push 0xa
push 0x6560c0
push edx
call fcn.0057ebc0
add esp, 0xc
test eax, eax
je 0x558f20
mov eax, dword [esi]
push 0x6658ac
push eax
call fcn.0057ea00
add esp, 8
test eax, eax
jne 0x558e63
mov ecx, dword [esi]
push 0x665864
push ecx
call fcn.0057ea00
add esp, 8
test eax, eax
jne 0x558e63
mov edx, dword [esi]
push 0x665834
push edx
call fcn.0057ea00
add esp, 8
test eax, eax
jne 0x558e63
mov eax, dword [esi]
push 0x665804
push eax
call fcn.0057ea00
add esp, 8
test eax, eax
jne 0x558e63
mov ecx, dword [esi]
push 0x66dffc
push ecx
call fcn.0057ea00
add esp, 8
test eax, eax
je 0x558fd4
mov ecx, dword [0x67a050]
lea edx, [esp + 8]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0
push 0x66dfec
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x558edd
mov edx, dword [esp + 4]
push ecx
mov eax, esp
mov dword [eax], edx
lea eax, [esp + 0x14]
push eax
push 0
call fcn.00580063
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.0044d250
mov ecx, eax
call fcn.0044d260
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
xor eax, eax
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
setge al
test eax, eax
je 0x558fd4
lea edx, [esp + 4]
push edx
call fcn.00580063
mov ecx, dword [0x67a050]
add esp, 4
lea eax, [esp + 4]
push 4
push eax
push 0
push 0
push 0x66dfec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0
push 0
push 1
push 0x5589e0
call fcn.0059b33b
pop esi
add esp, 0x10
ret
mov ecx, dword [0x67a050]
lea edx, [esp + 8]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0
push 0x66dfdc
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x558f96
mov edx, dword [esp + 4]
push ecx
mov eax, esp
mov dword [eax], edx
lea eax, [esp + 0x14]
push eax
push 0
call fcn.00580063
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.0044d250
mov ecx, eax
call fcn.0044d260
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
xor eax, eax
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
setge al
test eax, eax
je 0x558fd4
lea edx, [esp + 4]
push edx
call fcn.00580063
mov ecx, dword [0x67a050]
add esp, 4
lea eax, [esp + 4]
push 4
push eax
push 0
push 0
push 0x66dfdc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0
push 0
push 2
push 0x5589e0
call fcn.0059b33b
pop esi
add esp, 0x10
ret