Function at 0x140031a20
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 0x140031a6c
xor eax, eax
jmp 0x140031f29
cmp qword [rsp + 0xf0], 0
je 0x140031a82
cmp qword [rsp + 0xf8], 0
jne 0x140031a8b
mov eax, dword [rsp + 0x20]
jmp 0x140031f29
mov r8d, 8
lea rdx, [0x1400db638]
mov rcx, qword [rsp + 0xe8]
call fcn.14008d9c0
test eax, eax
jne 0x140031d34
mov rax, qword [0x1400db570]
cmp qword [rax + 0xb8], 0
jne 0x140031ac7
mov eax, dword [rsp + 0x20]
jmp 0x140031f29
mov ecx, 0x20
call qword [section..data]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140031ae9
mov eax, 0x1b
jmp 0x140031f29
mov r9d, 0x20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1400db570]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140031b25
mov eax, dword [rsp + 0x24]
jmp 0x140031f29
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.140065150
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.140088170]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x140031b45
cmp dword [rsp + 0x24], 0
je 0x140031b6f
mov eax, dword [rsp + 0x24]
jmp 0x140031f29
xor eax, eax
test eax, eax
jne 0x140031b6f
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 0x140031b8e
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call qword [section..data]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140031bf5
mov rcx, qword [rsp + 0x58]
call qword [fcn.140088170]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140031bd1
mov eax, 0x1b
jmp 0x140031f29
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.14008417c
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140031c46
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 0x140031c60
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x98], rax
jne 0x140031cb3
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.140083e60
test eax, eax
jne 0x140031cb3
mov dword [rsp + 0x20], 0
jmp 0x140031cf7
cmp qword [rsp + 0x38], 0
je 0x140031ce3
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.14008417c
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x140031cf7
cmp qword [rsp + 0x50], 0
jne 0x140031c16
mov rcx, qword [rsp + 0x58]
call qword [fcn.140088170]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140031cf7
mov rcx, qword [rsp + 0x60]
call qword [fcn.140088170]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x140031d11
mov eax, dword [rsp + 0x20]
jmp 0x140031f29
lea rdx, [0x1400db5f4]
mov rcx, qword [rsp + 0xe8]
call fcn.14005dc40
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140031d5e
mov eax, dword [rsp + 0x20]
jmp 0x140031f29
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14008d99c
test eax, eax
je 0x140031d79
jmp 0x140031ee1
mov rcx, qword [rsp + 0x40]
call fcn.14008e0a8
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14008d99c
test eax, eax
je 0x140031d9f
jmp 0x140031ee1
cmp dword [rsp + 0x30], 0
jl 0x140031db0
cmp dword [rsp + 0x30], 0x100000
jle 0x140031db5
jmp 0x140031ee1
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.140040680
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jbe 0x140031ddb
jmp 0x140031ee1
mov rax, qword [rsp + 0x68]
inc rax
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140031dfe
jmp 0x140031ee1
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.14008d2e4
cmp eax, 1
je 0x140031e22
jmp 0x140031ee1
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jne 0x140031e5c
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call fcn.140083e60
test eax, eax
jne 0x140031e57
mov dword [rsp + 0x20], 0
jmp 0x140031ee1
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.140032860
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x140031e9c
jmp 0x140031ee1
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xf8], rax
jne 0x140031ed7
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.140083e60
test eax, eax
jne 0x140031ed7
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x140031d5e
mov rcx, qword [rsp + 0x28]
call qword [fcn.140088170]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x140031ee1
mov rcx, qword [rsp + 0x80]
call qword [fcn.140088170]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x140031efb
mov rcx, qword [rsp + 0x40]
call fcn.14008d704
mov eax, dword [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret