Function at 0x14000cf30
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.14003cd40
mov rcx, rsi
call fcn.140013610
test eax, eax
je 0x14000cfaa
lea rsi, [rsp + 0x240]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.14003cd40
lea rcx, [0x1400496d0]
mov rdx, rsi
call fcn.140013710
test eax, eax
jne 0x14000d006
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 0x14000d264
lea rdi, str.CompareSecureUpdateStatus_failed_due_to_GetSecureOutputFilePath_failure
xor esi, esi
mov rdx, rdi
call fcn.1400139f0
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14002cd00
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.14003dbc0
test eax, eax
je 0x14000cfaa
lea rdx, [0x140049ef6]
lea rcx, [rsp + 0x30]
call fcn.140024fd0
test rax, rax
je 0x14000d0a3
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.140026f34
mov r12, rax
mov rcx, r14
call fcn.1400267a8
test eax, eax
sete sil
je 0x14000d0e3
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 0x14000d2b4
lea rdx, str.CompareSecureUpdateStatus_failed_to_read_status_file
call fcn.1400139f0
jmp 0x14000d223
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 0x14000d30d
call fcn.140020464
mov r8d, dword [rax]
lea rdx, str.CompareSecureUpdateStatus_failed_to_open_the_secure_status_file:__d
call fcn.1400139f0
xor esi, esi
jmp 0x14000cfe0
mov byte [rsp + r12 + 0x240], 0
test r15, r15
je 0x14000d0fd
cmp byte [r15 + 4], 0
je 0x14000d0fd
mov byte [r15 + 4], 0
lea r13, [rsp + 0x240]
mov rcx, r13
mov edx, 0x3a
call fcn.140017010
mov r12, rax
test rax, rax
jne 0x14000d14c
lea rcx, [rsp + 0x240]
mov edx, 0xa
call fcn.140017010
mov r12, rax
test rax, rax
jne 0x14000d14c
lea rcx, [rsp + 0x240]
call fcn.140028050
lea r12, [rsp + rax]
add r12, 0x240
mov rbp, r12
sub rbp, r13
mov rcx, rdi
call fcn.140028050
cmp rbp, rax
jne 0x14000d17a
lea rcx, [rsp + 0x240]
mov rdx, rdi
mov r8, rbp
call fcn.140028110
test eax, eax
sete bpl
jmp 0x14000d17c
xor ebp, ebp
test r15, r15
je 0x14000d1cd
cmp byte [r12], 0x3a
jne 0x14000d1cd
inc r12
lea r13, [rsp + 0x28]
mov qword [r13], 0
mov rcx, r12
mov rdx, r13
mov r8d, 0xa
call fcn.14002885c
cmp qword [r13], r12
je 0x14000d1cd
lea ecx, [rax - 0x7fffffff]
cmp ecx, 2
jb 0x14000d1cd
cmp byte [r15 + 4], 0
jne 0x14000d2ae
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 0x14000d34e
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.1400139f0
mov rcx, r14
call fcn.1400265ec
test eax, eax
je 0x14000cfe0
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 0x14000d2f5
lea rdi, str.File_close_did_not_execute_successfully
jmp 0x14000cfd8
lea rcx, [0x140055e98]
call fcn.140015744
lea rdi, str.CompareSecureUpdateStatus_failed_due_to_GetSecureOutputFilePath_failure
xor esi, esi
cmp dword [0x140055e98], 0xffffffff
jne 0x14000cfd8
mov qword [0x140055c88], 0
lea rcx, [0x140008510]
call fcn.140015828
lea rcx, [0x140055e98]
call fcn.1400157bc
jmp 0x14000cfd8
int3
lea rcx, [0x140055e98]
call fcn.140015744
cmp dword [0x140055e98], 0xffffffff
jne 0x14000d092
mov qword [0x140055c88], 0
lea rcx, [0x140008510]
call fcn.140015828
lea rcx, [0x140055e98]
call fcn.1400157bc
jmp 0x14000d092
lea rcx, [0x140055e98]
call fcn.140015744
lea rdi, str.File_close_did_not_execute_successfully
jmp 0x14000d279
lea rcx, [0x140055e98]
call fcn.140015744
cmp dword [0x140055e98], 0xffffffff
jne 0x14000d0c8
mov qword [0x140055c88], 0
lea rcx, [0x140008510]
call fcn.140015828
lea rcx, [0x140055e98]
call fcn.1400157bc
jmp 0x14000d0c8
lea rcx, [0x140055e98]
call fcn.140015744
cmp dword [0x140055e98], 0xffffffff
jne 0x14000d1f5
mov qword [0x140055c88], 0
lea rcx, [0x140008510]
call fcn.140015828
lea rcx, [0x140055e98]
call fcn.1400157bc
jmp 0x14000d1f5