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

Disassembly:
push 0x94
mov eax, 0x10045412
call fcn.1002e47a
lea eax, [ebp - 0x90]
push eax
call fcn.100012ed
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0
je 0x100048be
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.1000bfa1
test al, al
jne 0x100048be
mov ebx, 0x80000002
lea esi, [ebp - 0x34]
call fcn.10013ac5
cmp dword [eax + 0x18], 8
jb 0x10004695
mov eax, dword [eax + 4]
jmp 0x10004698
add eax, 4
push 0x1004aa8c
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10015813
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 0x100046e6
lea esi, [ebp - 0x34]
call fcn.10013ac5
cmp dword [eax + 0x18], 8
jb 0x100046d1
mov eax, dword [eax + 4]
jmp 0x100046d4
add eax, 4
push eax
push str.Softwareprojonepodlp_backupupload_
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10004891
lea esi, [ebp - 0x4c]
cmp eax, 2
jne 0x100046f2
push 1
jmp 0x100046f4
push 0
call fcn.100053ec
push eax
lea esi, [ebp - 0x2c]
call fcn.100050b4
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10013ac5
cmp dword [eax + 0x18], 8
jb 0x10004719
mov eax, dword [eax + 4]
jmp 0x1000471c
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 0x1000474a
cmp dword [ebp - 0x60], esi
jne 0x1000474a
mov eax, dword [ebp - 0x5c]
jmp 0x1000474c
xor eax, eax
cmp eax, 5
jb 0x10004760
push str.clear_backup_upload_record_on_too_many_failure
call fcn.10017016
jmp 0x10004865
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000476c
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10004798
lea esi, [ebp - 0x34]
call fcn.10013ac5
cmp dword [eax + 0x18], 8
jb 0x1000478a
mov eax, dword [eax + 4]
jmp 0x1000478d
add eax, 4
push eax
push str.clear_backup_upload_record_on_file_not_found:_s
jmp 0x1000485f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x100047a4
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, eax
cmp word [ecx], 0
je 0x1000484d
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.10015185
test eax, eax
jne 0x1000480c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x100047e1
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_file_name_error_:_s
call fcn.10017016
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.10013ac5
cmp dword [eax + 0x18], 8
jb 0x10004801
mov eax, dword [eax + 4]
jmp 0x10004804
add eax, 4
push eax
push str.Softwareprojonepodlp_backupupload_
jmp 0x1000487e
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.10015145
test edx, edx
jl 0x10004885
jg 0x10004839
cmp eax, 0xf731400
jbe 0x10004885
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004845
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_expired:_s
jmp 0x100047e7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004859
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_file_ext_error_:_s
call fcn.10017016
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.10013ac5
cmp dword [eax + 0x18], 8
jb 0x10004879
mov eax, dword [eax + 4]
jmp 0x1000487c
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.10005bea
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10005eee
push dword [ebp - 0x4c]
call fcn.1002d932
pop ecx
lea esi, [ebp - 0x34]
call fcn.10005610
lea edi, [ebp - 0x54]
call fcn.1000bfa1
test al, al
je 0x10004682
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x90]
push eax
call fcn.10005467
call fcn.1002e4fd
ret