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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push 0x6d6318
mov eax, dword [esi]
push eax
call fcn.005de210
add esp, 8
test eax, eax
je 0x5b7149
mov eax, dword [0x6ec7a0]
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0
push 0x6e05bc
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b7107
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.005df989
add esp, 4
lea ecx, [esp + 0x18]
push eax
call fcn.00467270
mov ecx, eax
call fcn.00467280
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 0x5b746a
lea ecx, [esp + 4]
push ecx
call fcn.005df989
mov eax, dword [0x6ec7a0]
add esp, 4
lea edx, [esp + 4]
push 4
push edx
push 0
push 0
push 0x6e05bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0
push 0
push 0
push 0x5b6d30
call fcn.005fae57
pop esi
add esp, 0x10
ret
mov al, byte [esi + 0x312]
test al, al
jne 0x5b724f
mov ecx, dword [esi]
push 0x6bee38
push ecx
call fcn.005de210
add esp, 8
test eax, eax
je 0x5b724f
mov eax, dword [esi + 8]
test eax, eax
je 0x5b724f
push 6
push 0x6e05b4
push eax
call fcn.005de310
add esp, 0xc
test eax, eax
jne 0x5b724f
mov ecx, dword [0x6ec7a0]
lea edx, [esp + 8]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0
push 0x6e05a4
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b720c
mov edx, dword [esp + 4]
push ecx
mov eax, esp
mov dword [eax], edx
lea eax, [esp + 0x14]
push eax
push 0
call fcn.005df989
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00467270
mov ecx, eax
call fcn.00467280
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, 5
setge al
test eax, eax
je 0x5b746a
lea edx, [esp + 4]
push edx
call fcn.005df989
mov ecx, dword [0x6ec7a0]
add esp, 4
lea eax, [esp + 4]
push 4
push eax
push 0
push 0
push 0x6e05a4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0
push 0
push 3
push 0x5b6d30
call fcn.005fae57
pop esi
add esp, 0x10
ret
mov edx, dword [esi]
push 0x6e0598
push edx
call fcn.005de210
add esp, 8
test eax, eax
jne 0x5b73b8
mov eax, dword [esi]
push 0xa
push 0x6c4070
push eax
call fcn.005de310
add esp, 0xc
test eax, eax
je 0x5b73b8
mov ecx, dword [esi]
push 0x6d62bc
push ecx
call fcn.005de210
add esp, 8
test eax, eax
jne 0x5b72fd
mov edx, dword [esi]
push 0x6d6274
push edx
call fcn.005de210
add esp, 8
test eax, eax
jne 0x5b72fd
mov eax, dword [esi]
push 0x6d7cf4
push eax
call fcn.005de210
add esp, 8
test eax, eax
jne 0x5b72fd
mov ecx, dword [esi]
push 0x6d6244
push ecx
call fcn.005de210
add esp, 8
test eax, eax
jne 0x5b72fd
mov edx, dword [esi]
push 0x6d6214
push edx
call fcn.005de210
add esp, 8
test eax, eax
jne 0x5b72fd
mov eax, dword [esi]
push 0x6e058c
push eax
call fcn.005de210
add esp, 8
test eax, eax
je 0x5b746a
mov eax, dword [0x6ec7a0]
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0
push 0x6e057c
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b7376
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.005df989
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00467270
mov ecx, eax
call fcn.00467280
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 0x5b746a
lea ecx, [esp + 4]
push ecx
call fcn.005df989
mov eax, dword [0x6ec7a0]
add esp, 4
lea edx, [esp + 4]
push 4
push edx
push 0
push 0
push 0x6e057c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0
push 0
push 1
push 0x5b6d30
call fcn.005fae57
pop esi
add esp, 0x10
ret
mov eax, dword [0x6ec7a0]
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0
push 0x6e056c
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b742d
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
mov eax, esp
push edx
push 0
mov dword [eax], ecx
call fcn.005df989
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00467270
mov ecx, eax
call fcn.00467280
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 0x5b746a
lea ecx, [esp + 4]
push ecx
call fcn.005df989
mov eax, dword [0x6ec7a0]
add esp, 4
lea edx, [esp + 4]
push 4
push edx
push 0
push 0
push 0x6e056c
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0
push 0
push 2
push 0x5b6d30
call fcn.005fae57
pop esi
add esp, 0x10
ret