Function at 0x14006fbb0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1078]
mov eax, 0x1150
call fcn.14015c3d0
sub rsp, rax
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rdi, rcx
lea rax, [0x14006fba4]
mov rcx, qword [rcx + 0x1010]
lea r8, [rbp + 0x10]
mov qword [rbp + 0x10], rcx
lea rdx, [0x14006ca94]
mov r13d, 1
mov qword [rbp + 0x18], rax
mov r9d, r13d
mov qword [rbp + 0x20], rdi
mov rcx, qword [rcx]
call fcn.14006d160
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call fcn.14015f00c
or qword [rdi + 0x1018], 0xffffffffffffffff
lea rsi, [rdi + 0x10]
xor r12d, r12d
mov rcx, qword [rdi]
call fcn.14015ea0c
cmp rax, qword [rdi + 0x1018]
je 0x14006fe37
mov r9, qword [rdi]
mov r8d, 0x48
mov rdx, r13
mov rcx, rsi
call fcn.140164440
movsxd rcx, eax
cmp rcx, 0x48
jb 0x14006fe37
mov ecx, dword [rsi]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rsi + 4]
mov dword [rsi], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rsi + 8]
mov dword [rsi + 4], eax
call qword [sym.imp.WS2_32.dll_ntohl]
movsxd rbx, dword [rsi + 4]
mov dword [rsi + 8], eax
mov rcx, qword [rdi]
call fcn.14015ea0c
add rax, rbx
lea r15, [rsi + 0x48]
mov qword [rsi + 0x40], rax
mov r8, rbx
mov r9, qword [rdi]
mov rdx, r13
mov rcx, r15
call fcn.140164440
cmp eax, dword [rsi + 4]
jne 0x14006fe37
mov ebx, dword [rsi + 8]
lea rcx, [rsp + 0x30]
call fcn.1400875b0
test ebx, ebx
jle 0x14006fd20
mov r15d, 0x1000
mov r9, qword [rdi]
lea rcx, [rbp + 0x40]
mov eax, ebx
cmp ebx, r15d
mov rdx, r13
cmovg eax, r15d
movsxd r8, eax
call fcn.140164440
mov r14, rax
test eax, eax
jle 0x14006fd1c
movsxd r8, r14d
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140087640
sub ebx, r14d
test ebx, ebx
jg 0x14006fce2
lea r15, [rsi + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140087590
cmp dword [rsi + 8], r12d
jle 0x14006fd4f
lea rcx, [rsi + 0xc]
mov r8d, gethostbyname
lea rdx, [rbp + 0x10]
call fcn.14015d330
test eax, eax
jne 0x14006fe37
mov r9d, dword [rsi + 4]
mov r8, r15
mov rcx, qword [rdi + 0x1010]
xor edx, edx
mov dword [rsp + 0x20], r12d
call fcn.14006ccc4
test rax, rax
je 0x14006fd74
mov rbx, qword [rax + 0x28]
jmp 0x14006fd77
mov rbx, r12
cmp dword [rsi + 8], r12d
jle 0x14006fe0e
test rbx, rbx
jne 0x14006fd99
xor r9d, r9d
lea ecx, [rbx + 0x40]
xor r8d, r8d
xor edx, edx
call fcn.1400686a4
mov rbx, rax
lea rcx, [rbx + 4]
lea rax, [rsi + 0xc]
test rcx, rcx
je 0x14006fdce
test rax, rax
je 0x14006fdc3
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
jmp 0x14006fdde
xor edx, edx
lea r8d, [rdx + 0x30]
call fcn.14015d410
call fcn.140162e7c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14016299c
mov eax, dword [rsi + 8]
mov r8, r15
mov dword [rbx], eax
xor edx, edx
mov rax, qword [rsi + 0x40]
mov qword [rbx + 0x38], rax
mov r9d, dword [rsi + 4]
mov rcx, qword [rdi + 0x1010]
mov dword [rsp + 0x20], r13d
call fcn.14006ccc4
mov qword [rax + 0x28], rbx
jmp 0x14006fc42
test rbx, rbx
je 0x14006fc42
mov r9d, dword [rsi + 4]
mov r8, r15
mov rcx, qword [rdi + 0x1010]
call fcn.14006cdfc
mov rcx, rbx
call fcn.1401630c0
jmp 0x14006fc42
mov rcx, qword [rdi]
call fcn.14015ea0c
mov qword [rdi + 0x1018], rax
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret