Function at 0x1400286e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
movaps xmmword [rsp + 0x240], xmm6
mov rax, qword [0x14009fef0]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r14, rdx
mov rdi, rcx
xor ebx, ebx
lea rax, str.info.bin
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 8
call fcn.14005b474
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.140026a50
nop
mov qword [rsp + 0x50], r14
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp byte [r14 + rax], 0
jne 0x140028765
mov qword [rsp + 0x58], rax
call fcn.14005b474
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.140026a50
nop
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0xd8]
call fcn.1400284e0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400287ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400287e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400287e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005bb7c
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], bx
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140028840
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002883b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002883b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005bb7c
mov qword [rbp - 8], rbx
mov qword [rbp], 7
mov word [rbp - 0x18], bx
mov qword [rbp + 0x98], rbx
lea rax, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 8
cmovae rax, qword [rbp + 0xd8]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x58], rax
call fcn.14005b474
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140026fd0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
lea r8, [0x14006531c]
lea rcx, [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ebx, eax
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140028901
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400288fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400288fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005bb7c
test ebx, ebx
jne 0x1400290bb
mov r9, qword [rbp + 0x98]
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rbp + 0xa4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, qword [rbp + 0x98]
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rbp + 0xac]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, qword [rbp + 0x98]
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, qword [rbp + 0x98]
lea edx, [rbx + 4]
lea r8d, [rbx + 1]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, r14
mov r8, qword [rbp + 0x98]
lea rdx, [rbp + 0xf8]
mov rcx, rdi
call fcn.140029bd0
mov rbx, qword [rbp + 0x98]
mov r9, rbx
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movsxd rcx, dword [rbp + 0x90]
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14005bbb0
mov r13, rax
movsxd r8, dword [rbp + 0x90]
mov r9, rbx
mov edx, 4
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x78], r13
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movsxd rbx, dword [rbp + 0xa4]
mov eax, 0x20
mul rbx
cmovo rax, rsi
add rax, 8
cmovb rax, rsi
mov rcx, rax
call fcn.14005bbb0
mov qword [rbp - 0x40], rax
mov qword [rax], rbx
lea r12, [rax + 8]
xor edi, edi
mov dword [r12], edi
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], rdi
xorps xmm0, xmm0
movups xmmword [rax + 0x18], xmm0
lea rdx, [rbx - 1]
lea rcx, [rax + 0x28]
call fcn.14002a190
mov qword [rbp - 0x40], r12
mov esi, edi
cmp dword [rbp + 0xa4], edi
jle 0x140028fc6
mov qword [rbp + 0x60], r14
lea r15, [r12 + 0x18]
lea r9, [rbp + 0x125]
mov r8d, esi
test esi, esi
jns 0x140028ab0
neg r8d
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140028a71
dec r9
mov byte [r9], 0x2d
jmp 0x140028ada
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140028ab0
lea r8, [rbp + 0x125]
mov rdx, r9
lea rcx, [rbp - 0x60]
call fcn.140003cf0
nop
mov r8d, 4
lea rdx, str..bin
lea rcx, [rbp - 0x60]
call fcn.140003360
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp + 0x58], rax
call fcn.14005b474
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x110], xmm0
lea r8, [rbp + 0x110]
mov edx, eax
lea rcx, [rbp + 0x28]
call fcn.140026a50
nop
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], 0
jne 0x140028b76
mov qword [rbp + 0x68], rax
call fcn.14005b474
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x110], xmm0
lea r8, [rbp + 0x110]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.140026a50
nop
lea r8, [rbp + 0x28]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xb8]
call fcn.1400284e0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140028bfd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028bf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029048
call fcn.14005bb7c
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], 7
mov word [rbp + 8], di
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140028c4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028c48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002904f
call fcn.14005bb7c
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], di
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140028c98
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028c93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029056
call fcn.14005bb7c
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140028ce3
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028cde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002905d
call fcn.14005bb7c
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
lea rax, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 8
cmovae rax, qword [rbp + 0xb8]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0xc8]
mov qword [rsp + 0x68], rax
call fcn.14005b474
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x110], xmm0
lea r8, [rbp + 0x110]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.140026fd0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
lea r8, [0x14006531c]
lea rcx, [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ebx, eax
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140028da4
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028d9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029064
call fcn.14005bb7c
test ebx, ebx
je 0x140028df7
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x140028fb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028ded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002906b
call fcn.14005bb7c
jmp 0x140028fb4
mov ecx, esi
mov eax, 1
shl eax, cl
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movd xmm0, dword [rbp + 0xac]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si ebx, xmm0
movd xmm0, dword [rbp + 0xa8]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
imul eax, ebx
movsxd rdi, eax
mov eax, 4
mul rdi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14005bbb0
mov rbx, rax
mov r9, qword [rbp + 0x98]
mov r8, rdi
mov edx, 4
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [r15 - 8], rbx
mov r9, qword [rbp + 0x98]
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movsxd rcx, dword [rbp + 0x90]
mov eax, 4
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14005bbb0
mov rbx, rax
movsxd r8, dword [rbp + 0x90]
mov r9, qword [rbp + 0x98]
lea edx, [rdi + 5]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [r15], rbx
mov rbx, qword [rbp + 0x98]
mov r9, rbx
lea edx, [rdi + 5]
lea r8d, [rdi + 2]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, rbx
lea edx, [rdi + 5]
lea r8d, [rdi + 2]
lea rcx, [rsp + 0x54]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r9, rbx
lea edx, [rdi + 5]
lea r8d, [rdi + 2]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movsxd rcx, dword [rbp + 0xa0]
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14005bbb0
mov qword [rsp + 0x58], rax
movsxd r8, dword [rbp + 0xa0]
mov r9, rbx
lea edx, [rdi + 5]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r15 - 0x18], xmm0
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 8
jb 0x140028fb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028fad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002906b
call fcn.14005bb7c
xor edi, edi
inc esi
add r15, 0x20
cmp esi, dword [rbp + 0xa4]
jl 0x140028a60
mov dword [rbp + 0xa0], 0x10
mov eax, dword [rbp + 0xa8]
shl eax, 4
mov dword [rbp + 0x90], eax
mov ecx, dword [rbp + 0xb0]
shl ecx, 4
mov dword [rsp + 0x70], ecx
mov r8d, dword [rbp + 0xac]
shl r8d, 4
mov dword [rbp + 0x110], r8d
mov rdx, qword [0x1400a4e80]
cmp rdx, qword [0x1400a4e88]
je 0x140029072
movups xmm1, xmmword [rbp + 0xf8]
movsd xmm0, qword [rbp + 0x108]
mov dword [rdx], r8d
mov dword [rdx + 4], ecx
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], 0x10
movups xmmword [rdx + 0x10], xmm1
movsd qword [rdx + 0x20], xmm0
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], r12
add qword [0x1400a4e80], 0x38
jmp 0x1400290bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x110]
call fcn.14002ad20
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 8
jb 0x140029104
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400290ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400290ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005bb7c
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14005bb20
mov rbx, qword [rsp + 0x2a0]
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret