Function at 0x14001b8b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
mov rcx, rdx
mov rsi, rdx
call fcn.14001c01c
xor r14b, r14b
movabs r15, 0x8000000000000000
mov qword [rsp + 0x68], rbp
nop dword [rax]
cmp dword [rdi + 0x10], 0
je 0x14004eee4
xor ebx, ebx
mov eax, dword [rdi + 0x10]
cmp dword [rdi + 0x14], eax
je 0x14001ba04
movsxd rdx, dword [rdi + 0x14]
mov rax, qword [rdi + 8]
inc rbx
movzx ecx, byte [rdx + rax]
lea eax, [rdx + 1]
mov byte [rsp + rbx + 0x5f], cl
mov dword [rdi + 0x14], eax
cmp rbx, 1
jb 0x14001b8ec
add qword [rdi + 0x18], rbx
test rbx, rbx
je 0x14001ba3e
movzx ebp, byte [rsp + 0x60]
mov r14b, 1
cmp bpl, 0xd
je 0x14001b974
cmp bpl, 0xa
je 0x14001b997
mov rcx, qword [rsi + 0x18]
mov eax, dword [rcx]
cmp eax, 1
jg 0x14004ef0c
mov rax, qword [rsi + 8]
add rax, 2
cmp qword [rsi + 0x10], rax
jb 0x14001b9aa
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
mov byte [rcx + rax], bpl
inc qword [rsi + 8]
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
mov byte [rcx + rax], 0
jmp 0x14001b8e0
lea rdx, [rsp + 0x60]
mov r8d, 1
mov rcx, rdi
call fcn.14001c410
test rax, rax
je 0x14001b997
cmp byte [rsp + 0x60], 0xa
jne 0x14004efff
mov al, 1
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
cmp rax, 0x41c2
jae 0x14004ef4c
add rax, rax
mov qword [rsi + 0x10], rax
mov rcx, rax
test rax, rax
je 0x14004eff5
add rcx, 0xf
and rcx, 0xfffffffffffffff0
mov qword [rsi + 0x10], rcx
call fcn.1400261dc
mov rdx, qword [rsi]
mov rbx, rax
test rdx, rdx
je 0x14001b9fc
mov r8, qword [rsi + 8]
mov rcx, rax
inc r8
call fcn.1400262a0
mov rcx, qword [rsi]
call fcn.140024994
mov qword [rsi], rbx
jmp 0x14001b955
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
lea r9, [rsp + 0x70]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x14001b917
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x14001b917
jmp 0x14004eefd
test r14b, r14b
jne 0x14001b997
xor al, al
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rcx, rdi
mov qword [rdi + 0x10], 0
call fcn.14001c4d0
mov qword [rdi + 0x18], rax
jmp 0x14001b8ea
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], 0
jmp 0x14001b8f8
dec eax
mov dword [rcx], eax
mov rcx, rsi
call fcn.14006243c
mov rdx, qword [rsi + 8]
add rdx, 2
call fcn.14001c048
mov rcx, rax
mov qword [rsi + 0x10], rax
call fcn.1400261dc
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
inc r8
mov rcx, rax
mov rbx, rax
call fcn.1400262a0
nop
jmp 0x14001b9fc
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
cmp rax, 0x2000000
jae 0x14004efa3
test rax, rax
jns 0x14004ef69
addsd xmm0, qword [0x1400b9090]
mulsd xmm0, qword [0x1400ca148]
jmp 0x14004ef83
addsd xmm0, qword [0x1400b9090]
mulsd xmm0, qword [0x1400ca140]
xor ecx, ecx
comisd xmm0, xmmword [0x1400ca150]
jb 0x14004efe8
subsd xmm0, qword [0x1400ca150]
comisd xmm0, xmmword [0x1400ca150]
jb 0x14004efe5
jmp 0x14004efe8
cmp rax, 0x8000000
jae 0x14004efb2
test rax, rax
jns 0x14004ef7b
jmp 0x14004ef73
test rax, rax
jns 0x14004efbf
addsd xmm0, qword [0x1400b9090]
mulsd xmm0, qword [0x1400ca138]
xor ecx, ecx
comisd xmm0, xmmword [0x1400ca150]
jb 0x14004efe8
subsd xmm0, qword [0x1400ca150]
comisd xmm0, xmmword [0x1400ca150]
jae 0x14004efe8
add rcx, r15
cvttsd2si rax, xmm0
add rax, rcx
jmp 0x14001b9b9
mov ecx, reloc.WSOCK32.dll_recv
jmp 0x14001b9d1
mov r8d, 1
or rdx, 0xffffffffffffffff
mov rcx, rdi
call fcn.14001c324
nop
jmp 0x14001b997