Function at 0x180068aa0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xc0
mov edx, dword [rbp + 0x77]
mov r12, r8
imul eax, edx, 0x82d
mov r15, rcx
mov r13d, edx
mov dword [rbp - 0x2d], eax
cmp edx, eax
ja 0x180068f5f
mov rdx, qword [rbp - 0x29]
xor ebx, ebx
mov esi, dword [rbp + 0x77]
mov edi, dword [rbp + 0x77]
mov qword [rbp - 0x79], rdx
lea r8, [0x180000000]
cmp r13d, 0x9194
ja 0x180068e18
je 0x180068f5f
cmp r13d, 0x125
ja 0x180068dd6
je 0x180068d91
mov eax, r13d
sub eax, 0x4d
je 0x180068b45
sub eax, 0x86
je 0x180068f7e
cmp eax, 0x1d
jne 0x180068f4b
mov qword [rbp - 0x59], rbx
jmp 0x180068f4b
mov rax, qword [rbp + 0x67]
mov r14d, 0xf8
mov rax, qword [rax]
mov qword [rbp - 0x61], rax
nop word [rax + rax]
lea eax, [r14 - 0xef]
cmp eax, 0xf
ja case.0x180068b7b.241
mov ecx, dword [r8 + rax*4 + 0x6910c]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x69]
lea r9, [rbp - 0x41]
mov dword [rbp - 0x41], 0x18
lea rdx, [rbp - 0x39]
mov r8d, 0x27
mov qword [rax + 0x18], rbx
mov rax, qword [rbp - 0x69]
lea rcx, [rax + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rbp - 0x39], eax
call fcn.180048ee0
mov rsi, rax
test eax, eax
jne 0x180068c86
mov rcx, qword [rbp - 0x69]
xor edx, edx
mov r8, qword [rbp - 0x21]
mov rcx, qword [rcx + 0x28]
call sub.VCRUNTIME140.dll_memset
jmp case.0x180068b7b.241
mov rdx, qword [rbp - 0x69]
mov edi, ebx
mov qword [rbp - 0x79], rdx
jmp 0x180068d60
test esi, esi
jne 0x180068c86
mov rax, qword [rbp - 0x69]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov rax, qword [rbp - 0x69]
mov dword [rax], 0x7f2bb70c
jmp case.0x180068b7b.241
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180068c25
cmp qword [rcx + 0x88], rax
jne 0x180068c25
mov qword [rcx + 0x88], rbx
mov rax, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], 0xc7
xor r8d, r8d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rax], ebx
mov qword [rsp + 0x20], rbx
call fcn.180059440
jmp case.0x180068b7b.241
mov rax, qword [rbp - 0x69]
lea r8, [rbp - 0x31]
mov rcx, qword [rbp - 0x61]
lea rdx, [rbp - 0x71]
xor r9d, r9d
mov qword [rax + 8], rcx
mov rax, qword [rbp - 0x61]
lea ecx, [r9 + 0x39]
mov qword [rbp - 0x71], rax
call fcn.18007b2a0
mov esi, eax
test eax, eax
je 0x180068cc1
mov r14d, 0xfd
cmp qword [rbp - 0x69], rbx
je 0x180068cba
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x69]
mov dword [rsp + 0x30], 0xc7
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.180059440
mov edi, esi
jmp case.0x180068b7b.241
mov eax, dword [rbp - 0x31]
lea ecx, [rax*2 + 0xc]
mov rax, qword [rbp - 0x69]
mov qword [rax + 0x10], rcx
lea rax, [rcx + rcx*2]
shl rax, 3
mov qword [rbp - 0x21], rax
jmp case.0x180068b7b.241
mov rax, qword [rbp - 0x61]
mov qword [rbp - 0x69], rbx
cmp dword [rax], 0x7f2bb701
jne 0x18006909d
lea r9, [rbp - 0x71]
mov dword [rbp - 0x71], 0x30
mov r8d, 0x28
lea rdx, [rbp - 0x69]
xor ecx, ecx
call fcn.1800a5750
mov esi, eax
jmp case.0x180068b7b.241
mov rax, qword [rbp - 0x61]
test rax, rax
je case.0x180068b7b.253
cmp dword [rax], 0x7f2bb70c
jne case.0x180068b7b.253
cmp qword [rax + 0x28], rbx
lea rcx, [rax + 0x28]
je 0x180068d54
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], 0xc7
xor r8d, r8d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.180059440
mov rax, qword [rbp - 0x61]
mov qword [rax + 0x28], rbx
mov rdx, qword [rbp - 0x79]
inc r14d
lea r8, [0x180000000]
cmp r14d, 0x101
jb 0x180068b60
jmp 0x180068d7d
mov rdx, qword [rbp - 0x79]
test edi, edi
jne 0x1800690a2
mov dword [rdx + 0x20], 1
jmp 0x180068f4b
mov rax, qword [rbp + 0x6f]
lea r8, [rbp - 0x71]
mov r9d, 0x8c
lea rcx, [rbp - 0x19]
mov eax, dword [rax]
mov dword [rbp - 0x71], eax
mov rax, qword [rbp + 0x67]
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
mov qword [rbp - 0x19], rax
call fcn.180091000
mov rdx, rax
mov qword [rbp - 0x29], rax
mov rax, qword [rbp + 0x8f]
movzx ecx, word [rax]
mov word [rdx + 0xc], cx
jmp 0x180068f47
cmp r13d, 0x30ba
je 0x180068df4
cmp r13d, 0x6127
jne 0x180068f4b
mov dword [rbp - 0x51], ebx
jmp 0x180068f4b
mov rax, qword [rbp + 0x6f]
test rax, rax
je 0x180068e05
mov qword [rax], rdx
jmp 0x180068f4b
mov rax, qword [rbp + 0x67]
mov rax, qword [rax]
mov qword [rax + 0x88], rdx
jmp 0x180068f4b
cmp r13d, 0x1c5c0
ja 0x180068ec6
je 0x180068ea5
cmp r13d, 0x97e0
je 0x180068e9c
cmp r13d, 0xb96a
je 0x180068e6f
cmp r13d, 0x12ed0
jne 0x180068f4b
lea r9, [rbp - 0x71]
mov dword [rbp - 0x71], 0x48
mov r8d, 0x28
lea rdx, [rbp - 0x59]
xor ecx, ecx
call fcn.1800a5750
test eax, eax
jne 0x180069102
jmp 0x180068f47
mov rax, qword [rbp + 0x67]
mov rax, qword [rax]
mov rcx, qword [rax + 0x20]
test byte [rcx + 0x60], 0x80
je 0x180068f4b
mov rax, qword [rbp + 0x8f]
mov rcx, qword [rbp - 0x29]
movzx eax, word [rax + 2]
mov word [rcx + 0x2c], ax
jmp 0x180068f4b
mov qword [rbp - 0x49], rbx
jmp 0x180068f4b
mov rax, qword [rbp - 0x59]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rax + 0x40], rcx
jmp 0x180068f4b
cmp r13d, 0x25cb0
je 0x180068ee1
cmp r13d, 0x2f3a0
jne 0x180068f4b
mov rax, qword [rbp - 0x49]
jmp 0x180068f63
mov rax, qword [rbp + 0x67]
mov r8d, 0x48
mov rdx, qword [rbp - 0x59]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cmp eax, 0x48
jne 0x1800690da
mov rax, qword [rbp - 0x59]
lea rdx, [rbp - 0x71]
mov qword [rbp - 0x49], rax
mov ecx, 0x9d
mov eax, dword [rax]
mov dword [rbp - 0x71], eax
call fcn.180088890
cmp eax, 0x514649fb
jne 0x1800690aa
mov rax, qword [rbp - 0x49]
lea rdx, [rbp - 0x71]
mov ecx, dword [rax + 4]
mov dword [rbp - 0x71], ecx
mov ecx, 0x9d
call fcn.180088890
cmp eax, 2
jne 0x1800690aa
mov rdx, qword [rbp - 0x79]
imul eax, dword [rbp + 0x77], 0xa1
add r13d, eax
cmp r13d, dword [rbp - 0x2d]
jbe 0x180068af3
mov rax, qword [rbp - 0x51]
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r13, qword [rbp + 0x4f]
mov eax, dword [r13]
test eax, eax
je 0x18006908f
mov rsi, qword [rbp + 0x87]
mov r14, qword [rbp + 0x7f]
movzx ecx, word [rbp + 0x77]
mov rbx, qword [rbp + 0x8f]
mov r9, qword [rbp + 0x5f]
movaps xmmword [rsp + 0xb0], xmm6
movsd xmm6, qword [0x1800d3e90]
nop dword [rax + rax]
dec eax
mov edi, 0x10b
mov dword [r13], eax
nop dword [rax + rax]
cmp edi, 0x10b
je 0x180068ffc
cmp edi, 0xcc6c
je 0x180068ff6
cmp edi, 0x197cd
jne 0x180069065
movsxd rax, dword [r14]
add r15, rax
movsxd rax, dword [rsi]
add r12, rax
jmp 0x180069065
mov word [r15], cx
jmp 0x180069065
mov rax, qword [rbp + 0x67]
movsd xmm0, qword [r12]
movsd xmm2, qword [rax]
comisd xmm2, xmm0
jbe 0x180069015
movzx ecx, word [rbx]
jmp 0x180069065
mov rax, qword [rbp + 0x6f]
movsd xmm1, qword [rax]
comisd xmm0, xmm1
jbe 0x180069029
movzx ecx, word [r9]
jmp 0x180069065
mov ecx, dword [rbx]
subsd xmm0, xmm2
mov eax, dword [r9]
subsd xmm1, xmm2
sub eax, ecx
xorps xmm2, xmm2
cvtsi2sd xmm2, rcx
divsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm0, xmm1
addsd xmm0, xmm2
addsd xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov r9, qword [rbp + 0x5f]
cvttsd2si ecx, xmm0
add edi, 0xcb61
cmp edi, 0x26223
jbe 0x180068fd0
mov eax, dword [r13]
test eax, eax
jne 0x180068fc0
movaps xmm6, xmmword [rsp + 0xb0]
xor ebx, ebx
mov eax, ebx
dec eax
mov dword [r13], eax
mov dword [rbp - 0x51], eax
jmp 0x180068f5f
mov edi, 0x7f2bb701
mov dword [rbp - 0x51], edi
jmp 0x180068f5f
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x49]
mov dword [rsp + 0x30], 0xc7
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.180059440
mov rax, rbx
jmp 0x180068f63
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x59]
mov dword [rsp + 0x30], 0xc7
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.180059440
mov rax, rbx
jmp 0x180068f63