Function at 0x140040b80
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x468]
sub rsp, 0x540
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1405b7098]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov r14, rcx
xor r12d, r12d
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0xa3
lea r9, str.NGUsageTracking::CUploadData::UploadDeviceCachedData
lea r8, [0x1405c7308]
mov rdx, qword [0x1405c7330]
lea rcx, [rbp + 0x130]
call fcn.1400169f8
nop
mov r15d, r12d
mov dword [rbp + 0x138], 0x83e8c3ff
mov rcx, qword [r14]
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [r14]
lea rbx, [r14 + 0x30]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, [rbp + 0x10]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 8
cmovae rax, qword [rbp + 0x110]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___usageTrackingDir___s_
lea esi, [r12 + 0x10]
mov r8d, 0xaf
mov edx, esi
lea rcx, [rbp + 0x130]
call fcn.140016e24
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___deviceDir__________s_
mov r8d, 0xb0
mov edx, esi
lea rcx, [rbp + 0x130]
call fcn.140016e24
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0x38]
lea r13d, [r12 + 1]
test al, al
jne 0x140040ccc
lea r9, str.CUploadData::UploadDeviceCachedData___ScheduleKeeper.ini_file_does_not_exist_
lea edx, [rsi + 0x70]
lea r8d, [rdx + 0x36]
lea rcx, [rbp + 0x130]
call fcn.140016e24
mov edi, 0x83e8c3fe
jmp 0x1400415ae
lea rcx, [rsp + 0x78]
call fcn.1400499cc
lea rdx, str.looks
lea rcx, str.does_NOT_look
test al, al
cmovne rcx, rdx
mov qword [rsp + 0x20], rcx
lea r9, str.CUploadData::UploadDeviceCachedData___Internet__s_Connected...
mov r8d, 0xbf
mov edx, esi
lea rcx, [rbp + 0x130]
call fcn.140016e24
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0x68]
test al, al
jne 0x140040d3d
lea r9, str.CUploadData::UploadDeviceCachedData___User_is_opted_out__Why_did_we_get_called__Exiting.
mov edx, 0x80
lea r8d, [rdx + 0x45]
lea rcx, [rbp + 0x130]
call fcn.140016e24
mov edi, 0x83e8c3fc
jmp 0x1400415ae
lea rcx, [rbp + 0x1d0]
call fcn.140042f2c
nop
cmp qword [rbx + 0x18], 8
jb 0x140040d54
mov rbx, qword [rbx]
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x108], r12
mov edi, 7
mov qword [rbp + 0x108], rdi
mov qword [rbp + 0x100], r12
mov word [rbp + 0xf0], r12w
cmp word [rbx], r12w
jne 0x140040d88
mov r8, r12
jmp 0x140040d96
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x140040d8c
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.14000fde0
nop
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140010114
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
mov r8, r13
lea rdx, [0x1402200c4]
lea rcx, [rbp - 0x30]
call fcn.14000fde0
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.140022bc8
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x30]
call fcn.14000f964
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x140040e57
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___no_cached_data____s_
mov r8d, 0xd3
mov edx, esi
lea rcx, [rbp + 0x130]
call fcn.140016e24
mov edi, 0x83e8c3f9
mov dword [rbp + 0x138], edi
jmp 0x14004156f
mov al, byte [rsp + 0x40]
mov byte [rsp + 0x40], al
mov r8, qword [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.140042dc4
lea r9, [r14 + 0x50]
lea r8, [rbp + 0xf0]
lea rcx, [rbp + 0x1d0]
call fcn.140043354
test al, al
je 0x140041569
mov rax, qword [rsp + 0x48]
mov rbx, qword [rax]
cmp rax, rbx
je 0x140041569
mov esi, 0x80
cmp r15d, 0x32
jge 0x140041569
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140040ed5
mov rdx, qword [rdx]
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], r12
mov word [rbp - 0x50], r12w
cmp word [rdx], r12w
jne 0x140040ef5
mov r8, r12
jmp 0x140040f03
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140040ef9
lea rcx, [rbp - 0x50]
call fcn.14000fde0
nop
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x40], r12
mov word [rbp + 0x30], r12w
mov r8d, 0xa
lea rdx, str.hpdarc.muz
lea rcx, [rbp + 0x30]
call fcn.14000fde0
nop
xor r9d, r9d
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140022014
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0x30]
call fcn.14000f964
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x60], r12
mov word [rbp + 0x50], r12w
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, str.DATA_TRANSMITTED
lea rcx, [rbp + 0x50]
call fcn.14000fde0
nop
xor r9d, r9d
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xd0]
call fcn.140022014
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0x50]
call fcn.14000f964
lea rcx, [rbp - 0x10]
call fcn.140023268
test al, al
je 0x140041386
lea rcx, [rbp + 0xd0]
call fcn.140023268
test al, al
jne 0x140041386
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xb0]
call fcn.14002227c
nop
mov qword [rsp + 0x58], r12
lea r8, [0x1405b9820]
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.1400149b4
nop
lea rax, [rbp - 0x80]
mov qword [rbp - 0x58], rax
mov rdx, qword [rsp + 0x60]
cmp qword [rdx + 0x18], 8
jb 0x14004101b
mov rdx, qword [rdx]
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], r12
mov word [rbp - 0x80], r12w
cmp word [rdx], r12w
jne 0x140041033
mov r8, r12
jmp 0x140041041
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140041037
lea rcx, [rbp - 0x80]
call fcn.14000fde0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.1400148a4
mov dword [rbp + 0x138], eax
test eax, eax
js 0x14004128a
mov rdi, qword [rsp + 0x58]
test rdi, rdi
jle 0x140041285
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
xor r8d, r8d
lea rdx, [0x1402208bc]
lea rcx, [rbp - 0x30]
call fcn.14000fde0
nop
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
sub rax, rdx
sar rax, 5
cmp rax, r13
jbe 0x1400410e8
add rdx, 0x20
cmp qword [rdx + 0x18], 8
jb 0x1400410c6
mov rdx, qword [rdx]
cmp word [rdx], r12w
jne 0x1400410d1
mov r8, r12
jmp 0x1400410df
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400410d5
lea rcx, [rbp - 0x30]
call fcn.14000fde0
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x10]
mov rdx, rdi
lea rcx, [rbp + 0x1d0]
call fcn.140043eec
mov edi, eax
add r15d, r13d
lea rcx, [rbp + 0x130]
test eax, eax
jne 0x1400414f2
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rax, qword [rbp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___Upload_for___s__completed_successfully
mov edi, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0x100
mov edx, edi
call fcn.140016e24
lea rcx, [rbp - 0x10]
call fcn.140023958
lea rcx, [rbp + 0x130]
test al, al
lea rax, [rbp - 0x10]
je 0x140041185
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___Upload_deleted_file___s_
mov r8d, 0x104
mov edx, edi
call fcn.140016e24
jmp 0x140041202
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___Upload_FAILED_to_delete_file___s_
mov r8d, 0x107
mov edx, esi
call fcn.140016e24
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 8
cmovae rdx, qword [rbp + 0xd0]
mov rcx, qword [str._bp__]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x40000000
call qword [rax + 0x138]
cmp rax, 0xffffffffffffffff
je 0x140041202
mov rcx, qword [str._bp__]
mov r8, qword [rcx]
mov rdx, rax
call qword [r8 + 0x48]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rbp + 0x130]
test eax, eax
lea rax, [rbp - 0x50]
je 0x140041236
lea r9, str.CUploadData::UploadDeviceCachedData___Upload_deleted_folder___s_
mov r8d, 0x114
mov edx, edi
jmp 0x140041245
lea r9, str.CUploadData::UploadDeviceCachedData___Upload_FAILED_to_delete_folder___s_
mov r8d, 0x117
mov edx, esi
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.140016e24
mov dword [rbp + 0x138], r12d
mov rcx, qword [r14]
mov rax, qword [rcx]
call qword [rax + 0x68]
test al, al
je 0x140041474
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x30]
call fcn.14000f964
jmp 0x14004135f
mov edi, 7
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___fail_to_convert_to_snapshot_timestamp___remove_folder___s____going_to_remove_the_folder
mov r8d, 0x12a
mov edx, esi
lea rcx, [rbp + 0x130]
call fcn.140016e24
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x88], rdi
mov qword [rbp + 0x80], r12
mov word [rbp + 0x70], r12w
cmp word [rdx], r12w
jne 0x1400412f2
mov r8, r12
jmp 0x140041300
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400412f6
lea rcx, [rbp + 0x70]
call fcn.14000fde0
nop
mov dl, r13b
lea rcx, [rbp + 0x70]
call fcn.1400233e0
test al, al
sete dil
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0x70]
call fcn.14000f964
test dil, dil
je 0x14004135f
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___attempted_to_remove_the_folder_and_its_content___s__but_failed
mov r8d, 0x12e
mov edx, esi
lea rcx, [rbp + 0x130]
call fcn.140016e24
nop
lea rcx, [rsp + 0x60]
call fcn.14001593c
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0xb0]
call fcn.14000f964
mov edi, 7
jmp 0x14004142f
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
cmp word [rdx], r12w
jne 0x1400413c3
mov r8, r12
jmp 0x1400413d1
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400413c7
lea rcx, [rbp + 0x90]
call fcn.14000fde0
nop
mov dl, r13b
lea rcx, [rbp + 0x90]
call fcn.1400233e0
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0x90]
call fcn.14000f964
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, str.CUploadData::UploadDeviceCachedData___cached_file_does_not_exist_or_file_has_already_been_previously_transmitted___remove_folder_and_its_content_____s_
mov r8d, 0x137
mov edx, esi
lea rcx, [rbp + 0x130]
call fcn.140016e24
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0xd0]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x10]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x50]
call fcn.14000f964
mov rbx, qword [rbx]
cmp qword [rsp + 0x48], rbx
je 0x140041569
jmp 0x140040ebd
lea r9, str.CUploadData::UploadDeviceCachedData___Terminate_command_is_received._Abort_upload_cached_data
mov r8d, 0x11f
mov edx, edi
lea rcx, [rbp + 0x130]
call fcn.140016e24
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x30]
call fcn.14000f964
nop
lea rcx, [rsp + 0x60]
call fcn.14001593c
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0xb0]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0xd0]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x10]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x50]
call fcn.14000f964
jmp 0x140041569
lea r9, str.CUploadData::UploadDeviceCachedData___Upload_FAILED___stop_uploading_the_rest_of_snapshots___retry_next_round
mov r8d, 0x125
mov edx, esi
call fcn.140016e24
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x30]
call fcn.14000f964
nop
lea rcx, [rsp + 0x60]
call fcn.14001593c
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0xb0]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0xd0]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x10]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp - 0x50]
call fcn.14000f964
jmp 0x14004156f
mov edi, dword [rbp + 0x138]
lea rcx, [rsp + 0x48]
call fcn.14000fd6c
nop
mov r8d, 0x30
mov rdx, r13
mov rcx, qword [rsp + 0x48]
call fcn.140011374
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0xf0]
call fcn.14000f964
nop
lea rcx, [rbp + 0x1d0]
call fcn.140043170
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0x10]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, r13b
lea rcx, [rbp + 0x110]
call fcn.14000f964
nop
lea rcx, [rbp + 0x130]
call fcn.140016b40
mov eax, edi
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400fcfd0
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret