Function at 0x140095260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx edi, word [rdx + 0x1ac]
mov r15, rdx
mov rsi, rcx
xor eax, eax
mov r13d, 1
mov ecx, edi
mov edx, r13d
mov ebp, r9d
mov r12d, r8d
movzx ebx, ax
call fcn.1401be1f8
mov r14, rax
test rax, rax
jne 0x1400952b7
movzx eax, r13w
jmp 0x1400955b0
mov r9, qword [rsi]
mov r8, r13
mov rdx, rdi
mov rcx, rax
call fcn.1401c1e14
cmp rax, r13
je 0x1400952df
mov rcx, r14
call fcn.1401be23c
mov eax, 4
jmp 0x1400955b0
xor eax, eax
mov edi, eax
mov r13d, eax
test ebp, ebp
jle 0x1400955a5
movsxd rsi, dword [rsp + 0x80]
nop word [rax + rax]
mov rbx, qword [rsp + 0x88]
mov ebp, eax
test r12d, r12d
jle 0x140095572
nop dword [rax]
nop word [rax + rax]
movsxd rax, edi
inc edi
movzx ecx, word [r14 + rax*2]
movsxd r9, edi
mov r10d, ecx
shr cx, 0xc
and r10d, 0xfff
movzx edx, cl
test cl, cl
je 0x14009552a
dec edx
je 0x1400954f7
dec edx
je 0x140095455
dec edx
je 0x1400953e8
dec edx
jne 0x140095532
movzx r11d, byte [r14 + r9*2]
inc edi
test r10d, r10d
js 0x140095532
movsxd rax, edi
lea r8, [r14 + 4]
lea rdx, [r14 + rax*2]
lea r8, [r8 + rax*2]
lea r9, [rdx + 2]
nop dword [rax]
movzx ecx, word [rdx]
inc ebp
dec r10d
add ebp, ecx
test ecx, ecx
js 0x1400953cf
nop
movzx eax, word [rdx + 2]
add rbx, 4
shr ax, 4
mov byte [rbx - 4], al
movzx eax, word [r9 + 2]
shr ax, 4
mov byte [rbx - 3], al
movzx eax, word [r8 + 2]
shr ax, 4
dec ecx
mov byte [rbx - 2], al
mov byte [rbx - 1], r11b
jns 0x1400953a0
add edi, 4
add rdx, 8
add r9, 8
add r8, 8
test r10d, r10d
jns 0x140095390
jmp 0x140095532
movzx edx, word [r14 + r9*2]
inc ebp
inc edi
shr dx, 4
add ebp, r10d
test r10d, r10d
js 0x140095532
movsxd rax, edi
lea rcx, [r14 + rax*2]
lea eax, [rdi + r10]
lea edi, [r10*2 + 3]
add edi, eax
nop word [rax + rax]
movzx eax, word [rcx]
add rbx, 4
lea rcx, [rcx + 6]
shr ax, 4
mov byte [rbx - 4], al
movzx eax, word [rcx - 4]
shr ax, 4
mov byte [rbx - 3], al
movzx eax, word [rcx - 2]
shr ax, 4
dec r10d
mov byte [rbx - 2], al
mov byte [rbx - 1], dl
jns 0x140095420
jmp 0x140095532
test r10d, r10d
js 0x140095532
lea rdx, [r14 + r9*2]
lea r8, [r14 + 6]
lea r11, [rsi + rsi]
lea r8, [r8 + r9*2]
add r9, 2
lea r9, [r14 + r9*2]
nop word [rax + rax]
movzx ecx, word [rdx]
inc ebp
dec r10d
inc edi
add r9, 2
add r8, 2
add ebp, ecx
add rdx, 2
test ecx, ecx
js 0x1400954e5
nop dword [rax]
movzx eax, word [rdx]
inc rbx
dec ecx
shr ax, 4
mov byte [rbx - 1], al
cmp esi, 2
jl 0x1400954e1
movzx eax, word [rdx + 2]
add rbx, 2
shr ax, 4
mov byte [rbx - 2], al
movzx eax, word [r9]
shr ax, 4
mov byte [rbx - 1], al
cmp esi, 4
jl 0x1400954e1
movzx eax, word [r8]
shr ax, 4
inc rbx
mov byte [rbx - 1], al
test ecx, ecx
jns 0x1400954a0
add edi, esi
add r9, r11
add r8, r11
add rdx, r11
test r10d, r10d
jns 0x140095480
jmp 0x140095532
inc ebp
add ebp, r10d
inc r10d
imul r10d, esi
test r10d, r10d
jle 0x140095532
lea rcx, [r14 + r9*2]
mov edx, r10d
add edi, r10d
movzx eax, word [rcx]
inc rbx
lea rcx, [rcx + 2]
shr ax, 4
mov byte [rbx - 1], al
dec rdx
jne 0x140095512
jmp 0x140095532
movzx edi, word [r15 + 0x1ac]
movzx ecx, word [r15 + 0x1ac]
mov eax, ecx
shr eax, 1
sub eax, 2
cmp edi, eax
jl 0x140095569
mov rax, qword [rsp + 0x60]
mov edx, ecx
mov r8d, 1
mov r9, qword [rax]
mov rcx, r14
call fcn.1401c1e14
cmp rax, 1
jne 0x1400952cd
xor edi, edi
cmp ebp, r12d
jl 0x140095320
mov rcx, qword [rsp + 0x90]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
movzx ebx, ax
test ax, ax
jne 0x1400955a5
inc r13d
cmp r13d, dword [rsp + 0x78]
jge 0x1400955a5
xor eax, eax
jmp 0x140095300
mov rcx, r14
call fcn.1401be23c
movzx eax, bx
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret