Function at 0x140028ac0
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 [0x1400a4900]
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 0x140028b07
xor eax, eax
jmp 0x140028ed7
mov qword [rsp + 0x4a0], rdi
mov qword [rsp + 0x498], r12
test r13, r13
je 0x140028ec5
test r14, r14
je 0x140028ec5
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 0x140028ca3
mov rax, qword [0x1400a40a8]
mov qword [rsp + 0x20], r12
cmp qword [rax + 0xb0], r12
je 0x140028ec5
mov ecx, 0x20
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x140028bf6
mov r8, rax
mov r9d, 0x20
mov rax, qword [0x1400a40a8]
mov rdx, r14
mov rcx, r13
call qword [rax + 0xb0]
mov ebx, eax
test eax, eax
jne 0x140028bb5
lea r9, [rsp + 0x28]
mov edx, 0x20
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1400543d0
mov ebx, eax
mov rcx, rdi
call qword [fcn.14007ecd6]
test ebx, ebx
jne 0x140028ec5
mov r8, qword [rsp + 0x20]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call fcn.140030bf0
mov rcx, rsi
call qword [case.0x14002b14c.1]
mov rsi, rax
test rax, rax
jne 0x140028c00
mov rcx, qword [rsp + 0x20]
call qword [fcn.14007ecd6]
mov eax, 0x1b
jmp 0x140028ec7
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 0x140028c2a
mov byte [rax], r12b
lea rdx, [rdi + 8]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r12b
jne 0x140028c35
mov r8, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
cmp r8, rax
jne 0x140028c59
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140028c9e
test rbx, rbx
je 0x140028c7d
lea rdx, str.sha256__
mov byte [rbx], 0x3b
mov rcx, rbx
call sub.VCRUNTIME140.dll_strstr
mov rdi, rax
test rax, rax
jne 0x140028c10
mov rdi, qword [rsp + 0x20]
mov ebx, 0x5a
mov rcx, rdi
call qword [fcn.14007ecd6]
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [fcn.14007ecd6]
jmp 0x140028ec5
mov ebx, r12d
jmp 0x140028c82
lea rdx, [0x140082208]
mov rcx, rsi
call fcn.14004b4d0
mov r15, rax
test rax, rax
je 0x140028ec5
mov edx, 0x100000
lea rcx, [rsp + 0x38]
call fcn.140021740
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 0x140028ea3
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 0x140028e9e
cmp ebx, 0x100000
ja 0x140028e9e
mov rcx, rbx
call fcn.140034df0
mov rsi, rax
cmp r14, rax
ja 0x140028e9e
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 0x140028e9e
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.140021700
test eax, eax
jne 0x140028e9e
mov eax, 0x400
sub rdi, rbx
jne 0x140028d30
lea rcx, [rsp + 0x38]
call fcn.14001f2d0
cmp r14, rsi
jne 0x140028da7
mov rdx, rax
mov r8, r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140028e9e
mov ebx, r12d
jmp 0x140028ea3
mov rsi, rax
test rax, rax
je 0x140028e9e
mov edx, 0x100000
lea rcx, [rsp + 0x58]
call fcn.140021740
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, rsi
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x140028e9e
mov rbx, rax
sub rbx, rsi
je 0x140028dec
cmp byte [rax - 1], 0xa
jne 0x140028e9e
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 0x140028e9e
sub rdi, rsi
cmp rbx, rdi
jae 0x140028e4e
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx + rsi]
lea rdx, [rbx + rsi]
cmp cl, 0xa
je 0x140028e46
cmp cl, 0xd
je 0x140028e46
mov r8d, 1
lea rcx, [rsp + 0x58]
call fcn.140021700
test eax, eax
jne 0x140028e9e
inc rbx
cmp rbx, rdi
jb 0x140028e20
lea rcx, [rsp + 0x58]
call fcn.14001f2d0
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call fcn.140054140
lea rcx, [rsp + 0x58]
mov ebx, eax
call fcn.140021710
test ebx, ebx
jne 0x140028e9e
cmp r14, qword [rsp + 0x30]
jne 0x140028e9e
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 0x140028ea3
mov ebx, 0x5a
lea rcx, [rsp + 0x38]
call fcn.140021710
mov rcx, qword [rsp + 0x28]
call qword [fcn.14007ecd6]
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.14007df30
add rsp, 0x4a8
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret