Function at 0x1400076d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x83e88
call fcn.140012920
sub rsp, rax
lea rbp, [rsp + 0x80]
vmovdqa xmmword [rbp + 0x83df0], xmm14
vmovdqa xmmword [rbp + 0x83de0], xmm13
vmovdqa xmmword [rbp + 0x83dd0], xmm12
vmovdqa xmmword [rbp + 0x83dc0], xmm11
vmovdqa xmmword [rbp + 0x83db0], xmm10
vmovdqa xmmword [rbp + 0x83da0], xmm9
vmovdqa xmmword [rbp + 0x83d90], xmm8
vmovdqa xmmword [rbp + 0x83d80], xmm7
vmovdqa xmmword [rbp + 0x83d70], xmm6
mov esi, r8d
mov rdi, rcx
mov rax, qword [0x140019040]
xor rax, rbp
mov qword [rbp + 0x83d68], rax
movzx ebx, dx
cmp ebx, 0xc7
ja 0x14000776d
mov eax, 0x10
call fcn.140012920
sub rsp, rax
mov r14, rsp
jmp 0x1400077b6
mov eax, ebx
shr eax, 3
imul edx, eax, 0x147b
shr edx, 0x11
imul eax, edx, 0xc8
mov r9d, ebx
sub r9d, eax
lea ecx, [rdx + 1]
cmp r9w, 0x65
mov r8d, edx
cmovae r8d, ecx
lea eax, [r8*4 + 0xf]
and eax, 0xfffffff0
call fcn.140012920
sub rsp, rax
mov r14, rsp
cmp r8d, 1
jne 0x140008004
mov dword [r14], ebx
mov ecx, 1
mov eax, dword [0x140019290]
imul eax, dword [0x140019298]
imul eax, eax, 0x12c
vcvtsi2sd xmm0, xmm1, rax
vmulsd xmm0, xmm0, qword [0x140015320]
vcvttsd2si rax, xmm0
mov eax, eax
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.140012920
sub rsp, rax
mov qword [rbp - 0x18], rsp
mov dword [rbp - 4], 0
test ecx, ecx
je 0x140007f49
mov eax, ecx
mov qword [rbp - 0x68], rax
movzx eax, si
mov qword [rbp - 0x60], rax
lea r12, [rbp + 0x57e40]
vmovdqa xmm6, xmmword [0x140015370]
vmovdqa xmm7, xmmword [0x140015380]
vmovdqa xmm8, xmmword [0x140015330]
vmovdqa xmm9, xmmword [0x140015340]
vmovdqa xmm10, xmmword [0x140015350]
vmovdqa xmm11, xmmword [0x140015360]
vpxor xmm12, xmm12, xmm12
xor r9d, r9d
mov word [rbp - 0xa], si
mov dword [rbp - 0x1c], ebx
mov qword [rbp - 0x50], r14
jmp 0x1400078b9
mov dword [rbp - 8], 1
sub rsp, 0x30
lea rax, [rbp - 4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov rcx, r12
mov edx, r10d
xor r8d, r8d
mov r15, r9
lea r9, [rbp - 8]
vzeroupper
call fcn.140008ff0
mov r9, r15
add rsp, 0x30
inc r9
cmp r9, qword [rbp - 0x68]
je 0x140007f49
mov r10d, dword [r14 + r9*4]
movzx r8d, r10w
mov eax, ebx
sub eax, r8d
mov r13d, dword [0x140019298]
imul eax, r13d
mov qword [rbp - 0x28], rax
mov r15d, dword [r14]
cmp qword [0x140019270], 2
jne 0x140007908
cmp qword [0x140019278], 0x10
lea rax, [0x140019260]
jb 0x1400078fa
mov rax, qword [0x140019260]
movzx eax, word [rax]
cmp eax, 0x3650
je 0x140007b72
test si, si
je 0x140007870
mov qword [rbp - 0x30], r10
lea rcx, [r8 - 1]
mov edx, r8d
and edx, 0xffffffc0
imul r15d, r13d
mov qword [rbp - 0x38], r9
imul r15d, r9d
mov rax, qword [rbp - 0x28]
add eax, r8d
mov qword [rbp - 0x28], rax
mov r9d, r8d
and r9d, 0xfffffff8
mov eax, r8d
and eax, 3
mov qword [rbp - 0x40], rax
mov rsi, r12
lea rbx, [rbp + 0x57ea0]
xor r12d, r12d
jmp 0x14000797f
add r15, qword [rbp - 0x28]
inc r12
add rbx, 0x258
add rsi, 0x258
cmp r12, qword [rbp - 0x60]
je 0x140007b20
test r8d, r8d
je 0x140007960
cmp r8d, 8
jb 0x1400079b0
mov eax, r15d
add eax, ecx
jb 0x1400079b0
mov rax, rcx
shr rax, 0x20
jne 0x1400079b0
cmp r8d, 0x40
jae 0x140007a4b
xor r13d, r13d
jmp 0x140007ae2
xor r13d, r13d
mov eax, r15d
mov r10, r13
not r10
add r10, r8
test r8b, 3
je 0x1400079e7
mov r14, qword [rbp - 0x40]
nop dword [rax]
mov r11d, eax
inc eax
movzx r11d, byte [rdi + r11]
mov word [rsi + r13*2], r11w
inc r13
dec r14
jne 0x1400079d0
cmp r10, 3
jb 0x140007960
nop word cs:[rax + rax]
lea r10d, [rax + 1]
mov r11d, eax
movzx r11d, byte [rdi + r11]
mov word [rsi + r13*2], r11w
lea r11d, [rax + 2]
movzx r10d, byte [rdi + r10]
mov word [rsi + r13*2 + 2], r10w
lea r10d, [rax + 3]
movzx r11d, byte [rdi + r11]
mov word [rsi + r13*2 + 4], r11w
add eax, 4
movzx r10d, byte [rdi + r10]
mov word [rsi + r13*2 + 6], r10w
add r13, 4
cmp r8, r13
jne 0x140007a00
jmp 0x140007960
mov r13d, r8d
and r13d, 0xffffffc0
xor eax, eax
nop word cs:[rax + rax]
lea r10d, [r15 + rax]
vpmovzxbw xmm0, qword [rdi + r10]
vpmovzxbw xmm1, qword [rdi + r10 + 8]
vpmovzxbw xmm2, qword [rdi + r10 + 0x10]
vpmovzxbw xmm3, qword [rdi + r10 + 0x18]
vpmovzxbw xmm4, qword [rdi + r10 + 0x20]
vpmovzxbw xmm5, qword [rdi + r10 + 0x28]
vpmovzxbw xmm13, qword [rdi + r10 + 0x30]
vpmovzxbw xmm14, qword [rdi + r10 + 0x38]
vmovdqu xmmword [rbx + rax*2 - 0x50], xmm1
vmovdqu xmmword [rbx + rax*2 - 0x60], xmm0
vmovdqu xmmword [rbx + rax*2 - 0x30], xmm3
vmovdqu xmmword [rbx + rax*2 - 0x40], xmm2
vmovdqu xmmword [rbx + rax*2 - 0x10], xmm5
vmovdqu xmmword [rbx + rax*2 - 0x20], xmm4
vmovdqu xmmword [rbx + rax*2 + 0x10], xmm14
vmovdqu xmmword [rbx + rax*2], xmm13
add rax, 0x40
cmp rdx, rax
jne 0x140007a60
cmp r13, r8
je 0x140007960
test r8b, 0x38
je 0x140007b17
mov r10, r13
mov r13d, r8d
and r13d, 0xfffffff8
lea eax, [r15 + r13]
lea r14d, [r15 + r10]
vpmovzxbw xmm0, qword [rdi + r14]
vmovdqu xmmword [rsi + r10*2], xmm0
add r10, 8
cmp r9, r10
jne 0x140007af0
cmp r13, r8
je 0x140007960
jmp 0x1400079b6
lea eax, [r15 + r13]
jmp 0x1400079b6
mov dword [rbp - 8], 1
sub rsp, 0x30
lea rax, [rbp - 4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r12, [rbp + 0x57e40]
mov rcx, r12
mov rdx, qword [rbp - 0x30]
movzx esi, word [rbp - 0xa]
mov r8d, esi
lea r9, [rbp - 8]
vzeroupper
call fcn.140003150
add rsp, 0x30
mov ebx, dword [rbp - 0x1c]
mov r14, qword [rbp - 0x50]
mov r9, qword [rbp - 0x38]
jmp 0x1400078ac
test si, si
je 0x140007f05
mov qword [rbp - 0x30], r10
mov qword [rbp - 0x38], r9
imul r13d, r9d
imul r13d, r15d
lea r14d, [r8 + r8*2]
mov ebx, r8d
lea r15, [rbx - 1]
mov rsi, rbp
mov r9, r12
lea r12, [rbp + 0x2bf20]
xor eax, eax
mov r11d, 3
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x58], r15
jmp 0x140007be6
add r13d, dword [rbp - 0x28]
inc rax
add r9, 0x258
add r12, 0x258
add rsi, 0x258
cmp rax, qword [rbp - 0x60]
je 0x140007ebd
test r8d, r8d
je 0x140007bc0
cmp r8d, 9
mov qword [rbp - 0x70], rax
jae 0x140007c00
xor eax, eax
mov edx, r13d
jmp 0x140007e80
mov eax, r15d
mul r11d
seto cl
mov edx, r13d
add edx, eax
setb dl
mov r10d, 0xfffffffd
sub r10d, r13d
cmp r10d, eax
jb 0x140007bf5
test cl, cl
jne 0x140007bf5
test dl, dl
jne 0x140007bf5
test cl, cl
jne 0x140007bf5
mov edx, 0xfffffffe
sub edx, r13d
cmp edx, eax
jb 0x140007bf5
test cl, cl
jne 0x140007bf5
mov rax, r15
shr rax, 0x20
mov eax, 0
mov edx, r13d
jne 0x140007e80
cmp r8d, 0x11
jae 0x140007c5d
xor eax, eax
jmp 0x140007d8c
mov edx, ebx
and edx, 0xf
mov eax, 0x10
cmove rdx, rax
mov rax, rbx
sub rax, rdx
mov r14d, r13d
mov r15d, r13d
xor r13d, r13d
nop word [rax + rax]
lea ecx, [r15 + 1]
mov r10d, r15d
vmovdqu xmm0, xmmword [rdi + r10]
vmovdqu xmm1, xmmword [rdi + r10 + 0x10]
vmovdqu xmm2, xmmword [rdi + r10 + 0x20]
vpshufb xmm2, xmm2, xmm8
vpshufb xmm0, xmm0, xmm9
vpor xmm0, xmm0, xmm2
vpshufb xmm0, xmm0, xmm10
vpshufb xmm1, xmm1, xmm11
vpor xmm0, xmm0, xmm1
vpmovzxbw xmm1, xmm0
vpunpckhbw xmm0, xmm0, xmm12
vmovdqu xmmword [r9 + r13*2 + 0x10], xmm0
vmovdqu xmmword [r9 + r13*2], xmm1
lea r10d, [r15 + 2]
vmovdqu xmm0, xmmword [rdi + rcx]
vmovdqu xmm1, xmmword [rdi + rcx + 0x10]
vmovdqu xmm2, xmmword [rdi + rcx + 0x20]
vpshufb xmm2, xmm2, xmm8
vpshufb xmm0, xmm0, xmm9
vpor xmm0, xmm0, xmm2
vpshufb xmm0, xmm0, xmm10
vpshufb xmm1, xmm1, xmm11
vpor xmm0, xmm0, xmm1
vpmovzxbw xmm1, xmm0
vpunpckhbw xmm0, xmm0, xmm12
vmovdqu xmmword [r12 + r13*2 + 0x10], xmm0
vmovdqu xmmword [r12 + r13*2], xmm1
vmovdqu xmm0, xmmword [rdi + r10]
vmovdqu xmm1, xmmword [rdi + r10 + 0x10]
vmovdqu xmm2, xmmword [rdi + r10 + 0x20]
vpshufb xmm2, xmm2, xmm8
vpshufb xmm0, xmm0, xmm9
vpor xmm0, xmm0, xmm2
vpshufb xmm0, xmm0, xmm10
vpshufb xmm1, xmm1, xmm11
vpor xmm0, xmm0, xmm1
vpmovzxbw xmm1, xmm0
vpunpckhbw xmm0, xmm0, xmm12
vmovdqu xmmword [rsi + r13*2 + 0x10], xmm0
vmovdqu xmmword [rsi + r13*2], xmm1
add r13, 0x10
add r15d, 0x30
cmp rax, r13
jne 0x140007c80
cmp edx, 9
mov r15, qword [rbp - 0x58]
jae 0x140007d89
lea edx, [rax + rax*2]
mov r13d, r14d
add edx, r14d
mov r14d, dword [rbp - 0x20]
jmp 0x140007e80
mov r13d, r14d
mov rcx, rax
mov edx, ebx
and edx, 7
mov eax, 8
cmove rdx, rax
mov rax, rbx
sub rax, rdx
lea edx, [rax + rax*2]
add edx, r13d
lea r10, [r9 + rcx*2]
mov qword [rbp - 0x40], r10
lea r10, [r12 + rcx*2]
mov qword [rbp - 0x78], r10
lea r14, [rsi + rcx*2]
mov r10, rax
sub r10, rcx
lea ecx, [rcx + rcx*2]
mov dword [rbp - 0x44], r13d
add ecx, r13d
xor r11d, r11d
lea r15d, [rcx + 1]
mov r13d, ecx
vmovdqu xmm0, xmmword [rdi + r13]
vmovq xmm1, qword [rdi + r13 + 0x10]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm7
vpor xmm0, xmm0, xmm1
vpmovzxbw xmm0, xmm0
mov r13, qword [rbp - 0x40]
vmovdqu xmmword [r13 + r11*2], xmm0
lea r13d, [rcx + 2]
vmovdqu xmm0, xmmword [rdi + r15]
vmovq xmm1, qword [rdi + r15 + 0x10]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm7
vpor xmm0, xmm0, xmm1
vpmovzxbw xmm0, xmm0
mov r15, qword [rbp - 0x78]
vmovdqu xmmword [r15 + r11*2], xmm0
vmovdqu xmm0, xmmword [rdi + r13]
vmovq xmm1, qword [rdi + r13 + 0x10]
vpshufb xmm1, xmm1, xmm6
vpshufb xmm0, xmm0, xmm7
vpor xmm0, xmm0, xmm1
vpmovzxbw xmm0, xmm0
vmovdqu xmmword [r14 + r11*2], xmm0
add r11, 8
add ecx, 0x18
cmp r10, r11
jne 0x140007dd0
mov r11d, 3
mov r13d, dword [rbp - 0x44]
mov r14d, dword [rbp - 0x20]
mov r15, qword [rbp - 0x58]
nop dword [rax + rax]
lea ecx, [rdx + 1]
mov r10d, edx
movzx r10d, byte [rdi + r10]
mov word [r9 + rax*2], r10w
lea r10d, [rdx + 2]
movzx ecx, byte [rdi + rcx]
mov word [r12 + rax*2], cx
add edx, 3
movzx ecx, byte [rdi + r10]
mov word [rsi + rax*2], cx
inc rax
cmp rbx, rax
jne 0x140007e80
add r13d, r14d
mov rax, qword [rbp - 0x70]
jmp 0x140007bc0
sub rsp, 0x40
lea rax, [rbp - 4]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x28], rax
movzx esi, word [rbp - 0xa]
mov word [rsp + 0x20], si
lea r12, [rbp + 0x57e40]
mov rcx, r12
lea rdx, [rbp + 0x2bf20]
mov r8, rbp
mov r9, qword [rbp - 0x30]
vzeroupper
call fcn.140005e40
add rsp, 0x40
jmp 0x140007b62
sub rsp, 0x40
lea rax, [rbp - 4]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], 0
mov rcx, r12
lea rdx, [rbp + 0x2bf20]
mov r8, rbp
mov r15, r9
mov r9d, r10d
vzeroupper
call fcn.140009cd0
mov r9, r15
add rsp, 0x40
jmp 0x1400078ac
mov r9, qword [0x140019288]
sub rsp, 0x20
mov rsi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rbp - 4]
mov edx, 1
mov r8d, 4
vzeroupper
call rsi
add rsp, 0x20
mov r9, qword [0x140019288]
mov r8d, dword [rbp - 4]
sub rsp, 0x20
mov edx, 1
mov rcx, qword [rbp - 0x18]
call rsi
add rsp, 0x20
mov rcx, qword [rbp + 0x83d68]
xor rcx, rbp
sub rsp, 0x20
call fcn.140012980
add rsp, 0x20
vmovaps xmm6, xmmword [rbp + 0x83d70]
vmovaps xmm7, xmmword [rbp + 0x83d80]
vmovaps xmm8, xmmword [rbp + 0x83d90]
vmovaps xmm9, xmmword [rbp + 0x83da0]
vmovaps xmm10, xmmword [rbp + 0x83db0]
vmovaps xmm11, xmmword [rbp + 0x83dc0]
vmovaps xmm12, xmmword [rbp + 0x83dd0]
vmovaps xmm13, xmmword [rbp + 0x83de0]
vmovaps xmm14, xmmword [rbp + 0x83df0]
lea rsp, [rbp + 0x83e08]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
dec r8d
je 0x140008070
movsxd rax, r8d
cmp eax, 0x20
jae 0x140008016
xor r10d, r10d
jmp 0x140008060
mov r10, rax
and r10, 0xffffffffffffffe0
xor r11d, r11d
vmovapd ymm0, ymmword [0x140015300]
nop dword [rax + rax]
vmovupd ymmword [r14 + r11*4], ymm0
vmovupd ymmword [r14 + r11*4 + 0x20], ymm0
vmovupd ymmword [r14 + r11*4 + 0x40], ymm0
vmovupd ymmword [r14 + r11*4 + 0x60], ymm0
add r11, 0x20
cmp r10, r11
jne 0x140008030
cmp r10, rax
je 0x140008070
nop dword [rax]
mov dword [r14 + r10*4], 0xc8
inc r10
cmp rax, r10
jne 0x140008060
movzx eax, r9w
cmp r9w, 0x64
jbe 0x140008087
mov edx, r8d
mov dword [r14 + rdx*4], eax
jmp 0x1400077be
add eax, 0xc8
mov ecx, r8d
mov dword [r14 + rcx*4], eax
mov ecx, edx
jmp 0x1400077be