Function at 0x14006ab20
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov byte [rsp + 0x3c], r8b
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x38], edi
mov qword [rbp - 0x50], rdi
cmp qword [rcx], rdi
je 0x14006abe1
mov qword [rbp - 0x70], rdi
mov dword [rbp - 0x68], edi
lea edx, [rdi + 1]
lea rcx, [rbp - 0x70]
call fcn.140132000
mov rbx, qword [rbp - 0x70]
lea ecx, [rdi + 0x58]
call fcn.1401219f8
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
xorps xmm1, xmm1
cvtsi2sd xmm1, rbx
mov rcx, rax
call fcn.1400b0ea0
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x50]
call fcn.1400b28a0
test rbx, rbx
je 0x14006abd7
mov qword [rbp - 0x50], rbx
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.1400b28a0
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006ac13
mov dword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea r9, str.StateManager
xor r8d, r8d
lea rdx, [0x14003e5b0]
mov rcx, rax
call fcn.140027c40
mov rbx, rax
jmp 0x14006ac16
mov rbx, rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov r8d, 5
lea rdx, str.edata
lea rcx, [rbp - 0x70]
call fcn.14000c1a0
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.14008ca20
nop
lea rcx, [rbp - 0x70]
call fcn.140009880
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x10], al
lea rax, vtable.Product.0
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140067ce0
test eax, eax
je 0x14006ac96
mov edi, 3
mov r15, qword [rbp - 0x18]
jmp 0x14006b605
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.140066b60
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x14006accc
mov rax, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, 0xf
jbe 0x14006acbc
mov rax, qword [rdx]
test rax, rax
je 0x14006accc
cmp rcx, 0xf
jbe 0x14006acd3
mov rdx, qword [rdx]
jmp 0x14006acd3
lea rdx, [0x14018f4cd]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], rdi
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14006acf0
lea rcx, [rbp + 0x18]
call fcn.14000c1a0
mov ebx, 0x100
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.1400b0970
nop
lea r13, str._product_line_name
cmp qword [r12], 0
je 0x14006af0a
mov ecx, 0x40
call fcn.1401219f8
mov r14, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea r15, [rbx + 0x10]
mov qword [r15], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [r8 + r13], 0
jne 0x14006ad70
mov rdx, r13
mov rcx, r14
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x14006ad8f
mov rbx, qword [rbx]
mov qword [r15], rdi
mov word [rbx], di
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400b1e90
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x14006adf0
add rdx, 0x10
lea rcx, [rbp - 0x40]
call fcn.140008470
nop
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.14001b2a0
mov ebx, 0x700
lea rcx, [rbp - 0x40]
call fcn.140009880
mov r15, qword [rsp + 0x30]
jmp 0x14006adfd
mov r15, rdi
mov qword [rsp + 0x30], rdi
mov ebx, 0x300
or ebx, 1
mov dword [rsp + 0x38], ebx
lea r12, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova r12, qword [rbp + 0x18]
test r12, r12
jne 0x14006ae27
mov r14, rdi
mov qword [rsp + 0x40], rdi
or ebx, 2
jmp 0x14006aeb3
mov ecx, 0x40
call fcn.1401219f8
mov r14, rax
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r13, [rax + 0x20]
movups xmmword [r13], xmm0
lea rax, [r13 + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rax], rdi
mov qword [r13 + 0x18], 7
mov word [r13], di
mov r8, rsi
inc r8
cmp byte [r12 + r8], 0
jne 0x14006ae72
mov rdx, r12
mov rcx, r14
call fcn.14000a7d0
cmp qword [r13 + 0x18], 7
jbe 0x14006ae92
mov r13, qword [r13]
mov rax, qword [rsp + 0x40]
mov qword [rax], rdi
mov word [r13], di
mov qword [rsp + 0x40], r14
or ebx, 2
test r14, r14
je 0x14006aeb3
cmp qword [r14 + 0x10], 0
jne 0x14006aebf
test r15, r15
je 0x14006af0a
cmp qword [r15 + 0x10], 0
je 0x14006af0a
test r14, r14
je 0x14006af05
test r15, r15
je 0x14006af05
mov r13, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 0xf
jbe 0x14006aed7
mov r15, qword [r15]
mov r12, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14006aee5
mov r14, qword [r14]
mov r8, r12
cmp r13, r12
cmovb r8, r13
mov rdx, r15
mov rcx, r14
call fcn.1401533c0
test eax, eax
jne 0x14006af05
cmp r12, r13
jb 0x14006af05
jbe 0x14006af0a
mov r14b, 1
jmp 0x14006af0d
xor r14b, r14b
test bl, 2
je 0x14006af26
and ebx, 0xfffffffd
mov dword [rsp + 0x38], ebx
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400b0970
nop
test bl, 1
je 0x14006af3b
and ebx, 0xfffffffe
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
test r14b, r14b
je 0x14006b09d
mov ecx, 0x40
call fcn.1401219f8
mov r14, rax
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea r15, [rbx + 0x10]
mov qword [r15], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rdx, str._product_line_name
nop word [rax + rax]
inc rsi
cmp byte [rdx + rsi], 0
jne 0x14006af90
mov r8, rsi
mov rcx, r14
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x14006afae
mov rbx, qword [rbx]
mov qword [r15], rdi
mov word [rbx], di
mov qword [rsp + 0x40], r14
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.1400b1e90
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400b0970
nop
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.1400588b0
nop
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b014
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14006b017
mov rax, rdi
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14006b08b
cmp eax, 4
jl 0x14006b08b
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b055
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rcx, rax
jmp 0x14006b058
mov rcx, rdi
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rax, qword [rbp - 0x40]
lea r9, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova r9, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r8, str.EntitlementData::SaveData:_skip_saving_ent.json._Reason:_expected__product_line_name_is__s__but_the_value_in_ent_data_is__s
mov edx, 4
call fcn.14001ef20
nop
lea rcx, [rbp - 0x40]
call fcn.140009880
mov r15, qword [rbp - 0x18]
jmp 0x14006b5fb
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 8]
call fcn.140066ce0
nop
lea r8, [0x14018f608]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.140087580
nop
mov r13d, edi
mov r15, qword [rbp - 0x18]
mov r14, qword [rsp + 0x48]
cmp byte [rsp + 0x3c], dil
je 0x14006b204
cmp qword [r14], r13
jne 0x14006b204
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b10f
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14006b112
mov rax, rdi
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14006b19e
cmp eax, 4
jl 0x14006b19e
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b154
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rsi, rax
jmp 0x14006b157
mov rsi, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 8]
call fcn.1400220b0
nop
or ebx, 4
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x14006b176
mov rax, qword [rax]
lea r9, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r9, qword [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, str.EntitlementData::SaveData:_for__s_by_removing_file__s
mov edx, 4
mov rcx, rsi
call fcn.14001ef20
nop
test bl, 4
je 0x14006b1ac
lea rcx, [rbp - 0x40]
call fcn.140009880
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14006b5c1
xor r8d, r8d
mov edx, 0x80
lea rcx, [rbp - 8]
call fcn.140026260
xor r8d, r8d
mov edx, dword [0x1401c73d0]
lea rcx, [rbp - 8]
call fcn.140026260
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14006b5c1
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b233
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14006b236
mov rax, rdi
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14006b32a
cmp eax, 4
jl 0x14006b32a
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b27c
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov r12, rax
jmp 0x14006b27f
mov r12, rdi
mov rdx, qword [r14]
test rdx, rdx
je 0x14006b2b6
lea rcx, [rbp - 0x40]
call fcn.1400b9c20
bts ebx, 0x14
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.14001b2a0
bts ebx, 0x13
lea rcx, [rbp - 0x40]
call fcn.140009880
mov r14, qword [rsp + 0x30]
jmp 0x14006b2c2
mov r14, rdi
mov qword [rsp + 0x30], rdi
bts ebx, 0x13
or ebx, 8
mov dword [rsp + 0x38], ebx
test r14, r14
je 0x14006b2da
cmp qword [r14 + 0x18], 0xf
jbe 0x14006b2dd
mov r14, qword [r14]
jmp 0x14006b2dd
mov r14, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 8]
call fcn.1400220b0
nop
or ebx, 0x10
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x14006b2fd
mov rax, qword [rax]
lea r9, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova r9, qword [rbp + 0x38]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea r8, str.EntitlementData::SaveData:_for__s_into_file__s_r_n_s
mov edx, 4
mov rcx, r12
call fcn.14001ef20
nop
test bl, 0x10
je 0x14006b33d
and ebx, 0xffffffef
lea rcx, [rsp + 0x50]
call fcn.140009880
nop
test bl, 8
je 0x14006b352
and ebx, 0xfffffff7
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
mov r14, qword [rsp + 0x48]
mov rdx, qword [r14]
test rdx, rdx
je 0x14006b38e
lea rcx, [rbp - 0x40]
call fcn.1400b9c20
bts ebx, 0x10
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.14001b2a0
bts ebx, 0xf
lea rcx, [rbp - 0x40]
call fcn.140009880
mov rax, qword [rsp + 0x30]
jmp 0x14006b39a
mov rax, rdi
mov qword [rsp + 0x30], rax
bts ebx, 0xf
test rax, rax
je 0x14006b3c2
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0xf
jbe 0x14006b3b2
mov rcx, qword [rax]
test rcx, rcx
je 0x14006b3c2
cmp r8, 0xf
jbe 0x14006b3c9
mov rdx, qword [rax]
jmp 0x14006b3c9
lea rdx, [0x14018f4cd]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
nop dword [rax + rax]
inc rsi
cmp byte [rdx + rsi], 0
jne 0x14006b3e0
mov r8, rsi
lea rcx, [rbp - 0x70]
call fcn.14000c1a0
bts ebx, 0x11
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rbp - 0x60]
lea rcx, [rbp - 8]
call fcn.1400233d0
test al, al
jne 0x14006b5b3
mov r13d, 7
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b46b
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14006b46e
mov rax, rdi
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14006b57b
cmp eax, 2
jl 0x14006b57b
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14006b4b4
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov r12, rax
jmp 0x14006b4b7
mov r12, rdi
mov rdx, qword [r14]
test rdx, rdx
je 0x14006b4ee
lea rcx, [rbp - 0x40]
call fcn.1400b9c20
bts ebx, 0x16
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.14001b2a0
bts ebx, 0x15
lea rcx, [rbp - 0x40]
call fcn.140009880
mov rsi, qword [rsp + 0x30]
jmp 0x14006b4fa
mov rsi, rdi
mov qword [rsp + 0x30], rdi
bts ebx, 0x15
or ebx, 0x20
mov dword [rsp + 0x38], ebx
test rsi, rsi
je 0x14006b512
cmp qword [rsi + 0x18], 0xf
jbe 0x14006b515
mov rsi, qword [rsi]
jmp 0x14006b515
mov rsi, rdi
mov edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.14002c970
mov r14, rax
or ebx, 0x40
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x14006b538
mov r14, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 8]
call fcn.1400220b0
nop
bts ebx, 7
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0xf
jbe 0x14006b559
mov rax, qword [rax]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov r9, rax
lea r8, str.EntitlementData:_Save:_failed_to_write__s____s_r_n_s
mov edx, 2
mov rcx, r12
call fcn.14001ef20
nop
test bl, bl
jns 0x14006b58e
btr ebx, 7
lea rcx, [rsp + 0x50]
call fcn.140009880
nop
test bl, 0x40
je 0x14006b5a1
and ebx, 0xffffffbf
lea rcx, [rsp + 0x70]
call fcn.140009880
nop
test bl, 0x20
je 0x14006b5b3
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
lea rcx, [rbp - 0x70]
call fcn.140009880
test r13d, r13d
jne 0x14006b5e4
test r15, r15
je 0x14006b5cb
mov rcx, r15
jmp 0x14006b5df
mov qword [rbp - 0x48], rdi
lea rcx, [rbp - 0x48]
call fcn.1400b28a0
lea rcx, [0x1401cacf0]
call fcn.14006a930
mov edi, r13d
lea rcx, [rbp + 0x38]
call fcn.140009880
nop
lea rcx, [rbp - 8]
call fcn.140009810
nop
lea rcx, [rbp + 0x18]
call fcn.140009880
nop
test r15, r15
je 0x14006b626
cmp byte [rbp - 0x10], 0
je 0x14006b626
mov rcx, r15
call fcn.140058750
mov edx, 8
mov rcx, r15
call fcn.1401219f0
nop
lea rcx, [rbp - 0x50]
call fcn.1400b28a0
mov eax, edi
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1401219d0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret