Function at 0x14014c050
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
test rdx, rdx
je 0x14014c13e
mov rbx, r9
mov r14, r8
mov r15, rcx
test r8, r8
sete al
test r9, r9
sete cl
mov esi, 0x5a
or cl, al
jne 0x14014c140
mov rdi, rdx
lea rdx, str.sha256__
mov r8d, 8
mov rcx, rdi
call fcn.14029c190
test eax, eax
je 0x14014c171
lea rdx, [0x1403dbf71]
mov rcx, rdi
call fcn.1402960cc
test rax, rax
je 0x14014c140
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov rcx, rdi
xor edx, edx
mov r8d, 2
call fcn.140298f70
mov esi, 0x5a
test eax, eax
je 0x14014c1e3
mov rax, qword [fcn.140119970]
mov rcx, r15
call qword [str._a_]
mov rax, qword [fcn.140119970]
mov rcx, qword [rsp + 0x48]
call qword [str._a_]
mov qword [rsp + 0x48], 0
mov rcx, rdi
call fcn.140297f14
jmp 0x14014c140
xor esi, esi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14014c157
call fcn.140278ca0
int3
mov eax, esi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 0x5a
jmp 0x14014c140
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov rax, qword [0x14043f260]
cmp qword [rax + 0xb8], 0
je 0x14014c16a
mov rax, qword [fcn.140119a10]
mov ecx, 0x20
call qword [str._a_]
mov esi, reloc.WLDAP32.dll_Ordinal_27
test rax, rax
je 0x14014c140
mov r12, rax
mov rax, qword [0x14043f260]
mov rax, qword [rax + 0xb8]
mov r9d, 0x20
mov rcx, r14
mov rdx, rbx
mov r8, r12
call qword [str._a_]
test eax, eax
je 0x14014c225
mov esi, eax
jmp 0x14014c140
mov rcx, rdi
call fcn.14029927c
mov ebp, eax
xor r15d, r15d
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call fcn.140298f70
cmp ebp, 0x100000
ja 0x14014c109
test eax, eax
jne 0x14014c109
mov ecx, ebp
call fcn.140109920
cmp rbx, rax
jbe 0x14014c266
xor r15d, r15d
jmp 0x14014c109
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov r8d, 0x20
mov rcx, r15
mov rdx, r12
call fcn.1401726e0
mov ebx, eax
mov rax, qword [fcn.140119970]
mov rcx, r12
call qword [str._a_]
test ebx, ebx
je 0x14014c30c
mov esi, ebx
jmp 0x14014c140
mov r12, rax
mov rax, qword [fcn.140119a10]
lea rcx, [r12 + 1]
call qword [str._a_]
test rax, rax
je 0x14014c21d
mov r15, rax
mov r8d, 1
mov rcx, rax
mov rdx, r12
mov r9, rdi
call fcn.140298bf0
cmp eax, 1
jne 0x14014c109
cmp rbx, r12
jne 0x14014c3f6
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.1402b6270
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x14014c109
mov esi, 0x5a
mov r13, qword [rsp + 0x38]
mov rax, qword [fcn.140119970]
mov rcx, r13
call qword [str._a_]
mov qword [rsp + 0x38], 0
mov rax, qword [fcn.140119970]
mov rcx, rbx
call qword [str._a_]
jmp 0x14014c140
mov rax, qword [fcn.140119970]
mov rcx, qword [rsp + 0x38]
jmp 0x14014c2f3
mov r8, qword [rsp + 0x38]
lea rdx, str._t_public_key_hash:_sha256___s_n
mov rcx, r15
call fcn.1401581f0
mov rcx, rdi
call fcn.14029c0d0
mov r14, rax
inc r14
mov rax, qword [fcn.140119a10]
mov rcx, r14
call qword [str._a_]
test rax, rax
je 0x14014c2fe
mov rbx, rax
mov rcx, rax
mov rdx, rdi
mov r8, r14
call fcn.1402b6370
lea rsi, str._sha256__
lea rdi, str.sha256__
mov r15, rbx
jmp 0x14014c3c7
test eax, eax
mov esi, 0x5a
cmove esi, eax
jmp 0x14014c2d0
mov r12, qword [rsp + 0x40]
add r15, 8
mov rcx, r15
call fcn.14029c0d0
cmp r12, rax
jne 0x14014c2c6
mov r13, qword [rsp + 0x38]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.1402b6270
test r14, r14
je 0x14014c367
test eax, eax
je 0x14014c367
mov byte [r14], 0x3b
mov rcx, r14
mov rdx, rdi
call fcn.14027a8f8
mov r15, rax
test rax, rax
je 0x14014c2c6
mov rcx, r15
mov rdx, rsi
call fcn.14027a8f8
mov r14, rax
test rax, rax
je 0x14014c376
mov byte [r14], 0
mov r12, qword [rsp + 0x40]
add r15, 8
mov rcx, r15
call fcn.14029c0d0
cmp r12, rax
je 0x14014c390
jmp 0x14014c3ac
mov byte [r15 + r12], 0
lea rdx, str._____BEGIN_PUBLIC_KEY_____
mov rcx, r15
call fcn.14027a8f8
test rax, rax
je 0x14014c109
mov r12, rax
mov r13, rax
sub r13, r15
je 0x14014c42a
cmp byte [r15 + r13 - 1], 0xa
jne 0x14014c109
lea rcx, [r15 + r13]
add rcx, 0x1a
lea rdx, str._n_____END_PUBLIC_KEY_____
call fcn.14027a8f8
test rax, rax
je 0x14014c109
mov rbp, rax
mov rcx, rax
sub rcx, r15
mov rax, qword [fcn.140119a10]
mov qword [rsp + 0x30], rcx
sub rcx, r13
add rcx, 0xffffffffffffffe7
call qword [str._a_]
test rax, rax
je 0x14014c109
add r13, 0x1a
cmp r13, qword [rsp + 0x30]
jae 0x14014c4a4
add r12, 0x1a
xor edx, edx
jmp 0x14014c493
mov byte [rax + rdx], cl
inc rdx
inc r12
cmp rbp, r12
je 0x14014c4a6
movzx ecx, byte [r12]
cmp ecx, 0xa
je 0x14014c48b
cmp ecx, 0xd
je 0x14014c48b
jmp 0x14014c485
xor edx, edx
mov byte [rax + rdx], 0
mov r12, rax
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rcx, rax
call fcn.140172470
mov ebp, eax
mov rax, qword [fcn.140119970]
mov rcx, r12
call qword [str._a_]
test ebp, ebp
jne 0x14014c109
cmp rbx, qword [rsp + 0x40]
jne 0x14014c109
mov rdx, qword [rsp + 0x48]
mov rcx, r14
jmp 0x14014c2af