Function at 0x1400bc850
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x250
mov rcx, rsi
call fcn.1401c0040
movsxd rbx, dword [rbx]
lea eax, [rbx + 0x1000]
movsxd rcx, eax
call fcn.1401bee78
mov r12, rax
test rax, rax
jne 0x1400bc8a8
lea eax, [r12 + 1]
jmp 0x1400bcfc4
mov r9, qword [rdi]
mov r8, rbx
mov edx, 1
mov rcx, rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
call fcn.1401c1e14
mov rcx, qword [rdi]
mov r14, rax
call fcn.1401c1a94
test eax, eax
jne 0x1400bcfad
mov rcx, qword [rdi]
call fcn.1401c1abc
test eax, eax
jne 0x1400bcfad
cmp r14d, ebx
jl 0x1400bcfad
movzx eax, word [r12]
mov r15d, 2
lea rdx, [0x14021d710]
mov r8d, r15d
mov rcx, rsi
lea rbx, [r12 + 2]
mov word [rsi], ax
call fcn.1401c25f0
test eax, eax
je 0x1400bc923
lea eax, [r15 + 7]
jmp 0x1400bcfba
movsd xmm0, qword [rbx]
lea rcx, [rsi + 0x11c]
lea rdx, str.999998
movsd qword [rsi + 2], xmm0
movzx eax, word [rbx + 8]
mov r8d, 6
mov word [rsi + 0xa], ax
mov qword [rsp + 0xa8], r13
add rbx, 0x120
movsd xmm0, qword [rbx - 0x116]
movsd qword [rsi + 0xc], xmm0
mov eax, dword [rbx - 0x10e]
mov dword [rsi + 0x14], eax
movzx eax, word [rbx - 0x10a]
mov word [rsi + 0x18], ax
movups xmm0, xmmword [rbx - 0x108]
movups xmmword [rsi + 0x1a], xmm0
movzx eax, byte [rbx - 0xf8]
mov byte [rsi + 0x2a], al
movups xmm0, xmmword [rbx - 0xf7]
movups xmmword [rsi + 0x2b], xmm0
movups xmm1, xmmword [rbx - 0xe7]
movups xmmword [rsi + 0x3b], xmm1
movups xmm0, xmmword [rbx - 0xd7]
movups xmmword [rsi + 0x4b], xmm0
movups xmm1, xmmword [rbx - 0xc7]
movups xmmword [rsi + 0x5b], xmm1
movups xmm0, xmmword [rbx - 0xb7]
movups xmmword [rsi + 0x6b], xmm0
movzx eax, byte [rbx - 0xa7]
mov byte [rsi + 0x7b], al
movups xmm0, xmmword [rbx - 0xa6]
movups xmmword [rsi + 0x7c], xmm0
movups xmm1, xmmword [rbx - 0x96]
movups xmmword [rsi + 0x8c], xmm1
movsd xmm0, qword [rbx - 0x86]
movsd qword [rsi + 0x9c], xmm0
movups xmm0, xmmword [rbx - 0x7e]
movups xmmword [rsi + 0xa4], xmm0
movups xmm1, xmmword [rbx - 0x6e]
movups xmmword [rsi + 0xb4], xmm1
movsd xmm0, qword [rbx - 0x5e]
movsd qword [rsi + 0xc4], xmm0
movups xmm0, xmmword [rbx - 0x56]
movups xmmword [rsi + 0xcc], xmm0
movups xmm1, xmmword [rbx - 0x46]
movups xmmword [rsi + 0xdc], xmm1
movsd xmm0, qword [rbx - 0x36]
movsd qword [rsi + 0xec], xmm0
movups xmm0, xmmword [rbx - 0x2e]
movups xmmword [rsi + 0xf4], xmm0
mov eax, dword [rbx - 0x1e]
mov dword [rsi + 0x104], eax
movups xmm0, xmmword [rbx - 0x1a]
movups xmmword [rsi + 0x108], xmm0
mov eax, dword [rbx - 0xa]
mov dword [rsi + 0x118], eax
mov eax, dword [rbx - 6]
mov dword [rcx], eax
movzx eax, word [rbx - 2]
mov word [rcx + 4], ax
call fcn.1401c25f0
test eax, eax
jne 0x1400bcaa1
movups xmm0, xmmword [rbx]
add rbx, 0x28
movups xmmword [rsi + 0x122], xmm0
movups xmm1, xmmword [rbx - 0x18]
movups xmmword [rsi + 0x132], xmm1
movsd xmm0, qword [rbx - 8]
movsd qword [rsi + 0x142], xmm0
movzx eax, byte [rbx]
lea rcx, [rbp - 0x40]
mov byte [rsi + 0x14a], al
movups xmm0, xmmword [rbx + 1]
movups xmmword [rsi + 0x14b], xmm0
movups xmm1, xmmword [rbx + 0x11]
movups xmmword [rsi + 0x15b], xmm1
movsd xmm0, qword [rbx + 0x21]
movsd qword [rsi + 0x16b], xmm0
movzx eax, word [rbx + 0x29]
mov word [rsi + 0x173], ax
mov rax, qword [rbx + 0x2b]
mov byte [rbp - 0x38], 0
mov qword [rbp - 0x40], rax
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x178], eax
mov rax, qword [rbx + 0x33]
mov byte [rbp - 0x38], 0
mov qword [rbp - 0x40], rax
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x17c], eax
movzx eax, word [rbx + 0x3b]
mov word [rsi + 0x180], ax
movzx eax, byte [rbx + 0x3d]
mov byte [rsi + 0x182], al
mov rax, qword [rbx + 0x3e]
mov qword [rsi + 0x183], rax
mov rax, qword [rbx + 0x46]
mov qword [rsi + 0x18b], rax
movzx eax, word [rbx + 0x4e]
mov byte [rbp - 0x3e], 0
mov word [rbp - 0x40], ax
call fcn.1401bee6c
add rbx, 0x52
mov dword [rsi + 0x194], eax
movzx eax, byte [rbx - 2]
mov byte [rsi + 0x198], al
movzx eax, byte [rbx - 1]
mov byte [rsi + 0x199], al
cmp al, 0x4e
je 0x1400bcbaa
movups xmm0, xmmword [rbx]
add rbx, 0x3c
movups xmmword [rsi + 0x19a], xmm0
movups xmm1, xmmword [rbx - 0x2c]
movups xmmword [rsi + 0x1aa], xmm1
movups xmm0, xmmword [rbx - 0x1c]
movups xmmword [rsi + 0x1ba], xmm0
movsd xmm1, qword [rbx - 0xc]
movsd qword [rsi + 0x1ca], xmm1
mov eax, dword [rbx - 4]
mov dword [rsi + 0x1d2], eax
movzx eax, byte [rbx]
lea rcx, [rbp - 0x40]
inc rbx
mov byte [rbp - 0x40], al
mov byte [rbp - 0x3f], 0
call fcn.1401bee6c
xor r13d, r13d
mov r14d, eax
mov dword [rsi + 0x1d8], eax
test eax, eax
je 0x1400bcc3b
lea ecx, [rax + rax*4]
lea rdi, [rsi + 0x1e0]
shl ecx, 4
movsxd rcx, ecx
call fcn.1401bee78
mov ecx, r13d
mov qword [rdi], rax
test r14d, r14d
jle 0x1400bcc3b
movups xmm0, xmmword [rbx]
inc ecx
add rbx, 0x50
lea rdi, [rdi + 0x280]
movups xmmword [rdi - 0x280], xmm0
movups xmm1, xmmword [rbx - 0x40]
movups xmmword [rdi - 0x270], xmm1
movups xmm0, xmmword [rbx - 0x30]
movups xmmword [rdi - 0x260], xmm0
movups xmm1, xmmword [rbx - 0x20]
movups xmmword [rdi - 0x250], xmm1
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdi - 0x240], xmm0
cmp ecx, dword [rsi + 0x1d8]
jl 0x1400bcbf0
movzx eax, word [rbx]
lea rdx, [0x14021d71c]
lea rcx, [rsi + 0x1e8]
mov r8, r15
add rbx, r15
mov word [rsi + 0x1e8], ax
call fcn.1401c25f0
test eax, eax
je 0x1400bcc88
lea rdx, [0x14021d720]
lea rcx, [rsi + 0x1e8]
mov r8, r15
call fcn.1401c25f0
test eax, eax
je 0x1400bcc88
mov eax, dword [rbx]
add rbx, 4
mov dword [rsi + 0x1ea], eax
movzx eax, byte [rbx]
lea rcx, [rbp - 0x40]
inc rbx
mov byte [rbp - 0x40], al
mov byte [rbp - 0x3f], r13b
call fcn.1401bee6c
movsxd rdi, eax
mov dword [rsi + 0x1f0], edi
test eax, eax
je 0x1400bcdb0
mov rcx, rdi
shl rcx, 5
call fcn.1401bee78
mov r15d, r13d
mov qword [rsi + 0x1f8], rax
test edi, edi
jle 0x1400bcdb0
mov r14, r13
movzx eax, word [rbx]
mov rcx, qword [rsi + 0x1f8]
add rbx, 0xd
mov word [r14 + rcx], ax
mov eax, dword [rbx - 0xb]
mov rcx, qword [rsi + 0x1f8]
mov dword [rcx + r14 + 2], eax
movzx eax, word [rbx - 7]
mov word [rcx + r14 + 6], ax
movzx eax, byte [rbx - 5]
mov rcx, qword [rsi + 0x1f8]
mov byte [r14 + rcx + 8], al
movzx eax, word [rbx - 4]
mov rcx, qword [rsi + 0x1f8]
mov word [rcx + r14 + 9], ax
movzx eax, byte [rbx - 2]
mov byte [rcx + r14 + 0xb], al
movzx eax, byte [rbx - 1]
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x40], al
mov byte [rbp - 0x3f], r13b
call fcn.1401bee6c
mov rcx, qword [rsi + 0x1f8]
mov dword [r14 + rcx + 0xc], eax
mov rax, qword [rsi + 0x1f8]
cmp dword [r14 + rax + 0xc], r13d
je 0x1400bcd9c
mov eax, dword [rbx]
lea rcx, [rbp - 0x40]
add rbx, 5
mov dword [rbp - 0x40], eax
movzx eax, byte [rbx - 1]
mov byte [rbp - 0x3b], r13b
mov byte [rbp - 0x3c], al
call fcn.1401bee6c
mov rcx, qword [rsi + 0x1f8]
mov dword [r14 + rcx + 0x10], eax
mov rdi, qword [rsi + 0x1f8]
mov eax, dword [rdi + r14 + 0x10]
imul eax, dword [rdi + r14 + 0xc]
movsxd rcx, eax
call fcn.1401bee78
mov qword [rdi + r14 + 0x18], rax
inc r15d
add r14, 0x20
cmp r15d, dword [rsi + 0x1f0]
jl 0x1400bccd0
movzx eax, byte [rbx]
lea rcx, [rbp - 0x40]
mov byte [rbp - 0x3f], r13b
mov byte [rbp - 0x40], al
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x200], eax
movzx eax, byte [rbx + 1]
mov byte [rsi + 0x204], al
mov eax, dword [rbx + 2]
mov byte [rbp - 0x3c], r13b
mov dword [rbp - 0x40], eax
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x208], eax
mov eax, dword [rbx + 6]
mov byte [rbp - 0x3c], r13b
mov dword [rbp - 0x40], eax
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x20c], eax
mov eax, dword [rbx + 0xa]
mov byte [rbp - 0x3c], r13b
mov dword [rbp - 0x40], eax
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x210], eax
mov eax, dword [rbx + 0xe]
mov byte [rbp - 0x3c], r13b
mov dword [rbp - 0x40], eax
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x214], eax
movzx eax, word [rbx + 0x12]
mov byte [rbp - 0x3e], r13b
mov word [rbp - 0x40], ax
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x218], eax
movzx eax, word [rbx + 0x14]
mov word [rbp - 0x40], ax
movzx eax, byte [rbx + 0x16]
mov byte [rbp - 0x3d], r13b
mov byte [rbp - 0x3e], al
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x21c], eax
movzx eax, word [rbx + 0x17]
mov word [rbp - 0x40], ax
movzx eax, byte [rbx + 0x19]
mov byte [rbp - 0x3d], r13b
mov byte [rbp - 0x3e], al
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x220], eax
mov eax, dword [rbx + 0x1a]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbx + 0x1e]
mov byte [rbp - 0x3b], r13b
mov byte [rbp - 0x3c], al
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x224], eax
mov eax, dword [rbx + 0x1f]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbx + 0x23]
mov byte [rbp - 0x3b], r13b
mov byte [rbp - 0x3c], al
call fcn.1401bee6c
lea rcx, [rbp - 0x40]
mov dword [rsi + 0x228], eax
mov eax, dword [rbx + 0x24]
add rbx, 0x2d
mov dword [rsi + 0x22c], eax
mov eax, dword [rbx - 5]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbx - 1]
mov byte [rbp - 0x3b], r13b
mov byte [rbp - 0x3c], al
call fcn.1401bee6c
mov dword [rsi + 0x230], eax
test eax, eax
je 0x1400bcf3f
movzx eax, word [rbx]
lea rcx, [rbp - 0x40]
add rbx, 3
mov word [rbp - 0x40], ax
movzx eax, byte [rbx - 1]
mov byte [rbp - 0x3d], r13b
mov byte [rbp - 0x3e], al
call fcn.1401bee6c
movsxd rcx, dword [rsi + 0x230]
mov dword [rsi + 0x234], eax
call fcn.1401bee78
mov qword [rsi + 0x238], rax
mov eax, dword [rbx]
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbx + 4]
mov byte [rbp - 0x3b], r13b
mov byte [rbp - 0x3c], al
call fcn.1401bee6c
mov dword [rsi + 0x240], eax
test eax, eax
je 0x1400bcf97
movzx eax, word [rbx + 5]
lea rcx, [rbp - 0x40]
mov word [rbp - 0x40], ax
movzx eax, byte [rbx + 7]
mov byte [rbp - 0x3d], r13b
mov byte [rbp - 0x3e], al
call fcn.1401bee6c
movsxd rcx, dword [rsi + 0x240]
mov dword [rsi + 0x244], eax
call fcn.1401bee78
mov qword [rsi + 0x248], rax
mov rcx, r12
call fcn.1401be23c
movzx eax, r13w
mov r13, qword [rsp + 0xa8]
jmp 0x1400bcfba
mov rcx, r12
call fcn.1401be23c
mov eax, 2
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret