Function at 0x14002aeb0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a8]
sub rsp, 0x4a8
mov rax, qword [0x14019d3c0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r14, r9
mov r13, r8
mov rsi, rdx
mov r15, rcx
mov ebx, 0x5a
test rdx, rdx
jne 0x14002aef7
xor eax, eax
jmp 0x14002b2c7
mov qword [rsp + 0x4a0], rdi
mov qword [rsp + 0x498], r12
test r13, r13
je 0x14002b2b5
test r14, r14
je 0x14002b2b5
mov r8d, 8
lea rdx, str.sha256__
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
xor r12d, r12d
mov qword [rsp + 0x28], r12
test eax, eax
jne 0x14002b093
mov rax, qword [0x1401990a8]
mov qword [rsp + 0x20], r12
cmp qword [rax + 0xb0], r12
je 0x14002b2b5
mov ecx, 0x20
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14002afe6
mov r8, rax
mov r9d, 0x20
mov rax, qword [0x1401990a8]
mov rdx, r14
mov rcx, r13
call qword [rax + 0xb0]
mov ebx, eax
test eax, eax
jne 0x14002afa5
lea r9, [rsp + 0x28]
mov edx, 0x20
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1400567c0
mov ebx, eax
mov rcx, rdi
call qword [fcn.140158666]
test ebx, ebx
jne 0x14002b2b5
mov r8, qword [rsp + 0x20]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call fcn.140032fe0
mov rcx, rsi
call qword [case.0x14002d53c.1]
mov rsi, rax
test rax, rax
jne 0x14002aff0
mov rcx, qword [rsp + 0x20]
call qword [fcn.140158666]
mov eax, 0x1b
jmp 0x14002b2b7
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
lea rdx, str._sha256__
mov rcx, rdi
call sub.VCRUNTIME140.dll_strstr
mov rbx, rax
test rax, rax
je 0x14002b01a
mov byte [rax], r12b
lea rdx, [rdi + 8]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r12b
jne 0x14002b025
mov r8, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
cmp r8, rax
jne 0x14002b049
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002b08e
test rbx, rbx
je 0x14002b06d
lea rdx, str.sha256__
mov byte [rbx], 0x3b
mov rcx, rbx
call sub.VCRUNTIME140.dll_strstr
mov rdi, rax
test rax, rax
jne 0x14002b000
mov rdi, qword [rsp + 0x20]
mov ebx, 0x5a
mov rcx, rdi
call qword [fcn.140158666]
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [fcn.140158666]
jmp 0x14002b2b5
mov ebx, r12d
jmp 0x14002b072
lea rdx, [0x14015c3a8]
mov rcx, rsi
call fcn.14004d8c0
mov r15, rax
test rax, rax
je 0x14002b2b5
mov edx, 0x100000
lea rcx, [rsp + 0x38]
call fcn.140023b30
xor edx, edx
mov r8d, 2
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x14002b293
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
xor r8d, r8d
movsxd rbx, eax
xor edx, edx
mov rcx, r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x14002b28e
cmp ebx, 0x100000
ja 0x14002b28e
mov rcx, rbx
call fcn.1400371e0
mov rsi, rax
cmp r14, rax
ja 0x14002b28e
mov rdi, rax
mov eax, 0x400
nop dword [rax]
cmp rdi, rax
lea rcx, [rbp - 0x80]
mov rbx, rdi
mov r9, r15
cmova rbx, rax
mov edx, 1
mov r8, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rbx, rax
jne 0x14002b28e
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140023af0
test eax, eax
jne 0x14002b28e
mov eax, 0x400
sub rdi, rbx
jne 0x14002b120
lea rcx, [rsp + 0x38]
call fcn.1400216c0
cmp r14, rsi
jne 0x14002b197
mov rdx, rax
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002b28e
mov ebx, r12d
jmp 0x14002b293
mov rsi, rax
test rax, rax
je 0x14002b28e
mov edx, 0x100000
lea rcx, [rsp + 0x58]
call fcn.140023b30
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rsi
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x14002b28e
mov rbx, rax
sub rbx, rsi
je 0x14002b1dc
cmp byte [rax - 1], 0xa
jne 0x14002b28e
add rbx, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
lea rcx, [rbx + rsi]
call sub.VCRUNTIME140.dll_strstr
mov rdi, rax
test rax, rax
je 0x14002b28e
sub rdi, rsi
cmp rbx, rdi
jae 0x14002b23e
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx + rsi]
lea rdx, [rbx + rsi]
cmp cl, 0xa
je 0x14002b236
cmp cl, 0xd
je 0x14002b236
mov r8d, 1
lea rcx, [rsp + 0x58]
call fcn.140023af0
test eax, eax
jne 0x14002b28e
inc rbx
cmp rbx, rdi
jb 0x14002b210
lea rcx, [rsp + 0x58]
call fcn.1400216c0
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call fcn.140056530
lea rcx, [rsp + 0x58]
mov ebx, eax
call fcn.140023b00
test ebx, ebx
jne 0x14002b28e
cmp r14, qword [rsp + 0x30]
jne 0x14002b28e
mov rdx, qword [rsp + 0x28]
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ebx, 0x5a
cmove ebx, r12d
jmp 0x14002b293
mov ebx, 0x5a
lea rcx, [rsp + 0x38]
call fcn.140023b00
mov rcx, qword [rsp + 0x28]
call qword [fcn.140158666]
mov rcx, r15
mov qword [rsp + 0x28], r12
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov eax, ebx
mov rdi, qword [rsp + 0x4a0]
mov r12, qword [rsp + 0x498]
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140157800
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret