Function at 0x3bd3a2b60
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
xor r13d, r13d
mov r14, rcx
mov ecx, 0xfa0
call fcn.3bd3a7c30
mov r12, rax
lea rsi, [rax + 0x10]
lea rbx, [rax + 0x11]
nop dword [rax]
mov r9, r14
mov r8d, 0xfa0
mov edx, 1
mov rcx, rsi
call sub.msvcrt.dll_fread
mov r15, rax
cmp rax, 0xfa0
je 0x3bd3a2d30
mov rcx, r14
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x3bd3a2ef5
mov rdx, r15
mov rcx, r12
call fcn.3bd3a7ca0
mov rbx, rax
test rax, rax
je 0x3bd3a2eb2
mov rdx, qword [rbx]
mov rcx, r13
call fcn.3bd3a7460
mov rcx, qword [rbx]
mov r8, rax
mov rax, qword [rax]
lea r10, [rcx + 1]
lea rdx, [r8 + rax + 0x10]
test r10, r10
jle 0x3bd3a2d12
lea r9, [rbx + 0x11]
mov rax, rdx
sub rax, r9
cmp rax, 0xe
jbe 0x3bd3a2eca
cmp rcx, 6
jbe 0x3bd3a2eca
mov r11, r10
cmp rcx, 0xe
jbe 0x3bd3a2eeb
mov r9, r10
xor eax, eax
and r9, 0xfffffffffffffff0
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbx + rax + 0x10]
movups xmmword [rdx + rax], xmm1
add rax, 0x10
cmp r9, rax
jne 0x3bd3a2c40
mov r9, r10
and r9, 0xfffffffffffffff0
mov rax, r9
cmp r10, r9
je 0x3bd3a2d0c
mov r11, r10
mov r10, rcx
sub r10, r9
sub r11, r9
cmp r10, 6
jbe 0x3bd3a2c90
mov r10, qword [rbx + r9 + 0x10]
mov qword [rdx + r9], r10
mov r9, r11
and r9, 0xfffffffffffffff8
add rax, r9
cmp r11, r9
je 0x3bd3a2d0c
movzx r9d, byte [rbx + rax + 0x10]
mov byte [rdx + rax], r9b
lea r9, [rax + 1]
cmp rcx, rax
jle 0x3bd3a2d0c
movzx r10d, byte [rbx + rax + 0x11]
mov byte [rdx + rax + 1], r10b
lea r10, [rax + 2]
cmp rcx, r9
jle 0x3bd3a2d0c
movzx r9d, byte [rbx + rax + 0x12]
mov byte [rdx + rax + 2], r9b
lea r9, [rax + 3]
cmp rcx, r10
jle 0x3bd3a2d0c
movzx r10d, byte [rbx + rax + 0x13]
mov byte [rdx + rax + 3], r10b
lea r10, [rax + 4]
cmp rcx, r9
jle 0x3bd3a2d0c
movzx r9d, byte [rbx + rax + 0x14]
mov byte [rdx + rax + 4], r9b
lea r9, [rax + 5]
cmp rcx, r10
jle 0x3bd3a2d0c
movzx r10d, byte [rbx + rax + 0x15]
mov byte [rdx + rax + 5], r10b
cmp rcx, r9
jle 0x3bd3a2d0c
movzx ecx, byte [rbx + rax + 0x16]
mov byte [rdx + rax + 6], cl
mov rax, qword [r8]
mov rcx, qword [rbx]
add rax, rcx
mov qword [r8], rax
mov rax, r8
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r12, r12
je 0x3bd3a2e70
mov rdx, qword [r12]
mov rcx, r13
call fcn.3bd3a7460
mov rcx, qword [r12]
mov r13, rax
mov rax, qword [rax]
lea r8, [rcx + 1]
lea rdx, [r13 + rax + 0x10]
test r8, r8
jle 0x3bd3a2e62
mov rax, rdx
sub rax, rbx
cmp rax, 0xe
jbe 0x3bd3a2e88
cmp rcx, 6
jbe 0x3bd3a2e88
cmp rcx, 0xe
jbe 0x3bd3a2ea8
mov r9, r8
xor eax, eax
and r9, 0xfffffffffffffff0
nop
movdqu xmm0, xmmword [r12 + rax + 0x10]
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp r9, rax
jne 0x3bd3a2d90
mov r9, r8
and r9, 0xfffffffffffffff0
mov rax, r9
cmp r8, r9
je 0x3bd3a2e5a
mov r10, rcx
sub r10, r9
lea r8, [r10 + 1]
cmp r10, 6
jbe 0x3bd3a2ddf
mov r10, qword [r12 + r9 + 0x10]
mov qword [rdx + r9], r10
mov r9, r8
and r9, 0xfffffffffffffff8
add rax, r9
cmp r8, r9
je 0x3bd3a2e5a
movzx r8d, byte [rsi + rax]
mov byte [rdx + rax], r8b
lea r8, [rax + 1]
cmp rcx, rax
jle 0x3bd3a2e5a
movzx r9d, byte [rsi + rax + 1]
mov byte [rax + rdx + 1], r9b
lea r9, [rax + 2]
cmp rcx, r8
jle 0x3bd3a2e5a
movzx r8d, byte [rsi + rax + 2]
mov byte [rax + rdx + 2], r8b
lea r8, [rax + 3]
cmp rcx, r9
jle 0x3bd3a2e5a
movzx r9d, byte [rsi + rax + 3]
mov byte [rax + rdx + 3], r9b
lea r9, [rax + 4]
cmp rcx, r8
jle 0x3bd3a2e5a
movzx r8d, byte [rsi + rax + 4]
mov byte [rax + rdx + 4], r8b
lea r8, [rax + 5]
cmp rcx, r9
jle 0x3bd3a2e5a
movzx r9d, byte [rsi + rax + 5]
mov byte [rax + rdx + 5], r9b
cmp rcx, r8
jle 0x3bd3a2e5a
movzx ecx, byte [rsi + rax + 6]
mov byte [rax + rdx + 6], cl
mov rax, qword [r13]
mov rcx, qword [r12]
add rax, rcx
mov qword [r13], rax
jmp 0x3bd3a2b90
mov rcx, r13
xor edx, edx
call fcn.3bd3a7460
mov r13, rax
jmp 0x3bd3a2b90
xor eax, eax
nop word [rax + rax]
movzx r9d, byte [r12 + rax + 0x10]
mov r8, rax
mov byte [rdx + rax], r9b
add rax, 1
cmp rcx, r8
jne 0x3bd3a2e90
jmp 0x3bd3a2e5a
xor r9d, r9d
xor eax, eax
jmp 0x3bd3a2dc7
xor edx, edx
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.3bd3a7460
xor eax, eax
nop dword [rax]
movzx r10d, byte [rbx + rax + 0x10]
mov r9, rax
mov byte [rdx + rax], r10b
add rax, 1
cmp rcx, r9
jne 0x3bd3a2ed0
jmp 0x3bd3a2d0c
xor r9d, r9d
xor eax, eax
jmp 0x3bd3a2c78
mov rcx, r14
call fcn.3bd3a2680
nop
nop