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

Disassembly:
push 0x94
mov eax, 0x1004638f
call fcn.1002f38a
lea eax, [ebp - 0x90]
push eax
call fcn.1000136b
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0
je 0x10004a9f
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.1001652a
test al, al
jne 0x10004a9f
mov ebx, 0x80000002
lea esi, [ebp - 0x34]
call fcn.1000cb79
cmp dword [eax + 0x18], 8
jb 0x10004876
mov eax, dword [eax + 4]
jmp 0x10004879
add eax, 4
push 0x1004ba8c
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10015baa
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 0x100048c7
lea esi, [ebp - 0x34]
call fcn.1000cb79
cmp dword [eax + 0x18], 8
jb 0x100048b2
mov eax, dword [eax + 4]
jmp 0x100048b5
add eax, 4
push eax
push str.Softwareprojonepodlp_backupupload_
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x10004a72
lea esi, [ebp - 0x4c]
cmp eax, 2
jne 0x100048d3
push 1
jmp 0x100048d5
push 0
call fcn.10005408
push eax
lea esi, [ebp - 0x2c]
call fcn.100052b6
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1000cb79
cmp dword [eax + 0x18], 8
jb 0x100048fa
mov eax, dword [eax + 4]
jmp 0x100048fd
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 0x1000492b
cmp dword [ebp - 0x60], esi
jne 0x1000492b
mov eax, dword [ebp - 0x5c]
jmp 0x1000492d
xor eax, eax
cmp eax, 5
jb 0x10004941
push str.clear_backup_upload_record_on_too_many_failure
call fcn.10017347
jmp 0x10004a46
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000494d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10004979
lea esi, [ebp - 0x34]
call fcn.1000cb79
cmp dword [eax + 0x18], 8
jb 0x1000496b
mov eax, dword [eax + 4]
jmp 0x1000496e
add eax, 4
push eax
push str.clear_backup_upload_record_on_file_not_found:_s
jmp 0x10004a40
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004985
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, eax
cmp word [ecx], 0
je 0x10004a2e
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.1001551c
test eax, eax
jne 0x100049ed
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x100049c2
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_file_name_error_:_s
call fcn.10017347
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.1000cb79
cmp dword [eax + 0x18], 8
jb 0x100049e2
mov eax, dword [eax + 4]
jmp 0x100049e5
add eax, 4
push eax
push str.Softwareprojonepodlp_backupupload_
jmp 0x10004a5f
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.100154dc
test edx, edx
jl 0x10004a66
jg 0x10004a1a
cmp eax, 0xf731400
jbe 0x10004a66
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004a26
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_expired:_s
jmp 0x100049c8
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004a3a
lea eax, [ebp - 0x28]
push eax
push str.clear_backup_upload_record_on_file_ext_error_:_s
call fcn.10017347
pop ecx
pop ecx
lea esi, [ebp - 0x34]
call fcn.1000cb79
cmp dword [eax + 0x18], 8
jb 0x10004a5a
mov eax, dword [eax + 4]
jmp 0x10004a5d
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.10005e33
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.10006137
push dword [ebp - 0x4c]
call fcn.1002e84a
pop ecx
lea esi, [ebp - 0x34]
call fcn.100057f5
lea edi, [ebp - 0x54]
call fcn.1001652a
test al, al
je 0x10004863
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x90]
push eax
call fcn.1000564c
call fcn.1002f40d
ret