Function at 0x140008b60
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.140008d0c
xor r14b, r14b
mov qword [rsp + 0x68], rbp
movabs r15, 0x8000000000000000
nop dword [rax]
cmp dword [rdi + 0x10], 0
je 0x14004d0b0
mov edx, dword [rdi + 0x14]
xor ebx, ebx
cmp edx, dword [rdi + 0x10]
je 0x140008cb6
mov rax, qword [rdi + 8]
movsxd rcx, edx
movzx ecx, byte [rcx + rax]
mov byte [rsp + rbx + 0x60], cl
inc rbx
inc edx
mov dword [rdi + 0x14], edx
cmp rbx, 1
jb 0x140008b9f
add qword [rdi + 0x18], rbx
test rbx, rbx
je 0x140008cf0
movzx ebp, byte [rsp + 0x60]
mov r14b, 1
cmp bpl, 0xd
je 0x140008c2c
cmp bpl, 0xa
je 0x140008c4f
mov rcx, qword [rsi + 0x18]
mov edx, dword [rcx]
cmp edx, 1
jg 0x14004d0ed
xor al, al
test al, al
jne 0x14004d0f4
mov rax, qword [rsi + 8]
add rax, 2
cmp qword [rsi + 0x10], rax
jb 0x140008c62
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 0x140008b90
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140008d40
test rax, rax
je 0x140008c4f
cmp byte [rsp + 0x60], 0xa
jne 0x14004d1e1
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 0x14004d14a
lea rcx, [rax + rax]
test rcx, rcx
je 0x14004d1d7
add rcx, 0xf
and rcx, 0xfffffffffffffff0
mov qword [rsi + 0x10], rcx
call fcn.140024bd8
mov rdx, qword [rsi]
mov rbx, rax
test rdx, rdx
je 0x140008cae
mov r8, qword [rsi + 8]
mov rcx, rax
inc r8
call fcn.140025c70
mov rcx, qword [rsi]
call fcn.140024b94
mov qword [rsi], rbx
jmp 0x140008c0d
mov rdx, qword [rdi + 8]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140008bc5
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140008bc5
jmp 0x14004d0dc
test r14b, r14b
jne 0x140008c4f
mov rbp, qword [rsp + 0x68]
xor al, al
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rdi]
lea r8, [rsp + 0x78]
mov r9d, 1
mov qword [rdi + 0x10], 0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x18], rax
jmp 0x140008b9a
mov dword [rdi + 0x10], eax
xor edx, edx
mov dword [rdi + 0x14], 0
jmp 0x140008ba8
mov al, 1
jmp 0x140008bf7
lea eax, [rdx - 1]
mov dword [rcx], eax
mov ecx, 4
call fcn.140024b9c
mov dword [rax], 1
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x18], rax
add rcx, 2
jne 0x14004d11e
mov ecx, reloc.WSOCK32.dll_recv
jmp 0x14004d126
add rcx, 0xf
and rcx, 0xfffffffffffffff0
mov qword [rsi + 0x10], rcx
call fcn.140024bd8
mov r8, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rsi]
inc r8
mov rbx, rax
call fcn.140025c70
nop
jmp 0x140008cae
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x14004d15f
addsd xmm0, qword [0x1400c71d0]
cmp rax, 0x2000000
jae 0x14004d199
mulsd xmm0, qword [0x1400d9aa0]
jmp 0x14004d179
mulsd xmm0, qword [0x1400d9a98]
xor eax, eax
comisd xmm0, xmmword [0x1400d9aa8]
jb 0x14004d1ca
subsd xmm0, qword [0x1400d9aa8]
comisd xmm0, xmmword [0x1400d9aa8]
jb 0x14004d1c7
jmp 0x14004d1ca
cmp rax, 0x8000000
jb 0x14004d171
mulsd xmm0, qword [0x1400d9a90]
xor eax, eax
comisd xmm0, xmmword [0x1400d9aa8]
jb 0x14004d1ca
subsd xmm0, qword [0x1400d9aa8]
comisd xmm0, xmmword [0x1400d9aa8]
jae 0x14004d1ca
add rax, r15
cvttsd2si rcx, xmm0
add rcx, rax
jmp 0x140008c72
mov ecx, reloc.WSOCK32.dll_recv
jmp 0x140008c83
mov rdx, 0xffffffffffffffff
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.1400054a8
nop
jmp 0x140008c4f