Function at 0x14001bcf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140389910]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov r14, rdx
mov r15, rcx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
xor r12d, r12d
mov qword [rbp + 0x20], r12
lea ecx, [r12 + 0x24]
call fcn.14001f68c
mov qword [rbp + 0x10], rax
lea rcx, [rax + 0x24]
mov qword [rbp + 0x20], rcx
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x20], edx
mov qword [rbp + 0x18], rcx
mov rbx, qword [rbp + 0x10]
sub rbx, rcx
lea r9d, [r12 + 2]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001bfc0
mov rdi, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
sub rdi, rdx
mov qword [rsp + 0x20], r12
lea r9, [r15 + 0x38]
mov r8d, edi
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001bfc0
cmp dword [r15 + 0x38], edi
jne 0x14001bfc0
xor edx, edx
mov r8d, 0xd8
lea rcx, [rsp + 0x38]
call fcn.1401aed10
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140215120
mov qword [rsp + 0x40], r12
movdqa xmm0, xmmword [0x14033cd60]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x77], 1
lea rax, [rsp + 0x48]
mov qword [rbp - 0x60], rax
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0xf], 1
lea rax, [rbp - 0x58]
and eax, 0xf
lea rsi, [rbp - 0x58]
add rsi, rax
mov qword [rbp + 8], rsi
mov rcx, rsi
call fcn.140219660
nop
lea rax, vtable.CryptoPP::SHA256.0
mov qword [rsp + 0x38], rax
mov rax, qword [0x14032f260]
lea r9d, [r12 + 4]
mov r8, qword [rbp + 0x10]
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x38]
call rax
nop
mov rcx, qword [rbp]
cmp qword [rbp - 8], rcx
cmovb rcx, qword [rbp - 8]
mov rdi, qword [rbp + 8]
cmp rdi, rsi
jne 0x14001be50
xor eax, eax
rep stosd dword [rdi], eax
mov rcx, qword [rbp - 0x68]
cmp qword [rbp - 0x70], rcx
cmovb rcx, qword [rbp - 0x70]
lea rax, [rsp + 0x48]
mov rdi, qword [rbp - 0x60]
cmp rdi, rax
jne 0x14001be6f
xor eax, eax
rep stosd dword [rdi], eax
mov rdi, qword [rbp + 0x10]
lea rdx, [rdi + 4]
mov r8d, 0x20
lea rcx, [rbp + 0x58]
call fcn.1401af2e0
test eax, eax
jne 0x14001bfc4
mov esi, dword [rdi]
mov r9, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, r9
sub rcx, rdx
cmp rsi, rcx
jae 0x14001beac
lea rax, [rsi + rdx]
mov qword [r14 + 8], rax
jmp 0x14001bedf
jbe 0x14001bedf
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp rsi, rax
jbe 0x14001bec7
mov rdx, rsi
mov rcx, r14
call fcn.14001ca90
jmp 0x14001bedf
mov r8, rsi
sub r8, rcx
lea rdi, [r8 + r9]
xor edx, edx
mov rcx, r9
call fcn.1401aed10
mov qword [r14 + 8], rdi
sub rbx, rsi
mov r9d, 2
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001bfc0
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
mov rdi, qword [r14]
mov rbx, qword [r14 + 8]
sub rbx, rdi
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140215120
lea r12, vtable.CryptoPP::ArraySink.0
mov qword [rbp + 0x28], r12
lea r13, vtable.CryptoPP::ArraySink.1.0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], 0
mov ecx, 0x28
call fcn.14001f68c
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001bfa0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi + 0x20], rax
xor edx, edx
mov rcx, rdi
call fcn.140215120
lea rax, vtable.CryptoPP::Redirector.0
mov qword [rdi], rax
lea rax, vtable.CryptoPP::Redirector.1.0
mov qword [rdi + 8], rax
lea rax, [rbp + 0x28]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x20], 3
jmp 0x14001bfa2
xor edi, edi
lea r9, [r15 + 8]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [r15]
call fcn.14001d310
test eax, eax
jne 0x14001c026
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r13
mov rdi, qword [rbp + 0x10]
test rdi, rdi
je 0x14001bffd
mov rdx, qword [rbp + 0x20]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001bff5
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c0bd
mov rcx, rdi
call fcn.140003b50
xor eax, eax
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1401ac180
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, dword [rbp + 0x50]
mov r9, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, r9
sub rcx, rdx
cmp r8, rcx
jae 0x14001c046
lea rax, [r8 + rdx]
mov qword [r14 + 8], rax
jmp 0x14001c076
jbe 0x14001c076
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp r8, rax
jbe 0x14001c061
mov rdx, r8
mov rcx, r14
call fcn.14001ca90
jmp 0x14001c076
sub r8, rcx
lea rdi, [r8 + r9]
xor edx, edx
mov rcx, r9
call fcn.1401aed10
mov qword [r14 + 8], rdi
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r13
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14001bfff
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c0b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c0bd
call fcn.140003b50
jmp 0x14001bfff
call fcn.1401bad9c
int3