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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r10, qword [rbp - 9]
mov r13d, r8d
imul r15d, r13d, 0x5c2
mov r12, r9
mov r8, rdx
mov qword [rbp - 0x29], r10
mov rdi, rcx
mov esi, r13d
cmp r13d, r15d
ja 0x18009260e
mov rax, qword [rbp - 9]
movzx r14d, word [rbp + 0x77]
mov ecx, dword [rbp + 0x77]
mov qword [rbp - 0x39], rax
mov dword [rbp + 0x77], ecx
mov edx, 0xfff7
cmp esi, 0x8f70
ja 0x18009255f
je 0x180092548
mov eax, esi
sub eax, 0x4b
je 0x1800924dc
sub eax, 0x9d
je 0x1800924d3
sub eax, 0x28
je 0x18009248c
sub eax, 0x267d
je 0x180092402
mov rdx, qword [rbp - 0x39]
cmp eax, 0x52cb
jne 0x18009252d
movzx r14d, word [r12 + 0x1c]
jmp 0x18009252d
mov rax, qword [r12]
lea r9, [rbp - 1]
mov qword [rbp - 9], rax
lea r8, [rbp - 9]
lea rax, [rbp + 0x1f]
mov qword [rbp + 0x1f], 0x10
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 7]
xor edx, edx
mov dword [rsp + 0x20], 0x2c
mov dword [rbp + 7], 0
mov dword [rbp - 1], 0
call fcn.180070930
mov qword [rbp - 0x39], rax
mov rdx, rax
test rax, rax
jne 0x180092526
mov edx, 0xf0
nop dword [rax]
mov ecx, edx
sub ecx, 0xef
je case.0x18009264e.0
cmp ecx, 1
jne 0x18009247a
mov dword [rbp - 0x31], 0xc
dec edx
cmp edx, 0xee
ja 0x180092460
mov rdx, rax
jmp 0x180092526
cmp qword [r12 + 0x18], 8
mov rcx, r12
jb 0x18009249b
mov rcx, qword [r12]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, qword [rbp - 0x39]
mov r10, rax
mov qword [rbp - 0x29], rax
jmp 0x18009252a
mov rdx, qword [rbp - 0x39]
xor r14d, r14d
jmp 0x18009252d
mov ebx, 0xbf
mov eax, ebx
sub eax, 0xbe
je 0x180092500
cmp eax, 1
jne 0x180092518
mov edx, dword [r8]
lea rcx, str.Links_Panel_Item_Menu
call fcn.1800aa620
jmp 0x180092514
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov r8, qword [rbp + 0x6f]
dec ebx
cmp ebx, 0xbd
ja 0x1800924e1
mov rdx, qword [rbp - 0x39]
mov r10, qword [rbp - 0x29]
mov ecx, dword [rbp + 0x77]
mov r8, qword [rbp + 0x6f]
imul eax, r13d, 0x86
add esi, eax
cmp esi, r15d
ja 0x180092616
jmp 0x1800923ab
cmp r10, 0xffffffffffffffff
je 0x180092605
mov dword [rbp - 0x11], 0
mov rdx, qword [rbp - 0x39]
jmp 0x18009252d
cmp esi, 0xf3c8
je 0x1800925f8
cmp esi, 0x11dd0
je 0x1800925db
cmp esi, 0x16d38
je 0x1800925c8
cmp esi, 0x1ac30
je 0x1800925b6
cmp esi, 0x23a90
jne 0x180092559
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x180092598
mov rdx, qword [rdi]
mov r8d, ecx
mov qword [rsp + 0x20], 0
mov rcx, r10
lea r9, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x180092522
mov edx, ecx
xor r8d, r8d
mov rcx, rdi
call fcn.1800693b0
jmp 0x180092522
or r14w, word [rdi]
mov rdx, qword [rbp - 0x39]
mov word [r12 + 0x1c], r14w
jmp 0x18009252d
xor edx, edx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rdx, qword [rbp - 0x39]
mov ecx, eax
mov r10, qword [rbp - 0x29]
mov dword [rbp + 0x77], eax
jmp 0x18009252d
and r14w, dx
mov rdx, qword [rbp - 0x39]
jmp 0x18009252d
mov byte [rbp - 0x31], 0
jmp case.0x18009264e.0
mov rdx, qword [rbp - 9]
mov qword [rbp - 0x39], rdx
mov r14d, dword [rbp + 0x77]
lea esi, [r13 - 0xb]
cmp r13d, esi
jbe case.0x18009264e.0
lea ebx, [r13 - 0x43]
lea r15, [0x180000000]
cmp ebx, 0xcd
ja case.0x18009264e.11
movzx eax, byte [r15 + rbx + 0x92824]
mov ecx, dword [r15 + rax*4 + 0x927f4]
add rcx, r15
jmp rcx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r14d, dword [rbp - 0x11]
je 0x18009269a
mov eax, 0x1b
xor edx, edx
cmp eax, 0x1b
je 0x180092678
cmp eax, 0xd4
je case.0x18009264e.0
jmp 0x18009268e
mov qword [rdi + 0x10], rdx
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180092689
mov rcx, qword [rdi]
mov byte [rcx], dl
mov byte [rbp - 0x31], dl
add eax, 0xb9
cmp eax, 0x18d
jb 0x180092666
mov rdx, qword [rbp - 0x39]
mov r10, qword [rbp - 0x29]
dec r13d
dec ebx
cmp r13d, esi
jbe case.0x18009264e.0
mov r8, qword [rbp + 0x6f]
jmp 0x180092632
mov rax, qword [rdx + 8]
mov qword [rax + 0x20], 0
mov rax, qword [rdx + 8]
mov qword [rax + 0x28], 0
jmp case.0x18009264e.11
mov rax, qword [rdx + 8]
mov dword [rax + 0x1c], 0
mov qword [rdi + 8], rdx
jmp case.0x18009264e.11
mov rax, qword [rdx + 8]
mov dword [rax + 0x10], 0xffffffff
mov rax, qword [rdx + 8]
mov dword [rax + 0x14], 0xffffffff
jmp case.0x18009264e.11
cmp qword [rdx], 0
jne case.0x18009264e.11
mov eax, 0xc
jmp 0x1800927d7
mov rax, qword [r12]
lea r9, [rbp - 0x21]
mov qword [rbp + 0x17], rax
lea r8, [rbp + 0x17]
lea rax, [rbp + 0xf]
mov qword [rbp + 0xf], 0x30
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x19]
xor edx, edx
mov dword [rsp + 0x20], 0x2c
mov dword [rbp - 0x19], 0
mov dword [rbp - 0x21], 0
call fcn.180070930
mov rdx, qword [rbp - 0x39]
mov qword [rdx + 8], rax
test rax, rax
je 0x180092702
jmp 0x18009269e
mov dword [rdi], 1
mov dword [rbp - 0x31], 0
jmp case.0x18009264e.11
mov rcx, qword [rdx + 8]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov eax, dword [rdi]
mov dword [rcx], eax
jmp case.0x18009264e.11
mov eax, dword [r8]
lea r9, [rbp - 0x19]
mov dword [rbp - 0x19], eax
lea r8, [rbp - 0x21]
mov rax, qword [r12]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0xf]
mov qword [rbp + 0x17], rax
mov dword [rbp - 0x21], 0xffffffff
mov dword [rbp + 0xf], 0xfffffffd
mov dword [rsp + 0x20], 0x48
call fcn.18006d3a0
mov rdx, qword [rbp - 0x39]
mov qword [rdx], rax
jmp 0x18009269e
mov byte [rbp - 0x31], 1
mov eax, dword [rbp - 0x31]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret