Function at 0x14000cd00
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0xb0], 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.14001b4e8
mov sil, 1
test eax, eax
jne 0x14000ced8
lea rcx, [rsp + 0x3c]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.1400206ec
cmp rax, 1
jne 0x14000ced8
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, rbx
mov edx, eax
xor r8d, r8d
call fcn.14001b4e8
test eax, eax
jne 0x14000ced8
mov rcx, rbx
mov edx, 4
mov r8d, 1
call fcn.14001b4e8
test eax, eax
jne 0x14000ced8
lea rcx, [rsp + 0x38]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.1400206ec
cmp rax, 1
jne 0x14000ced8
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov r14d, eax
mov dword [rsp + 0x38], eax
mov edx, 0x10
mov rcx, rbx
xor r8d, r8d
call fcn.14001b4f0
test eax, eax
jne 0x14000ced8
lea rcx, [rsp + 0x34]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.1400206ec
cmp rax, 1
jne 0x14000ced8
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov dword [rsp + 0x34], eax
cmp eax, 8
ja 0x14000ced8
mov ebp, eax
test eax, eax
je 0x14000cec0
lea r15, [rsp + 0x30]
mov r13, qword [sym.imp.WSOCK32.dll_ntohl]
mov rcx, rbx
mov edx, 4
mov r8d, 1
call fcn.14001b4e8
test eax, eax
jne 0x14000ced8
mov edx, 4
mov r8d, 1
mov rcx, r15
mov r9, rbx
call fcn.1400206ec
cmp rax, 1
jne 0x14000ced8
mov ecx, dword [rsp + 0x30]
call r13
mov dword [rsp + 0x30], eax
mov rcx, rbx
mov edx, eax
mov r8d, 1
call fcn.14001b4e8
test eax, eax
jne 0x14000ced8
dec ebp
jne 0x14000ce6a
mov rcx, rbx
call fcn.14001c018
cdqe
mov ecx, r14d
cmp rax, rcx
jne 0x14000d00d
xor esi, esi
mov ebx, 0xffffffff
test sil, sil
jne 0x14000cf9e
test ebp, ebp
je 0x14000cf9e
mov r9, qword [rdi]
lea rcx, [rsp + 0x3c]
mov edx, 4
mov r8d, 1
call fcn.1400206ec
cmp rax, 1
jne 0x14000cf9e
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ebp, eax
add ebp, 0xfffffff8
cmp ebp, 0x60
ja 0x14000cf9e
mov r9, qword [rdi]
lea rcx, [rsp + 0x38]
mov edx, 4
mov r8d, 1
call fcn.1400206ec
cmp rax, 1
jne 0x14000cf9e
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WSOCK32.dll_ntohl]
mov dword [rsp + 0x38], eax
mov r9, qword [rdi]
cmp eax, 1
jne 0x14000cf8e
mov edx, ebp
lea rdi, [rsp + 0x40]
mov r8d, 1
mov rcx, rdi
call fcn.1400206ec
cmp rax, 1
jne 0x14000cf9e
mov rcx, rdi
call fcn.140021140
mov qword [r12], rdi
cmp eax, 0x40
jl 0x14000cfc4
mov qword [r12], 0
jmp 0x14000cf9e
mov rcx, r9
mov edx, ebp
mov r8d, 1
call fcn.14001b4e8
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140023680
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
inc eax
cdqe
lea rdi, [rsp + rax]
add rdi, 0x40
mov rcx, rdi
call fcn.140021140
mov qword [r12 + 8], rdi
cmp eax, 0x20
jl 0x14000cfec
xorps xmm0, xmm0
movups xmmword [r12], xmm0
jmp 0x14000cf9e
lea rcx, [rsp + 0x40]
call fcn.14001e41c
mov qword [r12], rax
mov rcx, qword [r12 + 8]
call fcn.14001e41c
mov qword [r12 + 8], rax
xor ebx, ebx
jmp 0x14000cf9e
lea rbp, [rsp + 0x2c]
mov edx, 4
mov r8d, 1
mov rcx, rbp
mov r9, rbx
call fcn.1400206ec
mov ebp, dword [rbp]
cmp rax, 1
jne 0x14000ced8
mov ecx, ebp
call qword [sym.imp.WSOCK32.dll_ntohl]
mov ebp, eax
mov dword [rsp + 0x2c], eax
mov rcx, rbx
call fcn.14001c018
xor esi, esi
jmp 0x14000ced8