Function at 0x180018450
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
lea r12d, [r9 - 0xd]
mov esi, r9d
mov r15, r8
mov r13, rdx
mov rdi, rcx
cmp r9d, r12d
jbe 0x18001876f
mov ebx, dword [rbp + 0x1f8]
lea r14d, [r9 - 0x105]
xor edx, edx
lea r8, [0x180000000]
lea r9d, [rdx + 0x64]
lea r10d, [rdx + 0x6e]
lea r11d, [rdx + 0x77]
cmp r14d, 0x15
ja case.0x1800184c7.9
mov ecx, dword [r8 + r14*4 + 0x1880c]
add rcx, r8
jmp rcx
mov ecx, dword [rdi + 0x1c]
call qword [rsp + VarR8FromCy]
mov dword [rdi + 0x1c], eax
lea rdx, [rbp - 0x80]
mov ecx, dword [r15]
call fcn.180067088
test eax, eax
jne 0x18001879a
movabs rax, 0x303146464944424d
cmp qword [rdi], rax
jne 0x1800187bd
jmp 0x18001874a
movsxd rdx, dword [r15]
shl rdx, 7
mov eax, dword [rdx + r8 + 0xa0ebc]
cmp dword [r13], eax
jb 0x180018796
lea rcx, [rsp + 0x60]
call qword [rdx + r8 + 0xa0f08]
jmp 0x180018744
mov word [rsp + 0x7c], dx
jmp case.0x1800184c7.9
mov dword [rsp + 0x6e], 0x33005f
mov dword [rsp + 0x72], 0x2e0032
mov word [rsp + 0x76], r9w
jmp case.0x1800184c7.9
movsxd rax, dword [r15]
shl rax, 7
mov eax, dword [rax + r8 + 0xa0ebc]
mov dword [r13], eax
mov r9, rdi
lea rcx, [rbp - 0x50]
mov edx, 1
mov r8d, 0x200
call fcn.180066ac8
mov rbx, rax
lea rdx, [rbp - 0x50]
movsxd rax, dword [r15]
lea rcx, [rsp + 0x60]
shl rax, 7
lea r9, [0x180000000]
mov r8d, ebx
call qword [rax + r9 + 0xa0f10]
test eax, eax
jne 0x180018775
cmp rbx, 0x200
je 0x180018562
movsxd rax, dword [r15]
lea rcx, [rsp + 0x60]
mov rdx, qword [rbp + 0x200]
lea r8, [0x180000000]
shl rax, 7
call qword [rax + r8 + 0xa0f18]
mov ebx, eax
jmp 0x18001874a
lea r9, [rsp + 0x58]
mov r8d, 0x70
lea rdx, [rsp + 0x68]
xor ecx, ecx
call fcn.18001b7a0
mov ecx, dword [r15]
mov r8d, 0x20
mov rdx, rdi
mov qword [rsp + 0x50], rax
call fcn.18006c134
cmp eax, 0x20
jne 0x18001879a
mov ecx, dword [rdi + 8]
call qword [rsp + VarR8FromCy]
mov dword [rdi + 8], eax
jmp 0x18001874a
mov dword [rsp + 0x6a], 0x320073
jmp case.0x1800184c7.9
movzx eax, word [0x180090168]
mov word [rsp + 0x58], r10w
mov word [rsp + 0x59], ax
movzx eax, word [0x18009016c]
mov word [rsp + 0x5b], ax
movzx eax, byte [0x18009016e]
mov byte [rsp + 0x5d], al
mov word [rsp + 0x68], r11w
jmp case.0x1800184c7.9
mov dword [rsp + 0x78], 0x6c006c
jmp case.0x1800184c7.9
mov ecx, dword [rdi + 0xc]
call qword [rsp + VarR8FromCy]
mov ecx, dword [rdi + 0x10]
mov dword [rdi + 0xc], eax
call qword [rsp + VarR8FromCy]
mov ecx, dword [rdi + 0x14]
mov dword [rdi + 0x10], eax
call qword [rsp + VarR8FromCy]
mov ecx, dword [rdi + 0x18]
mov dword [rdi + 0x14], eax
call qword [rsp + VarR8FromCy]
mov dword [rdi + 0x18], eax
jmp 0x18001874a
cmp qword [rbp + 0x200], 0
jne 0x1800186ca
mov dword [rbp + 0x1f8], edx
lea r9, [rbp + 0x1f8]
lea rdx, [0x18008f048]
mov r8d, 0x8c
lea rcx, str.__g_gg_
call fcn.1800064b0
xor edx, edx
test r13, r13
jne 0x1800186f5
mov dword [rbp + 0x1f8], edx
lea r9, [rbp + 0x1f8]
lea rdx, [0x18008f048]
mov r8d, 0x8c
lea rcx, str.OnMouseEntered
call fcn.1800064b0
test rdi, rdi
jne 0x180018720
lea r9, [rbp + 0x1f8]
mov dword [rbp + 0x1f8], edi
mov r8d, 0x8c
lea rdx, [0x18008f048]
lea rcx, str.Cull_at_DS
call fcn.1800064b0
mov eax, dword [r15]
lea r9, [rbp + 0x1f8]
xor r8d, r8d
mov dword [rbp + 0x1f8], eax
xor edx, edx
mov dword [rsp + 0x20], 0xc5
xor ecx, ecx
call fcn.18000efe0
mov ebx, eax
test eax, eax
jne 0x180018775
mov r11d, 0x77
lea r8, [0x180000000]
xor edx, edx
lea r10d, [r11 - 9]
lea r9d, [r11 - 0x13]
dec esi
dec r14d
cmp esi, r12d
ja 0x1800184b2
mov eax, dword [rbp + 0x1f8]
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [r13], eax
mov eax, 6
jmp 0x180018775
mov eax, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
add rcx, rax
mov eax, dword [rdi + 0x14]
add rax, 0x20
add rcx, rax
movsxd rax, dword [rbp - 0x6c]
cmp rcx, rax
je 0x1800187c4
mov eax, 8
jmp 0x180018775
mov eax, edx
jmp 0x180018775
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rdx
mov r9d, 0x12
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], 0x200
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x20], rdx
xor edx, edx
call fcn.180002540
mov eax, ebx
jmp 0x180018775