Function at 0x14000cfb0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x450], rax
lea rsi, [rsp + 0x30]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.14003cdd0
mov rcx, rsi
call fcn.1400136a0
test eax, eax
je 0x14000d02a
lea rsi, [rsp + 0x240]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.14003cdd0
lea rcx, [0x1400496f0]
mov rdx, rsi
call fcn.1400137a0
test eax, eax
jne 0x14000d086
mov eax, dword [0x140055e98]
mov ecx, dword [0x140052e00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d2e4
lea rdi, str.CompareSecureUpdateStatus_failed_due_to_GetSecureOutputFilePath_failure
xor esi, esi
mov rdx, rdi
call fcn.140013a80
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14002cd90
mov eax, esi
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x240]
call fcn.14003dcc0
test eax, eax
je 0x14000d02a
lea rdx, [0x140049f3c]
lea rcx, [rsp + 0x30]
call fcn.140025060
test rax, rax
je 0x14000d123
mov r14, rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x240]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
mov edx, 1
mov r8d, 0x1f
mov r9, rax
call fcn.140026fc4
mov r12, rax
mov rcx, r14
call fcn.140026838
test eax, eax
sete sil
je 0x14000d163
mov eax, dword [0x140055e98]
mov ecx, dword [0x140052e00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d334
lea rdx, str.CompareSecureUpdateStatus_failed_to_read_status_file
call fcn.140013a80
jmp 0x14000d2a3
mov eax, dword [0x140055e98]
mov ecx, dword [0x140052e00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d38d
call fcn.1400204f4
mov r8d, dword [rax]
lea rdx, str.CompareSecureUpdateStatus_failed_to_open_the_secure_status_file:__d
call fcn.140013a80
xor esi, esi
jmp 0x14000d060
mov byte [rsp + r12 + 0x240], 0
test r15, r15
je 0x14000d17d
cmp byte [r15 + 4], 0
je 0x14000d17d
mov byte [r15 + 4], 0
lea r13, [rsp + 0x240]
mov rcx, r13
mov edx, 0x3a
call fcn.1400170a0
mov r12, rax
test rax, rax
jne 0x14000d1cc
lea rcx, [rsp + 0x240]
mov edx, 0xa
call fcn.1400170a0
mov r12, rax
test rax, rax
jne 0x14000d1cc
lea rcx, [rsp + 0x240]
call fcn.1400280e0
lea r12, [rsp + rax]
add r12, 0x240
mov rbp, r12
sub rbp, r13
mov rcx, rdi
call fcn.1400280e0
cmp rbp, rax
jne 0x14000d1fa
lea rcx, [rsp + 0x240]
mov rdx, rdi
mov r8, rbp
call fcn.1400281a0
test eax, eax
sete bpl
jmp 0x14000d1fc
xor ebp, ebp
test r15, r15
je 0x14000d24d
cmp byte [r12], 0x3a
jne 0x14000d24d
inc r12
lea r13, [rsp + 0x28]
mov qword [r13], 0
mov rcx, r12
mov rdx, r13
mov r8d, 0xa
call fcn.1400288ec
cmp qword [r13], r12
je 0x14000d24d
lea ecx, [rax - 0x7fffffff]
cmp ecx, 2
jb 0x14000d24d
cmp byte [r15 + 4], 0
jne 0x14000d32e
mov dword [r15], eax
mov byte [r15 + 4], 1
mov byte [rbx], bpl
mov eax, dword [0x140055e98]
mov ecx, dword [0x140052e00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d3ce
cmp byte [rbx], 0
lea rax, str.does_not_match
lea r9, str.matches
cmove r9, rax
mov qword [rsp + 0x20], rdi
lea rdx, str.CompareSecureUpdateStatus__s__s__s
lea r8, [rsp + 0x240]
call fcn.140013a80
mov rcx, r14
call fcn.14002667c
test eax, eax
je 0x14000d060
mov eax, dword [0x140055e98]
mov ecx, dword [0x140052e00]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d375
lea rdi, str.File_close_did_not_execute_successfully
jmp 0x14000d058
lea rcx, [0x140055e98]
call fcn.1400157d4
lea rdi, str.CompareSecureUpdateStatus_failed_due_to_GetSecureOutputFilePath_failure
xor esi, esi
cmp dword [0x140055e98], 0xffffffff
jne 0x14000d058
mov qword [0x140055c88], 0
lea rcx, [0x1400087f0]
call fcn.1400158b8
lea rcx, [0x140055e98]
call fcn.14001584c
jmp 0x14000d058
int3
lea rcx, [0x140055e98]
call fcn.1400157d4
cmp dword [0x140055e98], 0xffffffff
jne 0x14000d112
mov qword [0x140055c88], 0
lea rcx, [0x1400087f0]
call fcn.1400158b8
lea rcx, [0x140055e98]
call fcn.14001584c
jmp 0x14000d112
lea rcx, [0x140055e98]
call fcn.1400157d4
lea rdi, str.File_close_did_not_execute_successfully
jmp 0x14000d2f9
lea rcx, [0x140055e98]
call fcn.1400157d4
cmp dword [0x140055e98], 0xffffffff
jne 0x14000d148
mov qword [0x140055c88], 0
lea rcx, [0x1400087f0]
call fcn.1400158b8
lea rcx, [0x140055e98]
call fcn.14001584c
jmp 0x14000d148
lea rcx, [0x140055e98]
call fcn.1400157d4
cmp dword [0x140055e98], 0xffffffff
jne 0x14000d275
mov qword [0x140055c88], 0
lea rcx, [0x1400087f0]
call fcn.1400158b8
lea rcx, [0x140055e98]
call fcn.14001584c
jmp 0x14000d275