Function at 0x140096fb0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x2f0
mov rax, qword [0x14010bcf8]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r8d, dword [rdx + 0x1e8]
mov rbx, rdx
test r8d, r8d
je 0x140096fed
mov r9d, r8d
call fcn.140096ec0
sub dword [rbx + 0x1e8], eax
jmp 0x140097276
mov qword [rsp + 0x310], rsi
mov rsi, qword [rdx + 0x118]
mov qword [rsp + 0x2e8], rdi
mov qword [rsp + 0x2e0], r14
xor r14d, r14d
mov edi, r14d
mov qword [rsp + 0x300], rbp
nop word [rax + rax]
mov r8d, reloc.WS2_32.dll_recv
mov eax, edi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r14
sub r8d, edi
lea r9, [rsp + 0x30]
add rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140097055
add edi, dword [rsp + 0x30]
cmp edi, 0x10
jb 0x140097020
jmp 0x140097065
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x14009728f
mov ecx, dword [rsp + 0x40]
test ecx, 0xfffffff8
jne 0x140097207
cmp dword [rsp + 0x4c], r14d
jne 0x140097207
mov eax, ecx
and eax, 6
test al, 2
je 0x140097094
and al, 4
neg al
sbb esi, esi
add esi, 2
jmp 0x14009709f
test eax, eax
jne 0x140097207
mov esi, r14d
test cl, 1
je 0x1400970b0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x1e8], eax
jmp 0x1400970bb
cmp dword [rsp + 0x48], r14d
jne 0x140097207
test esi, esi
jne 0x1400970c7
lea eax, [rsi + 0x10]
jmp 0x140097256
mov rbp, qword [rbx + 0x118]
mov edi, r14d
mov r8d, 0x278
mov eax, edi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], r14
sub r8d, edi
lea r9, [rsp + 0x30]
add rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140097109
add edi, dword [rsp + 0x30]
cmp edi, 0x278
jb 0x1400970d1
jmp 0x140097119
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x14009728f
mov ecx, 0x290
call fcn.140090af0
mov r8, rax
test rax, rax
je 0x1400972de
mov dword [rax], esi
lea rcx, [rax + 4]
lea rax, [rsp + 0x50]
mov edx, 4
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140097140
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
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rax + 0x70]
mov qword [rcx + 0x70], rax
lea rcx, [r8 + 0x280]
lea rax, [rbx + 0x1f0]
mov qword [rcx], rax
mov rax, qword [rbx + 0x1f8]
mov qword [r8 + 0x288], rax
mov qword [rax], rcx
mov eax, 0x288
inc dword [rbx + 0x200]
mov qword [rbx + 0x1f8], rcx
jmp 0x140097256
mov rcx, qword [rbx + 0x128]
mov edi, 0x2745
movups xmm0, xmmword [0x1400e0ca8]
movaps xmmword [rsp + 0x40], xmm0
test rcx, rcx
je 0x140097237
lea rdx, [0x1400968e0]
call fcn.140093120
mov qword [rbx + 0x128], r14
mov rcx, rbx
call fcn.14009a430
mov ecx, edi
call fcn.14009c1d0
movsxd rdx, eax
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
xor eax, eax
mov rbp, qword [rsp + 0x300]
mov rsi, qword [rsp + 0x310]
mov rdi, qword [rsp + 0x2e8]
mov r14, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400b06c0
add rsp, 0x2f0
pop rbx
ret
mov rcx, qword [rbx + 0x128]
cmp edi, 0x6d
jne 0x140097213
movups xmm0, xmmword [0x1400e0ca8]
movaps xmmword [rsp + 0x40], xmm0
test rcx, rcx
je 0x1400972c3
lea rdx, [0x1400968e0]
call fcn.140093120
mov qword [rbx + 0x128], r14
and dword [rbx + 0x58], 0xffffbfff
mov rcx, rbx
call fcn.14009a430
mov rdx, 0xfffffffffffff001
jmp 0x140097249
lea rdx, str.uv__malloc
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.14009c120
int3