Function at 0x140059da0
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 0x140059dec
xor eax, eax
jmp 0x14005a2a9
cmp qword [rsp + 0xf0], 0
je 0x140059e02
cmp qword [rsp + 0xf8], 0
jne 0x140059e0b
mov eax, dword [rsp + 0x20]
jmp 0x14005a2a9
mov r8d, 8
lea rdx, [0x140141640]
mov rcx, qword [rsp + 0xe8]
call fcn.1400ccea0
test eax, eax
jne 0x14005a0b4
mov rax, qword [0x140141578]
cmp qword [rax + 0xb8], 0
jne 0x140059e47
mov eax, dword [rsp + 0x20]
jmp 0x14005a2a9
mov ecx, 0x20
call qword [section..data]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140059e69
mov eax, 0x1b
jmp 0x14005a2a9
mov r9d, 0x20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x140141578]
call qword [rax + 0xb8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140059ea5
mov eax, dword [rsp + 0x24]
jmp 0x14005a2a9
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x58]
mov edx, 0x20
mov rcx, qword [rsp + 0x48]
call fcn.14008dcb8
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x48]
call qword [fcn.1400bb560]
mov qword [rsp + 0x48], 0
xor eax, eax
test eax, eax
jne 0x140059ec5
cmp dword [rsp + 0x24], 0
je 0x140059eef
mov eax, dword [rsp + 0x24]
jmp 0x14005a2a9
xor eax, eax
test eax, eax
jne 0x140059eef
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 0x140059f0e
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 0x140059f75
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400bb560]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140059f51
mov eax, 0x1b
jmp 0x14005a2a9
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.1400adeac
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140059fc6
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 0x140059fe0
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x98], rax
jne 0x14005a033
mov rax, qword [rsp + 0x50]
add rax, 8
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call fcn.1400adbb0
test eax, eax
jne 0x14005a033
mov dword [rsp + 0x20], 0
jmp 0x14005a077
cmp qword [rsp + 0x38], 0
je 0x14005a063
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.1400adeac
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x38], 0
je 0x14005a077
cmp qword [rsp + 0x50], 0
jne 0x140059f96
mov rcx, qword [rsp + 0x58]
call qword [fcn.1400bb560]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x14005a077
mov rcx, qword [rsp + 0x60]
call qword [fcn.1400bb560]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x14005a091
mov eax, dword [rsp + 0x20]
jmp 0x14005a2a9
lea rdx, [0x1401415fc]
mov rcx, qword [rsp + 0xe8]
call fcn.1400868e4
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005a0de
mov eax, dword [rsp + 0x20]
jmp 0x14005a2a9
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400cce80
test eax, eax
je 0x14005a0f9
jmp 0x14005a261
mov rcx, qword [rsp + 0x40]
call fcn.1400cd644
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1400cce80
test eax, eax
je 0x14005a11f
jmp 0x14005a261
cmp dword [rsp + 0x30], 0
jl 0x14005a130
cmp dword [rsp + 0x30], 0x100000
jle 0x14005a135
jmp 0x14005a261
movsxd rax, dword [rsp + 0x30]
mov rcx, rax
call fcn.140068b98
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jbe 0x14005a15b
jmp 0x14005a261
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 0x14005a17e
jmp 0x14005a261
mov r9, qword [rsp + 0x40]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
call fcn.1400cc57c
cmp eax, 1
je 0x14005a1a2
jmp 0x14005a261
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0xf8], rax
jne 0x14005a1dc
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xf0]
call fcn.1400adbb0
test eax, eax
jne 0x14005a1d7
mov dword [rsp + 0x20], 0
jmp 0x14005a261
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.14005ab9c
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x14005a21c
jmp 0x14005a261
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0xf8], rax
jne 0x14005a257
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.1400adbb0
test eax, eax
jne 0x14005a257
mov dword [rsp + 0x20], 0
xor eax, eax
test eax, eax
jne 0x14005a0de
mov rcx, qword [rsp + 0x28]
call qword [fcn.1400bb560]
mov qword [rsp + 0x28], 0
xor eax, eax
test eax, eax
jne 0x14005a261
mov rcx, qword [rsp + 0x80]
call qword [fcn.1400bb560]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x14005a27b
mov rcx, qword [rsp + 0x40]
call fcn.1400cca74
mov eax, dword [rsp + 0x20]
add rsp, 0xc8
pop rdi
pop rsi
ret