Function at 0x140065cb4
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
sub rsp, 0xa8
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x20], 0x5a
cmp qword [rsp + 0xb8], 0
jne 0x140065cfb
xor eax, eax
jmp 0x140066157
cmp qword [rsp + 0xc0], 0
je 0x140065d11
cmp qword [rsp + 0xc8], 0
jne 0x140065d1a
mov eax, dword [rsp + 0x20]
jmp 0x140066157
mov r8d, 8
lea rdx, str.sha256__
mov rcx, qword [rsp + 0xb8]
call fcn.1400368a0
test eax, eax
jne 0x140065f77
mov rax, qword [0x1400dcdc8]
cmp qword [rax + 0xb8], 0
jne 0x140065d56
mov eax, dword [rsp + 0x20]
jmp 0x140066157
mov ecx, 0x20
call qword [fcn.140033aa0]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140065d78
mov eax, 0x1b
jmp 0x140066157
mov r9d, 0x20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1400dcdc8]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140065db4
mov eax, dword [rsp + 0x24]
jmp 0x140066157
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.14008dd18
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.1400337c0]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x140065dd4
cmp dword [rsp + 0x24], 0
je 0x140065dfe
mov eax, dword [rsp + 0x24]
jmp 0x140066157
xor eax, eax
test eax, eax
jne 0x140065dfe
mov rcx, qword [rsp + 0xb8]
call fcn.140035aa0
inc rax
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call qword [fcn.140033aa0]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140065e5b
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400337c0]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140065e37
mov eax, 0x1b
jmp 0x140066157
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x60]
call fcn.140028de0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, str._sha256__
mov rcx, qword [rsp + 0x50]
call fcn.140029668
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140065eaf
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 rcx, rax
call fcn.140035aa0
cmp qword [rsp + 0x88], rax
jne 0x140065ef6
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x88]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400295a0
test eax, eax
jne 0x140065ef6
mov dword [rsp + 0x20], 0
jmp 0x140065f3a
cmp qword [rsp + 0x38], 0
je 0x140065f26
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0x3b
lea rdx, [0x1400dd780]
mov rcx, qword [rsp + 0x38]
call fcn.140029668
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x140065f3a
cmp qword [rsp + 0x50], 0
jne 0x140065e7f
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400337c0]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140065f3a
mov rcx, qword [rsp + 0x60]
call qword [fcn.1400337c0]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x140065f54
mov eax, dword [rsp + 0x20]
jmp 0x140066157
lea rdx, [0x1400dd724]
mov rcx, qword [rsp + 0xb8]
call fcn.14008498c
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140065fa1
mov eax, dword [rsp + 0x20]
jmp 0x140066157
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140032c9c
test eax, eax
je 0x140065fbc
jmp 0x140066115
mov rcx, qword [rsp + 0x40]
call fcn.140036670
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140032c9c
test eax, eax
je 0x140065fe2
jmp 0x140066115
cmp dword [rsp + 0x30], 0
jl 0x140065ff3
cmp dword [rsp + 0x30], 0x100000
jle 0x140065ff8
jmp 0x140066115
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.14006f650
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xc8], rax
jbe 0x14006601e
jmp 0x140066115
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, rax
call qword [fcn.140033aa0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140066041
jmp 0x140066115
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.140033398
cmp eax, 1
je 0x140066065
jmp 0x140066115
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xc8], rax
jne 0x14006609c
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.1400295a0
test eax, eax
jne 0x14006609a
mov dword [rsp + 0x20], 0
jmp 0x140066115
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call fcn.140066168
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1400660d3
jmp 0x140066115
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0xc8], rax
jne 0x14006610b
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xc0]
call fcn.1400295a0
test eax, eax
jne 0x14006610b
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x140065fa1
mov rcx, qword [rsp + 0x28]
call qword [fcn.1400337c0]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x140066115
mov rcx, qword [rsp + 0x70]
call qword [fcn.1400337c0]
mov qword [rsp + 0x70], 0
xor eax, eax
test eax, eax
jne 0x14006612f
mov rcx, qword [rsp + 0x40]
call fcn.140033728
mov eax, dword [rsp + 0x20]
add rsp, 0xa8
ret