Function at 0x1400955d0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
movzx edi, word [rdx + 0x1ac]
mov r13, rdx
mov rsi, rcx
mov r14d, 1
xor r12d, r12d
mov ecx, edi
mov edx, r14d
mov r15d, r9d
movzx ebx, r12w
call fcn.1401be1f8
mov rbp, rax
test rax, rax
jne 0x140095627
movzx eax, r14w
jmp 0x1400958e4
mov r9, qword [rsi]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call fcn.1401c1e14
cmp rax, r14
je 0x14009564f
mov rcx, rbp
call fcn.1401be23c
mov eax, 4
jmp 0x1400958e4
mov r14d, r12d
mov esi, r12d
mov dword [rsp + 0x78], r12d
test r15d, r15d
jle 0x1400958d9
movsxd r15, dword [rsp + 0x90]
mov edi, dword [rsp + 0x80]
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rsp + 0x98]
test edi, edi
jle 0x1400958a0
movsxd rax, r14d
inc r14d
movzx ecx, byte [rax + rbp]
movsxd rax, r14d
inc r14d
movzx edx, byte [rax + rbp]
mov esi, edx
shr edx, 4
and esi, 0xf
shl esi, 8
or esi, ecx
test edx, edx
je 0x140095856
dec edx
je 0x140095827
dec edx
je 0x1400957a8
dec edx
je 0x14009574c
dec edx
jne 0x14009585e
movsxd rax, r14d
inc r14d
movzx r10d, byte [rax + rbp]
test esi, esi
js 0x14009585e
movsxd rdx, r14d
add rdx, rbp
lea r8, [rdx + 2]
lea r9, [rdx + 1]
nop word [rax + rax]
movzx ecx, byte [rdx]
inc r12d
dec esi
add r12d, ecx
test ecx, ecx
js 0x140095733
nop
movzx eax, byte [rdx + 1]
add rbx, 4
dec ecx
mov byte [rbx - 4], al
movzx eax, byte [r9 + 1]
mov byte [rbx - 3], al
movzx eax, byte [r8 + 1]
mov byte [rbx - 2], al
mov byte [rbx - 1], r10b
jns 0x140095710
add r14d, 4
add rdx, 4
add r9, 4
add r8, 4
test esi, esi
jns 0x140095700
jmp 0x14009585e
inc r12d
movsxd rax, r14d
inc r14d
movzx edx, byte [rax + rbp]
add r12d, esi
test esi, esi
js 0x14009585e
movsxd rcx, r14d
lea eax, [rsi + 3]
add rcx, rbp
add r14d, eax
lea r14d, [r14 + rsi*2]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
add rbx, 4
dec esi
mov byte [rbx - 4], al
movzx eax, byte [rcx + 1]
lea rcx, [rcx + 3]
mov byte [rbx - 3], al
movzx eax, byte [rcx - 1]
mov byte [rbx - 2], al
mov byte [rbx - 1], dl
jns 0x140095780
jmp 0x14009585e
test esi, esi
js 0x14009585e
movsxd rcx, r14d
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rcx + rbp]
inc r12d
dec esi
inc r14d
inc rcx
add r12d, edx
test edx, edx
js 0x14009581b
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc rbx
dec edx
mov byte [rbx - 1], al
cmp r15d, 2
jl 0x140095817
movzx eax, byte [rcx + rbp + 1]
add rbx, 2
mov byte [rbx - 2], al
movzx eax, byte [rcx + rbp + 2]
mov byte [rbx - 1], al
cmp r15d, 4
jl 0x140095817
movzx eax, byte [rcx + rbp + 3]
inc rbx
mov byte [rbx - 1], al
test edx, edx
jns 0x1400957e0
add r14d, r15d
add rcx, r15
test esi, esi
jns 0x1400957c0
jmp 0x14009585e
inc r12d
movsxd rdx, r14d
mov rcx, rbx
add r12d, esi
inc esi
add rdx, rbp
imul esi, r15d
movsxd rdi, esi
mov r8, rdi
call fcn.1401bd6e0
add rbx, rdi
mov edi, dword [rsp + 0x80]
add r14d, esi
jmp 0x14009585e
movzx r14d, word [r13 + 0x1ac]
movzx ecx, word [r13 + 0x1ac]
lea eax, [rcx - 2]
cmp r14d, eax
jl 0x140095893
mov rsi, qword [rsp + 0x70]
mov edx, ecx
mov r8d, 1
mov r9, qword [rsi]
mov rcx, rbp
call fcn.1401c1e14
cmp rax, 1
jne 0x14009563d
xor r14d, r14d
cmp r12d, edi
jl 0x140095690
mov esi, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
movzx ebx, ax
test ax, ax
jne 0x1400958d9
inc esi
mov dword [rsp + 0x78], esi
cmp esi, dword [rsp + 0x88]
jge 0x1400958d9
xor r12d, r12d
jmp 0x140095680
mov rcx, rbp
call fcn.1401be23c
movzx eax, bx
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret