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

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.004e5a80
push 0xffffffffffffffff
push 0x50300e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ff740]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x100c]
mov esi, ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], eax
call fcn.004c92aa
mov edi, 0x1000
xor ebx, ebx
push edi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004e38a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x60afc4]
or eax, 0xf003f
push eax
push ebx
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x48d987
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.0048dc16
mov byte [ebp - 4], 1
push dword [eax]
add esi, 8
push str.Install_failed__r_nFailed_to_open_registry_key1_r_n_s
push esi
call fcn.00402a1d
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040285b
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004c9586
mov eax, esi
jmp 0x48db4c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push str.BootExecute
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.autocheck_autochk_
push dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
call fcn.004c973a
mov eax, dword [ebp - 0x28]
xor esi, esi
cmp eax, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
jle 0x48da27
mov ecx, dword [0x60afb4]
mov dword [ebp - 0x1c], ecx
test esi, esi
jl 0x48db30
cmp esi, dword [ebp - 0x28]
jge 0x48db30
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi*4]
mov ebx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0x1c]
push ebx
call fcn.004e357c
add esp, 0xc
test eax, eax
jne 0x48da1b
cmp esi, dword [ebp - 0x28]
mov dword [ebp - 0x18], 1
jge 0x48db30
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + esi*4]
push 0x60afb4
call fcn.004025da
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x48d9c1
cmp dword [ebp - 0x18], 0
jne 0x48da6e
push 0x60afb4
lea ecx, [ebp - 0x10]
call fcn.00402305
push 0x5b1604
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0041417d
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
call fcn.0041417d
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
call fcn.004c96e8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040285b
push edi
xor ebx, ebx
lea eax, [ebp]
push ebx
push eax
call fcn.004e38a0
mov eax, dword [ebp - 0x28]
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x48dad1
test esi, esi
jl 0x48db30
cmp esi, dword [ebp - 0x28]
jge 0x48db30
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, dword [ebp - 0x28]
lea edi, [eax + eax + 2]
jge 0x48db30
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp + ebx]
push eax
call fcn.004e8cd0
add esp, 0xc
add ebx, edi
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x48da8a
inc ebx
inc ebx
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x34]
push 0
push str.BootExecute
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x48db35
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.0048dc16
mov byte [ebp - 4], 3
push dword [eax]
mov eax, dword [ebp - 0x40]
add eax, 8
push str.Install_failed__r_nFailed_to_write_registry_key1_r_n_s
push eax
call fcn.00402a1d
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040285b
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xfffffffffffffffd
pop esi
jmp 0x48d974
call fcn.004be614
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004c9586
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004de422
add ebp, 0x1004
leave
ret 4