Function at 0x180017f50
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov edi, dword [rsp + 0x88]
lea eax, [rdx + 0x2e5]
mov dword [rsp + 0x98], eax
mov r13d, edx
mov r8, rcx
cmp edx, eax
jae 0x18001825d
movsxd rdx, dword [rsp + 0x88]
lea r10, [0x180000000]
mov r15, qword [rsp + 0x90]
lea r11, [0x18005b200]
mov esi, dword [rsp + 0x88]
lea r9, [0x18005b2f0]
mov r12, rdx
xor ebx, ebx
nop dword [rax + rax]
cmp r13d, 0x157
ja 0x18001820c
je 0x1800181fe
lea eax, [r13 - 0x4c]
cmp eax, 0xe4
ja case.0x180017ff6.86
movzx eax, byte [r10 + rax + 0x182f8]
mov ecx, dword [r10 + rax*4 + 0x182cc]
add rcx, r10
jmp rcx
mov r15, r8
jmp case.0x180017ff6.86
mov ebp, ebx
mov r14, r11
nop word [rax + rax]
mov r9, qword [rsp + 0x20]
mov edx, 0x18
mov rcx, r14
lea r8d, [rdx - 0x17]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x18001803c
lea edx, [rbp + 1]
lea rcx, str._Z22convert_uchar3_sat_rtzDv3_m
call fcn.18003c270
inc ebp
add r14, 0x18
cmp ebp, 0xa
jl 0x180018010
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180018227
mov edx, 1
mov dword [rsp + 0x88], edx
mov r12d, edx
jmp case.0x180017ff6.86
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x25]
call fcn.18001ab70
mov rsi, rax
jmp 0x180018227
mov edi, edx
jmp case.0x180017ff6.86
movsxd rcx, dword [rsp + 0x90]
movsxd rax, esi
cmp rax, rcx
jl case.0x180017ff6.86
lea rdx, [rax*4 + 0x6f8d0]
sub rax, rcx
add rdx, r10
lea r8, [rax + 1]
sub esi, r8d
mov rax, rdx
mov ecx, 0x18
cmp dword [rax], 1
jne 0x1800180c6
mov dword [rax + 4], 1
mov dword [rax], ebx
add rax, 0x30
sub rcx, 1
jne 0x1800180b8
sub rdx, 4
sub r8, 1
jne 0x1800180b0
jmp 0x18001823c
lea rdx, [0x180053898]
lea rcx, str.data.dat
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x20], rax
cmp rax, 0
jne 0x180018227
mov ebp, 0x3c
cmp ebp, 0x3c
je 0x18001811d
cmp ebp, 0xfb
jne 0x180018129
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.ParseFontFamilyElement
call fcn.18003c270
add ebp, 0xbf
cmp ebp, 0x1ba
jb 0x180018107
jmp 0x180018227
mov edx, 0x127
xor ecx, ecx
call fcn.180019dc0
xor edx, edx
mov dword [rsp + 0x90], eax
xor ecx, ecx
lea r8d, [rdx + 0x53]
call fcn.18001c380
cmp eax, 1
je 0x180018175
mov edx, 0xd4
xor ecx, ecx
call fcn.180034930
test eax, eax
jne 0x180018227
mov eax, 0x7a
nop word [rax + rax]
cmp eax, 0x7a
je 0x180018270
add eax, 0x2dc
cmp eax, 0x2dc
jbe 0x180018180
jmp 0x180018227
lea rax, [r12 + r12*2]
lea rcx, [r11 + rax*8]
mov eax, dword [0x18006f8bc]
cmp dword [rcx], eax
jl 0x1800181cf
nop dword [rax]
cmp rcx, r9
jge 0x1800181c8
mov eax, dword [0x18006f8bc]
add rcx, 0x18
inc edx
inc r12
cmp dword [rcx], eax
jge 0x1800181b0
mov dword [rsp + 0x88], edx
cmp r12, 0xa
jge case.0x180017ff6.86
mov edx, 0xa
mov rcx, r9
sub rdx, r12
movsd xmm1, qword [rcx - 8]
movups xmm0, xmmword [rcx - 0x18]
lea rcx, [rcx - 0x18]
movups xmmword [rcx + 0x18], xmm0
movsd qword [rcx + 0x28], xmm1
sub rdx, 1
jne 0x1800181e0
jmp 0x180018244
xor edx, edx
mov ecx, 0xf3
call fcn.180035700
jmp 0x180018227
mov eax, r13d
sub eax, 0x169
je 0x18001825d
cmp eax, 0x27
jne case.0x180017ff6.86
mov ecx, dword [section..data]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [0x18005b2f0]
lea r10, [0x180000000]
lea r11, [0x18005b200]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x88]
add r13d, 0x39
cmp r13d, dword [rsp + 0x98]
jb 0x180017fc0
mov eax, edi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, ebx
jmp 0x18001825f
mov ebx, 0xb9
cmp ebx, 0xb9
jne 0x1800182b9
imul ecx, dword [r15 + 0xc], 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [r15 + 8]
lea rdx, [rsp + 0x88]
mov r8, qword [r15]
lea ecx, [rbx + 0x51]
mov dword [rsp + 0x88], eax
call fcn.180022ea0
add ebx, 0x3b42
cmp ebx, 0x3b42
jbe 0x180018285
jmp case.0x180017ff6.83