Function at 0x140020ed0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, r8
mov rbx, rdx
mov qword [rbp - 0x21], rdx
mov qword [rbp - 0x19], r8
xor r15d, r15d
mov dword [rbp - 0x25], r15d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], r15b
mov dword [rbp - 0x25], 1
mov rcx, r8
cmp qword [r8 + 0x18], 7
jbe 0x140020f34
mov rcx, qword [r8]
lea rdx, [0x1400fe734]
call fcn.1400b7274
mov r14, rax
test rax, rax
je 0x1400210f2
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
call fcn.1400bc014
mov rcx, r14
call fcn.1400bb940
mov rsi, rax
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.1400bc014
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r15
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x11], 0
test rsi, rsi
jne 0x140020f99
mov qword [rbp - 1], rsi
mov byte [rbp + rsi - 0x11], sil
jmp 0x140020fcd
lea rcx, [rbp - 0x11]
cmp rsi, 0xf
ja 0x140020fb8
mov qword [rbp - 1], rsi
mov r8, rsi
xor edx, edx
call fcn.1400dc480
mov byte [rbp + rsi - 0x11], 0
jmp 0x140020fcd
mov byte [rsp + 0x20], 0
mov r9, rsi
movzx r8d, byte [rbp - 0x29]
mov rdx, rsi
call fcn.140004930
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rcx, qword [rbp - 0x11]
mov r9, r14
mov r8, rsi
mov edx, 1
call fcn.1400bbcdc
mov rcx, r14
call fcn.1400bac60
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0xf
cmova rdx, qword [rbp - 0x11]
xor r9d, r9d
mov r8, rsi
lea rcx, [rbp + 0xf]
call fcn.14000aa80
mov rsi, rax
cmp rbx, rax
je 0x14002107e
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140021052
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14002104d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002116f
mov rcx, r8
call fcn.1400ab160
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400210ba
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400210b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002116f
call fcn.1400ab160
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400210f2
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400210ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021163
call fcn.1400ab160
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14002112d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140021128
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021169
mov rcx, r8
call fcn.1400ab160
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b57a8
nop
call fcn.1400b57a8
nop
call fcn.1400b57a8
int3