Function at 0x14007a3d0
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 [0x14013aa80]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
test rdx, rdx
je 0x14007a4a2
mov r14, r8
mov esi, 0x5a
test r8, r8
je 0x14007a4a4
mov rbx, r9
test r9, r9
je 0x14007a4a4
mov rdi, rdx
mov r15, rcx
lea rdx, [0x140120a69]
mov r8d, 8
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14007a4c4
lea rdx, [0x14011eab8]
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
test rax, rax
je 0x14007a4a4
mov rdi, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8d, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov esi, 0x5a
test eax, eax
je 0x14007a537
mov rcx, r15
call qword [0x140136438]
mov rcx, qword [rsp + 0x38]
call qword [0x140136438]
mov qword [rsp + 0x38], 0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14007a4a4
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d2000
mov eax, esi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [0x14013aad0]
cmp qword [rax + 0xb8], 0
je 0x14007a5c2
mov ecx, 0x20
call qword [str.0__r_]
mov esi, 0x1b
test rax, rax
je 0x14007a4a4
mov r12, rax
mov rax, qword [0x14013aad0]
mov r9d, 0x20
mov rcx, r14
mov rdx, rbx
mov r8, r12
call qword [rax + 0xb8]
test eax, eax
je 0x14007a5cc
mov esi, eax
mov rcx, r12
call qword [0x140136438]
jmp 0x14007a4a4
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
xor r15d, r15d
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
cmp ebp, 0x100000
ja 0x14007a47a
test eax, eax
jne 0x14007a47a
mov ecx, ebp
call fcn.140088550
cmp rax, rbx
jb 0x14007a6d2
mov r12, rax
lea rcx, [rax + 1]
call qword [str.0__r_]
test rax, rax
je 0x14007a6d2
mov r15, rax
mov r8d, 1
mov rcx, rax
mov rdx, r12
mov r9, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 1
jne 0x14007a47a
cmp r12, rbx
jne 0x14007a719
mov rcx, r14
mov rdx, r15
jmp 0x14007a74b
mov esi, 0x5a
jmp 0x14007a4a4
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov edx, 0x20
mov rcx, r12
call fcn.140091e10
mov esi, eax
mov rcx, r12
call qword [0x140136438]
test esi, esi
jne 0x14007a4a4
mov r8, qword [rsp + 0x28]
lea rdx, str._public_key_hash:_sha256___s
mov rcx, r15
call fcn.1400791f0
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rsi, rax
inc rsi
mov rcx, rsi
call qword [str.0__r_]
test rax, rax
je 0x14007a704
mov rbx, rax
mov rcx, rax
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rsi, str._sha256__
lea rdi, [0x140120a69]
mov r15, rbx
jmp 0x14007a665
mov byte [r14], 0x3b
mov rcx, r14
mov rdx, rdi
call sub.VCRUNTIME140.dll_strstr
mov r15, rax
test rax, rax
je 0x14007a6da
mov rcx, r15
mov rdx, rsi
call sub.VCRUNTIME140.dll_strstr
mov r14, rax
test rax, rax
je 0x14007a694
mov byte [r14], 0
mov r12, qword [rsp + 0x30]
add r15, 8
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp r12, rax
jne 0x14007a64e
jmp 0x14007a6aa
mov r12, qword [rsp + 0x30]
add r15, 8
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp r12, rax
jne 0x14007a6da
mov r13, qword [rsp + 0x28]
mov rcx, r13
mov rdx, r15
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test r14, r14
je 0x14007a6c6
test eax, eax
jne 0x14007a64e
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x14007a6e4
xor r15d, r15d
jmp 0x14007a47a
mov esi, 0x5a
mov r13, qword [rsp + 0x28]
mov rcx, r13
call qword [0x140136438]
mov qword [rsp + 0x28], 0
mov rcx, rbx
call qword [0x140136438]
jmp 0x14007a4a4
mov rcx, qword [rsp + 0x28]
call qword [0x140136438]
mov esi, 0x1b
jmp 0x14007a4a4
mov byte [r15 + r12], 0
lea rdx, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.14007a770
test eax, eax
jne 0x14007a47a
cmp qword [rsp + 0x30], rbx
jne 0x14007a47a
mov rdx, qword [rsp + 0x38]
mov rcx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x14007a47a