Function at 0x1400f1dbc
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, 0xd8
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x30], 0x5a
cmp qword [rsp + 0xf8], 0
jne 0x1400f1e08
xor eax, eax
jmp 0x1400f22eb
cmp qword [rsp + 0x100], 0
je 0x1400f1e1e
cmp qword [rsp + 0x108], 0
jne 0x1400f1e27
mov eax, dword [rsp + 0x30]
jmp 0x1400f22eb
mov r8d, 8
lea rdx, str.sha256__
mov rcx, qword [rsp + 0xf8]
call fcn.1400870d0
test eax, eax
jne 0x1400f20f6
mov rax, qword [0x140174cd8]
cmp qword [rax + 0xb0], 0
jne 0x1400f1e63
mov eax, dword [rsp + 0x30]
jmp 0x1400f22eb
mov ecx, 0x20
call qword [fcn.14008178c]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400f1e85
mov eax, 0x1b
jmp 0x1400f22eb
mov r9d, 0x20
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov rax, qword [0x140174cd8]
call qword [rax + VarDecAbs]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400f1ec1
mov eax, dword [rsp + 0x34]
jmp 0x1400f22eb
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov r8d, 0x20
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xf0]
call fcn.140129740
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x58]
call qword [fcn.140066e8c]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400f1eef
cmp dword [rsp + 0x34], 0
je 0x1400f1f19
mov eax, dword [rsp + 0x34]
jmp 0x1400f22eb
xor eax, eax
test eax, eax
jne 0x1400f1f19
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x1400f1f3b
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call qword [fcn.14008178c]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400f1fab
mov rcx, qword [rsp + 0x68]
call qword [fcn.140066e8c]
mov qword [rsp + 0x68], 0
xor eax, eax
test eax, eax
jne 0x1400f1f87
mov eax, 0x1b
jmp 0x1400f22eb
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xa0]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rdx, str._sha256__
mov rcx, qword [rsp + 0x60]
call fcn.1400593a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400f1ffc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x88]
cmp byte [rax + rcx], 0
jne 0x1400f2019
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0xa8], rax
jne 0x1400f2075
mov rax, qword [rsp + 0x60]
add rax, 8
mov r8, qword [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140059cc0
test eax, eax
jne 0x1400f2075
mov dword [rsp + 0x30], 0
jmp 0x1400f20b9
cmp qword [rsp + 0x48], 0
je 0x1400f20a5
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0x3b
lea rdx, [0x140175ea8]
mov rcx, qword [rsp + 0x48]
call fcn.1400593a0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x48], 0
je 0x1400f20b9
cmp qword [rsp + 0x60], 0
jne 0x1400f1fcc
mov rcx, qword [rsp + 0x68]
call qword [fcn.140066e8c]
mov qword [rsp + 0x68], 0
xor eax, eax
test eax, eax
jne 0x1400f20b9
mov rcx, qword [rsp + 0x70]
call qword [fcn.140066e8c]
mov qword [rsp + 0x70], 0
xor eax, eax
test eax, eax
jne 0x1400f20d3
mov eax, dword [rsp + 0x30]
jmp 0x1400f22eb
lea rdx, [0x140175bf4]
mov rcx, qword [rsp + 0xf8]
call fcn.1400fb510
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400f2120
mov eax, dword [rsp + 0x30]
jmp 0x1400f22eb
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400802a0
test eax, eax
je 0x1400f213b
jmp 0x1400f22a3
mov rcx, qword [rsp + 0x50]
call fcn.14009c064
mov dword [rsp + 0x40], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400802a0
test eax, eax
je 0x1400f2161
jmp 0x1400f22a3
cmp dword [rsp + 0x40], 0
jl 0x1400f2172
cmp dword [rsp + 0x40], 0x100000
jle 0x1400f2177
jmp 0x1400f22a3
movsxd rax, dword [rsp + 0x40]
mov rcx, rax
call fcn.1400e13cc
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x108], rax
jbe 0x1400f219d
jmp 0x1400f22a3
mov rax, qword [rsp + 0x78]
inc rax
mov rcx, rax
call qword [fcn.14008178c]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400f21c0
jmp 0x1400f22a3
mov r9, qword [rsp + 0x50]
mov r8d, 1
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.1400808f0
cmp eax, 1
je 0x1400f21e4
jmp 0x1400f22a3
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x108], rax
jne 0x1400f221e
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x100]
call fcn.140059cc0
test eax, eax
jne 0x1400f2219
mov dword [rsp + 0x30], 0
jmp 0x1400f22a3
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov byte [rax], 0
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.1400f22fc
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
je 0x1400f225e
jmp 0x1400f22a3
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x108], rax
jne 0x1400f2299
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x100]
call fcn.140059cc0
test eax, eax
jne 0x1400f2299
mov dword [rsp + 0x30], 0
xor eax, eax
test eax, eax
jne 0x1400f2120
mov rcx, qword [rsp + 0x38]
call qword [fcn.140066e8c]
mov qword [rsp + 0x38], 0
xor eax, eax
test eax, eax
jne 0x1400f22a3
mov rcx, qword [rsp + 0x90]
call qword [fcn.140066e8c]
mov qword [rsp + 0x90], 0
xor eax, eax
test eax, eax
jne 0x1400f22bd
mov rcx, qword [rsp + 0x50]
call fcn.140080d04
mov eax, dword [rsp + 0x30]
add rsp, 0xd8
pop rdi
pop rsi
ret