Function at 0x14007f670
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov edi, r15d
movabs r14, 0xcccccccccccccccd
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 3
mov qword [rsp + 0x48], socket
mov eax, dword [0x1401e77b0]
mov word [rsp + 0x30], ax
movzx eax, byte [0x1401e77b2]
mov byte [rsp + 0x32], al
mov byte [rsp + 0x33], 0
lea r9, [rsp + 0x65]
test rdi, rdi
jns 0x14007f724
mov rcx, rdi
neg rcx
nop word [rax + rax]
dec r9
mov rax, r14
mul rcx
shr rdx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov rcx, rdx
test rdx, rdx
jne 0x14007f6f0
dec r9
mov byte [r9], 0x2d
jmp 0x14007f75a
mov r8, rdi
nop word [rax + rax]
dec r9
mov rax, r14
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8, rdx
test rdx, rdx
jne 0x14007f730
lea r8, [rsp + 0x65]
mov rdx, r9
lea rcx, [rsp + 0x78]
call fcn.1400bfde0
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
lea rcx, [rsp + 0x30]
call fcn.14005a990
nop
lea rcx, [rsp + 0x78]
call fcn.14005a930
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14007f4f0
test al, al
je 0x14007f8cc
mov dword [rsp + 0x5c], r15d
mov qword [rsp + 0x60], reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x68], socket
movsd xmm0, qword [str.version___r_n]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x1401e77c0]
mov word [rsp + 0x58], ax
movzx eax, byte [0x1401e77c2]
mov byte [rsp + 0x5a], al
mov byte [rsp + 0x5b], 0
lea rdx, [rsp + 0x50]
mov r8d, reloc.WS2_32.dll_inet_addr
mov rcx, rbx
call fcn.14007fa10
mov dword [rbp + 0x3e0], r15d
lea rdx, [rbp + 0x3e0]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov rcx, qword [rbx]
test eax, eax
je 0x14007f877
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x3e8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rbx]
test eax, eax
je 0x14007f877
cmp rcx, 0xffffffffffffffff
je 0x14007f86a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbx + 8], 0
mov qword [rbx], 0xffffffffffffffff
mov rcx, 0xffffffffffffffff
cmp dword [rbp + 0x3e8], 0
jne 0x14007f948
cmp rcx, 0xffffffffffffffff
je 0x14007f88e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbx + 8], 0
mov qword [rbx], 0xffffffffffffffff
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14007f8cc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f8c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007fa07
call fcn.14015e7f4
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14007f909
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007fa01
call fcn.14015e7f4
inc rdi
cmp rdi, 0x100
jl 0x14007f6a1
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], recvfrom
mov byte [rsi], 0
mov rax, rsi
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x40], r15
mov edx, recvfrom
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x30], 0
mov rax, qword [rsp + 0x68]
cmp rax, rdx
jbe 0x14007f9ab
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f9a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007fa07
call fcn.14015e7f4
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], socket
mov byte [rsp + 0x50], 0
cmp rdx, 0xf
jbe 0x14007f92e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f9f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f9fb
call fcn.14015e7f4
jmp 0x14007f92e
call fcn.140173834
int3
call fcn.140173834
nop
call fcn.140173834
int3