Function at 0x18005d32c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor esi, esi
mov rbx, r9
and qword [rbp - 0x10], rsi
mov r12, r8
mov r14, rdx
mov r15, rcx
lea edi, [rsi + 0x5a]
test rdx, rdx
jne 0x18005d366
xor eax, eax
jmp 0x18005d5eb
test r12, r12
je 0x18005d5e9
test rbx, rbx
je 0x18005d5e9
mov r8d, 8
lea rdx, str.sha256__
mov rcx, r14
call fcn.1800c3730
test eax, eax
jne 0x18005d4e1
mov rax, qword [0x180364480]
cmp qword [rax + 0xb8], rsi
je 0x18005d5e9
mov ecx, 0x20
call qword [fcn.1800b5f74]
mov rsi, rax
test rax, rax
jne 0x18005d3c6
mov eax, 0x1b
jmp 0x18005d5eb
mov rax, qword [0x180364480]
mov r9d, 0x20
mov r8, rsi
mov rdx, rbx
mov rcx, r12
call qword [rax + 0xb8]
test eax, eax
jne 0x18005d5eb
lea r9, [rbp - 8]
mov rcx, rsi
lea r8, [rbp + 0x38]
lea edx, [rax + 0x20]
call fcn.180076594
mov rcx, rsi
mov ebx, eax
call qword [fcn.1800b5f60]
test ebx, ebx
je 0x18005d413
mov eax, ebx
jmp 0x18005d5eb
mov r8, qword [rbp + 0x38]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call fcn.18006419c
mov rcx, r14
call fcn.1800bb450
mov rbx, rax
lea rcx, [rax + 1]
call qword [fcn.1800b5f74]
mov r15, rax
test rax, rax
jne 0x18005d452
mov rcx, qword [rbp + 0x38]
call qword [fcn.1800b5f60]
jmp 0x18005d3bc
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, r15
call fcn.1800ad7c0
mov rsi, r15
lea rdx, str._sha256__
mov rcx, rsi
call fcn.1800af178
mov rbx, rax
test rax, rax
je 0x18005d47e
mov byte [rax], 0
lea rcx, [rsi + 8]
call fcn.1800bb450
mov r8, qword [rbp - 8]
cmp r8, rax
jne 0x18005d4a1
mov rcx, qword [rbp + 0x38]
lea rdx, [rsi + 8]
call fcn.1800af0b0
test eax, eax
je 0x18005d4c2
test rbx, rbx
je 0x18005d4c4
lea rdx, str.sha256__
mov byte [rbx], 0x3b
mov rcx, rbx
call fcn.1800af178
mov rsi, rax
test rax, rax
je 0x18005d4c4
jmp 0x18005d464
xor edi, edi
mov rcx, qword [rbp + 0x38]
call qword [fcn.1800b5f60]
and qword [rbp + 0x38], 0
mov rcx, r15
call qword [fcn.1800b5f60]
jmp 0x18005d5e9
lea rdx, [0x18033afa0]
mov rcx, r14
call fcn.180071dcc
mov r15, rax
test rax, rax
je 0x18005d5e9
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.1800bab4c
test eax, eax
jne 0x18005d5c9
mov rcx, r15
call fcn.1800c6d6c
xor r8d, r8d
movsxd r14, eax
xor edx, edx
mov rcx, r15
call fcn.1800bab4c
test eax, eax
jne 0x18005d5c9
cmp r14d, 0x100000
ja 0x18005d5c9
mov rcx, r14
call fcn.180017e3c
mov r14, rax
cmp rbx, rax
ja 0x18005d5c9
lea rcx, [rax + 1]
call qword [fcn.1800b5f74]
mov rsi, rax
test rax, rax
je 0x18005d5c9
mov r9, r15
mov r8d, 1
mov rdx, r14
mov rcx, rax
call fcn.1800ba764
cmp eax, 1
jne 0x18005d5c9
cmp rbx, r14
jne 0x18005d595
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call fcn.1800af0b0
test eax, eax
jne 0x18005d5c9
xor edi, edi
jmp 0x18005d5c9
lea r8, [rbp + 0x38]
mov byte [r14 + rsi], 0
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.18005e51c
test eax, eax
jne 0x18005d5c9
cmp rbx, qword [rbp + 0x38]
jne 0x18005d5c9
mov rdx, qword [rbp - 0x10]
mov r8, rbx
mov rcx, r12
call fcn.1800af0b0
neg eax
sbb ecx, ecx
and edi, ecx
mov rcx, rsi
call qword [fcn.1800b5f60]
mov rcx, qword [rbp - 0x10]
call qword [fcn.1800b5f60]
and qword [rbp - 0x10], 0
mov rcx, r15
call fcn.1800b9ccc
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret