Function at 0x100044e8
Capabilities:
Check if file exists
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x94
mov eax, 0x10044d4f
call fcn.1002ddda
lea eax, [ebp - 0x90]
push eax
call fcn.10001388
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0
je 0x1000478a
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x90]
lea edi, [ebp - 0x54]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
call fcn.10018070
test al, al
jne 0x1000478a
mov ebx, 0x80000002
lea esi, [ebp - 0x34]
call fcn.10017ff8
cmp dword [eax + 0x18], 8
jb 0x10004561
mov eax, dword [eax + 4]
jmp 0x10004564
add eax, 4
push 0x10049a44
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1001560c
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x100045b2
lea esi, [ebp - 0x34]
call fcn.10017ff8
cmp dword [eax + 0x18], 8
jb 0x1000459d
mov eax, dword [eax + 4]
jmp 0x100045a0
add eax, 4
push eax
push str.Softwareprojonepodlp_backupupload_
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x1000475d
lea esi, [ebp - 0x4c]
cmp eax, 2
jne 0x100045be
push 1
jmp 0x100045c0
push 0
call fcn.100052c2
push eax
lea esi, [ebp - 0x2c]
call fcn.10004f8a
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10017ff8
cmp dword [eax + 0x18], 8
jb 0x100045e5
mov eax, dword [eax + 4]
jmp 0x100045e8
add eax, 4
push 4
pop esi
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
mov edi, str.Softwareprojonepodlp_backupupload_
push edi
push ebx
mov dword [ebp - 0x58], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10004616
cmp dword [ebp - 0x60], esi
jne 0x10004616
mov eax, dword [ebp - 0x5c]
jmp 0x10004618
xor eax, eax
cmp eax, 5
jb 0x1000462c
push str.clear_backup_upload_record_on_too_many_failure
call fcn.10016db6
jmp 0x10004731
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004638
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10004664
lea esi, [ebp - 0x34]
call fcn.10017ff8
cmp dword [eax + 0x18], 8
jb 0x10004656
mov eax, dword [eax + 4]
jmp 0x10004659
add eax, 4
push eax
push str.clear_backup_upload_record_on_file_not_found:_s
jmp 0x1000472b
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004670
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, eax
cmp word [ecx], 0
je 0x10004719
xor eax, eax
mov word [ebp - 0x70], ax
lea edi, [ebp - 0x6e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
inc ecx
lea eax, [ebp - 0x70]
inc ecx
push eax
push ecx
call fcn.10014f7e
test eax, eax
jne 0x100046d8
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x100046ad
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_file_name_error_:_s
call fcn.10016db6
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.10017ff8
cmp dword [eax + 0x18], 8
jb 0x100046cd
mov eax, dword [eax + 4]
jmp 0x100046d0
add eax, 4
push eax
push str.Softwareprojonepodlp_backupupload_
jmp 0x1000474a
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10014f3e
test edx, edx
jl 0x10004751
jg 0x10004705
cmp eax, 0xf731400
jbe 0x10004751
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004711
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_expired:_s
jmp 0x100046b3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004725
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_file_ext_error_:_s
call fcn.10016db6
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.10017ff8
cmp dword [eax + 0x18], 8
jb 0x10004745
mov eax, dword [eax + 4]
jmp 0x10004748
add eax, 4
push eax
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10005a92
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10005dc5
push dword [ebp - 0x4c]
call fcn.1002d292
pop ecx
lea esi, [ebp - 0x34]
call fcn.100054e6
lea edi, [ebp - 0x54]
call fcn.10018070
test al, al
je 0x1000454e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x90]
push eax
call fcn.1000533d
call fcn.1002de5d
ret