Function at 0x14003c460
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 0x14003c4ac
xor eax, eax
jmp 0x14003c969
cmp qword [rsp + 0xf0], 0
je 0x14003c4c2
cmp qword [rsp + 0xf8], 0
jne 0x14003c4cb
mov eax, dword [rsp + 0x20]
jmp 0x14003c969
mov r8d, 8
lea rdx, [0x1400ef648]
mov rcx, qword [rsp + 0xe8]
call fcn.140097e90
test eax, eax
jne 0x14003c774
mov rax, qword [0x1400ef580]
cmp qword [rax + 0xb8], 0
jne 0x14003c507
mov eax, dword [rsp + 0x20]
jmp 0x14003c969
mov ecx, 0x20
call qword [fcn.140095e10]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14003c529
mov eax, 0x1b
jmp 0x14003c969
mov r9d, 0x20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1400ef580]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14003c565
mov eax, dword [rsp + 0x24]
jmp 0x14003c969
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.14006f810
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.140095dfc]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x14003c585
cmp dword [rsp + 0x24], 0
je 0x14003c5af
mov eax, dword [rsp + 0x24]
jmp 0x14003c969
xor eax, eax
test eax, eax
jne 0x14003c5af
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 0x14003c5ce
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [fcn.140095e10]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14003c635
mov rcx, qword [rsp + 0x58]
call qword [fcn.140095dfc]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14003c611
mov eax, 0x1b
jmp 0x14003c969
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.14008e62c
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14003c686
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 0x14003c6a0
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x98], rax
jne 0x14003c6f3
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.14008dc60
test eax, eax
jne 0x14003c6f3
mov dword [rsp + 0x20], 0
jmp 0x14003c737
cmp qword [rsp + 0x38], 0
je 0x14003c723
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.14008e62c
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x14003c737
cmp qword [rsp + 0x50], 0
jne 0x14003c656
mov rcx, qword [rsp + 0x58]
call qword [fcn.140095dfc]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14003c737
mov rcx, qword [rsp + 0x60]
call qword [fcn.140095dfc]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14003c751
mov eax, dword [rsp + 0x20]
jmp 0x14003c969
lea rdx, [0x1400ef604]
mov rcx, qword [rsp + 0xe8]
call fcn.140068300
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14003c79e
mov eax, dword [rsp + 0x20]
jmp 0x14003c969
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140097e6c
test eax, eax
je 0x14003c7b9
jmp 0x14003c921
mov rcx, qword [rsp + 0x40]
call fcn.140098578
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140097e6c
test eax, eax
je 0x14003c7df
jmp 0x14003c921
cmp dword [rsp + 0x30], 0
jl 0x14003c7f0
cmp dword [rsp + 0x30], 0x100000
jle 0x14003c7f5
jmp 0x14003c921
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.14004b0c0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jbe 0x14003c81b
jmp 0x14003c921
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, rax
call qword [fcn.140095e10]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003c83e
jmp 0x14003c921
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.1400977b4
cmp eax, 1
je 0x14003c862
jmp 0x14003c921
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jne 0x14003c89c
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call fcn.14008dc60
test eax, eax
jne 0x14003c897
mov dword [rsp + 0x20], 0
jmp 0x14003c921
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.14003d2a0
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14003c8dc
jmp 0x14003c921
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xf8], rax
jne 0x14003c917
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.14008dc60
test eax, eax
jne 0x14003c917
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14003c79e
mov rcx, qword [rsp + 0x28]
call qword [fcn.140095dfc]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14003c921
mov rcx, qword [rsp + 0x80]
call qword [fcn.140095dfc]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x14003c93b
mov rcx, qword [rsp + 0x40]
call fcn.140097bd4
mov eax, dword [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret