Function at 0x18008bd00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1800cd230]
xor rax, rsp
mov qword [rbp + 0x80], rax
imul eax, ecx, 0x181
mov r10, r9
mov qword [rsp + 0x38], r9
mov r12d, ecx
mov qword [rsp + 0x40], r8
mov r9d, ecx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x24], eax
cmp ecx, eax
ja 0x18008c0c2
mov r15, qword [rsp + 0x38]
xor r13d, r13d
mov rdi, qword [rsp + 0x38]
movzx r14d, byte [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov r11d, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x24]
lea rax, [0x180000000]
cmp r12d, 0x16fb
ja 0x18008c056
je 0x18008bfc1
cmp r12d, 0x35
je 0x18008bdf7
cmp r12d, 0xe4
je 0x18008bded
cmp r12d, 0xb98
jne 0x18008c0b0
cmp r15, rdi
je 0x18008c07c
movzx r14d, byte [r15]
mov esi, r13d
movzx eax, byte [rdi]
inc r15
mov byte [rsp + 0x20], al
inc rdi
lea eax, [r14 - 0x30]
cmp eax, 9
mov eax, r13d
setbe sil
cmp r14b, 0x30
sete al
add esi, eax
jmp 0x18008c0b0
mov qword [rsp + 0x48], r8
jmp 0x18008c0b0
lea rcx, [rax + 0xcf3b0]
mov qword [rsp + 0x6c], 4
lea rax, [rbp - 0x70]
mov qword [rsp + 0x7c], 8
lea rcx, [rcx + 0x80]
mov dword [rsp + 0x60], r13d
lea rax, [rax + 0x80]
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 4
mov r15, r8
movaps xmm1, xmmword [rsp + 0x60]
mov rdi, rdx
movaps xmmword [0x1800cf380], xmm1
mov dword [rsp + 0x50], r13d
mov dword [rsp + 0x54], 4
mov qword [rsp + 0x58], 0xc
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [0x1800cf370], xmm0
mov dword [rbp - 0x7c], 8
mov dword [rbp - 0x78], 0xc
mov dword [rbp - 0x74], 0xc
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [0x1800cf3a0], xmm1
movdqa xmm1, xmmword [0x1800c4ec0]
movdqa xmmword [rbp - 0x60], xmm1
mov dword [rsp + 0x74], 8
mov dword [rsp + 0x78], 8
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [0x1800cf390], xmm0
movdqa xmm0, xmmword [0x1800c4ea0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmm0
movdqa xmm1, xmmword [0x1800c4ed0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x1800c4f00]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm0, xmm1
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmm1, xmmword [0x1800c4ea0]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmm1
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm1, xmmword [0x1800c4ec0]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm1, xmm0
movdqa xmm1, xmmword [0x1800c4eb0]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm0, xmmword [0x1800c4e80]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm0, xmm1
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax - 0x80]
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rcx - 0x10], xmm1
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
jmp 0x18008c0b0
movzx r8d, byte [rsp + 0x20]
movzx ebx, r14b
sub ebx, r8d
jne 0x18008c01c
lea rdx, [0x180000000]
test r14b, r14b
je 0x18008c017
movzx r14d, byte [r15]
mov ecx, r13d
movzx r8d, byte [rdi]
inc r15
inc rdi
mov ebx, r14d
lea eax, [r14 - 0x30]
cmp eax, 9
mov eax, r13d
setbe cl
cmp r14b, 0x30
sete al
add ecx, eax
movsxd rax, esi
mov esi, ecx
or esi, dword [rdx + rax*4 + 0xcf370]
sub ebx, r8d
je 0x18008bfd7
mov byte [rsp + 0x20], r8b
movzx eax, r8b
mov rdx, r13
sub eax, 0x30
cmp eax, 9
mov rax, r13
setbe dl
cmp r8b, 0x30
sete al
add rdx, rax
lea eax, [rsi*4]
movsxd rcx, eax
lea rax, [0x180000000]
or rdx, rcx
mov esi, dword [rax + rdx*4 + 0xcf3b0]
jmp 0x18008c0a6
cmp r12d, 0x225e
je 0x18008c0f0
cmp r12d, 0x31e0
je 0x18008c081
cmp r12d, 0x62dc
jne 0x18008c0b0
cmp r11d, dword [r10]
sete r13b
mov eax, r13d
jmp 0x18008c0c6
movsxd r8, dword [r10]
mov edx, 1
mov r9, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9d, dword [rsp + 0x28]
mov r11, rax
mov r10, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
imul eax, r9d, 0x37
add r12d, eax
cmp r12d, dword [rsp + 0x24]
jbe 0x18008bd7e
mov eax, dword [rsp + 0x24]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1800a7b10
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, esi
sub eax, 2
je 0x18008c13c
cmp eax, 1
je 0x18008c100
mov eax, esi
jmp 0x18008c0c6
movzx eax, byte [r15]
sub eax, 0x30
cmp eax, 9
ja 0x18008c12b
sub r15, rdi
nop
movzx eax, byte [rdi]
inc rdi
sub eax, 0x30
cmp eax, 9
ja 0x18008c140
movzx eax, byte [r15 + rdi]
sub eax, 0x30
cmp eax, 9
jbe 0x18008c110
movzx eax, byte [rdi]
mov ecx, 0xffffffff
sub eax, 0x30
cmp eax, 9
cmovbe ebx, ecx
mov eax, ebx
jmp 0x18008c0c6
mov eax, 1
jmp 0x18008c0c6