Function at 0x103c4ed
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x1049108]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x854], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x850], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
push 0x848
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x84c]
push edi
push eax
mov dword [ebp - 0x860], esi
mov dword [ebp - 0x864], edi
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, edi
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov dword [ebp - 0x844], edi
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x830], 1
mov ebx, 0x2001f
je 0x103c5a3
lea eax, [ebp - 0x858]
push eax
push ebx
push edi
push dword [ebp - 0x860]
push 0x80000003
call esi
mov dword [ebp - 0x854], eax
cmp eax, edi
jne 0x103c733
mov eax, dword [ebp - 0x858]
mov dword [ebp - 0x864], eax
jmp 0x103c5af
mov eax, dword [ebp - 0x854]
mov dword [ebp - 0x858], eax
lea ecx, [ebp - 0x844]
push ecx
push ebx
push edi
push 0x100e598
push eax
mov dword [ebp - 0x84c], eax
call esi
mov dword [ebp - 0x854], eax
cmp eax, edi
jne 0x103c733
lea eax, [ebp - 0x848]
push eax
push ebx
push edi
push 0x100e608
push dword [ebp - 0x858]
call esi
mov dword [ebp - 0x854], eax
cmp eax, edi
jne 0x103c733
lea eax, [ebp - 0x840]
push eax
push 0x20006
push edi
push 0x100e678
push dword [ebp - 0x858]
call esi
mov dword [ebp - 0x854], eax
cmp eax, edi
jne 0x103c733
cmp dword [ebp + 0x18], edi
jne 0x103c681
push dword [ebp - 0x85c]
call fcn.0100ec6e
mov esi, eax
cmp esi, edi
jne 0x103c64d
push dword [ebp - 0x850]
push dword [ebp - 0x844]
call fcn.0103ca67
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x85c]
push eax
push esi
push edi
push dword [ebp - 0x850]
lea eax, [ebp - 0x84c]
push eax
mov dword [ebp - 0x830], edi
call fcn.0100f4cd
push 1
lea eax, [ebp - 0x84c]
push eax
call fcn.0101131e
jmp 0x103c733
push dword [ebp - 0x850]
mov ebx, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
push dword [ebp - 0x844]
call ebx
push dword [ebp - 0x850]
push dword [ebp - 0x840]
call ebx
push dword [ebp - 0x850]
lea eax, [ebp - 0x84c]
push eax
call fcn.0103c3d9
test eax, eax
jne 0x103c6e9
push 0x1011218
push dword [ebp - 0x848]
call ebx
push 4
lea eax, [ebp - 0x85c]
push eax
push 4
push edi
push 0x101ac90
push dword [ebp - 0x848]
mov dword [ebp - 0x85c], edi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
lea eax, [ebp - 0x860]
push eax
push 0x20006
push edi
push 0x103c790
push dword [ebp - 0x858]
call esi
test eax, eax
jne 0x103c721
push dword [ebp - 0x850]
push dword [ebp - 0x860]
call ebx
push dword [ebp - 0x860]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
push edi
push dword [ebp - 0x850]
push dword [ebp - 0x858]
call sym.spoolsv.exe_PrvbSetDevModePerUser
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
cmp dword [ebp - 0x844], edi
je 0x103c749
push dword [ebp - 0x844]
call esi
cmp dword [ebp - 0x848], edi
je 0x103c759
push dword [ebp - 0x848]
call esi
cmp dword [ebp - 0x840], edi
je 0x103c769
push dword [ebp - 0x840]
call esi
cmp dword [ebp - 0x864], edi
je 0x103c779
push dword [ebp - 0x864]
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x854]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01003279
leave
ret 0x14