Function at 0x140022370
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, r8
mov rbx, rdx
mov qword [rbp - 0x21], rdx
mov qword [rbp - 0x19], r8
xor r15d, r15d
mov dword [rbp - 0x25], r15d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], r15b
mov dword [rbp - 0x25], 1
mov rcx, r8
cmp qword [r8 + 0x18], 7
jbe 0x1400223d4
mov rcx, qword [r8]
lea rdx, [0x1400fe714]
call fcn.1400b7414
mov r14, rax
test rax, rax
je 0x140022592
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
call fcn.1400bc1b4
mov rcx, r14
call fcn.1400bbae0
mov rsi, rax
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1400bc1b4
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r15
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x11], 0
test rsi, rsi
jne 0x140022439
mov qword [rbp - 1], rsi
mov byte [rbp + rsi - 0x11], sil
jmp 0x14002246d
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
ja 0x140022458
mov qword [rbp - 1], rsi
mov r8, rsi
xor edx, edx
call fcn.1400dc620
mov byte [rbp + rsi - 0x11], 0
jmp 0x14002246d
mov byte [rsp + 0x20], 0
mov r9, rsi
movzx r8d, byte [rbp - 0x29]
mov rdx, rsi
call fcn.140004930
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
mov r9, r14
mov r8, rsi
mov edx, 1
call fcn.1400bbe7c
mov rcx, r14
call fcn.1400bae00
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
xor r9d, r9d
mov r8, rsi
lea rcx, [rbp + 0xf]
call fcn.14000ac80
mov rsi, rax
cmp rbx, rax
je 0x14002251e
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400224f2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400224ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002260f
mov rcx, r8
call fcn.1400ab300
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14002255a
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002260f
call fcn.1400ab300
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140022592
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002258c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022603
call fcn.1400ab300
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1400225cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400225c8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022609
mov rcx, r8
call fcn.1400ab300
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ab2e0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b5948
nop
call fcn.1400b5948
nop
call fcn.1400b5948
int3