Function at 0x180006360
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x860
mov rax, qword [0x1801d7768]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r15, rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800063e2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test eax, eax
jne 0x180006411
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1800d1ba0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rdx, rbx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
mov rcx, rdi
test rax, rax
jne 0x18000643d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x8007000e
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1800063e2
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, ebx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x30
call fcn.1800d16c8
mov qword [rsp + 0x48], rax
test rax, rax
je 0x180006481
mov rcx, rax
call fcn.1800052e0
mov r14, rax
jmp 0x180006484
xor r14d, r14d
mov dword [rsp + 0x40], 0
mov rax, qword [r14]
mov r9d, 0x10
mov r8, rsi
xor edx, edx
mov rcx, r14
call qword [rax + 0x10]
mov rax, qword [r14]
lea r9, [rsp + 0x40]
lea r8d, [rbx - 0x10]
lea rdx, [rsi + 0x10]
mov rcx, r14
call qword [rax + 8]
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax]
mov rax, qword [r15]
lea r8d, [rbx - 0x10]
lea rdx, [rsi + 0x10]
mov rcx, r15
call qword [rax + 0x38]
mov rdi, rsi
xor eax, eax
mov rcx, rbx
rep stosb byte [rdi], al
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor edx, edx
mov r8d, 0x418
lea rcx, [rsp + 0x438]
call fcn.1800d4040
mov rax, qword [r15 + 0x40]
mov rdx, qword [rax]
add rdx, 0x10
lea rcx, [rsp + 0x50]
mov eax, 7
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x180006511
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
mov rdx, qword [rdx + 0x60]
mov qword [rcx + 0x60], rdx
lea r8d, [rax + 4]
lea rdx, str.http
lea rcx, [rsp + 0x50]
call fcn.1800d8588
test eax, eax
jne 0x1800063e2
mov eax, 1
jmp 0x1800063e4