Function at 0x14003280e
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
test rdx, rdx
je 0x1400328fa
mov r14, r8
mov esi, 0x5a
test r8, r8
je 0x1400328fc
mov rbx, r9
test r9, r9
je 0x1400328fc
mov rdi, rdx
mov r15, rcx
lea rdx, str.sha256__
mov r8d, 8
mov rcx, rdi
call fcn.140181390
test eax, eax
je 0x14003291c
lea rdx, [0x14019bebe]
mov rcx, rdi
call fcn.1400a4e26
test rax, rax
je 0x1400328fc
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov rcx, rdi
xor edx, edx
mov r8d, 2
call fcn.140174b78
mov esi, 0x5a
test eax, eax
je 0x14003299d
mov rax, qword [fcn.14017bff0]
mov rcx, r15
call qword [case.0x140031f00.0]
mov rax, qword [fcn.14017bff0]
mov rcx, qword [rsp + 0x38]
call qword [case.0x140031f00.0]
mov qword [rsp + 0x38], 0
mov rcx, rdi
call fcn.14017afb0
jmp 0x1400328fc
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14015c2e0
mov eax, esi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1401ea8d0]
cmp qword [rcx + 0xb8], rax
je 0x140032a2d
mov rax, qword [fcn.14017d250]
mov ecx, 0x20
call qword [case.0x140031f00.0]
mov esi, 0x1b
test rax, rax
je 0x1400328fc
mov r12, rax
mov rax, qword [0x1401ea8d0]
mov rax, qword [rax + 0xb8]
mov r9d, 0x20
mov rcx, r14
mov rdx, rbx
mov r8, r12
call qword [case.0x140031f00.0]
test eax, eax
je 0x140032a37
mov esi, eax
mov rax, qword [fcn.14017bff0]
mov rcx, r12
call qword [case.0x140031f00.0]
jmp 0x1400328fc
mov rcx, rdi
call fcn.14017c134
mov ebp, eax
xor r15d, r15d
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.140174b78
cmp ebp, 0x100000
ja 0x1400328c5
test eax, eax
jne 0x1400328c5
mov ecx, ebp
call fcn.140002b30
cmp rax, rbx
jb 0x140032b60
mov r12, rax
mov rax, qword [fcn.14017d250]
lea rcx, [r12 + 1]
call qword [case.0x140031f00.0]
test rax, rax
je 0x140032b60
mov r15, rax
mov r8d, 1
mov rcx, rax
mov rdx, r12
mov r9, rdi
call fcn.14017bd70
cmp eax, 1
jne 0x1400328c5
cmp r12, rbx
jne 0x140032b84
mov rcx, r14
mov rdx, r15
jmp 0x140032bb6
mov esi, 0x5a
jmp 0x1400328fc
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, 0x20
mov rcx, r12
call fcn.1400a5111
mov esi, eax
mov rax, qword [fcn.14017bff0]
mov rcx, r12
call qword [case.0x140031f00.0]
test esi, esi
jne 0x1400328fc
test r15, r15
je 0x140032a8b
cmp byte [r15 + 0xa37], 0
je 0x140032a8b
mov r8, qword [rsp + 0x28]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call fcn.14003171b
mov rcx, rdi
call fcn.1401812d0
mov rsi, rax
inc rsi
mov rax, qword [fcn.14017d250]
mov rcx, rsi
call qword [case.0x140031f00.0]
test rax, rax
je 0x140032b68
mov rbx, rax
mov rcx, rax
mov rdx, rdi
mov r8, rsi
call fcn.140160f20
lea rsi, str._sha256__
lea rdi, str.sha256__
mov r15, rbx
mov rcx, r15
mov rdx, rsi
call fcn.140161b14
mov r14, rax
test rax, rax
je 0x140032b03
mov byte [r14], 0
mov r12, qword [rsp + 0x30]
add r15, 8
mov rcx, r15
call fcn.1401812d0
cmp r12, rax
je 0x140032b19
jmp 0x140032b3d
mov r12, qword [rsp + 0x30]
add r15, 8
mov rcx, r15
call fcn.1401812d0
cmp r12, rax
jne 0x140032b54
mov r13, qword [rsp + 0x28]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.140160e20
test r14, r14
je 0x140032bcd
test eax, eax
je 0x140032bcd
mov byte [r14], 0x3b
mov rcx, r14
mov rdx, rdi
call fcn.140161b14
mov r15, rax
test rax, rax
jne 0x140032ad4
mov esi, 0x5a
mov r13, qword [rsp + 0x28]
jmp 0x140032bd7
xor r15d, r15d
jmp 0x1400328c5
mov rax, qword [fcn.14017bff0]
mov rcx, qword [rsp + 0x28]
call qword [case.0x140031f00.0]
mov esi, 0x1b
jmp 0x1400328fc
mov byte [r15 + r12], 0
lea rdx, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.140032bff
test eax, eax
jne 0x1400328c5
cmp qword [rsp + 0x30], rbx
jne 0x1400328c5
mov rdx, qword [rsp + 0x38]
mov rcx, r14
mov r8, rbx
call fcn.140160e20
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x1400328c5
test eax, eax
mov esi, 0x5a
cmove esi, eax
mov rax, qword [fcn.14017bff0]
mov rcx, r13
call qword [case.0x140031f00.0]
mov qword [rsp + 0x28], 0
mov rax, qword [fcn.14017bff0]
mov rcx, rbx
jmp 0x140032992