Function at 0x140030510
Capabilities:
Enumerate pe sections

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
movzx ebx, byte [r8 + 0x20]
mov eax, ebx
mov ebp, ebx
shr al, 2
mov rsi, rcx
mov r11, rdx
and eax, 7
and ebp, 0x20
je 0x1400306d0
lea rdx, [r8 + 0x30]
lea rdi, [r8 + 0x48]
test bl, 0x40
cmovne rdi, rdx
movzx edx, byte [rsi + 0x20]
mov r10d, edx
mov r13d, edx
shr r10b, 2
and r10d, 7
movzx r12d, r10b
and r13d, 0x20
je 0x1400306e0
lea r14, [rsi + 0x30]
lea rcx, [rsi + 0x48]
test dl, 0x40
cmovne rcx, r14
cmp eax, r12d
je 0x1400306ed
cmp eax, 1
sete cl
cmp r12d, 2
sete r10b
test cl, cl
je 0x140030710
test r10b, r10b
je 0x140030710
test r13b, r13b
jne 0x140030860
mov rsi, qword [rsi + 0x48]
lea r10, [rsi + r11*2]
test bpl, bpl
je 0x14003087c
lea rdx, [r8 + 0x30]
lea rax, [r8 + 0x48]
and ebx, 0x40
cmovne rax, rdx
lea rbx, [rax + r9]
and r9, 0xfffffffffffffffc
lea r8, [rax + r9]
cmp rax, r8
jae 0x140030670
sub r9, 1
cmp r9, 3
jbe 0x140030cb0
mov rbp, r9
shr rbp, 2
lea rdi, [rbp + 1]
lea rdx, [rdi*4]
lea rcx, [r11 + rdx]
lea rcx, [rsi + rcx*2]
cmp rax, rcx
jae 0x140030a78
lea r12, [rax + rdx]
mov rcx, r10
mov rdx, rax
cmp r10, r12
jae 0x140030a78
nop dword [rax]
movzx r11d, byte [rdx]
add rdx, 4
add rcx, 8
mov word [rcx - 8], r11w
movzx r11d, byte [rdx - 3]
mov word [rcx - 6], r11w
movzx r11d, byte [rdx - 2]
mov word [rcx - 4], r11w
movzx r11d, byte [rdx - 1]
mov word [rcx - 2], r11w
cmp rdx, r8
jb 0x140030628
nop dword [rax]
shr r9, 2
add r9, 1
lea rax, [rax + r9*4]
lea r10, [r10 + r9*8]
cmp rax, rbx
jae 0x1400306bb
mov rcx, rbx
sub rcx, rax
lea r8, [rcx - 1]
cmp r8, 6
jbe 0x140030ca0
lea rdx, [r10 + rcx*2]
cmp rax, rdx
jae 0x140030b58
xor edx, edx
cmp r10, rbx
jae 0x140030b58
nop dword [rax]
movzx r8d, byte [rax + rdx]
mov word [r10 + rdx*2], r8w
add rdx, 1
cmp rcx, rdx
jne 0x1400306a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [r8 + 0x48]
jmp 0x140030547
mov rcx, qword [rsi + 0x48]
cmp eax, r12d
jne 0x14003057f
movzx r8d, r10b
mov rdx, rdi
imul r11, r8
imul r8, r9
add rcx, r11
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sub.msvcrt.dll_memcpy
cmp r12d, 4
sete dil
test cl, cl
je 0x140030888
test dil, dil
je 0x140030888
test r13b, r13b
je 0x140030e20
lea rax, [rsi + 0x30]
add rsi, 0x48
and edx, 0x40
cmovne rsi, rax
lea rcx, [rsi + r11*4]
test bpl, bpl
je 0x140030e10
lea rdx, [r8 + 0x30]
add r8, 0x48
and ebx, 0x40
cmovne r8, rdx
mov rax, r9
lea rbx, [r8 + r9]
and rax, 0xfffffffffffffffc
lea rdi, [r8 + rax]
cmp r8, rdi
jae 0x140030803
lea r9, [rax - 1]
cmp r9, 3
jbe 0x140031108
mov rbp, r9
shr rbp, 2
lea r10, [rbp + 1]
lea rax, [r10*4]
lea rdx, [r11 + rax]
lea rdx, [rsi + rdx*4]
cmp r8, rdx
jae 0x140030e30
lea r12, [r8 + rax]
mov rdx, rcx
mov rax, r8
cmp rcx, r12
jae 0x140030e30
nop word [rax + rax]
movzx r10d, byte [rax]
add rax, 4
add rdx, 0x10
mov dword [rdx - 0x10], r10d
movzx r10d, byte [rax - 3]
mov dword [rdx - 0xc], r10d
movzx r10d, byte [rax - 2]
mov dword [rdx - 8], r10d
movzx r10d, byte [rax - 1]
mov dword [rdx - 4], r10d
cmp rax, rdi
jb 0x1400307c0
shr r9, 2
add r9, 1
lea r8, [r8 + r9*4]
shl r9, 4
add rcx, r9
cmp r8, rbx
jae 0x1400306bb
mov rdx, rbx
mov r9, r8
sub rdx, r8
lea r10, [rdx - 1]
cmp r10, 6
jbe 0x140031118
lea rax, [rcx + rdx*4]
cmp r8, rax
jae 0x140030f78
xor eax, eax
cmp rcx, rbx
jae 0x140030f78
nop dword [rax + rax]
movzx r9d, byte [r8 + rax]
mov dword [rcx + rax*4], r9d
add rax, 1
cmp rdx, rax
jne 0x140030840
jmp 0x1400306bb
lea rax, [rsi + 0x30]
add rsi, 0x48
and edx, 0x40
cmovne rsi, rax
lea r10, [rsi + r11*2]
test bpl, bpl
jne 0x1400305b8
mov rax, qword [r8 + 0x48]
jmp 0x1400305c7
cmp eax, 2
sete cl
test dil, dil
je 0x140030cc0
test cl, cl
je 0x140030cc0
test r13b, r13b
jne 0x140031120
mov r10, qword [rsi + 0x48]
lea rdx, [r10 + r11*4]
test bpl, bpl
je 0x140031280
lea rax, [r8 + 0x30]
lea rcx, [r8 + 0x48]
and ebx, 0x40
cmovne rcx, rax
lea rax, [r9 + r9]
lea rbx, [rcx + rax]
and rax, 0xfffffffffffffff8
lea r8, [rcx + rax]
cmp rcx, r8
jae 0x140030977
sub rax, 1
mov r8, rax
shr r8, 3
add r8, 1
cmp rax, 7
jbe 0x140031a25
mov r9, r8
xor eax, eax
pxor xmm1, xmm1
shr r9, 1
shl r9, 4
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax]
movdqa xmm2, xmm0
punpckhwd xmm0, xmm1
punpcklwd xmm2, xmm1
movups xmmword [rdx + rax*2 + 0x10], xmm0
movups xmmword [rdx + rax*2], xmm2
add rax, 0x10
cmp rax, r9
jne 0x140030910
test r8b, 1
je 0x14003096c
mov r9, r8
and r9, 0xfffffffffffffffe
movq xmm0, qword [rcx + r9*8]
pxor xmm1, xmm1
lea rax, [r11 + r9*4]
lea rax, [r10 + rax*4]
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
punpcklwd xmm2, xmm1
pshufd xmm0, xmm0, 0x4e
movq qword [rax], xmm2
movq qword [rax + 8], xmm0
lea rcx, [rcx + r8*8]
shl r8, 4
add rdx, r8
cmp rcx, rbx
jae 0x1400306bb
lea rax, [rbx - 1]
sub rax, rcx
mov r10, rax
shr r10, 1
lea r11, [r10 + 1]
cmp rax, 0xd
jbe 0x140031a18
mov r8, r11
xor eax, eax
pxor xmm1, xmm1
shr r8, 3
shl r8, 4
nop dword [rax]
movdqu xmm0, xmmword [rcx + rax]
movdqa xmm2, xmm0
punpckhwd xmm0, xmm1
punpcklwd xmm2, xmm1
movups xmmword [rdx + rax*2 + 0x10], xmm0
movups xmmword [rdx + rax*2], xmm2
add rax, 0x10
cmp r8, rax
jne 0x1400309b0
mov rax, r11
and rax, 0xfffffffffffffff8
and r11d, 7
lea r8, [rcx + rax*2]
lea r9, [rdx + rax*4]
je 0x1400306bb
sub r10, rax
lea r11, [r10 + 1]
cmp r10, 2
jbe 0x140030a39
movq xmm0, qword [rcx + rax*2]
pxor xmm1, xmm1
lea rdx, [rdx + rax*4]
mov rax, r11
and rax, 0xfffffffffffffffc
and r11d, 3
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
lea r8, [r8 + rax*2]
punpcklwd xmm2, xmm1
pshufd xmm0, xmm0, 0x4e
lea r9, [r9 + rax*4]
movq qword [rdx], xmm2
movq qword [rdx + 8], xmm0
je 0x1400306bb
movzx eax, word [r8]
mov dword [r9], eax
lea rax, [r8 + 2]
cmp rax, rbx
jae 0x1400306bb
movzx eax, word [r8 + 2]
mov dword [r9 + 4], eax
lea rax, [r8 + 4]
cmp rax, rbx
jae 0x1400306bb
movzx eax, word [r8 + 4]
mov dword [r9 + 8], eax
jmp 0x1400306bb
cmp r9, 0xb
jbe 0x1400316df
mov rcx, rdi
xor edx, edx
pxor xmm1, xmm1
shr rcx, 2
shl rcx, 4
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + rdx]
movdqa xmm2, xmm0
punpckhbw xmm0, xmm1
punpcklbw xmm2, xmm1
movups xmmword [r10 + rdx*2 + 0x10], xmm0
movups xmmword [r10 + rdx*2], xmm2
add rdx, 0x10
cmp rdx, rcx
jne 0x140030a98
test dil, 3
je 0x140030660
mov r12, rdi
and r12, 0xfffffffffffffffc
lea r8, [r12*4]
lea rdx, [r10 + r12*8]
sub rdi, r12
lea rcx, [rax + r8]
cmp rbp, r12
je 0x140030b29
movq xmm0, qword [rax + r12*4]
pxor xmm1, xmm1
add r8, r11
lea r8, [rsi + r8*2]
movdqa xmm2, xmm0
punpcklbw xmm0, xmm1
punpcklbw xmm2, xmm1
pshufd xmm0, xmm0, 0x4e
movq qword [r8], xmm2
movq qword [r8 + 8], xmm0
test dil, 1
je 0x140030660
and rdi, 0xfffffffffffffffe
lea rcx, [rcx + rdi*4]
lea rdx, [rdx + rdi*8]
movzx r8d, byte [rcx]
mov word [rdx], r8w
movzx r8d, byte [rcx + 1]
mov word [rdx + 2], r8w
movzx r8d, byte [rcx + 2]
mov word [rdx + 4], r8w
movzx ecx, byte [rcx + 3]
mov word [rdx + 6], cx
jmp 0x140030660
cmp r8, 0xe
jbe 0x1400316c6
mov r9, rcx
mov r8, rcx
pxor xmm1, xmm1
xor edx, edx
shr r9, 4
and r8, 0xfffffffffffffff0
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rax + rdx]
movdqa xmm2, xmm0
punpckhbw xmm0, xmm1
punpcklbw xmm2, xmm1
movups xmmword [r10 + rdx*2 + 0x10], xmm0
movups xmmword [r10 + rdx*2], xmm2
add rdx, 0x10
cmp r8, rdx
jne 0x140030b80
shl r9, 5
lea rdx, [rax + r8]
add r9, r10
cmp rcx, r8
je 0x1400306bb
sub rcx, r8
lea r11, [rcx - 1]
cmp r11, 6
jbe 0x140030c07
movq xmm0, qword [rax + r8]
pxor xmm1, xmm1
mov rax, rcx
lea r10, [r10 + r8*2]
and rax, 0xfffffffffffffff8
movdqa xmm2, xmm0
punpcklbw xmm0, xmm1
lea r9, [r9 + rax*2]
add rdx, rax
punpcklbw xmm2, xmm1
pshufd xmm0, xmm0, 0x4e
and ecx, 7
movq qword [r10], xmm2
movq qword [r10 + 8], xmm0
je 0x1400306bb
movzx eax, byte [rdx]
mov word [r9], ax
lea rax, [rdx + 1]
cmp rax, rbx
jae 0x1400306bb
movzx eax, byte [rdx + 1]
mov word [r9 + 2], ax
lea rax, [rdx + 2]
cmp rax, rbx
jae 0x1400306bb
movzx eax, byte [rdx + 2]
mov word [r9 + 4], ax
lea rax, [rdx + 3]
cmp rax, rbx
jae 0x1400306bb
movzx eax, byte [rdx + 3]
mov word [r9 + 6], ax
lea rax, [rdx + 4]
cmp rax, rbx
jae 0x1400306bb
movzx eax, byte [rdx + 4]
mov word [r9 + 8], ax
lea rax, [rdx + 5]
cmp rax, rbx
jae 0x1400306bb
movzx eax, byte [rdx + 5]
mov word [r9 + 0xa], ax
lea rax, [rdx + 6]
cmp rax, rbx
jae 0x1400306bb
movzx eax, byte [rdx + 6]
mov word [r9 + 0xc], ax
jmp 0x1400306bb
xor edx, edx
jmp 0x1400306a8
mov rcx, r10
mov rdx, rax
jmp 0x140030628
cmp r12d, 1
sete dil
test cl, cl
je 0x140031138
test dil, dil
je 0x140031138
test r13b, r13b
je 0x14003149f
lea rax, [rsi + 0x30]
add rsi, 0x48
and edx, 0x40
cmove rax, rsi
mov rdi, rax
lea r10, [rdi + r11]
test bpl, bpl
je 0x140031496
lea rax, [r8 + 0x30]
lea rdx, [r8 + 0x48]
and ebx, 0x40
cmovne rdx, rax
lea r8, [r9 + r9]
lea rbx, [rdx + r8]
and r8, 0xfffffffffffffff8
lea rsi, [rdx + r8]
cmp rdx, rsi
jae 0x140030db0
sub r8, 1
cmp r8, 7
jbe 0x1400316d4
mov rbp, r8
shr rbp, 3
lea r9, [rbp + 1]
lea rcx, [r11 + r9*4]
add rcx, rdi
cmp rdx, rcx
jae 0x1400315e5
lea r12, [rdx + r9*8]
mov rcx, r10
mov rax, rdx
cmp r10, r12
jae 0x1400315e5
nop dword [rax]
movzx r9d, word [rax]
add rax, 8
add rcx, 4
mov byte [rcx - 4], r9b
movzx r9d, word [rax - 6]
mov byte [rcx - 3], r9b
movzx r9d, word [rax - 4]
mov byte [rcx - 2], r9b
movzx r9d, word [rax - 2]
mov byte [rcx - 1], r9b
cmp rax, rsi
jb 0x140030d68
nop dword [rax + rax]
shr r8, 3
lea rax, [r8 + 1]
lea rdx, [rdx + rax*8]
lea r10, [r10 + rax*4]
cmp rdx, rbx
jae 0x1400306bb
lea rax, [rbx - 1]
sub rax, rdx
cmp rax, 0xd
jbe 0x140030df0
mov r11, rax
shr r11, 1
lea rcx, [r11 + 1]
lea r8, [rdx + rcx*2]
cmp r10, r8
jae 0x1400314a8
lea r8, [r10 + rcx]
cmp rdx, r8
jae 0x1400314a8
nop word [rax + rax]
movzx eax, word [rdx]
add rdx, 2
add r10, 1
mov byte [r10 - 1], al
cmp rdx, rbx
jb 0x140030df0
jmp 0x1400306bb
mov r8, qword [r8 + 0x48]
jmp 0x14003075d
mov rsi, qword [rsi + 0x48]
jmp 0x140030741
cmp r9, 0xb
jbe 0x140031a3b
mov rdi, r10
mov rdx, r8
pxor xmm3, xmm3
mov rax, rcx
shr rdi, 2
pxor xmm2, xmm2
shl rdi, 4
add rdi, r8
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rdx]
add rdx, 0x10
add rax, 0x40
movdqa xmm1, xmm0
punpckhbw xmm0, xmm3
punpcklbw xmm1, xmm3
movdqa xmm4, xmm1
punpckhwd xmm1, xmm2
movups xmmword [rax - 0x30], xmm1
movdqa xmm1, xmm0
punpcklwd xmm4, xmm2
punpckhwd xmm0, xmm2
punpcklwd xmm1, xmm2
movups xmmword [rax - 0x40], xmm4
movups xmmword [rax - 0x20], xmm1
movups xmmword [rax - 0x10], xmm0
cmp rdi, rdx
jne 0x140030e60
mov r12, r10
and r12, 0xfffffffffffffffc
mov rax, r12
lea rdi, [r12*4]
shl rax, 4
lea rdx, [r8 + rdi]
add rax, rcx
test r10b, 3
je 0x1400307f0
sub r10, r12
cmp rbp, r12
je 0x140030f4c
movq xmm0, qword [r8 + r12*4]
pxor xmm1, xmm1
add rdi, r11
lea r11, [rsi + rdi*4]
movdqa xmm2, xmm0
punpcklbw xmm0, xmm1
punpcklbw xmm2, xmm1
pxor xmm1, xmm1
pshufd xmm0, xmm0, 0x4e
movdqa xmm3, xmm2
punpcklwd xmm2, xmm1
pshufd xmm2, xmm2, 0x4e
punpcklwd xmm3, xmm1
movq qword [r11 + 8], xmm2
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
punpcklwd xmm2, xmm1
pshufd xmm0, xmm0, 0x4e
movq qword [r11], xmm3
movq qword [r11 + 0x10], xmm2
movq qword [r11 + 0x18], xmm0
test r10b, 1
je 0x1400307f0
and r10, 0xfffffffffffffffe
lea rdx, [rdx + r10*4]
shl r10, 4
add rax, r10
movzx r10d, byte [rdx]
mov dword [rax], r10d
movzx r10d, byte [rdx + 1]
mov dword [rax + 4], r10d
movzx r10d, byte [rdx + 2]
mov dword [rax + 8], r10d
movzx edx, byte [rdx + 3]
mov dword [rax + 0xc], edx
jmp 0x1400307f0
cmp r10, 0xe
jbe 0x140031a2d
mov r11, rdx
mov rsi, rdx
pxor xmm3, xmm3
mov rax, rcx
and r11, 0xfffffffffffffff0
shr rsi, 4
pxor xmm2, xmm2
lea r10, [r8 + r11]
nop
movdqu xmm0, xmmword [r9]
add r9, 0x10
add rax, 0x40
movdqa xmm1, xmm0
punpckhbw xmm0, xmm3
punpcklbw xmm1, xmm3
movdqa xmm4, xmm1
punpckhwd xmm1, xmm2
movups xmmword [rax - 0x30], xmm1
movdqa xmm1, xmm0
punpcklwd xmm4, xmm2
punpckhwd xmm0, xmm2
punpcklwd xmm1, xmm2
movups xmmword [rax - 0x40], xmm4
movups xmmword [rax - 0x20], xmm1
movups xmmword [rax - 0x10], xmm0
cmp r10, r9
jne 0x140030fa0
shl rsi, 6
mov rax, r10
mov r9, rsi
add r9, rcx
cmp rdx, r11
je 0x1400306bb
sub rdx, r11
lea r10, [rdx - 1]
cmp r10, 6
jbe 0x140031078
movq xmm0, qword [r8 + r11]
pxor xmm1, xmm1
lea rcx, [rcx + r11*4]
movdqa xmm2, xmm0
punpcklbw xmm0, xmm1
punpcklbw xmm2, xmm1
pxor xmm1, xmm1
pshufd xmm0, xmm0, 0x4e
movdqa xmm3, xmm2
punpcklwd xmm2, xmm1
pshufd xmm2, xmm2, 0x4e
punpcklwd xmm3, xmm1
movq qword [rcx + 8], xmm2
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
punpcklwd xmm2, xmm1
pshufd xmm0, xmm0, 0x4e
movq qword [rcx], xmm3
movq qword [rcx + 0x10], xmm2
movq qword [rcx + 0x18], xmm0
mov rcx, rdx
and rcx, 0xfffffffffffffff8
add rax, rcx
and edx, 7
lea r9, [r9 + rcx*4]
je 0x1400306bb
movzx edx, byte [rax]
mov dword [r9], edx
lea rdx, [rax + 1]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, byte [rax + 1]
mov dword [r9 + 4], edx
lea rdx, [rax + 2]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, byte [rax + 2]
mov dword [r9 + 8], edx
lea rdx, [rax + 3]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, byte [rax + 3]
mov dword [r9 + 0xc], edx
lea rdx, [rax + 4]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, byte [rax + 4]
mov dword [r9 + 0x10], edx
lea rdx, [rax + 5]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, byte [rax + 5]
mov dword [r9 + 0x14], edx
lea rdx, [rax + 6]
cmp rdx, rbx
jae 0x1400306bb
movzx eax, byte [rax + 6]
mov dword [r9 + 0x18], eax
jmp 0x1400306bb
mov rdx, rcx
mov rax, r8
jmp 0x1400307c0
xor eax, eax
jmp 0x140030840
lea rax, [rsi + 0x30]
lea r10, [rsi + 0x48]
and edx, 0x40
cmovne r10, rax
jmp 0x1400308ac
cmp eax, 4
sete al
test dil, dil
je 0x140031289
test al, al
je 0x140031289
test r13b, r13b
je 0x1400316f0
lea rax, [rsi + 0x30]
lea rcx, [rsi + 0x48]
and edx, 0x40
cmovne rcx, rax
lea r10, [rcx + r11]
test bpl, bpl
je 0x1400316f9
lea rax, [r8 + 0x30]
add r8, 0x48
and ebx, 0x40
cmovne r8, rax
shl r9, 2
lea rbx, [r8 + r9]
and r9, 0xfffffffffffffff0
lea rsi, [r8 + r9]
cmp r8, rsi
jae 0x14003121e
sub r9, 1
cmp r9, 0xf
jbe 0x140031a4b
mov rbp, r9
shr rbp, 4
lea rdi, [rbp + 1]
lea rax, [r11 + rdi*4]
add rax, rcx
cmp r8, rax
jae 0x1400318b0
mov r12, rdi
mov rdx, r10
mov rax, r8
shl r12, 4
add r12, r8
cmp r10, r12
jae 0x1400318b0
nop
mov ecx, dword [rax]
add rax, 0x10
add rdx, 4
mov byte [rdx - 4], cl
mov ecx, dword [rax - 0xc]
mov byte [rdx - 3], cl
mov ecx, dword [rax - 8]
mov byte [rdx - 2], cl
mov ecx, dword [rax - 4]
mov byte [rdx - 1], cl
cmp rax, rsi
jb 0x1400311e0
nop dword [rax]
shr r9, 4
lea rax, [r9 + 1]
mov rdx, rax
lea r10, [r10 + rax*4]
shl rdx, 4
add r8, rdx
cmp r8, rbx
jae 0x1400306bb
lea rdx, [rbx - 1]
mov rax, r8
sub rdx, r8
cmp rdx, 0x1b
jbe 0x140031260
mov rsi, rdx
shr rsi, 2
lea r9, [rsi + 1]
lea rcx, [r8 + r9*4]
cmp r10, rcx
jae 0x140031702
lea rcx, [r10 + r9]
cmp r8, rcx
jae 0x140031702
nop dword [rax]
mov eax, dword [r8]
add r8, 4
add r10, 1
mov byte [r10 - 1], al
cmp r8, rbx
jb 0x140031260
jmp 0x1400306bb
mov rcx, qword [r8 + 0x48]
jmp 0x1400308c8
test r10b, r10b
je 0x1400306bb
test al, al
je 0x1400306bb
test r13b, r13b
je 0x140031a5f
lea rax, [rsi + 0x30]
lea r10, [rsi + 0x48]
and edx, 0x40
cmovne r10, rax
lea rcx, [r10 + r11*2]
test bpl, bpl
je 0x140031a56
lea rax, [r8 + 0x30]
lea rdx, [r8 + 0x48]
and ebx, 0x40
cmovne rdx, rax
lea rax, [r9*4]
lea r9, [rdx + rax]
and rax, 0xfffffffffffffff0
lea r8, [rdx + rax]
cmp rdx, r8
jae 0x140031390
sub rax, 1
mov rbx, rax
shr rbx, 4
add rbx, 1
cmp rax, 0xf
jbe 0x140031a94
mov r8, rbx
xor eax, eax
shr r8, 1
shl r8, 4
movdqu xmm0, xmmword [rdx + rax*2]
movdqu xmm5, xmmword [rdx + rax*2 + 0x10]
movdqa xmm1, xmm0
punpcklwd xmm0, xmm5
punpckhwd xmm1, xmm5
movdqa xmm2, xmm0
punpckhwd xmm2, xmm1
punpcklwd xmm0, xmm1
punpcklwd xmm0, xmm2
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp r8, rax
jne 0x140031310
test bl, 1
je 0x140031382
mov r8, rbx
and r8, 0xfffffffffffffffe
mov rax, r8
shl rax, 4
add rax, rdx
movq xmm0, qword [rax]
movq xmm1, qword [rax + 8]
lea rax, [r11 + r8*4]
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
punpcklwd xmm2, xmm1
pshufd xmm2, xmm2, 0x4e
punpcklwd xmm0, xmm2
movq qword [r10 + rax*2], xmm0
mov rax, rbx
lea rcx, [rcx + rbx*8]
shl rax, 4
add rdx, rax
cmp rdx, r9
jae 0x1400306bb
lea rax, [r9 - 1]
sub rax, rdx
mov r11, rax
shr r11, 2
lea rbx, [r11 + 1]
cmp rax, 0x1b
jbe 0x140031a86
mov r8, rbx
xor eax, eax
shr r8, 3
shl r8, 4
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax*2]
movdqu xmm5, xmmword [rdx + rax*2 + 0x10]
movdqa xmm1, xmm0
punpcklwd xmm0, xmm5
punpckhwd xmm1, xmm5
movdqa xmm2, xmm0
punpckhwd xmm2, xmm1
punpcklwd xmm0, xmm1
punpcklwd xmm0, xmm2
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp rax, r8
jne 0x1400313c8
mov r8, rbx
and r8, 0xfffffffffffffff8
and ebx, 7
lea rax, [rdx + r8*4]
lea r10, [rcx + r8*2]
je 0x1400306bb
sub r11, r8
lea rbx, [r11 + 1]
cmp r11, 2
jbe 0x140031461
lea rdx, [rdx + r8*4]
movq xmm0, qword [rdx]
movq xmm1, qword [rdx + 8]
mov rdx, rbx
and rdx, 0xfffffffffffffffc
and ebx, 3
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
lea rax, [rax + rdx*4]
punpcklwd xmm2, xmm1
lea r10, [r10 + rdx*2]
pshufd xmm2, xmm2, 0x4e
punpcklwd xmm0, xmm2
movq qword [rcx + r8*2], xmm0
je 0x1400306bb
mov edx, dword [rax]
mov word [r10], dx
lea rdx, [rax + 4]
cmp rdx, r9
jae 0x1400306bb
mov edx, dword [rax + 4]
mov word [r10 + 2], dx
lea rdx, [rax + 8]
cmp rdx, r9
jae 0x1400306bb
mov eax, dword [rax + 8]
mov word [r10 + 4], ax
jmp 0x1400306bb
mov rdx, qword [r8 + 0x48]
jmp 0x140030d10
mov rdi, qword [rsi + 0x48]
jmp 0x140030cf4
cmp rax, 0x1d
jbe 0x140031a78
mov r9, rcx
mov r8, rcx
movdqa xmm1, xmmword [0x140051260]
xor eax, eax
shr r9, 4
and r8, 0xfffffffffffffff0
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax*2]
movdqu xmm2, xmmword [rdx + rax*2 + 0x10]
pand xmm0, xmm1
pand xmm2, xmm1
packuswb xmm0, xmm2
movups xmmword [r10 + rax], xmm0
add rax, 0x10
cmp rax, r8
jne 0x1400314d0
mov rax, r9
lea r9, [r10 + r8]
shl rax, 5
add rax, rdx
cmp r8, rcx
je 0x1400306bb
sub r11, r8
lea rcx, [r11 + 1]
cmp r11, 6
jbe 0x14003155c
movq xmm1, qword [0x140051260]
lea rdx, [rdx + r8*2]
movq xmm0, qword [rdx]
movq xmm2, qword [rdx + 8]
mov rdx, rcx
and rdx, 0xfffffffffffffff8
pand xmm0, xmm1
pand xmm1, xmm2
lea rax, [rax + rdx*2]
add r9, rdx
packuswb xmm0, xmm1
and ecx, 7
pshufd xmm0, xmm0, 8
movq qword [r10 + r8], xmm0
je 0x1400306bb
movzx edx, word [rax]
mov byte [r9], dl
lea rdx, [rax + 2]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, word [rax + 2]
mov byte [r9 + 1], dl
lea rdx, [rax + 4]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, word [rax + 4]
mov byte [r9 + 2], dl
lea rdx, [rax + 6]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, word [rax + 6]
mov byte [r9 + 3], dl
lea rdx, [rax + 8]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, word [rax + 8]
mov byte [r9 + 4], dl
lea rdx, [rax + 0xa]
cmp rdx, rbx
jae 0x1400306bb
movzx edx, word [rax + 0xa]
mov byte [r9 + 5], dl
lea rdx, [rax + 0xc]
cmp rdx, rbx
jae 0x1400306bb
movzx eax, word [rax + 0xc]
mov byte [r9 + 6], al
jmp 0x1400306bb
cmp r8, 0x17
jbe 0x140031a68
mov rcx, r9
movdqa xmm1, xmmword [0x140051260]
xor eax, eax
shr rcx, 2
shl rcx, 4
nop dword [rax]
movdqu xmm0, xmmword [rdx + rax*2]
movdqu xmm2, xmmword [rdx + rax*2 + 0x10]
pand xmm0, xmm1
pand xmm2, xmm1
packuswb xmm0, xmm2
movups xmmword [r10 + rax], xmm0
add rax, 0x10
cmp rax, rcx
jne 0x140031608
test r9b, 3
je 0x140030da0
mov r13, r9
and r13, 0xfffffffffffffffc
lea r12, [r13*8]
lea rax, [r13*4]
sub r9, r13
lea rsi, [rdx + r12]
lea rcx, [r10 + rax]
cmp rbp, r13
je 0x1400316a7
movq xmm1, qword [0x140051260]
lea rbp, [rdx + r12]
add rdi, rax
movq xmm0, qword [rbp]
movq xmm2, qword [rbp + 8]
pand xmm0, xmm1
pand xmm1, xmm2
packuswb xmm0, xmm1
pshufd xmm0, xmm0, 8
movq qword [rdi + r11], xmm0
test r9b, 1
je 0x140030da0
mov rax, r9
and rax, 0xfffffffffffffffe
lea rsi, [rsi + rax*8]
lea rcx, [rcx + rax*4]
movzx eax, word [rsi]
mov byte [rcx], al
movzx eax, word [rsi + 2]
mov byte [rcx + 1], al
movzx eax, word [rsi + 4]
mov byte [rcx + 2], al
movzx eax, word [rsi + 6]
mov byte [rcx + 3], al
jmp 0x140030da0
mov rdx, rax
mov r9, r10
xor r8d, r8d
jmp 0x140030bc6
mov rcx, r10
mov rax, rdx
jmp 0x140030d68
mov rdx, r10
mov rcx, rax
xor r12d, r12d
xor r8d, r8d
jmp 0x140030ae6
mov rcx, qword [rsi + 0x48]
jmp 0x140031167
mov r8, qword [r8 + 0x48]
jmp 0x140031183
cmp rdx, 0x3b
jbe 0x140031aac
mov rcx, r9
movdqa xmm1, xmmword [0x140051260]
mov rdx, r10
shr rcx, 4
shl rcx, 6
add rcx, r8
nop dword [rax]
movdqu xmm5, xmmword [rax + 0x10]
movdqu xmm0, xmmword [rax]
add rax, 0x40
add rdx, 0x10
movdqa xmm2, xmm0
punpcklwd xmm0, xmm5
punpckhwd xmm2, xmm5
movdqa xmm3, xmm0
movdqu xmm5, xmmword [rax - 0x10]
punpckhwd xmm3, xmm2
punpcklwd xmm0, xmm2
movdqu xmm2, xmmword [rax - 0x20]
punpcklwd xmm0, xmm3
movdqa xmm3, xmm2
punpcklwd xmm2, xmm5
pand xmm0, xmm1
punpckhwd xmm3, xmm5
movdqa xmm4, xmm2
punpckhwd xmm4, xmm3
punpcklwd xmm2, xmm3
punpcklwd xmm2, xmm4
pand xmm2, xmm1
packuswb xmm0, xmm2
movups xmmword [rdx - 0x10], xmm0
cmp rax, rcx
jne 0x140031728
mov r11, r9
and r11, 0xfffffffffffffff0
and r9d, 0xf
lea rax, [r11*4]
lea rcx, [r10 + r11]
lea rdx, [r8 + rax]
je 0x1400306bb
sub rsi, r11
lea r9, [rsi + 1]
cmp rsi, 6
jbe 0x140031835
add rax, r8
movq xmm0, qword [rax]
movq xmm1, qword [rax + 8]
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
punpcklwd xmm2, xmm1
movq xmm1, qword [rax + 0x10]
pshufd xmm2, xmm2, 0x4e
punpcklwd xmm0, xmm2
movq xmm2, qword [rax + 0x18]
movdqa xmm3, xmm1
mov rax, r9
and rax, 0xfffffffffffffff8
punpcklwd xmm3, xmm2
punpcklwd xmm1, xmm2
lea rdx, [rdx + rax*4]
add rcx, rax
movq xmm2, qword [0x140051260]
pshufd xmm3, xmm3, 0x4e
and r9d, 7
punpcklwd xmm1, xmm3
pand xmm0, xmm2
pand xmm2, xmm1
packuswb xmm0, xmm2
pshufd xmm0, xmm0, 8
movq qword [r10 + r11], xmm0
je 0x1400306bb
mov eax, dword [rdx]
mov byte [rcx], al
lea rax, [rdx + 4]
cmp rax, rbx
jae 0x1400306bb
mov eax, dword [rdx + 4]
mov byte [rcx + 1], al
lea rax, [rdx + 8]
cmp rax, rbx
jae 0x1400306bb
mov eax, dword [rdx + 8]
mov byte [rcx + 2], al
lea rax, [rdx + 0xc]
cmp rax, rbx
jae 0x1400306bb
mov eax, dword [rdx + 0xc]
mov byte [rcx + 3], al
lea rax, [rdx + 0x10]
cmp rax, rbx
jae 0x1400306bb
mov eax, dword [rdx + 0x10]
mov byte [rcx + 4], al
lea rax, [rdx + 0x14]
cmp rax, rbx
jae 0x1400306bb
mov eax, dword [rdx + 0x14]
mov byte [rcx + 5], al
lea rax, [rdx + 0x18]
cmp rax, rbx
jae 0x1400306bb
mov eax, dword [rdx + 0x18]
mov byte [rcx + 6], al
jmp 0x1400306bb
cmp r9, 0x2f
jbe 0x140031a9c
mov rsi, rdi
movdqa xmm1, xmmword [0x140051260]
mov rax, r8
mov rdx, r10
shr rsi, 2
shl rsi, 6
add rsi, r8
nop word cs:[rax + rax]
movdqu xmm5, xmmword [rax + 0x10]
movdqu xmm0, xmmword [rax]
add rax, 0x40
add rdx, 0x10
movdqa xmm2, xmm0
punpcklwd xmm0, xmm5
punpckhwd xmm2, xmm5
movdqa xmm3, xmm0
movdqu xmm5, xmmword [rax - 0x10]
punpckhwd xmm3, xmm2
punpcklwd xmm0, xmm2
movdqu xmm2, xmmword [rax - 0x20]
punpcklwd xmm0, xmm3
movdqa xmm3, xmm2
punpcklwd xmm2, xmm5
pand xmm0, xmm1
punpckhwd xmm3, xmm5
movdqa xmm4, xmm2
punpckhwd xmm4, xmm3
punpcklwd xmm2, xmm3
punpcklwd xmm2, xmm4
pand xmm2, xmm1
packuswb xmm0, xmm2
movups xmmword [rdx - 0x10], xmm0
cmp rax, rsi
jne 0x1400318e0
test dil, 3
je 0x140031208
mov rsi, rdi
and rsi, 0xfffffffffffffffc
mov rax, rsi
lea r12, [rsi*4]
sub rdi, rsi
shl rax, 4
lea rdx, [r10 + r12]
add rax, r8
cmp rbp, rsi
je 0x1400319fd
shl rsi, 4
add rcx, r12
add rsi, r8
movq xmm0, qword [rsi]
movq xmm1, qword [rsi + 8]
movdqa xmm2, xmm0
punpcklwd xmm0, xmm1
punpcklwd xmm2, xmm1
movq xmm1, qword [rsi + 0x10]
pshufd xmm2, xmm2, 0x4e
punpcklwd xmm0, xmm2
movq xmm2, qword [rsi + 0x18]
movdqa xmm3, xmm1
punpcklwd xmm3, xmm2
punpcklwd xmm1, xmm2
movq xmm2, qword [0x140051260]
pshufd xmm3, xmm3, 0x4e
punpcklwd xmm1, xmm3
pand xmm0, xmm2
pand xmm2, xmm1
packuswb xmm0, xmm2
pshufd xmm0, xmm0, 8
movq qword [rcx + r11], xmm0
test dil, 1
je 0x140031208
and rdi, 0xfffffffffffffffe
mov rcx, rdi
lea rdx, [rdx + rdi*4]
shl rcx, 4
add rax, rcx
mov ecx, dword [rax]
mov byte [rdx], cl
mov ecx, dword [rax + 4]
mov byte [rdx + 1], cl
mov ecx, dword [rax + 8]
mov byte [rdx + 2], cl
mov eax, dword [rax + 0xc]
mov byte [rdx + 3], al
jmp 0x140031208
mov r9, rdx
mov r8, rcx
xor eax, eax
jmp 0x1400309ec
xor r9d, r9d
jmp 0x140030940
mov r9, rcx
mov rax, r8
xor r11d, r11d
jmp 0x140031009
mov rax, rcx
mov rdx, r8
xor r12d, r12d
xor edi, edi
jmp 0x140030ed4
mov rdx, r10
mov rax, r8
jmp 0x1400311e0
mov rdx, qword [r8 + 0x48]
jmp 0x1400312ce
mov r10, qword [rsi + 0x48]
jmp 0x1400312b2
mov rcx, r10
mov rsi, rdx
xor r12d, r12d
xor eax, eax
jmp 0x14003165e
mov r9, r10
mov rax, rdx
xor r8d, r8d
jmp 0x140031519
mov r10, rcx
mov rax, rdx
xor r8d, r8d
jmp 0x140031414
xor r8d, r8d
jmp 0x140031350
mov rdx, r10
mov rax, r8
xor esi, esi
xor r12d, r12d
jmp 0x14003197b
mov rcx, r10
mov rdx, r8
xor r11d, r11d
xor eax, eax
jmp 0x1400317be