Function at 0x14000ccb0
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 [0x140047010]
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.14001b858
test eax, eax
jne 0x14000cde7
lea rcx, [rsp + 0x3c]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.1400214a8
cmp rax, 1
jne 0x14000cde7
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, rbx
mov edx, eax
xor r8d, r8d
call fcn.14001b858
test eax, eax
jne 0x14000cde7
mov rcx, rbx
mov edx, 4
mov r8d, 1
call fcn.14001b858
test eax, eax
jne 0x14000cde7
lea rcx, [rsp + 0x38]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.1400214a8
cmp rax, 1
jne 0x14000cde7
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.14001b860
test eax, eax
jne 0x14000cde7
lea rcx, [rsp + 0x34]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.1400214a8
cmp rax, 1
jne 0x14000cde7
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 8
jbe 0x14000ce10
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400246e0
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 0x14000ce7c
lea r15, [rsp + 0x30]
mov r12, qword [sym.imp.WS2_32.dll_ntohl]
mov rcx, rbx
mov edx, 4
mov r8d, 1
call fcn.14001b858
test eax, eax
jne 0x14000cde7
mov edx, 4
mov r8d, 1
mov rcx, r15
mov r9, rbx
call fcn.1400214a8
cmp rax, 1
jne 0x14000cde7
mov ecx, dword [rsp + 0x30]
call r12
mov dword [rsp + 0x30], eax
mov rcx, rbx
mov edx, eax
mov r8d, 1
call fcn.14001b858
test eax, eax
jne 0x14000cde7
dec ebp
jne 0x14000ce22
mov rcx, rbx
call fcn.14001c470
cdqe
mov ecx, r14d
cmp rax, rcx
je 0x14000ced0
lea rcx, [rsp + 0x2c]
mov edx, 4
mov r8d, 1
mov r9, rbx
call fcn.1400214a8
cmp rax, 1
jne 0x14000cde7
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.14001c470
test ebp, ebp
je 0x14000cde7
mov r9, qword [rdi]
lea rcx, [rsp + 0x3c]
mov edx, 4
mov r8d, 1
call fcn.1400214a8
mov ebx, 0xffffffff
cmp rax, 1
jne 0x14000cdec
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ebp, eax
add ebp, 0xfffffff8
cmp ebp, 0x60
ja 0x14000cdec
mov r9, qword [rdi]
lea rcx, [rsp + 0x38]
mov edx, 4
mov r8d, 1
call fcn.1400214a8
cmp rax, 1
jne 0x14000cdec
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_ntohl]
mov r9, qword [rdi]
cmp eax, 1
jne 0x14000cf7e
mov edx, ebp
lea rdi, [rsp + 0x40]
mov r8d, 1
mov rcx, rdi
call fcn.1400214a8
cmp rax, 1
jne 0x14000cdec
mov rcx, rdi
call fcn.140022150
mov qword [rsi], rdi
cmp eax, 0x40
jl 0x14000cf93
mov qword [rsi], 0
jmp 0x14000cdec
mov rcx, r9
mov edx, ebp
mov r8d, 1
call fcn.14001b858
jmp 0x14000cdec
inc eax
cdqe
lea rdi, [rsp + rax]
add rdi, 0x40
mov rcx, rdi
call fcn.140022150
mov qword [rsi + 8], rdi
cmp eax, 0x20
jl 0x14000cfbb
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14000cdec
lea rcx, [rsp + 0x40]
call fcn.14001efd4
mov qword [rsi], rax
mov rcx, qword [rsi + 8]
call fcn.14001efd4
mov qword [rsi + 8], rax
xor ebx, ebx
jmp 0x14000cdec