Function at 0x140019140
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xe0], xmm6
pxor xmm6, xmm6
mov edi, 0xcccccccd
lea rax, [rsp + 0x60]
mov dword [rsp + 0x50], 0x306aba
lea rsi, [rsp + 0x80]
mov dword [rsp + 0x3c], 3
lea rbx, [rsp + 0x70]
lea rbp, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
xor r10d, r10d
xor r9d, r9d
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x40], rbx
xor r14d, r14d
xor r12d, r12d
xor r11d, r11d
mov eax, ecx
mov qword [rsi + 0x20], 0
mov ebp, r10d
mov ebx, ecx
shr eax, 0x10
mov qword [rsp + 0x48], rsi
mov r8d, eax
movaps xmmword [rsi], xmm6
imul r8, rdi
movaps xmmword [rsi + 0x10], xmm6
mov rsi, r9
shr r8, 0x22
lea edx, [r8 + r8*4]
sub eax, edx
mov dword [rsp + 0x54], eax
imul eax, ebx, 0x343fd
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x60], r12
add eax, 0x269ec3
mov edx, eax
imul eax, eax, 0x343fd
shr edx, 0x10
and edx, 0x7fff
mov ecx, edx
lea ebx, [rax + 0x269ec3]
imul rcx, rdi
shr rcx, 0x23
lea ecx, [rcx + rcx*4]
add ecx, ecx
sub edx, ecx
add rsi, rdx
mov edx, ebx
shr edx, 0x10
mov qword [rsp + 0x78], rsi
and edx, 0x7fff
mov ecx, edx
imul rcx, rdi
shr rcx, 0x23
lea ecx, [rcx + rcx*4]
add ecx, ecx
sub edx, ecx
mov rcx, qword [rsp + 0x48]
add rdx, rsi
mov qword [rsp + 0x68], rdx
mov rdx, qword [rsp + 0x40]
call dbg.range6list_add_range
mov edx, ebp
mov r11, qword [rsp + 0x88]
add ebp, 1
cmp dword [rsp + 0x54], edx
jne 0x1400191e6
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
test r11, r11
je 0x1400192a6
mov rcx, rsi
call sym.range6list_optimize.part.0
mov r11, qword [rsp + 0x88]
mov qword [rbp + 0x20], 0
mov rdx, rsi
mov rcx, rbx
movaps xmmword [rbp], xmm6
movaps xmmword [rbp + 0x10], xmm6
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x40], r11
call dbg.range6list_count
mov r8, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r11, qword [rsp + 0x40]
test r8, r8
jne 0x140019477
mov rax, r13
test r13, r13
je 0x140019344
mov r15, qword [rsp + 0x30]
xor r12d, r12d
mov r14, r11
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x88], r14
call dbg.range6list_pick
mov r8, r15
mov rdx, rbx
mov rcx, rbp
movdqu xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x60], xmm1
call dbg.range6list_add_range
lea r8d, [r12 + 1]
mov r12, r8
cmp r8, r13
jb 0x140019300
mov rax, qword [rsp + 0xb8]
mov r11, r14
cmp r11, rax
jne 0x1400194cf
mov r12, qword [rsp + 0xb0]
mov r13, qword [rsp + 0x80]
shl r11, 5
mov r8, r11
mov rdx, r12
mov rcx, r13
call sym.memcmp
test eax, eax
jne 0x140019505
mov rcx, r13
call sym.free
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140019391
call sym.free
mov rcx, r12
call sym.free
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x1400193ab
call sym.free
add dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x3c]
add dword [rsp + 0x50], 0x343fd
cmp eax, 0x64
jne 0x140019193
mov qword [rsp + 0x20], rsi
pxor xmm0, xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.2001:0db8:85a3:0000:0000:8a2e:0370:7334
mov qword [rsp + 0xd0], 0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
call dbg.massip_parse_range
cmp eax, 6
je 0x14001942a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x2c6
lea r8, str.src_massip_rangesv6.c
lea rdx, str.selftest:_failed__s:_u_n
mov rcx, rax
call sym.fprintf_1
movabs rdx, 0x20010db885a30000
mov eax, 1
cmp qword [rsp + 0x80], rdx
jne 0x14001945b
movabs rax, 0x8a2e03707334
cmp qword [rsp + 0x88], rax
setne al
movzx eax, al
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rsi, str._____u:_regression_failed__s:_d_n
call rbx
mov r8d, 0x1a
mov edx, 1
lea rcx, str.____range6:_range_too_big_n
mov r9, rax
call sym.fwrite
mov ecx, 2
call rbx
mov dword [rsp + 0x20], 0x2bf
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
lea r9, str.src_massip_rangesv6.c
call sym.fprintf_1
or eax, 1
jmp 0x14001945b
mov ecx, 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rbx
mov dword [rsp + 0x20], 0x2a7
mov rcx, rax
lea rsi, str._____u:_regression_failed__s:_d_n
mov r8d, dword [rsp + 0x3c]
lea r9, str.src_massip_rangesv6.c
mov rdx, rsi
call sym.fprintf_1
jmp 0x1400194a6
mov ecx, 2
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rbx
mov dword [rsp + 0x20], 0x2a8
mov rcx, rax
jmp 0x1400194e8