Function at 0x44c140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4914f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4e7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [esi + 8]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00434bd0
mov dword [ebp - 4], 1
push ebx
push str.PendingRebootFileOp::WriteToRegistry:_Writing_rename_operations_for___S_
push 2
mov dword [ebp - 0x2c], 0
call fcn.004439a0
add esp, 0xc
test ebx, ebx
jne 0x44c1dc
push str.PendingRebootFileOp::WriteToRegistry:_Got_bad_configName_param
push 1
call fcn.004439a0
add esp, 8
xor esi, esi
jmp 0x44c3eb
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 2
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44c225
push 2
push str.SYSTEMCurrentControlSetControlSession_Manager
push str.DriverBaseInfo::OpenDriverInfoKey:_Failed_to_open_key___S__with_access__u
push eax
push 2
call fcn.00443b80
add esp, 0x14
mov dword [ebp - 0x2c], 0
xor esi, esi
jmp 0x44c3eb
mov eax, dword [ebp + 0xc]
sub eax, 1
je 0x44c27d
sub eax, 1
jne 0x44c2de
test byte [esi], 2
je 0x44c2de
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x38]
push eax
lea ecx, [ebp - 0x28]
call fcn.00434690
lea eax, [ebp - 0x28]
push 0x492f68
push eax
call fcn.00435ac0
lea eax, [ebp - 0x28]
push 0x492f68
push eax
call fcn.00435ac0
lea eax, [ebp - 0x28]
push 0x492f68
push eax
call fcn.00435ac0
add esp, 0x18
jmp 0x44c2de
test byte [esi], 1
je 0x44c2de
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00434690
lea eax, [ebp - 0x28]
push 0x492f68
push eax
call fcn.00435ac0
add esp, 8
test byte [esi + 0x88], 1
je 0x44c2bd
lea eax, [ebp - 0x28]
push 0x4c214c
push eax
call fcn.00435ac0
add esp, 8
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.00434690
lea eax, [ebp - 0x28]
push 0x492f68
push eax
call fcn.00435ac0
add esp, 8
mov edi, dword [ebp - 0x18]
xor ecx, ecx
add edi, 2
mov edx, 2
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047c3b0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44c325
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push str.PendingRebootFileOp::WriteToRegistry:_malloc_failed_for__S
push 1
call fcn.004439a0
add esp, 0xc
lea edi, [ebx + 8]
jmp 0x44c39d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.PendingRebootFileOp::WriteToRegistry:_Writing_rename_operations_for_internal:__S
push 2
call fcn.004439a0
cmp dword [ebp - 0x14], 8
lea eax, [edi - 2]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
push ebx
call fcn.0047bd42
xor eax, eax
mov word [ebx + edi*2 - 4], ax
add edi, edi
push 0x3b
push ebx
mov word [edi + ebx - 2], ax
call fcn.004110eb
add esp, 0x20
test eax, eax
je 0x44c387
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x3b
push eax
call fcn.004110eb
add esp, 8
test eax, eax
jne 0x44c370
push edi
push ebx
push 7
push 0
push str.PendingFileRenameOperations
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x44c3ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x44c3b8
push ebx
call fcn.0047b1a0
add esp, 4
push edi
push str.PendingRebootFileOp::WriteToRegistry:_Set_rename_operations_____d
push 2
call fcn.004439a0
add esp, 0xc
test edi, edi
je 0x44c3e3
push dword [ebp - 0x30]
push str.PendingRebootFileOp::WriteToRegistry:_Failed_to_set_pending_file_renames_ops_for_driver__S
push edi
push 1
call fcn.00443b80
add esp, 0x10
xor esi, esi
jmp 0x44c3eb
or dword [esi], 0x10
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x44c407
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00434e40
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, esi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401bf1
mov esp, ebp
pop ebp
ret 8