Function at 0x1400521e0
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 0x14005222c
xor eax, eax
jmp 0x1400526e9
cmp qword [rsp + 0xf0], 0
je 0x140052242
cmp qword [rsp + 0xf8], 0
jne 0x14005224b
mov eax, dword [rsp + 0x20]
jmp 0x1400526e9
mov r8d, 8
lea rdx, str.sha256__
mov rcx, qword [rsp + 0xe8]
call fcn.140025b80
test eax, eax
jne 0x1400524f4
mov rax, qword [0x1400cdcd8]
cmp qword [rax + 0xb8], 0
jne 0x140052287
mov eax, dword [rsp + 0x20]
jmp 0x1400526e9
mov ecx, 0x20
call qword [fcn.140023000]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400522a9
mov eax, 0x1b
jmp 0x1400526e9
mov r9d, 0x20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1400cdcd8]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400522e5
mov eax, dword [rsp + 0x24]
jmp 0x1400526e9
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.1400784b0
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.140022fec]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x140052305
cmp dword [rsp + 0x24], 0
je 0x14005232f
mov eax, dword [rsp + 0x24]
jmp 0x1400526e9
xor eax, eax
test eax, eax
jne 0x14005232f
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 0x14005234e
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [fcn.140023000]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400523b5
mov rcx, qword [rsp + 0x58]
call qword [fcn.140022fec]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140052391
mov eax, 0x1b
jmp 0x1400526e9
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.14001b95c
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140052406
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 0x140052420
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x98], rax
jne 0x140052473
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.14001ae40
test eax, eax
jne 0x140052473
mov dword [rsp + 0x20], 0
jmp 0x1400524b7
cmp qword [rsp + 0x38], 0
je 0x1400524a3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x3b
lea rdx, [0x1400ce5a8]
mov rcx, qword [rsp + 0x38]
call fcn.14001b95c
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x1400524b7
cmp qword [rsp + 0x50], 0
jne 0x1400523d6
mov rcx, qword [rsp + 0x58]
call qword [fcn.140022fec]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400524b7
mov rcx, qword [rsp + 0x60]
call qword [fcn.140022fec]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1400524d1
mov eax, dword [rsp + 0x20]
jmp 0x1400526e9
lea rdx, [0x1400ce54c]
mov rcx, qword [rsp + 0xe8]
call fcn.14006ea60
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005251e
mov eax, dword [rsp + 0x20]
jmp 0x1400526e9
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140025030
test eax, eax
je 0x140052539
jmp 0x1400526a1
mov rcx, qword [rsp + 0x40]
call fcn.1400259e4
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140025030
test eax, eax
je 0x14005255f
jmp 0x1400526a1
cmp dword [rsp + 0x30], 0
jl 0x140052570
cmp dword [rsp + 0x30], 0x100000
jle 0x140052575
jmp 0x1400526a1
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.14005c0d0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jbe 0x14005259b
jmp 0x1400526a1
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, rax
call qword [fcn.140023000]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400525be
jmp 0x1400526a1
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.140024c78
cmp eax, 1
je 0x1400525e2
jmp 0x1400526a1
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jne 0x14005261c
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call fcn.14001ae40
test eax, eax
jne 0x140052617
mov dword [rsp + 0x20], 0
jmp 0x1400526a1
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.140052700
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14005265c
jmp 0x1400526a1
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xf8], rax
jne 0x140052697
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.14001ae40
test eax, eax
jne 0x140052697
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14005251e
mov rcx, qword [rsp + 0x28]
call qword [fcn.140022fec]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x1400526a1
mov rcx, qword [rsp + 0x80]
call qword [fcn.140022fec]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x1400526bb
mov rcx, qword [rsp + 0x40]
call fcn.140024dc4
mov eax, dword [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret