Function at 0x1003b8b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007da71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48c
mov dword [ebp - 4], 2
mov dword [ebp - 0x74], 0
push 0x400
push 0
lea eax, [ebp - 0x498]
push eax
call fcn.100143f0
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.10003060
lea ecx, [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x1003b92e
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], edx
jmp 0x1003b934
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x28]
push edx
push 2
push 0
mov eax, dword [ebp - 0x38]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x1003ba15
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov dword [ebp - 0x68], edx
lea eax, [ebp + 0x38]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 0x10
jb 0x1003b9ac
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x1c], ecx
jmp 0x1003b9b2
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x6c], ecx
lea edx, [ebp + 0x20]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 0x10
jb 0x1003b9ef
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
jmp 0x1003b9f5
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
push 1
push 0
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 0x28], 0
je 0x1003ba25
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.10004de0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp + 8]
call fcn.10004de0
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp + 0x20]
call fcn.10004de0
mov dword [ebp - 4], 6
push 0
push 1
lea ecx, [ebp + 0x38]
call fcn.10004de0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret