Function at 0x1400831f0
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, r9
movzx r15d, r8b
mov rsi, rdx
xor r12d, r12d
mov eax, r12d
mov dword [rbp - 0x71], eax
lea rbx, [r12 - 1]
cmp qword [rdx + 0x10], rax
je 0x140083293
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140083240
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea rdx, [0x14014ce5c]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], r12w
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140083270
lea rcx, [rbp - 0x49]
call fcn.1400088b0
mov eax, 3
cmp qword [rbp - 0x39], r12
jne 0x140083293
xor r14b, r14b
jmp 0x140083296
mov r14b, 1
test al, 1
je 0x1400832a3
lea rcx, [rbp - 0x49]
call fcn.140008840
test r14b, r14b
je 0x1400832b2
mov eax, 3
jmp 0x14008366d
lea r14, [0x1401490f7]
test rdi, rdi
jne 0x1400832cf
lea rax, [0x140153e50]
mov rdi, r14
test r15b, r15b
cmovne rdi, rax
mov qword [rbp + 7], r12
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], r12b
nop
inc rbx
cmp byte [rdi + rbx], r12b
jne 0x1400832e0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.140008ab0
nop
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rcx, qword [rbp - 9]
lea r9, [0x140154318]
test r15b, r15b
cmovne r9, r14
mov qword [rsp + 0x20], rcx
lea r8, str.SyncUserConsent:_with_s_consent_copy__s
mov edx, 4
mov rcx, rax
call fcn.14001de90
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x69], 0
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], 0
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, str.UserInfoManager
xor r8d, r8d
lea rdx, [0x140041af0]
mov rcx, rax
call fcn.140027a90
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x69]
mov rcx, rax
call fcn.1400857e0
cmp qword [rbp - 0x59], 0
jne 0x1400833cb
mov r8d, 7
lea rdx, str.UnNamed
lea rcx, [rbp - 0x69]
call fcn.140008ab0
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
lea r9, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae r9, qword [rbp - 0x69]
lea r8, str.SyncUserConsent:_for_user_id_s
mov edx, 4
mov rcx, rax
call fcn.14001de90
mov qword [rsp + 0x48], r12
mov qword [rbp - 0x79], 7
mov word [rsp + 0x38], r12w
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x69]
call fcn.14001a690
nop
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.140025150
nop
lea rcx, [rsp + 0x38]
call fcn.140008840
mov byte [rsp + 0x28], r15b
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x69]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x29]
call fcn.140083880
mov qword [rbp - 0x71], r12
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x29]
call fcn.1400236d0
nop
mov qword [rsp + 0x30], r12
cmp qword [rax + 0x18], 0x10
jb 0x140083494
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x71]
call fcn.140088ce0
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea rcx, [rsp + 0x38]
call fcn.140008a50
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140083502
mov edx, 0x80
lea rcx, [rbp - 0x29]
call fcn.1400262d0
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
mov rbx, rax
mov rdx, qword [rbp - 0x71]
test rdx, rdx
je 0x140083572
lea rcx, [rsp + 0x38]
call fcn.140090230
nop
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0x38]
cmp qword [rbp - 0x79], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea rcx, [rsp + 0x38]
call fcn.140008a50
mov rax, qword [rsp + 0x30]
jmp 0x14008357a
mov rax, r12
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14008358b
cmp qword [rax + 0x18], 0x10
jb 0x14008358e
mov rax, qword [rax]
jmp 0x14008358e
mov rax, r12
lea r9, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae r9, qword [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r8, str.SyncUserConsent:_user_id_s._data:__s
mov edx, 4
mov rcx, rbx
call fcn.14001de90
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x71]
mov rdx, rsi
call fcn.140084d40
mov ebx, eax
cmp eax, 0x65
jne 0x1400835f6
lea r9, [rbp - 0x49]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x71]
call fcn.140083e40
mov ebx, eax
test ebx, ebx
je 0x14008363a
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
mov r9d, ebx
lea r8, str.SyncUserConsent:_failed_with_error__d
mov edx, 2
mov rcx, rax
call fcn.14001de90
nop
lea rcx, [rbp - 0x71]
call fcn.140088ed0
nop
lea rcx, [rbp - 0x29]
call fcn.140008840
nop
lea rcx, [rbp - 0x49]
call fcn.140008a50
nop
lea rcx, [rbp - 0x69]
call fcn.140008a50
nop
lea rcx, [rbp - 9]
call fcn.140008a50
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400e9d60
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret