Function at 0x140109d00
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0xa0
lea r13, [rcx + 0x49884]
mov qword [rax - 0x30], rsi
mov qword [rax - 0x38], r12
mov rdi, rcx
mov rcx, qword [rcx + 0x49868]
or rbp, 0xffffffffffffffff
mov byte [r13], 0
test dword [rcx + 0xc0], 0x40000
mov qword [rax - 0x40], r14
mov r12d, 0x8827
mov r15d, 2
je 0x140109f30
xor edx, edx
mov eax, 0x4949
cmp word [rdi], ax
setne dl
call fcn.14005aac0
mov rcx, qword [rdi + 0x49868]
call fcn.14005ab00
mov rsi, rax
test rax, rax
je 0x140109dd2
mov dword [rax], 0x2010f
mov dword [rax + 4], 1
lea rbx, [rdi + 0x21d]
mov rax, rbp
inc rax
cmp byte [rbx + rax], 0
jne 0x140109d93
inc rax
movsxd rcx, eax
mov dword [rsi + 0x10], eax
mov dword [rsi + 8], eax
call fcn.1401bee78
mov qword [rsi + 0x18], rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbx]
lea rax, [rax + 1]
lea rbx, [rbx + 1]
mov byte [rax - 1], cl
test cl, cl
jne 0x140109dc0
mov rcx, qword [rdi + 0x49868]
call fcn.14005ab00
mov rsi, rax
test rax, rax
je 0x140109e32
mov dword [rax], 0x20110
mov dword [rax + 4], 1
lea rbx, [rdi + 0x25d]
mov rax, rbp
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140109e00
inc rax
movsxd rcx, eax
mov dword [rsi + 0x10], eax
mov dword [rsi + 8], eax
call fcn.1401bee78
mov qword [rsi + 0x18], rax
nop
movzx ecx, byte [rbx]
lea rax, [rax + 1]
lea rbx, [rbx + 1]
mov byte [rax - 1], cl
test cl, cl
jne 0x140109e20
mov rcx, qword [rdi + 0x49868]
call fcn.14005ab00
mov rsi, rax
test rax, rax
je 0x140109e92
mov dword [rax], 0x20132
mov dword [rax + 4], 1
lea rbx, [rdi + 0x49870]
mov rax, rbp
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140109e60
inc rax
movsxd rcx, eax
mov dword [rsi + 0x10], eax
mov dword [rsi + 8], eax
call fcn.1401bee78
mov qword [rsi + 0x18], rax
nop
movzx ecx, byte [rbx]
lea rax, [rax + 1]
lea rbx, [rbx + 1]
mov byte [rax - 1], cl
test cl, cl
jne 0x140109e80
lea rbx, [rdi + 0x2dd]
cmp byte [rbx], 0
je 0x140109ef2
mov rcx, qword [rdi + 0x49868]
call fcn.14005ab00
mov rsi, rax
test rax, rax
je 0x140109ef2
mov dword [rax], 0x2013b
mov dword [rax + 4], 1
mov rax, rbp
inc rax
cmp byte [rbx + rax], 0
jne 0x140109ec2
inc rax
movsxd rcx, eax
mov dword [rsi + 0x10], eax
mov dword [rsi + 8], eax
call fcn.1401bee78
mov qword [rsi + 0x18], rax
movzx ecx, byte [rbx]
lea rax, [rax + 1]
lea rbx, [rbx + 1]
mov byte [rax - 1], cl
test cl, cl
jne 0x140109ee0
movss xmm1, dword [rdi + 0x3b0]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x140109f30
mov rcx, qword [rdi + 0x49868]
call fcn.14005ab00
test rax, rax
je 0x140109f30
mov dword [rax], 0x38827
mov dword [rax + 4], r15d
mov dword [rax + 8], 1
cvttss2si rcx, dword [rdi + 0x3b0]
mov dword [rax + 0xc], ecx
lea rcx, [rdi + 0x21d]
lea rdx, str.EASTMAN
mov r8d, 7
call fcn.1401c25f0
test eax, eax
jne 0x140109f63
cmp dword [rdi + 0x414], 3
jae 0x140109f63
mov dword [rsp + 0xd0], 1
jmp 0x140109f6c
xor eax, eax
mov dword [rsp + 0xd0], eax
mov rcx, rdi
call fcn.1400fbbe0
movzx r14d, ax
test r14d, r14d
je 0x14010a336
mov r13d, dword [rsp + 0xd8]
movaps xmmword [rsp + 0x70], xmm6
movsd xmm6, qword [0x1401f6ca8]
movaps xmmword [rsp + 0x60], xmm7
movsd xmm7, qword [0x1401f6d50]
movaps xmmword [rsp + 0x50], xmm8
lea rbp, [0x140221060]
movsd xmm8, qword [0x14020eb68]
movaps xmmword [rsp + 0x40], xmm9
movsd xmm9, qword [0x1401f6ca0]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0xe8]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
dec r14d
mov edx, r13d
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0xe0], r14d
call fcn.1401187c0
mov esi, dword [rsp + 0x30]
mov r15d, dword [rsp + 0xe8]
cmp esi, 0x927c
je 0x14010a101
mov rcx, qword [rdi + 0x49868]
test dword [rcx + 0xc0], 0x40000
je 0x14010a101
cmp r15d, 0xc
ja 0x14010a101
mov ebx, dword [rsp + 0x34]
cmp ebx, 0x7d00
jae 0x14010a101
call fcn.14005ab00
mov r14, rax
test rax, rax
je 0x14010a0f9
mov rcx, qword [rdi + 0x55ba0]
call fcn.1401c2310
mov ebp, dword [rbp + r15*4]
mov word [r14], si
imul ebp, ebx
mov r12d, eax
mov dword [r14 + 4], 2
mov word [r14 + 2], r15w
mov dword [r14 + 8], ebx
cmp ebp, 4
jle 0x14010a0bf
movsxd rbx, ebp
mov rcx, rbx
call fcn.1401bee78
mov dword [r14 + 0x10], ebp
mov r8d, 1
mov qword [r14 + 0x18], rax
mov r9, qword [rdi + 0x55ba0]
mov rdx, rbx
mov rcx, rax
call fcn.1401c1e14
jmp 0x14010a0da
mov rcx, rdi
cmp ebp, 2
jne 0x14010a0d1
call fcn.1400fbbe0
movzx eax, ax
jmp 0x14010a0d6
call fcn.1400fbc20
mov dword [r14 + 0xc], eax
mov rcx, qword [rdi + 0x55ba0]
xor r8d, r8d
mov edx, r12d
call fcn.1401c1f88
mov r12d, 0x8827
lea rbp, [0x140221060]
mov r14d, dword [rsp + 0xe0]
cmp esi, 0x9202
ja 0x14010a22b
je 0x14010a1fc
cmp esi, r12d
ja 0x14010a1a4
je 0x14010a185
sub esi, 0x829a
je 0x14010a14e
cmp esi, 3
jne 0x14010a2f9
mov edx, r15d
mov rcx, rdi
call fcn.1400fc2c0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rdi + 0x3b8], xmm1
jmp 0x14010a2f9
mov edx, r15d
mov rcx, rdi
call fcn.1400fc2c0
mov eax, dword [rdi + 0x414]
xorps xmm1, xmm1
dec eax
cvtsd2ss xmm1, xmm0
lea rcx, [rax + rax*2]
add rcx, rcx
movss dword [rdi + 0x3b4], xmm1
movss dword [rdi + rcx*8 + 0x559c4], xmm1
jmp 0x14010a2f9
mov rcx, rdi
call fcn.1400fbbe0
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x3b0], xmm0
jmp 0x14010a2f9
cmp esi, 0x9003
jb 0x14010a2f9
cmp esi, 0x9004
jbe 0x14010a1ed
cmp esi, 0x9201
jne 0x14010a2f9
mov edx, r15d
mov rcx, rdi
call fcn.1400fc2c0
xorps xmm0, xmm7
comisd xmm8, xmm0
jbe 0x14010a2f9
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.1401c0270
jmp 0x14010a159
xor edx, edx
mov rcx, rdi
call fcn.1400fc010
jmp 0x14010a2f9
mov edx, r15d
mov rcx, rdi
call fcn.1400fc2c0
mulsd xmm0, xmm9
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.1401c0270
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rdi + 0x3b8], xmm1
jmp 0x14010a2f9
sub esi, 0x920a
je 0x14010a2df
sub esi, 0x72
je 0x14010a2cf
sub esi, 0xd86
je 0x14010a2b4
dec esi
je 0x14010a299
cmp esi, 0x2ff
jne 0x14010a2f9
mov rcx, rdi
call fcn.1400fbc20
cmp eax, 0x20002
jne 0x14010a2f9
xor ebx, ebx
mov dword [rdi + 0x3d4], ebx
mov rcx, qword [rdi + 0x55ba0]
call fcn.1401c3f28
mov ecx, ebx
add ebx, 2
imul edx, eax, 0x1010101
shl edx, cl
or dword [rdi + 0x3d4], edx
cmp ebx, 8
jb 0x14010a273
jmp 0x14010a2f9
cmp dword [rsp + 0xd0], 0
je 0x14010a2f9
mov rcx, rdi
call fcn.1400fbc20
mov word [rdi + 0x44f0], ax
jmp 0x14010a2f9
cmp dword [rsp + 0xd0], 0
je 0x14010a2f9
mov rcx, rdi
call fcn.1400fbc20
mov word [rdi + 0x44f2], ax
jmp 0x14010a2f9
xor r8d, r8d
mov edx, r13d
mov rcx, rdi
call fcn.14010b470
jmp 0x14010a2f9
mov edx, r15d
mov rcx, rdi
call fcn.1400fc2c0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rdi + 0x3bc], xmm1
mov edx, dword [rsp + 0x38]
mov rcx, qword [rdi + 0x55ba0]
xor r8d, r8d
call fcn.1401c1f88
test r14d, r14d
jne 0x140109fd0
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
lea r13, [rdi + 0x49884]
or rbp, 0xffffffffffffffff
movaps xmm6, xmmword [rsp + 0x70]
cmp byte [r13], 0
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
je 0x14010a3c4
mov rcx, qword [rdi + 0x49868]
test dword [rcx + 0xc0], 0x40000
je 0x14010a3c4
call fcn.14005ab00
mov rbx, rax
test rax, rax
je 0x14010a3c4
mov dword [rax], 0x2013b
mov dword [rax + 4], 1
cmp byte [r13 + rbp + 1], 0
lea rbp, [rbp + 1]
jne 0x14010a382
lea rax, [rbp + 1]
movsxd rcx, eax
mov dword [rbx + 0x10], eax
mov dword [rbx + 8], eax
call fcn.1401bee78
mov qword [rbx + 0x18], rax
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r13]
lea rax, [rax + 1]
lea r13, [r13 + 1]
mov byte [rax - 1], cl
test cl, cl
jne 0x14010a3b0
add rsp, 0xa0
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret