Function at 0x14005b970
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x20], 0x5a
cmp qword [rsp + 0xe8], 0
jne 0x14005b9bc
xor eax, eax
jmp 0x14005be79
cmp qword [rsp + 0xf0], 0
je 0x14005b9d2
cmp qword [rsp + 0xf8], 0
jne 0x14005b9db
mov eax, dword [rsp + 0x20]
jmp 0x14005be79
mov r8d, 8
lea rdx, [0x140144640]
mov rcx, qword [rsp + 0xe8]
call fcn.1400cfc90
test eax, eax
jne 0x14005bc84
mov rax, qword [0x140144578]
cmp qword [rax + 0xb8], 0
jne 0x14005ba17
mov eax, dword [rsp + 0x20]
jmp 0x14005be79
mov ecx, 0x20
call qword [section..data]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14005ba39
mov eax, 0x1b
jmp 0x14005be79
mov r9d, 0x20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x140144578]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14005ba75
mov eax, dword [rsp + 0x24]
jmp 0x14005be79
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.140090780
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.1400be350]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x14005ba95
cmp dword [rsp + 0x24], 0
je 0x14005babf
mov eax, dword [rsp + 0x24]
jmp 0x14005be79
xor eax, eax
test eax, eax
jne 0x14005babf
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x14005bade
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [section..data]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14005bb45
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400be350]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14005bb21
mov eax, 0x1b
jmp 0x14005be79
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x90]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, str._sha256__
mov rcx, qword [rsp + 0x50]
call fcn.1400b0c9c
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14005bb96
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x14005bbb0
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x98], rax
jne 0x14005bc03
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400b09a0
test eax, eax
jne 0x14005bc03
mov dword [rsp + 0x20], 0
jmp 0x14005bc47
cmp qword [rsp + 0x38], 0
je 0x14005bc33
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x3b
lea rdx, str.sha256__
mov rcx, qword [rsp + 0x38]
call fcn.1400b0c9c
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x14005bc47
cmp qword [rsp + 0x50], 0
jne 0x14005bb66
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400be350]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14005bc47
mov rcx, qword [rsp + 0x60]
call qword [fcn.1400be350]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005bc61
mov eax, dword [rsp + 0x20]
jmp 0x14005be79
lea rdx, [0x1401445fc]
mov rcx, qword [rsp + 0xe8]
call fcn.140089250
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005bcae
mov eax, dword [rsp + 0x20]
jmp 0x14005be79
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400cfc70
test eax, eax
je 0x14005bcc9
jmp 0x14005be31
mov rcx, qword [rsp + 0x40]
call fcn.1400d0434
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400cfc70
test eax, eax
je 0x14005bcef
jmp 0x14005be31
cmp dword [rsp + 0x30], 0
jl 0x14005bd00
cmp dword [rsp + 0x30], 0x100000
jle 0x14005bd05
jmp 0x14005be31
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.14006abc0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jbe 0x14005bd2b
jmp 0x14005be31
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14005bd4e
jmp 0x14005be31
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.1400cf36c
cmp eax, 1
je 0x14005bd72
jmp 0x14005be31
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jne 0x14005bdac
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call fcn.1400b09a0
test eax, eax
jne 0x14005bda7
mov dword [rsp + 0x20], 0
jmp 0x14005be31
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call fcn.14005c7b0
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14005bdec
jmp 0x14005be31
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xf8], rax
jne 0x14005be27
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.1400b09a0
test eax, eax
jne 0x14005be27
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14005bcae
mov rcx, qword [rsp + 0x28]
call qword [fcn.1400be350]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14005be31
mov rcx, qword [rsp + 0x80]
call qword [fcn.1400be350]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x14005be4b
mov rcx, qword [rsp + 0x40]
call fcn.1400cf864
mov eax, dword [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret