Function at 0x1800824e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x170
mov rax, qword [0x18017b008]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov esi, dword [rsp + 0x1d8]
xor r13d, r13d
mov r12d, r9d
mov rbp, r8
mov r14, rdx
mov rbx, rcx
mov edi, r13d
cmp esi, 0xc
jb 0x18008260c
mov qword [rsp + 0x168], r15
mov r15d, dword [rsp + 0x1d0]
test r14, r14
je 0x18008254c
mov eax, edi
movups xmm0, xmmword [rax + r14]
movups xmmword [rsp + 0x30], xmm0
jmp 0x1800825dc
lea edx, [rdi + r15]
lea ecx, [r12 + rdi]
test rbp, rbp
je 0x18008258b
mov edx, ecx
xor r8d, r8d
mov rcx, rbp
call fcn.18012caac
test eax, eax
jne 0x180082604
mov r9, rbp
lea edx, [rax + 1]
lea r8d, [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.18012c794
cmp rax, 0xc
sete al
jmp 0x1800825d8
mov rax, qword [rbx + 0x858]
test rax, rax
je 0x1800825af
mov edx, ecx
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x808]
mov r8d, 0xc
call rax
jmp 0x1800825d3
mov rax, qword [rbx + 0x860]
test rax, rax
je 0x180082604
test edx, edx
je 0x180082604
mov rcx, qword [rbx + 0x808]
lea r9, [rsp + 0x30]
mov r8d, 0xc
call rax
test eax, eax
setns al
test al, al
je 0x180082604
mov eax, dword [rsp + 0x34]
cmp eax, 0xc
jb 0x180082604
cmp eax, esi
ja 0x180082604
cmp dword [rsp + 0x30], 1
jne 0x1800825f7
cmp byte [rsp + 0x38], r13b
je 0x18008262e
add edi, eax
sub esi, eax
cmp esi, 0xc
jae 0x180082536
mov r15, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18000b6d0
add rsp, 0x170
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rsi, [rax - 0xc]
cmp rsi, 0x108
ja 0x180082604
test r14, r14
je 0x18008265b
mov edx, edi
lea rcx, [rsp + 0x40]
add rdx, 0xc
mov r8, rsi
add rdx, r14
call fcn.180018d80
jmp 0x1800826f0
lea edx, [r15 + 0xc]
lea ecx, [r12 + 0xc]
add edx, edi
add ecx, edi
test rbp, rbp
je 0x180082699
mov edx, ecx
xor r8d, r8d
mov rcx, rbp
call fcn.18012caac
test eax, eax
jne 0x180082604
mov r9, rbp
lea edx, [rax + 1]
mov r8, rsi
lea rcx, [rsp + 0x40]
call fcn.18012c794
cmp rax, rsi
sete al
jmp 0x1800826e8
mov rax, qword [rbx + 0x858]
test rax, rax
je 0x1800826ba
mov edx, ecx
lea r9, [rsp + 0x40]
mov rcx, qword [rbx + 0x808]
mov r8d, esi
call rax
jmp 0x1800826e3
mov rax, qword [rbx + 0x860]
test rax, rax
je 0x180082604
test edx, edx
je 0x180082604
mov rcx, qword [rbx + 0x808]
lea r9, [rsp + 0x40]
mov r8d, esi
call rax
test eax, eax
setns al
test al, al
je 0x180082604
dec rsi
cmp rsi, 0x108
jae 0x1800827e2
mov rbp, 0xffffffffffffffff
mov dword [rsp + 0x28], r13d
mov r9d, ebp
mov byte [rsp + rsi + 0x40], r13b
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
test eax, eax
jle 0x180082604
mov eax, 2
mul rsi
lea rdx, [0x180139860]
cmovo rax, rbp
mov rcx, rax
call fcn.18000bbe4
mov rdi, rax
test rax, rax
je 0x180082604
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x40]
mov r9d, ebp
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x180082786
mov rcx, rdi
call fcn.18000b6f0
jmp 0x180082604
mov qword [rbx + 0xd00], rdi
cmp byte [rbx + 0x828], r13b
jne 0x1800827c1
mov rax, qword [rbx + 0x810]
mov byte [rbx + 0x828], 1
test rax, rax
je 0x1800827ba
mov rcx, qword [rbx + 0x808]
mov edx, 9
call rax
mov r13, rax
mov qword [rbx + 0x830], r13
mov rax, qword [rbx + 0x830]
test rax, rax
je 0x180082604
mov rcx, qword [rbx + 0x808]
mov rdx, rdi
call rax
jmp 0x180082604
call fcn.18000b800
int3