Function at 0x14005b980
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 0x14005b9cc
xor eax, eax
jmp 0x14005be89
cmp qword [rsp + 0xf0], 0
je 0x14005b9e2
cmp qword [rsp + 0xf8], 0
jne 0x14005b9eb
mov eax, dword [rsp + 0x20]
jmp 0x14005be89
mov r8d, 8
lea rdx, [0x140144640]
mov rcx, qword [rsp + 0xe8]
call fcn.1400cfca0
test eax, eax
jne 0x14005bc94
mov rax, qword [0x140144578]
cmp qword [rax + 0xb8], 0
jne 0x14005ba27
mov eax, dword [rsp + 0x20]
jmp 0x14005be89
mov ecx, 0x20
call qword [section..data]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14005ba49
mov eax, 0x1b
jmp 0x14005be89
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 0x14005ba85
mov eax, dword [rsp + 0x24]
jmp 0x14005be89
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.140090790
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.1400be360]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x14005baa5
cmp dword [rsp + 0x24], 0
je 0x14005bacf
mov eax, dword [rsp + 0x24]
jmp 0x14005be89
xor eax, eax
test eax, eax
jne 0x14005bacf
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 0x14005baee
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 0x14005bb55
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400be360]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14005bb31
mov eax, 0x1b
jmp 0x14005be89
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.1400b0cac
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14005bba6
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 0x14005bbc0
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x98], rax
jne 0x14005bc13
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400b09b0
test eax, eax
jne 0x14005bc13
mov dword [rsp + 0x20], 0
jmp 0x14005bc57
cmp qword [rsp + 0x38], 0
je 0x14005bc43
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.1400b0cac
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x14005bc57
cmp qword [rsp + 0x50], 0
jne 0x14005bb76
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400be360]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14005bc57
mov rcx, qword [rsp + 0x60]
call qword [fcn.1400be360]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005bc71
mov eax, dword [rsp + 0x20]
jmp 0x14005be89
lea rdx, [0x1401445fc]
mov rcx, qword [rsp + 0xe8]
call fcn.140089260
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005bcbe
mov eax, dword [rsp + 0x20]
jmp 0x14005be89
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400cfc80
test eax, eax
je 0x14005bcd9
jmp 0x14005be41
mov rcx, qword [rsp + 0x40]
call fcn.1400d0444
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400cfc80
test eax, eax
je 0x14005bcff
jmp 0x14005be41
cmp dword [rsp + 0x30], 0
jl 0x14005bd10
cmp dword [rsp + 0x30], 0x100000
jle 0x14005bd15
jmp 0x14005be41
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.14006abd0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jbe 0x14005bd3b
jmp 0x14005be41
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 0x14005bd5e
jmp 0x14005be41
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.1400cf37c
cmp eax, 1
je 0x14005bd82
jmp 0x14005be41
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jne 0x14005bdbc
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call fcn.1400b09b0
test eax, eax
jne 0x14005bdb7
mov dword [rsp + 0x20], 0
jmp 0x14005be41
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.14005c7c0
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14005bdfc
jmp 0x14005be41
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xf8], rax
jne 0x14005be37
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.1400b09b0
test eax, eax
jne 0x14005be37
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14005bcbe
mov rcx, qword [rsp + 0x28]
call qword [fcn.1400be360]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14005be41
mov rcx, qword [rsp + 0x80]
call qword [fcn.1400be360]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x14005be5b
mov rcx, qword [rsp + 0x40]
call fcn.1400cf874
mov eax, dword [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret