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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
mov eax, dword [0x5e632c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4ac], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x200
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push 0x5c9b38
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x590c23
mov word [ebp - 0x418], 0
push 0x3fe
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.004bbbe0
add esp, 0xc
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0x5c9b94
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x590b21
push ecx
mov ecx, esp
mov dword [ebp - 0x454], esp
lea edx, [ebp - 0x418]
push edx
call fcn.004053f0
mov dword [ebp - 0x4b0], eax
lea eax, [ebp - 0x468]
push eax
call fcn.0058f650
add esp, 8
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x4b4]
mov edx, dword [ecx]
mov dword [ebp - 0x450], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44c], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x448], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x450]
mov dword [ecx], edx
mov eax, dword [ebp - 0x44c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x448]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x444]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x10], 2
jmp 0x590c14
lea ecx, [ebp - 0x488]
push ecx
call fcn.005904a0
add esp, 4
mov edx, dword [eax]
mov dword [ebp - 0x478], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x474], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x470], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x478]
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x428], edx
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x46c]
mov dword [ebp - 0x420], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x42c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x428]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x424]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x420]
mov dword [edx + 0xc], ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.0058df00
add esp, 0x14
lea ecx, [ebp - 0x41c]
call fcn.004053b0
shl eax, 1
push eax
lea ecx, [ebp - 0x41c]
call fcn.004287b0
push eax
push 1
push 0
push 0x5c9ba0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x590c02
push 0x10
lea ecx, [ebp - 0x42c]
push ecx
push 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.004b920b
add esp, 0x10
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x41c]
call fcn.0042f130
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x590d3c
lea ecx, [ebp - 8]
push ecx
push str.SOFTWAREDriverGeniusLiteDrivers_Management
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x590d3c
lea edx, [ebp - 0x4a8]
push edx
call fcn.005904a0
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x498], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x494], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x490], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp - 0x490]
mov dword [ebp - 0x438], edx
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x434], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x440]
mov dword [ecx], edx
mov eax, dword [ebp - 0x43c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x438]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x434]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.0058df00
add esp, 0x14
lea ecx, [ebp - 0x430]
call fcn.004053b0
shl eax, 1
push eax
lea ecx, [ebp - 0x430]
call fcn.004287b0
push eax
push 1
push 0
push str.UUID
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x590d20
push 0x10
lea eax, [ebp - 0x440]
push eax
push 0x10
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b920b
add esp, 0x10
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x430]
call fcn.0042f130
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b9002
mov esp, ebp
pop ebp
ret 4