Function at 0x1800a8c00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov edi, dword [rsp + 0xf0]
lea eax, [rcx + 0xd]
mov dword [rsp + 0x94], eax
mov r10, r9
mov r14, r8
mov r9, rdx
mov esi, ecx
cmp ecx, eax
jae case.0x1800a8c87.200
mov r15, qword [rsp + 0x110]
mov ebx, dword [rsp + 0xf0]
mov ebp, dword [rsp + 0xf0]
mov r13d, dword [rsp + 0xf0]
lea eax, [rsi - 0xc4]
lea rdx, [0x180000000]
cmp eax, 0x1e
ja case.0x1800a8c87.201
mov ecx, dword [rdx + rax*4 + 0xa8f7c]
add rcx, rdx
jmp rcx
mov eax, dword [r9 + 0x48]
cmp qword [rsp + 0xa0], rax
je case.0x1800a8c87.201
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
jmp 0x1800a8f60
mov rcx, qword [rsp + 0x50]
xor r12d, r12d
mov eax, dword [r14]
cmp eax, ebp
jae 0x1800a8d9f
mov esi, 0x66
cmp esi, 0x66
je 0x1800a8d07
cmp esi, 0x117
je 0x1800a8ce5
cmp esi, 0x1c8
jne 0x1800a8d86
mov dword [r14], 0
jmp 0x1800a8d86
test ebx, ebx
jne 0x1800a8ec5
mov ecx, dword [r15]
cmp ecx, ebp
jbe case.0x1800a8c87.225
mov eax, dword [r14]
sub eax, ebp
add eax, ecx
mov dword [r15], eax
jmp 0x1800a8d86
mov eax, dword [r15]
lea r8, [rsp + 0x70]
mov dword [rsp + 0x60], eax
mov edx, 0xa1
mov eax, dword [r14]
mov dword [rsp + 0x78], eax
mov rax, qword [r9]
mov r9, r10
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x70], r12d
call fcn.1800a0e60
mov r9, qword [rsp + 0xf8]
mov ebx, eax
mov r10, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x50]
add esi, 0xb1
cmp esi, 0x279
jb 0x1800a8cc0
jmp 0x1800a8da4
sub eax, ebp
mov dword [r14], eax
movsxd rax, r13d
lea rcx, [rcx + rax*4]
mov qword [rsp + 0x50], rcx
test r12d, r12d
jne 0x1800a8dbd
mov ebp, 1
mov r13d, ebp
imul ebp, dword [rsp + 0x90]
inc r12d
cmp r12d, 4
jl 0x1800a8cb0
mov esi, dword [rsp + 0xf0]
jmp case.0x1800a8c87.201
cmp qword [rsp + 0x118], 0
lea rax, [r10 + 0x28]
mov qword [rsp + 0x50], rax
mov ebp, 0xc
jne 0x1800a8e4d
mov rax, qword [r9]
lea r8d, [rbp + 0x1b]
lea r9, [rsp + 0x80]
lea rdx, [rsp + 0x88]
mov ecx, dword [rax + 0x28]
mov dword [rsp + 0x80], ecx
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x88], 3
call fcn.180048ee0
mov rbx, rax
test eax, eax
jne 0x1800a8f60
mov rax, qword [rsp + 0x58]
mov r9, qword [rsp + 0xf8]
mov qword [rsp + 0x118], rax
mov rax, qword [r9]
mov ecx, dword [rax + 0x28]
shr ecx, 2
mov dword [rsp + 0x90], ecx
jmp case.0x1800a8c87.201
mov rax, qword [r9]
test dword [rax + 0x10], 0x2000
jne case.0x1800a8c87.201
mov eax, 0x7f2bb75c
jmp 0x1800a8f60
mov qword [rsp + 0x58], 0
mov r13d, 0xc
jmp case.0x1800a8c87.201
mov rax, qword [r9]
and dword [rax + 0x10], 0xffffdfff
jmp case.0x1800a8c87.201
mov rcx, qword [r9]
mov rax, qword [r10]
mov qword [rcx + 0xe8], rax
mov rcx, qword [r9]
mov rax, qword [rcx + 0xe8]
mov qword [rcx + 8], rax
mov rax, qword [r9]
or dword [rax + 0x10], 0x35
jmp case.0x1800a8c87.201
xor ebx, ebx
cmp qword [rsp + 0x58], 0
mov esi, 0xe1
je case.0x1800a8c87.201
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x30], 0xc7
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
call fcn.180059440
jmp case.0x1800a8c87.201
mov rax, qword [rsp + 0x118]
mov r8d, dword [r9 + 0x48]
mov ecx, dword [r9]
mov rdx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
mov qword [rsp + 0xa0], rax
jmp case.0x1800a8c87.201
xor edi, edi
inc esi
mov dword [rsp + 0xf0], esi
cmp esi, dword [rsp + 0x94]
jae case.0x1800a8c87.200
mov r9, qword [rsp + 0xf8]
mov r10, qword [rsp + 0x108]
jmp 0x1800a8c67
mov eax, ebx
jmp 0x1800a8f60
xor eax, eax
jmp 0x1800a8f60
mov eax, edi
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret