Function at 0x44f8f0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xcc
mov eax, 0x49e822
call fcn.00459b85
mov dword [ebp - 0xc0], ecx
xor eax, eax
mov dword [ebp - 0xa8], eax
mov bl, al
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xb8]
push 0x20019
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00404b50
mov edi, dword [ebp - 0xb8]
test eax, eax
jne 0x44fb2b
lea eax, [ebp - 0xac]
xor ecx, ecx
push eax
push ecx
lea eax, [ebp - 0xbc]
push eax
push ecx
push str.PendingFileRenameOperations
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44fb2b
cmp dword [ebp - 0xbc], 7
jne 0x44fb2b
push eax
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xa0], 0x4b6748
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4b6750
call fcn.004060a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xd8]
push dword [ebp - 0xac]
lea ecx, [ebp - 0xa0]
push eax
call fcn.00406a60
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00407930
mov esi, dword [eax]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.00405f90
lea eax, [ebp - 0xac]
push eax
push esi
xor eax, eax
push eax
push eax
push str.PendingFileRenameOperations
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44fb1b
xor ebx, ebx
mov dword [ebp - 0x40], 0x4b6748
push ebx
lea eax, [ebp - 0xa1]
mov dword [ebp - 0x18], 0x4b6750
push eax
lea ecx, [ebp - 0x40]
call fcn.004060a0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
mov dword [ebp - 0xcc], eax
mov eax, 0x104
mov byte [ebp - 0xc8], bl
mov dword [ebp - 0xc4], ebx
cmp dword [ebp - 0x2c], eax
jae 0x44fa4c
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00408100
xor ebx, ebx
lea ecx, [ebp - 0x40]
inc ebx
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xc8], bl
call fcn.00407930
push dword [eax]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, ebx
mov dword [ebp - 0xa8], eax
and eax, 0xfffffffe
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xcc]
call fcn.00405f90
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx + 0x4dc]
cmp eax, dword [ebp - 0xac]
jae 0x44faf6
test eax, eax
je 0x44faf6
cdq
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
add esi, 0xfffffffe
jmp 0x44faf6
push 1
lea eax, [ebp - 0xa1]
add esi, 8
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.00406b40
mov byte [ebp - 4], 7
xor eax, eax
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00408510
test eax, eax
jne 0x44faff
mov eax, dword [ebp - 0x5c]
lea esi, [esi + eax*2]
add esi, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00404cc0
xor eax, eax
cmp word [esi], ax
jne 0x44fab5
jmp 0x44fb0f
xor eax, eax
mov bl, al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00404cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00404cc0
xor eax, eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0xa0]
call fcn.00404cc0
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x44fb44
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0xb8], eax
jmp 0x44fb46
xor eax, eax
mov dword [ebp - 0xb4], eax
mov al, bl
call fcn.00459b34
ret