Function at 0x18004a8c0
Capabilities:
Encrypt data using speck

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x300
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
movaps xmmword [rax - 0x58], xmm7
mov r8d, edx
movaps xmmword [rax - 0x68], xmm8
lea rdx, [rbp - 0x40]
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, rcx
xor ecx, ecx
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x7c], ecx
mov r15d, ecx
mov dword [rbp - 0x74], ecx
movups xmm0, xmmword [rax + 0x70]
mov dword [rbp - 0x6c], ecx
lea rcx, [rsp + 0x70]
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp - 0x40], xmm1
call fcn.180048280
movss xmm7, dword [rbp]
lea r9, [0x180000000]
movss xmm6, dword [rbp - 4]
xorps xmm9, xmm9
movss xmm8, dword [rbp - 0x10]
xor r8d, r8d
movups xmm2, xmmword [rax]
movss xmm4, dword [0x18007fc70]
movss xmm5, dword [0x18007fc40]
movdqa xmm0, xmm2
movss xmm14, dword [rbp - 8]
movdqa xmm1, xmm2
movss xmm15, dword [rbp - 0xc]
movq rdx, xmm2
movss xmm11, dword [rbp - 0x14]
movss xmm12, dword [rbp - 0x18]
movss xmm13, dword [rbp - 0x1c]
movss xmm10, dword [rbp - 0x20]
psrldq xmm0, 0xc
movd r12d, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 8
psrldq xmm1, 8
movaps xmmword [rsp + 0x70], xmm2
movq qword [rsp + 0x78], xmm0
movss xmm0, dword [rbp + 4]
movd r13d, xmm1
movss xmm1, dword [rbp + 8]
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
movss dword [rbp - 0x70], xmm7
movss dword [rbp - 0x80], xmm6
movss dword [rbp - 0x68], xmm8
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x50], rdx
mov rax, qword [rsp + 0x78]
movss xmm3, dword [0x18007f638]
shr rax, 0x20
cmp r13d, eax
jge 0x18004ba79
movsxd rax, r13d
mov edi, r8d
inc r13d
mov dword [rbp + 0x258], 1
mov dword [rsp + 0x78], r13d
movzx r14d, byte [rax + rdx]
movzx esi, r14b
lea eax, [rsi - 1]
cmp eax, 0x1e
ja case.0x18004aa76.2
cdqe
mov ecx, dword [r9 + rax*4 + 0x4bad0]
add rcx, r9
jmp rcx
cmp dword [rbp - 0x78], 0
mov edi, dword [rbp - 0x7c]
je 0x18004aa8e
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [rbp - 0x7c], edi
lea eax, [rdi + 7]
mov dword [rbp - 0x78], r8d
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, r13d
mov r13d, eax
cmp eax, r12d
jg 0x18004aaad
test eax, eax
jns 0x18004aad6
mov r8d, 0x45c
lea rdx, [0x18007cf40]
lea rcx, [0x18007cfd8]
call qword [sym.imp.ucrtbase.dll__wassert]
movss xmm0, dword [rsp + 0x40]
xor r8d, r8d
movss xmm1, dword [rsp + 0x44]
cmp r13d, r12d
jg 0x18004aaea
test r13d, r13d
js 0x18004aaea
mov dword [rsp + 0x78], r13d
jmp 0x18004af5f
mov r13d, r12d
mov dword [rsp + 0x78], r12d
jmp 0x18004af5f
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
add dword [rbp - 0x7c], eax
jmp 0x18004af5f
mov dword [rbp - 0x78], r8d
cmp r15d, 2
jl 0x18004ba79
movsxd rax, r15d
mov rcx, rbx
movss xmm1, dword [rbp + rax*4 - 0x28]
movss xmm2, dword [rbp + rax*4 - 0x24]
call fcn.18004a550
jmp 0x18004af50
mov dword [rbp - 0x78], r8d
cmp r15d, 1
jl 0x18004ba79
movsxd rax, r15d
movaps xmm1, xmm9
mov rcx, rbx
movss xmm2, dword [rbp + rax*4 - 0x24]
call fcn.18004a550
jmp 0x18004af50
mov dword [rbp - 0x78], r8d
cmp r15d, 1
jl 0x18004ba79
movsxd rax, r15d
movaps xmm2, xmm9
mov rcx, rbx
movss xmm1, dword [rbp + rax*4 - 0x24]
call fcn.18004a550
jmp 0x18004af50
cmp r15d, 2
jl 0x18004ba79
mov r11d, 1
lea r10, [rbp - 0x20]
nop word [rax + rax]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.18004a610
add r11d, 2
lea r10, [r10 + 8]
cmp r11d, r15d
jl 0x18004aba0
jmp 0x18004af56
cmp r15d, 1
jl 0x18004ba79
lea rax, [rbx + 0x10]
lea rdx, [rbx + 0x14]
lea r10, [rbx + 0x1c]
lea r8, [rbx + 4]
lea r11, [rbx + 0x30]
lea rsi, [rbx + 0x28]
jmp 0x18004acd7
cmp r15d, 1
jl 0x18004ba79
lea rdx, [rbx + 0x1c]
lea r8, [rbx + 4]
mov qword [rbp - 0x60], rdx
lea r9, [rbx + 0x10]
mov r10, rdx
lea rax, [rbx + 0x14]
mov qword [rbp - 0x50], r9
lea r12, [rbx + 0x30]
mov qword [rbp - 0x58], rax
lea rsi, [rbx + 0x28]
mov qword [rbp - 0x30], r12
lea rdx, [rbx + 0x14]
mov r14, rsi
mov rcx, r8
mov r11, r8
cmp dword [rbx], 0
movss xmm0, dword [rdx]
addss xmm0, xmm9
movsxd rax, edi
movss xmm1, dword [rbp + rax*4 - 0x20]
addss xmm1, dword [r9]
movss dword [rdx], xmm0
movss dword [r9], xmm1
cvttss2si r9d, xmm0
cvttss2si edx, xmm1
je 0x18004aca1
cmp edx, dword [r10]
jg 0x18004ac67
cmp dword [r11], 0
jne 0x18004ac6e
mov r10, qword [rbp - 0x60]
mov dword [r10], edx
cmp r9d, dword [rbx + 0x24]
jg 0x18004ac79
cmp dword [rcx], 0
jne 0x18004ac7d
mov dword [rbx + 0x24], r9d
cmp edx, dword [rbx + 0x18]
jl 0x18004ac87
cmp dword [rcx], 0
jne 0x18004ac8a
mov dword [rbx + 0x18], edx
cmp r9d, dword [rbx + 0x20]
jl 0x18004ac95
cmp dword [rcx], 0
jne 0x18004ac99
mov dword [rbx + 0x20], r9d
mov dword [rcx], 1
jmp 0x18004acc2
movsxd rax, dword [r12]
imul rcx, rax, 0xe
mov rax, qword [r14]
mov word [rcx + rax], dx
xor edx, edx
mov qword [rcx + rax + 4], rdx
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax + 2], r9w
mov r11, qword [rbp - 0x30]
mov r10, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
inc dword [r11]
inc edi
mov qword [rbp - 0x60], r10
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x50], rax
cmp edi, r15d
jge 0x18004af4b
cmp dword [rbx], 0
movss xmm1, dword [rax]
addss xmm1, xmm9
movss dword [rax], xmm1
movsxd rax, edi
movss xmm0, dword [rbp + rax*4 - 0x20]
addss xmm0, dword [rdx]
movss dword [rdx], xmm0
cvttss2si edx, xmm1
cvttss2si r9d, xmm0
je 0x18004ad61
cmp edx, dword [r10]
jg 0x18004ad23
cmp dword [r8], 0
jne 0x18004ad26
mov dword [r10], edx
cmp r9d, dword [rbx + 0x24]
jg 0x18004ad32
cmp dword [r8], 0
jne 0x18004ad36
mov dword [rbx + 0x24], r9d
cmp edx, dword [rbx + 0x18]
jl 0x18004ad41
cmp dword [r8], 0
jne 0x18004ad44
mov dword [rbx + 0x18], edx
cmp r9d, dword [rbx + 0x20]
jl 0x18004ad50
cmp dword [r8], 0
jne 0x18004ad54
mov dword [rbx + 0x20], r9d
mov dword [r8], 1
lea rsi, [rbx + 0x28]
jmp 0x18004ad8d
movsxd rax, dword [r11]
lea r10, [rbx + 0x1c]
imul rcx, rax, 0xe
mov rax, qword [rsi]
lea r8, [rbx + 4]
mov qword [rbp - 0x60], r10
mov word [rcx + rax], dx
xor edx, edx
mov qword [rcx + rax + 4], rdx
mov byte [rcx + rax + 0xc], 2
mov word [rcx + rax + 2], r9w
inc dword [r11]
inc edi
mov rdx, qword [rbp - 0x58]
mov r12, r11
mov r9, qword [rbp - 0x50]
mov r14, rsi
mov qword [rbp - 0x30], r11
mov rcx, r8
mov r11, r8
cmp edi, r15d
jl 0x18004ac2e
jmp 0x18004af4b
cmp r15d, 4
jl 0x18004ba79
lea rsi, [rbx + 0x10]
lea r14, [rbx + 0x14]
jmp 0x18004ae88
cmp r15d, 4
jl 0x18004ba79
lea rsi, [rbx + 0x10]
mov r12d, edi
lea r14, [rbx + 0x14]
mov rdx, rsi
mov rcx, r14
mov r8, r14
mov r9, rsi
mov eax, r15d
add r12d, 4
sub eax, edi
cmp eax, 5
jne 0x18004ae09
movsxd rax, r12d
movss xmm6, dword [rbp + rax*4 - 0x20]
jmp 0x18004ae0d
movaps xmm6, xmm9
movss xmm5, dword [r9]
movsxd rax, edi
addss xmm5, xmm9
movss xmm4, dword [rbp + rax*4 - 0x20]
addss xmm4, dword [r8]
movaps xmm3, xmm5
addss xmm3, dword [rbp + rax*4 - 0x1c]
cvttss2si r10d, xmm5
movaps xmm1, xmm4
movaps xmm2, xmm3
addss xmm2, dword [rbp + rax*4 - 0x14]
addss xmm1, dword [rbp + rax*4 - 0x18]
movss dword [rdx], xmm2
cvttss2si edx, xmm4
movaps xmm0, xmm1
addss xmm0, xmm6
cvttss2si eax, xmm1
movss dword [rcx], xmm0
mov dword [rsp + 0x38], eax
cvttss2si ecx, xmm3
cvttss2si r9d, xmm0
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
call fcn.18004a370
mov edi, r12d
lea eax, [rdi + 3]
cmp eax, r15d
jge 0x18004af46
mov eax, r15d
movsxd rcx, edi
sub eax, edi
lea r12d, [rdi + 4]
cmp eax, 5
jne 0x18004aeb0
movsxd rax, r12d
movss xmm0, dword [rbp + rax*4 - 0x20]
jmp 0x18004aeb4
movaps xmm0, xmm9
movss xmm5, dword [rbp + rcx*4 - 0x20]
addss xmm5, dword [rsi]
movss xmm4, dword [r14]
addss xmm4, xmm9
movaps xmm3, xmm5
addss xmm3, dword [rbp + rcx*4 - 0x1c]
movaps xmm1, xmm4
addss xmm1, dword [rbp + rcx*4 - 0x18]
cvttss2si edx, xmm4
movaps xmm2, xmm3
addss xmm2, xmm0
movaps xmm0, xmm1
addss xmm0, dword [rbp + rcx*4 - 0x14]
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rsi], xmm2
movss dword [r14], xmm0
call fcn.18004a370
lea eax, [r12 + 3]
mov edi, r12d
mov rcx, r14
mov rdx, rsi
mov r8, r14
mov r9, rsi
cmp eax, r15d
jl 0x18004adf0
movss xmm6, dword [rbp - 0x80]
mov r12d, dword [rsp + 0x60]
movss xmm0, dword [rsp + 0x40]
movss xmm1, dword [rsp + 0x44]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x258]
movss xmm4, dword [0x18007fc70]
lea r9, [0x180000000]
movss xmm5, dword [0x18007fc40]
test ecx, ecx
mov eax, r8d
cmove eax, r15d
mov r15d, eax
jmp 0x18004aa22
cmp r15d, 6
jl 0x18004ba79
mov esi, 5
lea rdi, [rbp - 0x18]
nop word [rax + rax]
movss xmm5, dword [rdi - 8]
addss xmm5, dword [rbx + 0x10]
movss xmm4, dword [rdi - 4]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rdi]
movaps xmm1, xmm4
addss xmm1, dword [rdi + 4]
cvttss2si edx, xmm4
cvttss2si ecx, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rdi + 8]
addss xmm0, dword [rdi + 0xc]
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.18004a370
add esi, 6
add rdi, 0x18
cmp esi, r15d
jl 0x18004afb0
jmp 0x18004af50
cmp r15d, 8
jl 0x18004ba79
lea r12d, [r15 - 2]
cmp r12d, 5
jle 0x18004b0fa
mov r14d, 5
lea rsi, [rbp - 0x18]
nop word [rax + rax]
movss xmm5, dword [rsi - 8]
addss xmm5, dword [rbx + 0x10]
movss xmm4, dword [rsi - 4]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rsi]
movaps xmm1, xmm4
addss xmm1, dword [rsi + 4]
cvttss2si edx, xmm4
cvttss2si ecx, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rsi + 8]
addss xmm0, dword [rsi + 0xc]
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.18004a370
add edi, 6
add r14d, 6
add rsi, 0x18
mov eax, edi
cmp r14d, r12d
jl 0x18004b060
inc eax
cmp eax, r15d
jge 0x18004ba79
movss xmm0, dword [rsp + 0x40]
movsxd rax, edi
mov rcx, rbx
movss xmm2, dword [rbp + rax*4 - 0x1c]
movss xmm1, dword [rbp + rax*4 - 0x20]
call fcn.18004a610
mov r12d, dword [rsp + 0x60]
jmp 0x18004af56
cmp r15d, 8
jl 0x18004ba79
lea esi, [r15 - 6]
cmp esi, 1
jle 0x18004b171
mov r11d, 1
lea r10, [rbp - 0x20]
nop dword [rax + rax]
movss xmm2, dword [r10 + 4]
mov rcx, rbx
movss xmm1, dword [r10]
call fcn.18004a610
add edi, 2
lea r10, [r10 + 8]
add r11d, 2
mov eax, edi
cmp r11d, esi
jl 0x18004b140
add eax, 5
cmp eax, r15d
jge 0x18004ba79
movsxd rax, edi
movss xmm5, dword [rbp + rax*4 - 0x20]
movss xmm4, dword [rbp + rax*4 - 0x1c]
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm5
addss xmm3, dword [rbp + rax*4 - 0x18]
movaps xmm1, xmm4
addss xmm1, dword [rbp + rax*4 - 0x14]
cvttss2si edx, xmm4
cvttss2si ecx, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm1
addss xmm2, dword [rbp + rax*4 - 0x10]
addss xmm0, dword [rbp + rax*4 - 0xc]
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.18004a370
jmp 0x18004af50
cmp r15d, 4
jl 0x18004ba79
mov eax, r15d
movaps xmm5, xmm9
and eax, 1
je 0x18004b20d
movaps xmm5, xmm10
lea esi, [rax + 3]
cmp esi, r15d
jge 0x18004af64
lea rdi, [rbp - 0x18]
lea rdi, [rdi + rax*4]
movss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbx + 0x14]
movss xmm4, dword [rdi]
movss xmm2, dword [rdi - 8]
movss xmm3, dword [rdi - 4]
movss xmm6, dword [rdi + 4]
cmp r14b, 0x1b
jne 0x18004b26b
addss xmm1, xmm5
addss xmm0, xmm2
movaps xmm2, xmm0
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, xmm4
movaps xmm4, xmm2
movaps xmm5, xmm3
addss xmm4, xmm6
addss xmm5, xmm9
jmp 0x18004b290
addss xmm0, xmm5
addss xmm1, xmm2
movaps xmm2, xmm0
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, xmm4
movaps xmm4, xmm2
movaps xmm5, xmm3
addss xmm4, xmm9
addss xmm5, xmm6
cvttss2si ecx, xmm2
cvttss2si edx, xmm1
cvttss2si eax, xmm3
cvttss2si r10d, xmm0
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
movss dword [rbx + 0x10], xmm4
cvttss2si r9d, xmm5
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm4
movss dword [rbx + 0x14], xmm5
call fcn.18004a370
add esi, 4
add rdi, 0x10
movaps xmm5, xmm9
cmp esi, r15d
jl 0x18004b221
movss xmm6, dword [rbp - 0x80]
jmp 0x18004af50
cmp dword [rbp - 0x6c], 0
mov r13, qword [rbp + 0x240]
jne 0x18004b335
cmp dword [r13 + 0x9c], 0
je 0x18004b325
mov r8d, dword [rbp + 0x248]
lea rcx, [rbp + 0xb0]
mov rdx, r13
call fcn.18004a6b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
mov dword [rbp - 0x6c], 1
jmp 0x18004b335
mov r13, qword [rbp + 0x240]
cmp r15d, 1
jl 0x18004ba79
movsxd r14, dword [rbp - 0x74]
dec r15d
cmp r14d, 0xa
jge 0x18004ba79
movaps xmm0, xmmword [rsp + 0x70]
mov rax, r14
add rax, rax
inc r14d
mov dword [rbp - 0x74], r14d
movups xmmword [rbp + rax*8 + 0xc0], xmm0
movsxd rax, r15d
cvttss2si edi, dword [rbp + rax*4 - 0x20]
lea rax, [rbp + 0xa0]
cmp esi, 0xa
je 0x18004b383
lea rax, [r13 + 0x60]
movups xmm0, xmmword [rax]
mov rax, qword [rax + 8]
shr rax, 0x20
movaps xmmword [rsp + 0x70], xmm0
test eax, eax
jns 0x18004b3b1
mov r8d, 0x45c
lea rdx, [0x18007cf40]
lea rcx, [0x18007cfd8]
call qword [sym.imp.ucrtbase.dll__wassert]
mov r8d, dword [rsp + 0x7c]
mov r12d, 0
mov r9, qword [rsp + 0x70]
test r8d, r8d
mov ecx, r8d
cmovns ecx, r12d
mov dword [rsp + 0x78], ecx
cmp ecx, r8d
jl 0x18004b3d8
xor al, al
jmp 0x18004b3e6
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x78], ecx
movzx eax, byte [rax + r9]
movzx edx, al
cmp ecx, r8d
jl 0x18004b3f2
xor al, al
jmp 0x18004b400
movsxd rax, ecx
inc ecx
mov dword [rsp + 0x78], ecx
movzx eax, byte [rax + r9]
shl edx, 8
movzx eax, al
or edx, eax
cmp edx, 0x846c
jb 0x18004b417
mov eax, 0x8000
jmp 0x18004b42a
cmp edx, 0x4d8
mov eax, 0x6b
mov ecx, 0x46b
cmovae eax, ecx
add edi, eax
js 0x18004b450
cmp edi, edx
jge 0x18004b450
movaps xmm0, xmmword [rsp + 0x70]
lea rdx, [rsp + 0x70]
mov r8d, edi
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x40]
call fcn.180048280
jmp 0x18004b458
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x70], xmm0
psrldq xmm0, 8
movq rax, xmm0
shr rax, 0x20
test eax, eax
je 0x18004ba79
mov rdx, qword [rsp + 0x70]
mov r13d, r12d
movss xmm0, dword [rsp + 0x40]
mov ecx, r12d
movss xmm1, dword [rsp + 0x44]
xor r8d, r8d
mov dword [rsp + 0x78], r12d
mov r12d, dword [rsp + 0x7c]
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x50], rdx
jmp 0x18004af6a
mov r14d, dword [rbp - 0x74]
test r14d, r14d
jle 0x18004ba79
dec r14d
mov ecx, r8d
movsxd rax, r14d
add rax, rax
mov dword [rbp - 0x74], r14d
movups xmm2, xmmword [rbp + rax*8 + 0xc0]
movdqa xmm0, xmm2
movaps xmmword [rsp + 0x70], xmm2
psrldq xmm0, 0xc
movdqa xmm1, xmm2
movd r12d, xmm0
movq rdx, xmm2
psrldq xmm1, 8
movdqa xmm0, xmm2
psrldq xmm0, 8
movq qword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x40]
movd r13d, xmm1
movss xmm1, dword [rsp + 0x44]
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x50], rdx
jmp 0x18004af6a
mov rax, qword [rsp + 0x78]
shr rax, 0x20
cmp r13d, eax
jl 0x18004b532
xor al, al
jmp 0x18004b541
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x78], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
sub ecx, 0x22
je 0x18004b7de
sub ecx, 1
je 0x18004b732
sub ecx, 1
je 0x18004b67e
cmp ecx, 1
jne 0x18004ba79
cmp r15d, 0xb
jl 0x18004ba79
movaps xmm2, xmm12
movaps xmm3, xmm11
addss xmm2, xmm10
movaps xmm6, xmm1
addss xmm3, xmm13
movaps xmm7, xmm1
addss xmm2, xmm8
addss xmm3, xmm15
addss xmm2, xmm14
addss xmm3, dword [rbp - 0x80]
addss xmm2, dword [rbp - 0x70]
addss xmm3, xmm0
movaps xmm1, xmm2
movaps xmm0, xmm3
andps xmm1, xmm5
andps xmm0, xmm5
comiss xmm1, xmm0
jbe 0x18004b5c0
movaps xmm6, xmm3
xorps xmm6, xmm4
jmp 0x18004b5c6
movaps xmm7, xmm2
xorps xmm7, xmm4
movaps xmm5, xmm10
movaps xmm4, xmm13
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm12
movaps xmm1, xmm11
movaps xmm2, xmm8
movaps xmm0, xmm15
addss xmm3, xmm5
addss xmm1, xmm4
cvttss2si edx, xmm4
addss xmm2, xmm3
addss xmm0, xmm1
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.18004a370
movss xmm5, dword [rbp - 0x70]
movaps xmm3, xmm14
movss xmm8, dword [rsp + 0x40]
movss xmm4, dword [rbp - 0x80]
addss xmm3, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
addss xmm5, xmm3
addss xmm8, xmm4
movaps xmm1, xmm5
movaps xmm2, xmm8
addss xmm1, xmm7
movss xmm7, dword [rbp - 0x70]
addss xmm2, xmm6
movss xmm6, dword [rbp - 0x80]
jmp 0x18004b890
cmp r15d, 9
jl 0x18004ba79
movaps xmm1, xmm11
movaps xmm4, xmm13
addss xmm4, dword [rbx + 0x14]
movaps xmm5, xmm10
movaps xmm3, xmm12
addss xmm5, dword [rbx + 0x10]
movaps xmm2, xmm8
addss xmm1, xmm4
cvttss2si edx, xmm4
addss xmm3, xmm5
movaps xmm0, xmm1
addss xmm0, xmm9
cvttss2si eax, xmm1
addss xmm2, xmm3
movss dword [rbx + 0x14], xmm0
mov dword [rsp + 0x38], eax
cvttss2si ecx, xmm3
cvttss2si r10d, xmm5
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
call fcn.18004a370
movss xmm4, dword [rbx + 0x14]
movaps xmm8, xmm6
addss xmm4, xmm9
movaps xmm0, xmm11
addss xmm0, xmm13
movaps xmm3, xmm15
movaps xmm5, xmm14
movaps xmm1, xmm7
addss xmm8, xmm4
addss xmm0, xmm6
movaps xmm2, xmm8
subss xmm2, xmm0
jmp 0x18004b883
cmp r15d, 0xd
jl 0x18004ba79
movaps xmm5, xmm10
movaps xmm4, xmm13
addss xmm5, dword [rbx + 0x10]
addss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm12
movaps xmm1, xmm11
movaps xmm2, xmm8
movaps xmm0, xmm15
addss xmm3, xmm5
addss xmm1, xmm4
cvttss2si edx, xmm4
addss xmm2, xmm3
addss xmm0, xmm1
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.18004a370
movss xmm8, dword [rsp + 0x40]
movaps xmm4, xmm6
addss xmm4, dword [rbx + 0x14]
movss xmm2, dword [rbp + 0xc]
movaps xmm3, xmm14
movss xmm1, dword [rsp + 0x44]
movaps xmm5, xmm7
addss xmm8, xmm4
addss xmm2, xmm8
jmp 0x18004b883
cmp r15d, 7
jl 0x18004ba79
movss xmm4, dword [rbx + 0x14]
movaps xmm1, xmm12
addss xmm4, xmm9
movaps xmm5, xmm10
addss xmm5, dword [rbx + 0x10]
movaps xmm3, xmm13
movaps xmm2, xmm11
addss xmm1, xmm4
addss xmm3, xmm5
cvttss2si edx, xmm4
addss xmm2, xmm3
movaps xmm0, xmm1
addss xmm0, xmm9
cvttss2si ecx, xmm3
cvttss2si eax, xmm1
cvttss2si r10d, xmm5
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
cvttss2si r9d, xmm0
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm2
movss dword [rbx + 0x10], xmm2
movss dword [rbx + 0x14], xmm0
call fcn.18004a370
movss xmm4, dword [rbx + 0x14]
movaps xmm3, xmm8
addss xmm4, xmm9
movaps xmm5, xmm15
movaps xmm1, xmm14
movaps xmm8, xmm4
subss xmm8, xmm12
movaps xmm2, xmm8
addss xmm2, xmm9
addss xmm3, dword [rbx + 0x10]
addss xmm5, xmm3
addss xmm1, xmm5
cvttss2si ecx, xmm5
cvttss2si edx, xmm4
cvttss2si eax, xmm8
cvttss2si r10d, xmm3
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rbx
mov dword [rsp + 0x28], edx
mov dl, 4
movss dword [rbx + 0x10], xmm1
cvttss2si r9d, xmm2
mov dword [rsp + 0x20], r10d
cvttss2si r8d, xmm1
movss dword [rbx + 0x14], xmm2
call fcn.18004a370
movss xmm8, dword [rbp - 0x68]
jmp 0x18004af50
cmp esi, 0xff
je 0x18004b970
cmp esi, 0x1c
je 0x18004b8fb
lea eax, [rsi - 0x20]
cmp eax, 0xde
ja 0x18004ba79
lea edi, [r13 - 1]
cmp edi, r12d
jg 0x18004b908
test edi, edi
jns 0x18004b922
mov r8d, 0x45c
lea rdx, [0x18007cf40]
lea rcx, [0x18007cfd8]
call qword [sym.imp.ucrtbase.dll__wassert]
cmp edi, r12d
jg 0x18004b92f
mov dword [rsp + 0x78], edi
test edi, edi
jns 0x18004b934
mov dword [rsp + 0x78], r12d
lea rcx, [rsp + 0x70]
call fcn.180047e00
mov rdx, qword [rsp + 0x70]
xor r8d, r8d
mov r12d, dword [rsp + 0x7c]
mov r13d, dword [rsp + 0x78]
movsx ecx, ax
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x50], rdx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
jmp 0x18004b9f6
cmp r13d, r12d
jl 0x18004b979
xor al, al
jmp 0x18004b988
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x78], r13d
movzx eax, byte [rax + rdx]
movzx ecx, al
cmp r13d, r12d
jl 0x18004b994
xor al, al
jmp 0x18004b9a3
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x78], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r13d, r12d
jl 0x18004b9b4
xor al, al
jmp 0x18004b9c3
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x78], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
cmp r13d, r12d
jl 0x18004b9d4
xor al, al
jmp 0x18004b9e3
movsxd rax, r13d
inc r13d
mov dword [rsp + 0x78], r13d
movzx eax, byte [rax + rdx]
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cmp r15d, 0x30
jge 0x18004ba79
movsxd rax, r15d
mov ecx, r8d
inc r15d
movss dword [rbp + rax*4 - 0x20], xmm0
movss xmm1, dword [rbp + 8]
movss xmm0, dword [rbp + 4]
movss xmm7, dword [rbp]
movss xmm6, dword [rbp - 4]
movss xmm8, dword [rbp - 0x10]
movss xmm14, dword [rbp - 8]
movss xmm15, dword [rbp - 0xc]
movss xmm11, dword [rbp - 0x14]
movss xmm12, dword [rbp - 0x18]
movss xmm13, dword [rbp - 0x1c]
movss xmm10, dword [rbp - 0x20]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rbp - 0x70], xmm7
movss dword [rbp - 0x80], xmm6
movss dword [rbp - 0x68], xmm8
jmp 0x18004af6a
mov rcx, rbx
call fcn.18004a4a0
mov eax, 1
jmp 0x18004ba7b
xor eax, eax
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret