Function at 0x14002a640
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 0x14002a68c
xor eax, eax
jmp 0x14002ab49
cmp qword [rsp + 0xf0], 0
je 0x14002a6a2
cmp qword [rsp + 0xf8], 0
jne 0x14002a6ab
mov eax, dword [rsp + 0x20]
jmp 0x14002ab49
mov r8d, 8
lea rdx, [0x1400d3638]
mov rcx, qword [rsp + 0xe8]
call fcn.140085f20
test eax, eax
jne 0x14002a954
mov rax, qword [0x1400d3570]
cmp qword [rax + 0xb8], 0
jne 0x14002a6e7
mov eax, dword [rsp + 0x20]
jmp 0x14002ab49
mov ecx, 0x20
call qword [str.t_b_b_]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14002a709
mov eax, 0x1b
jmp 0x14002ab49
mov r9d, 0x20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1400d3570]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14002a745
mov eax, dword [rsp + 0x24]
jmp 0x14002ab49
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.14005d920
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [str._b_b_]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x14002a765
cmp dword [rsp + 0x24], 0
je 0x14002a78f
mov eax, dword [rsp + 0x24]
jmp 0x14002ab49
xor eax, eax
test eax, eax
jne 0x14002a78f
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 0x14002a7ae
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [str.t_b_b_]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14002a815
mov rcx, qword [rsp + 0x58]
call qword [str._b_b_]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14002a7f1
mov eax, 0x1b
jmp 0x14002ab49
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.14007c624
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002a866
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 0x14002a880
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x98], rax
jne 0x14002a8d3
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.14007c830
test eax, eax
jne 0x14002a8d3
mov dword [rsp + 0x20], 0
jmp 0x14002a917
cmp qword [rsp + 0x38], 0
je 0x14002a903
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.14007c624
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x14002a917
cmp qword [rsp + 0x50], 0
jne 0x14002a836
mov rcx, qword [rsp + 0x58]
call qword [str._b_b_]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14002a917
mov rcx, qword [rsp + 0x60]
call qword [str._b_b_]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14002a931
mov eax, dword [rsp + 0x20]
jmp 0x14002ab49
lea rdx, [0x1400d35f4]
mov rcx, qword [rsp + 0xe8]
call fcn.140056410
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14002a97e
mov eax, dword [rsp + 0x20]
jmp 0x14002ab49
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140085efc
test eax, eax
je 0x14002a999
jmp 0x14002ab01
mov rcx, qword [rsp + 0x40]
call fcn.140086608
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140085efc
test eax, eax
je 0x14002a9bf
jmp 0x14002ab01
cmp dword [rsp + 0x30], 0
jl 0x14002a9d0
cmp dword [rsp + 0x30], 0x100000
jle 0x14002a9d5
jmp 0x14002ab01
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.1400392b0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jbe 0x14002a9fb
jmp 0x14002ab01
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, rax
call qword [str.t_b_b_]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14002aa1e
jmp 0x14002ab01
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.140085844
cmp eax, 1
je 0x14002aa42
jmp 0x14002ab01
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jne 0x14002aa7c
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call fcn.14007c830
test eax, eax
jne 0x14002aa77
mov dword [rsp + 0x20], 0
jmp 0x14002ab01
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.14002b480
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14002aabc
jmp 0x14002ab01
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xf8], rax
jne 0x14002aaf7
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.14007c830
test eax, eax
jne 0x14002aaf7
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14002a97e
mov rcx, qword [rsp + 0x28]
call qword [str._b_b_]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14002ab01
mov rcx, qword [rsp + 0x80]
call qword [str._b_b_]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x14002ab1b
mov rcx, qword [rsp + 0x40]
call fcn.140085c64
mov eax, dword [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret