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

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rbp + 0x2c8], rax
xor r14d, r14d
lea rcx, str.Pipsi_HI3.cfg
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18000442a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x378
jne 0x180004421
mov qword [rsp + 0x3e0], rbx
lea r9, [rbp + 0x2c0]
lea rbx, [0x1800560c0]
mov qword [rsp + 0x3e8], rdi
mov rdx, rbx
mov qword [rsp + 0x20], r14
mov r8d, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x2c0], 0x378
mov edi, 6
je 0x1800042c1
xor edx, edx
mov byte [rsp + 0x40], r14b
mov r8d, 0x320
mov qword [rsp + 0x44], 0x2d
lea rcx, [rbp - 0x70]
mov byte [rsp + 0x4c], r14b
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x54], 0x41700000
mov word [rsp + 0x58], r14w
mov dword [rsp + 0x5c], 0xa
mov dword [rsp + 0x60], 1
mov word [rsp + 0x64], r14w
mov byte [rsp + 0x66], r14b
mov dword [rsp + 0x68], 0x42c80000
mov qword [rsp + 0x6c], 1
mov word [rsp + 0x74], r14w
mov dword [rsp + 0x78], 0x40000000
mov byte [rsp + 0x7c], r14b
mov dword [rbp - 0x80], 0x40000000
mov byte [rbp - 0x7c], r14b
mov dword [rbp - 0x78], r14d
mov word [rbp - 0x74], 0x100
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.1800044e0
mov dword [rbp + 0x2b0], 0x100
lea rax, [rsp + 0x40]
mov dword [rbp + 0x2b4], 0x88009db9
mov rcx, rbx
mov edx, edi
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x180004230
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
mov rax, qword [rax + 0x70]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
cmp dword [0x180056434], 0x88009db9
je 0x180004411
xor edx, edx
mov byte [rsp + 0x40], r14b
mov r8d, 0x320
mov qword [rsp + 0x44], 0x2d
lea rcx, [rbp - 0x70]
mov byte [rsp + 0x4c], r14b
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x54], 0x41700000
mov word [rsp + 0x58], r14w
mov dword [rsp + 0x5c], 0xa
mov dword [rsp + 0x60], 1
mov word [rsp + 0x64], r14w
mov byte [rsp + 0x66], r14b
mov dword [rsp + 0x68], 0x42c80000
mov qword [rsp + 0x6c], 1
mov word [rsp + 0x74], r14w
mov dword [rsp + 0x78], 0x40000000
mov byte [rsp + 0x7c], r14b
mov dword [rbp - 0x80], 0x40000000
mov byte [rbp - 0x7c], r14b
mov dword [rbp - 0x78], r14d
mov word [rbp - 0x74], 0x100
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.1800044e0
mov dword [rbp + 0x2b0], 0x100
lea rax, [rsp + 0x40]
mov dword [rbp + 0x2b4], 0x88009db9
nop
lea rbx, [rbx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rbx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rbx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rbx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rbx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rbx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rbx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rbx - 0x20], xmm0
movups xmmword [rbx - 0x10], xmm1
sub rdi, 1
jne 0x180004380
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
mov rax, qword [rax + 0x70]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov rbx, qword [rsp + 0x3e0]
mov rdi, qword [rsp + 0x3e8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x2c8]
xor rcx, rsp
call fcn.180045a40
lea r11, [rsp + 0x3d0]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret