Function at 0x14001be50
Capabilities:
Read file on windows

Disassembly:
push rbp
push r12
push r13
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1402aa8c0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r13, rcx
mov qword [rsp + 0x48], rcx
mov r8, rdx
lea rcx, [rbp - 0x10]
lea rdx, str._sItems.dat
call fcn.14000a640
lea rdx, [0x140261acc]
lea rcx, [rbp - 0x10]
call fcn.1401d1788
mov r12, rax
test rax, rax
je 0x14001c27d
xor eax, eax
mov qword [rsp + 0x360], rbx
mov qword [rsp + 0x328], rsi
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x320], rdi
mov qword [rsp + 0x318], r14
mov r9, r12
lea edx, [rax + 1]
mov qword [rsp + 0x310], r15
lea r8d, [rax + 0x2a]
mov qword [rbp - 0x20], rax
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x18], ax
movups xmmword [rbp - 0x30], xmm0
call fcn.1401d1c20
lea r15, [r13 + 0x130]
xor esi, esi
lea r13, [0x1402bf9f0]
lea r14, [rbp - 0x40]
nop dword [rax]
nop word [rax + rax]
xor ebx, ebx
lea edi, [rbx + 1]
nop word [rax + rax]
movzx eax, byte [r14 + rbx]
mov r8d, edi
and eax, 7
mov edx, esi
imul r9, rax, 0x64
mov rcx, r15
add r9, r13
call fcn.140036c6c
inc edi
inc rbx
cmp rbx, 7
jl 0x14001bf30
inc esi
add r14, 7
cmp esi, 6
jl 0x14001bf20
xor r15d, r15d
lea rcx, [rsp + 0x40]
mov r9, r12
mov dword [rsp + 0x40], r15d
lea edx, [r15 + 4]
lea r8d, [r15 + 1]
call fcn.1401d1c20
mov r13, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, qword [r13 + 0x2e0]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rax, dword [rsp + 0x40]
test eax, eax
jle 0x14001c24d
mov rcx, rax
mov eax, 0x94
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002970c
movsxd rcx, dword [rsp + 0x40]
xor edx, edx
imul r8, rcx, 0x94
mov rcx, rax
mov r14, rax
call fcn.1401cafc0
movsxd r8, dword [rsp + 0x40]
mov r9, r12
mov edx, 0x94
mov rcx, r14
call fcn.1401d1c20
mov edi, r15d
cmp dword [rsp + 0x40], r15d
jle 0x14001c245
lea rsi, [r13 + 0x2a0]
lea r13, [0x1402bf9f0]
lea rbx, [r14 + 0x6c]
nop word [rax + rax]
mov qword [rsp + 0x38], r15
lea r9, [0x140262214]
mov dword [rsp + 0x30], r15d
mov r8d, edi
mov dword [rsp + 0x28], r15d
mov edx, 1
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.140036950
lea r15d, [rdi + 1]
mov r8d, r15d
lea rdx, [0x140264a88]
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 1
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
movsxd rax, edi
lea r9, [r14 + 2]
imul rcx, rax, 0x94
mov r8d, 2
mov edx, edi
add r9, rcx
mov rcx, rsi
call fcn.140036c6c
movzx eax, byte [rbx - 6]
mov r8d, 3
and eax, 7
mov edx, edi
imul r9, rax, 0x64
mov rcx, rsi
add r9, r13
call fcn.140036c6c
movzx r8d, byte [rbx - 0x6c]
mov edx, edi
mov rcx, rsi
call fcn.140045dfc
movzx eax, byte [rbx - 6]
cmp al, 6
jne 0x14001c190
mov r8d, dword [rbx - 4]
lea rdx, [0x140264a88]
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 4
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
movzx r8d, byte [rbx]
lea rdx, [0x140264a88]
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 5
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
mov r8d, dword [rbx + 4]
lea rdx, [0x140264a88]
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 6
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
cmp byte [rbx], 1
jne 0x14001c162
cmp dword [rbx + 8], 0
jge 0x14001c162
mov dword [rbx + 8], 0
mov r8d, dword [rbx + 8]
lea rdx, [0x140264a88]
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 7
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
movzx eax, byte [rbx - 6]
test al, al
je 0x14001c19c
cmp al, 6
jne 0x14001c22a
cmp byte [rbx + 0xc], 0
je 0x14001c22a
mov r8d, dword [rbx + 0x10]
test r8d, r8d
jle 0x14001c22a
lea rdx, str.__d
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 8
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
movzx r8d, byte [rbx + 0xc]
lea rdx, [0x140264a88]
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 9
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
mov r8d, dword [rbx + 0x10]
lea rdx, [0x140264a88]
lea rcx, [rsp + 0x50]
call fcn.14000a640
lea r9, [rsp + 0x50]
mov r8d, 0xa
mov edx, edi
mov rcx, rsi
call fcn.140036c6c
add rbx, 0x94
mov edi, r15d
cmp r15d, dword [rsp + 0x40]
mov r15d, 0
jl 0x14001c020
mov rcx, r14
call fcn.140029704
mov rcx, r12
call fcn.1401d192c
mov r15, qword [rsp + 0x310]
mov r14, qword [rsp + 0x318]
mov rdi, qword [rsp + 0x320]
mov rsi, qword [rsp + 0x328]
mov rbx, qword [rsp + 0x360]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401c8d10
add rsp, 0x330
pop r13
pop r12
pop rbp
ret