Function at 0x44b920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497b9e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ed018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004498c0
mov dword [ebp - 4], 0
lea ebx, [esi + 0x68]
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0x20], 1
jb 0x44b97d
mov eax, dword [ebx]
push eax
push str.BaseDriverManager::DoDriverPendingFileOpsNow:_Handle_any_pending_file_rename_ops_for__S
push 2
call fcn.00446b80
mov eax, dword [esi]
add esp, 0xc
push esi
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x499490]
call esi
cmp eax, 1
mov ecx, 0x8007139f
cmove eax, ecx
test eax, eax
jns 0x44b9c4
push str.BaseDriverManager::DoDriverPendingFileOpsNow:_Ops_not_allowed
push eax
push 1
lfence
call fcn.00446d00
add esp, 0xc
jmp 0x44bb8c
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x18], ebx
jb 0x44b9d2
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x14], 0
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esi
push eax
push esi
push 1
push esi
push esi
push esi
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44ba23
push 1
push str.SYSTEMCurrentControlSetControlSession_Manager
push str.DriverBaseInfo::OpenDriverInfoKey:_Failed_to_open_key___S__with_access__u
push eax
push 2
call fcn.00447040
add esp, 0x14
jmp 0x44bb8c
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push str.PendingFileRenameOperations
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44ba58
push str.PendingFileRenameOperations
push str.PendingRebootFileOp::ReadFromRegistry:_Failed_to_query_data_size_for_value__S
push eax
push 1
call fcn.00447040
add esp, 0x10
jmp 0x44bab5
mov eax, dword [ebp - 0x10]
add eax, 6
push eax
mov dword [ebp - 0x10], eax
call fcn.0047ee60
mov esi, eax
add esp, 4
test esi, esi
jne 0x44ba86
push str.PendingFileRenameOperations
push str.PendingRebootFileOp::ReadFromRegistry:_malloc_failed_for__S
push 1
call fcn.00446b80
add esp, 0xc
jmp 0x44bab5
push 1
push dword [ebp - 0x10]
push esi
push str.PendingFileRenameOperations
push dword [ebp - 0x14]
call fcn.0044e270
add esp, 0x14
test eax, eax
je 0x44baae
push esi
push dword [ebp - 0x18]
mov ecx, edi
lfence
call fcn.0044efa0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44bac3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44bad0
push esi
call fcn.0047ee40
add esp, 4
cmp dword [ebp - 0x1c], 0
jl 0x44bb8c
mov ecx, edi
lfence
call fcn.0044d850
cmp dword [ebx + 0x14], 8
jb 0x44baec
mov ebx, dword [ebx]
push ebx
push str.PendingRebootFileOp::DoPendingFileOpsPreCommit:_Entry__S_
push 2
call fcn.00446b80
add esp, 0xc
test byte [edi], 1
je 0x44bb25
lea eax, [edi + 0x20]
mov ecx, edi
push eax
call fcn.0044bbb0
test eax, eax
jne 0x44bb4e
or dword [edi], 8
lea eax, [edi + 0x58]
push eax
mov ecx, edi
call fcn.0044bbb0
test eax, eax
jne 0x44bb4e
or dword [edi], 4
test byte [edi], 0xc
je 0x44bb77
push 2
push ebx
mov ecx, edi
lfence
call fcn.00452360
test eax, eax
jne 0x44bb77
push ebx
push str.PendingRebootFileOp::DoPendingFileOpsPreCommit:_Failed:_updating_registry_for_renames_of___S_
push 1
lfence
call fcn.00446b80
add esp, 0xc
push ebx
mov ecx, edi
lfence
call fcn.0044bc50
push 0x80004005
push ebx
push str.PendingRebootFileOp::DoPendingFileOpsPreCommit:_Exit__S______08x
push 2
call fcn.00446b80
add esp, 0x10
mov ecx, edi
call fcn.0044eaf0
jmp 0x44bb8c
push 0
push ebx
push str.PendingRebootFileOp::DoPendingFileOpsPreCommit:_Exit__S______08x
push 2
call fcn.00446b80
add esp, 0x10
or dword [edi], 0x20
mov ecx, edi
call fcn.0044d850
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4