Function at 0x1400161a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1440]
mov eax, 0x1540
call fcn.14002ec30
sub rsp, rax
movaps xmmword [rsp + 0x1530], xmm6
movaps xmmword [rsp + 0x1520], xmm7
movaps xmmword [rsp + 0x1510], xmm8
movaps xmmword [rsp + 0x1500], xmm9
movaps xmmword [rsp + 0x14f0], xmm10
movaps xmmword [rsp + 0x14e0], xmm11
movaps xmmword [rsp + 0x14d0], xmm12
movaps xmmword [rsp + 0x14c0], xmm13
movaps xmmword [rsp + 0x14b0], xmm14
movaps xmmword [rsp + 0x14a0], xmm15
mov rax, qword [0x14003b010]
xor rax, rsp
mov qword [rbp + 0x1390], rax
xor esi, esi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1384], 0xffffffff
mov dword [rbp + 4], eax
mov r14d, 1
mov edx, r14d
nop dword [rax]
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 4], eax
inc rdx
cmp rdx, 0x270
jb 0x140016260
mov dword [rbp], 0x270
mov dword [rbp - 0x68], 0xffffff9c
mov dword [rbp - 0x64], 0x64
mov dword [rsp + 0x20], esi
xorps xmm10, xmm10
movsd qword [rsp + 0x28], xmm10
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400162c1
imul rax, rax, 0x64
jmp 0x1400162dc
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea rbx, [rax + 0x5f5e100]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], rsi
mov ecx, 8
call fcn.14002ddd8
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x30], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140016329
mov rcx, rsi
mov qword [rsp + 0x30], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14001633c
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140025c50
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001634a
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002ddd8
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140016384
mov rcx, rsi
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140016397
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140025c50
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400163a5
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002ddd8
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x1400163df
mov rcx, rsi
mov qword [rsp + 0x40], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400163f2
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140025c50
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140016400
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002ddd8
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140016439
mov rcx, rsi
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14001644c
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.140025c50
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001645a
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002ddd8
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140016493
mov rcx, rsi
mov qword [rsp + 0x50], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400164a6
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140025c50
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400164b4
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002ddd8
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x58], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x1400164ed
mov rcx, rsi
mov qword [rsp + 0x58], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140016500
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.140025c50
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001650e
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
movsd xmm12, qword [0x140032718]
movsd xmm11, qword [0x140032738]
movsd xmm13, qword [0x140032730]
movsd xmm14, qword [0x140032728]
movsd xmm15, qword [0x140032720]
nop dword [rax + rax]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14001655e
imul rax, rax, 0x64
jmp 0x140016579
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14001703a
mov r13d, esi
nop word [rax + rax]
mov esi, dword [rbp - 0x68]
mov r14d, 0x80000000
cmp esi, r14d
lea ecx, [rsi + r14]
jb 0x1400165a8
lea ecx, [rsi - 0x80000000]
mov edi, dword [rbp - 0x64]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x1400165ba
lea eax, [rdi - 0x80000000]
sub eax, ecx
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x1400165cc
call fcn.140025f10
jmp 0x14001660e
lea r14d, [rax + 1]
call fcn.140025f10
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140016608
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140016608
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x1400165f4
mov r14d, 0x80000000
cmp esi, r14d
lea r12d, [rsi + r14]
jb 0x14001661e
lea r12d, [rsi - 0x80000000]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x14001662d
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016642
call fcn.140025f10
mov ecx, eax
jmp 0x14001668e
lea r14d, [rax + 1]
call fcn.140025f10
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140016684
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140016684
nop word [rax + rax]
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140016670
shr rcx, 0x20
mov r14d, 0x80000000
lea edx, [rcx + r12]
mov r8, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
sub r8, r9
sar r8, 3
lea eax, [rdx + r14]
lea ecx, [rdx - 0x80000000]
cmp edx, r14d
cmovae ecx, eax
movsxd rax, ecx
xor edx, edx
div r8
movsxd rax, edx
mov r15, qword [r9 + rax*8]
mov rax, qword [r15]
mov r12, qword [rax + 8]
cmp esi, r14d
jae 0x1400166d1
add r14d, esi
jmp 0x1400166d8
lea r14d, [rsi - 0x80000000]
mov esi, 0x80000000
add edi, esi
sub edi, r14d
lea rcx, [rbp]
cmp edi, 0xffffffff
jne 0x1400166f4
call fcn.140025f10
mov ecx, eax
jmp 0x140016731
inc edi
call fcn.140025f10
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016728
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016728
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016715
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx + rsi]
lea r8d, [rcx - 0x80000000]
cmp ecx, esi
cmovae r8d, eax
mov edx, dword [rsp + 0x20]
mov rcx, r15
call r12
mov dword [rsp + 0x20], eax
movaps xmm8, xmm10
movaps xmm1, xmm12
mov edi, 2
nop
lea rcx, [rbp]
call fcn.140025f10
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm1
addsd xmm8, xmm0
mulsd xmm1, xmm11
sub rdi, 1
jne 0x140016760
divsd xmm8, xmm1
mulsd xmm8, xmm13
subsd xmm8, xmm14
movaps xmm9, xmm10
movaps xmm1, xmm12
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp]
call fcn.140025f10
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm1
addsd xmm9, xmm0
mulsd xmm1, xmm11
sub rdi, 1
jne 0x1400167b0
divsd xmm9, xmm1
mulsd xmm9, xmm13
subsd xmm9, xmm14
movaps xmm6, xmm9
andps xmm6, xmmword [0x140032800]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm7, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm7, xmm0
addsd xmm6, xmm12
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_log
addsd xmm7, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
movsd xmm1, qword [rsp + 0x28]
addsd xmm7, xmm1
movsd qword [rsp + 0x28], xmm7
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
nop word [rax + rax]
lea rcx, [rbp]
call fcn.140025f10
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm10
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140016850
divsd xmm0, xmm2
mulsd xmm0, xmm13
subsd xmm0, xmm14
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rsp + 0x28]
subsd xmm1, xmm0
movsd qword [rsp + 0x28], xmm1
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
nop
lea rcx, [rbp]
call fcn.140025f10
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm10
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm11
sub rdi, 1
jne 0x1400168b0
divsd xmm0, xmm2
mulsd xmm0, xmm13
subsd xmm0, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_tan
movsd xmm1, qword [rsp + 0x28]
mulsd xmm0, xmm1
movsd qword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor r15d, r15d
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], r15
lea r8d, [rdi + 6]
lea rdx, str.random
lea rcx, [rbp - 0x28]
call fcn.140024b80
nop
lea rdi, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
jb 0x140016939
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
jmp 0x14001693d
lea rcx, [rbp - 0x28]
mov rdx, rdi
mov rsi, qword [rbp - 0x18]
add rsi, rcx
cmp rdx, rsi
je 0x140016988
nop dword [rax]
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140016978
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140016964
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140016950
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rbp - 0x38], r15
mov ecx, 0x190
call fcn.14002ddd8
mov qword [rbp - 0x48], rax
lea r14, [rax + 0x190]
mov qword [rbp - 0x38], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x40], r14
mov rsi, qword [rbp - 0x48]
cmp rsi, r14
je 0x1400169f0
nop word [rax + rax]
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.140023810
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x1400169d0
mov r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x48]
mov dword [rbp - 0x30], 0xffffff9c
mov dword [rbp - 0x2c], 0x64
cmp rsi, r14
je 0x140016a34
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.140023810
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140016a10
mov r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x48]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140026700
mov ecx, r15d
mov rax, qword [rbp - 0x48]
mov r8, r15
mov r9, qword [rbp - 0x40]
mov rdx, r9
sub rdx, rax
add rdx, 3
shr rdx, 2
cmp rax, r9
cmova rdx, r15
test rdx, rdx
je 0x140016ad4
cmp rdx, 8
jb 0x140016ad4
and rdx, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x10]
paddd xmm0, xmm2
movdqa xmm2, xmm0
add rax, 0x20
add r8, 8
cmp r8, rdx
jne 0x140016a90
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ecx, xmm1
cmp rax, r9
je 0x140016aeb
nop dword [rax]
add ecx, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140016ae0
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
mov esi, dword [rbp - 0x68]
mov r15d, 0x80000000
cmp esi, r15d
lea r12d, [rsi + r15]
jb 0x140016b0e
lea r12d, [rsi - 0x80000000]
mov edi, dword [rbp - 0x64]
cmp edi, r15d
lea eax, [rdi + r15]
jb 0x140016b20
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016b35
call fcn.140025f10
mov ecx, eax
jmp 0x140016b7e
lea r14d, [rax + 1]
call fcn.140025f10
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140016b74
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140016b74
nop dword [rax]
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140016b60
shr rcx, 0x20
mov r15d, 0x80000000
add ecx, r12d
lea eax, [rcx - 0x80000000]
lea r14d, [rcx + r15]
cmp ecx, r15d
cmovae r14d, eax
cmp esi, r15d
jae 0x140016b9c
add r15d, esi
jmp 0x140016ba3
lea r15d, [rsi - 0x80000000]
mov esi, 0x80000000
cmp edi, esi
lea eax, [rdi + rsi]
jb 0x140016bb5
lea eax, [rdi - 0x80000000]
sub eax, r15d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016bca
call fcn.140025f10
mov ecx, eax
jmp 0x140016c0c
lea edi, [rax + 1]
call fcn.140025f10
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016c03
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016c03
nop dword [rax]
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016bf0
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r15d
lea eax, [rcx - 0x80000000]
lea r8d, [rcx + rsi]
cmp ecx, esi
cmovae r8d, eax
mov ecx, r14d
test r14d, r14d
mov eax, 1
cmove ecx, eax
mov eax, r8d
sub eax, r14d
cdq
idiv ecx
imul r14d, r8d
add eax, r14d
mov ecx, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 0x80000001
jge 0x140016c59
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
mov eax, dword [rbp - 0x68]
lea r14d, [rax + rsi]
jne 0x140016cfc
cmp eax, esi
jb 0x140016c73
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016c7e
add eax, esi
jmp 0x140016c83
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016c98
call fcn.140025f10
mov ecx, eax
jmp 0x140016cdc
lea edi, [rax + 1]
call fcn.140025f10
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016cd3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016cd3
nop word [rax + rax]
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016cc0
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx + rsi]
lea edx, [rcx - 0x80000000]
cmp ecx, esi
cmovae edx, eax
mov eax, dword [rsp + 0x20]
add edx, eax
mov dword [rsp + 0x20], edx
jmp 0x140016d88
cmp eax, esi
jb 0x140016d07
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016d12
add eax, esi
jmp 0x140016d17
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016d2c
call fcn.140025f10
mov ecx, eax
jmp 0x140016d6c
lea edi, [rax + 1]
call fcn.140025f10
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016d63
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016d63
nop
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016d50
shr rcx, 0x20
mov esi, 0x80000000
lea edx, [rcx + r14]
lea eax, [rdx + rsi]
lea ecx, [rdx - 0x80000000]
cmp edx, esi
cmovae ecx, eax
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov r12d, 5
nop
xor r15d, r15d
mov eax, dword [rbp - 0x68]
cmp eax, esi
lea r14d, [rax + rsi]
jb 0x140016da5
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016db0
add eax, esi
jmp 0x140016db5
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016dca
call fcn.140025f10
mov ecx, eax
jmp 0x140016e0c
lea edi, [rax + 1]
call fcn.140025f10
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016e03
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016e03
nop dword [rax]
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016df0
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx + rsi]
lea edx, [rcx - 0x80000000]
cmp ecx, esi
cmovae edx, eax
mov eax, dword [rsp + 0x20]
add edx, eax
mov dword [rsp + 0x20], edx
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp]
call fcn.140025f10
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140016e34
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
movsd xmm0, qword [rsp + 0x28]
addsd xmm1, xmm0
movsd qword [rsp + 0x28], xmm1
test r15b, 1
jne 0x140016f1a
mov eax, dword [rbp - 0x68]
cmp eax, esi
lea r14d, [rax + rsi]
jb 0x140016e99
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016ea4
add eax, esi
jmp 0x140016ea9
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016ebe
call fcn.140025f10
mov ecx, eax
jmp 0x140016efc
lea edi, [rax + 1]
call fcn.140025f10
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016ef3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016ef3
lea rcx, [rbp]
call fcn.140025f10
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016ee0
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx + rsi]
lea edx, [rcx - 0x80000000]
cmp ecx, esi
cmovae edx, eax
mov eax, dword [rsp + 0x20]
imul edx, eax
mov dword [rsp + 0x20], edx
jmp 0x140016f75
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp]
call fcn.140025f10
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140016f27
movsd xmm0, qword [rsp + 0x28]
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, xmm12
divsd xmm0, xmm1
movsd qword [rsp + 0x28], xmm0
inc r15d
cmp r15d, 5
jl 0x140016d93
sub r12, 1
jne 0x140016d90
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140016fde
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016fc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001702c
call fcn.14002ddd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xor esi, esi
mov qword [rbp - 0x38], rsi
jmp 0x140016fe0
xor esi, esi
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140017017
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017012
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017033
call fcn.14002ddd0
inc r13d
cmp r13d, 0x186a0
jl 0x140016590
jmp 0x140016540
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, dword [rsp + 0x20]
mov rbx, qword [rbp - 0x60]
mov r14d, 1
test rbx, rbx
je 0x1400170ae
mov rdi, qword [rbp - 0x58]
cmp rbx, rdi
je 0x140017073
mov rcx, qword [rbx]
test rcx, rcx
je 0x140017066
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140017056
mov rbx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x50]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400170a6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400170a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002ddd0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.14002ddb0
lea r11, [rsp + 0x1540]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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 rbp
ret