Function at 0x1400cb8d0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r15
sub rsp, 0x78
xor r12d, r12d
mov rdi, rdx
mov qword [rax - 0x60], r12
mov esi, r12d
lea r15d, [r12 + 0x5a]
test rdx, rdx
jne 0x1400cb911
xor eax, eax
add rsp, 0x78
pop r15
pop r12
pop rdi
pop rsi
ret
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x60], r13
mov r13, qword [rsp + 0xb0]
mov qword [rsp + 0x58], r14
test r13, r13
je 0x1400cbd13
mov r14, qword [rsp + 0xb8]
test r14, r14
je 0x1400cbd13
mov r8d, 8
lea rdx, str.sha256__
mov rcx, rdi
call fcn.140155f10
test eax, eax
jne 0x1400cbb1c
mov rax, qword [0x140212150]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r12
cmp qword [rax + 0xb8], rsi
je 0x1400cbd13
mov rax, qword [fcn.140154a40]
mov ecx, 0x20
call qword [case.0x1400cc851.0]
mov rsi, rax
test rax, rax
je 0x1400cba56
mov rax, qword [0x140212150]
mov r9d, 0x20
mov r8, rsi
mov rdx, r14
mov rcx, r13
mov rax, qword [rax + 0xb8]
call qword [case.0x1400cc851.0]
mov ebx, eax
test eax, eax
jne 0x1400cb9db
lea r9, [rsp + 0x40]
mov rcx, rsi
lea r8, [rsp + 0x30]
lea edx, [rax + 0x20]
call fcn.1400f12b0
mov ebx, eax
mov rax, qword [fcn.140143670]
mov rcx, rsi
call qword [case.0x1400cc851.0]
test ebx, ebx
je 0x1400cb9f6
mov eax, ebx
jmp 0x1400cbd16
mov r8, qword [rsp + 0x30]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, qword [rsp + 0xa0]
call fcn.1400d4240
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rdi + rbx + 1], r12b
lea rbx, [rbx + 1]
jne 0x1400cba20
mov rax, qword [fcn.140154a40]
lea rcx, [rbx + 1]
call qword [case.0x1400cc851.0]
mov rsi, rax
test rax, rax
jne 0x1400cba60
mov rcx, qword [rsp + 0x30]
mov rax, qword [fcn.140143670]
call qword [case.0x1400cc851.0]
mov eax, 0x1b
jmp 0x1400cbd16
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rsi
call fcn.140175f40
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
lea rdx, str._sha256__
mov rcx, rdi
call fcn.1401364a0
mov rbx, rax
test rax, rax
je 0x1400cba9a
mov byte [rax], r12b
lea rdx, [rdi + 8]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r12b
jne 0x1400cbaa5
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
cmp r8, rax
jne 0x1400cbac9
mov rcx, rdi
call fcn.140175e40
test eax, eax
je 0x1400cbb17
test rbx, rbx
je 0x1400cbaed
lea rdx, str.sha256__
mov byte [rbx], 0x3b
mov rcx, rbx
call fcn.1401364a0
mov rdi, rax
test rax, rax
jne 0x1400cba80
mov rdi, qword [rsp + 0x30]
mov rax, qword [fcn.140143670]
mov rcx, rdi
call qword [case.0x1400cc851.0]
mov rax, qword [fcn.140143670]
mov rcx, rsi
mov qword [rsp + 0x30], r12
call qword [case.0x1400cc851.0]
jmp 0x1400cbd13
mov r15d, r12d
jmp 0x1400cbaed
lea rdx, [0x140191080]
mov rcx, rdi
call fcn.1400ec3a0
mov r12, rax
test rax, rax
je 0x1400cbd13
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.140153980
test eax, eax
jne 0x1400cbce2
mov rcx, r12
call fcn.14015c4b4
xor r8d, r8d
movsxd rbx, eax
xor edx, edx
mov rcx, r12
call fcn.140153980
test eax, eax
jne 0x1400cbce2
cmp ebx, 0x100000
ja 0x1400cbce2
mov rcx, rbx
call fcn.1400239b0
mov rbx, rax
cmp r14, rax
ja 0x1400cbce2
lea rcx, [rax + 1]
mov rax, qword [fcn.140154a40]
call qword [case.0x1400cc851.0]
mov rsi, rax
test rax, rax
je 0x1400cbce2
mov r9, r12
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140154090
cmp eax, 1
jne 0x1400cbce2
cmp r14, rbx
jne 0x1400cbbea
mov r8, r14
mov rdx, rsi
mov rcx, r13
call fcn.140175e40
test eax, eax
jne 0x1400cbce2
xor r15d, r15d
jmp 0x1400cbce2
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov byte [rbx + rsi], 0
mov rcx, rsi
xor edi, edi
call fcn.1401364a0
test rax, rax
je 0x1400cbce2
mov rbx, rax
sub rbx, rsi
je 0x1400cbc1a
cmp byte [rax - 1], 0xa
jne 0x1400cbce2
add rbx, 0x1a
mov qword [rsp + 0x68], rbp
lea rdx, str._n_____END_PUBLIC_KEY_____
lea rcx, [rbx + rsi]
call fcn.1401364a0
mov rbp, rax
test rax, rax
je 0x1400cbcdd
mov rax, qword [fcn.140154a40]
sub rbp, rsi
mov rcx, rbp
sub rcx, rbx
inc rcx
call qword [case.0x1400cc851.0]
mov r15, rax
test rax, rax
je 0x1400cbcd7
cmp rbx, rbp
jae 0x1400cbc81
movzx ecx, byte [rbx + rsi]
cmp cl, 0xa
je 0x1400cbc79
cmp cl, 0xd
je 0x1400cbc79
mov byte [rax + rdi], cl
inc rdi
inc rbx
cmp rbx, rbp
jb 0x1400cbc65
lea r8, [rsp + 0x40]
mov byte [rax + rdi], 0
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.1400f1020
mov ebx, eax
mov rcx, r15
mov rax, qword [fcn.140143670]
call qword [case.0x1400cc851.0]
test ebx, ebx
jne 0x1400cbcd7
cmp r14, qword [rsp + 0x40]
jne 0x1400cbcd7
mov rdx, qword [rsp + 0x38]
mov r8, r14
mov rcx, r13
call fcn.140175e40
test eax, eax
mov r15d, 0x5a
mov eax, 0
cmove r15d, eax
jmp 0x1400cbcdd
mov r15d, 0x5a
mov rbp, qword [rsp + 0x68]
mov rax, qword [fcn.140143670]
mov rcx, rsi
call qword [case.0x1400cc851.0]
mov rcx, qword [rsp + 0x38]
mov rax, qword [fcn.140143670]
call qword [case.0x1400cc851.0]
xor eax, eax
mov rcx, r12
mov qword [rsp + 0x38], rax
call fcn.140154674
mov eax, r15d
mov r13, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x58]
add rsp, 0x78
pop r15
pop r12
pop rdi
pop rsi
ret