Function at 0x14000cce0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0xa0], 0
mov rbx, qword [rcx]
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call fcn.14001b7d8
test eax, eax
jne 0x14000ce17
lea rcx, [rsp + 0x3c]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.140020b08
cmp rax, 1
jne 0x14000ce17
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, rbx
mov edx, eax
xor r8d, r8d
call fcn.14001b7d8
test eax, eax
jne 0x14000ce17
mov rcx, rbx
mov edx, 4
mov r8d, 1
call fcn.14001b7d8
test eax, eax
jne 0x14000ce17
lea rcx, [rsp + 0x38]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.140020b08
cmp rax, 1
jne 0x14000ce17
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_ntohl]
mov r14d, eax
mov edx, 0x10
mov rcx, rbx
xor r8d, r8d
call fcn.14001b7e0
test eax, eax
jne 0x14000ce17
lea rcx, [rsp + 0x34]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.140020b08
cmp rax, 1
jne 0x14000ce17
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 8
jbe 0x14000ce40
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140023af0
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ebp, eax
test eax, eax
je 0x14000ceac
lea r15, [rsp + 0x30]
mov r12, qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, rbx
mov edx, 4
mov r8d, 1
call fcn.14001b7d8
test eax, eax
jne 0x14000ce17
mov edx, 4
mov r8d, 1
mov rcx, r15
mov r9, rbx
call fcn.140020b08
cmp rax, 1
jne 0x14000ce17
mov ecx, dword [rsp + 0x30]
call r12
mov dword [rsp + 0x30], eax
mov rcx, rbx
mov edx, eax
mov r8d, 1
call fcn.14001b7d8
test eax, eax
jne 0x14000ce17
dec ebp
jne 0x14000ce52
mov rcx, rbx
call fcn.14001c308
cdqe
mov ecx, r14d
cmp rax, rcx
je 0x14000cf00
lea rcx, [rsp + 0x2c]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.140020b08
cmp rax, 1
jne 0x14000ce17
mov ecx, dword [rsp + 0x2c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ebp, eax
mov dword [rsp + 0x2c], eax
mov rcx, rbx
call fcn.14001c308
test ebp, ebp
je 0x14000ce17
mov r9, qword [rdi]
lea rcx, [rsp + 0x3c]
mov edx, 4
mov r8d, 1
call fcn.140020b08
mov ebx, 0xffffffff
cmp rax, 1
jne 0x14000ce1c
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ebp, eax
add ebp, 0xfffffff8
cmp ebp, 0x60
ja 0x14000ce1c
mov r9, qword [rdi]
lea rcx, [rsp + 0x38]
mov edx, 4
mov r8d, 1
call fcn.140020b08
cmp rax, 1
jne 0x14000ce1c
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_ntohl]
mov r9, qword [rdi]
cmp eax, 1
jne 0x14000cfae
mov edx, ebp
lea rdi, [rsp + 0x40]
mov r8d, 1
mov rcx, rdi
call fcn.140020b08
cmp rax, 1
jne 0x14000ce1c
mov rcx, rdi
call fcn.140021560
mov qword [rsi], rdi
cmp eax, 0x40
jl 0x14000cfc3
mov qword [rsi], 0
jmp 0x14000ce1c
mov rcx, r9
mov edx, ebp
mov r8d, 1
call fcn.14001b7d8
jmp 0x14000ce1c
inc eax
cdqe
lea rdi, [rsp + rax]
add rdi, 0x40
mov rcx, rdi
call fcn.140021560
mov qword [rsi + 8], rdi
cmp eax, 0x20
jl 0x14000cfeb
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14000ce1c
lea rcx, [rsp + 0x40]
call fcn.14001e70c
mov qword [rsi], rax
mov rcx, qword [rsi + 8]
call fcn.14001e70c
mov qword [rsi + 8], rax
xor ebx, ebx
jmp 0x14000ce1c