Function at 0x1400161c0
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.14002ecc0
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 [0x14003c010]
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 0x140016280
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 0x1400162e1
imul rax, rax, 0x64
jmp 0x1400162fc
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.14002de68
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 0x140016349
mov rcx, rsi
mov qword [rsp + 0x30], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14001635c
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.140025ce0
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001636a
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002de68
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 0x1400163a4
mov rcx, rsi
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400163b7
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140025ce0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400163c5
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002de68
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 0x1400163ff
mov rcx, rsi
mov qword [rsp + 0x40], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140016412
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140025ce0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140016420
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002de68
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 0x140016459
mov rcx, rsi
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14001646c
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.140025ce0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001647a
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002de68
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 0x1400164b3
mov rcx, rsi
mov qword [rsp + 0x50], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400164c6
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140025ce0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400164d4
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002de68
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 0x14001650d
mov rcx, rsi
mov qword [rsp + 0x58], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140016520
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.140025ce0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001652e
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
movsd xmm12, qword [0x140033710]
movsd xmm11, qword [0x140033730]
movsd xmm13, qword [0x140033728]
movsd xmm14, qword [0x140033720]
movsd xmm15, qword [0x140033718]
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 0x14001657e
imul rax, rax, 0x64
jmp 0x140016599
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14001705a
mov r13d, esi
nop word [rax + rax]
mov esi, dword [rbp - 0x68]
mov r14d, 0x80000000
cmp esi, r14d
lea ecx, [rsi + r14]
jb 0x1400165c8
lea ecx, [rsi - 0x80000000]
mov edi, dword [rbp - 0x64]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x1400165da
lea eax, [rdi - 0x80000000]
sub eax, ecx
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x1400165ec
call fcn.140025fa0
jmp 0x14001662e
lea r14d, [rax + 1]
call fcn.140025fa0
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140016628
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140016628
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140016614
mov r14d, 0x80000000
cmp esi, r14d
lea r12d, [rsi + r14]
jb 0x14001663e
lea r12d, [rsi - 0x80000000]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x14001664d
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016662
call fcn.140025fa0
mov ecx, eax
jmp 0x1400166ae
lea r14d, [rax + 1]
call fcn.140025fa0
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x1400166a4
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x1400166a4
nop word [rax + rax]
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140016690
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 0x1400166f1
add r14d, esi
jmp 0x1400166f8
lea r14d, [rsi - 0x80000000]
mov esi, 0x80000000
add edi, esi
sub edi, r14d
lea rcx, [rbp]
cmp edi, 0xffffffff
jne 0x140016714
call fcn.140025fa0
mov ecx, eax
jmp 0x140016751
inc edi
call fcn.140025fa0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016748
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016748
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016735
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.140025fa0
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 0x140016780
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.140025fa0
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 0x1400167d0
divsd xmm9, xmm1
mulsd xmm9, xmm13
subsd xmm9, xmm14
movaps xmm6, xmm9
andps xmm6, xmmword [0x1400337e0]
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.140025fa0
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 0x140016870
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.140025fa0
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 0x1400168d0
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.140024c10
nop
lea rdi, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
jb 0x140016959
mov rdi, qword [rbp - 0x28]
mov rcx, rdi
jmp 0x14001695d
lea rcx, [rbp - 0x28]
mov rdx, rdi
mov rsi, qword [rbp - 0x18]
add rsi, rcx
cmp rdx, rsi
je 0x1400169a8
nop dword [rax]
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140016998
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140016984
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140016970
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov qword [rbp - 0x38], r15
mov ecx, 0x190
call fcn.14002de68
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 0x140016a10
nop word [rax + rax]
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.1400238a0
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x1400169f0
mov r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x48]
mov dword [rbp - 0x30], 0xffffff9c
mov dword [rbp - 0x2c], 0x64
cmp rsi, r14
je 0x140016a54
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.1400238a0
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140016a30
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.140026790
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 0x140016af4
cmp rdx, 8
jb 0x140016af4
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 0x140016ab0
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 0x140016b0b
nop dword [rax]
add ecx, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140016b00
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 0x140016b2e
lea r12d, [rsi - 0x80000000]
mov edi, dword [rbp - 0x64]
cmp edi, r15d
lea eax, [rdi + r15]
jb 0x140016b40
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016b55
call fcn.140025fa0
mov ecx, eax
jmp 0x140016b9e
lea r14d, [rax + 1]
call fcn.140025fa0
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140016b94
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140016b94
nop dword [rax]
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140016b80
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 0x140016bbc
add r15d, esi
jmp 0x140016bc3
lea r15d, [rsi - 0x80000000]
mov esi, 0x80000000
cmp edi, esi
lea eax, [rdi + rsi]
jb 0x140016bd5
lea eax, [rdi - 0x80000000]
sub eax, r15d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016bea
call fcn.140025fa0
mov ecx, eax
jmp 0x140016c2c
lea edi, [rax + 1]
call fcn.140025fa0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016c23
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016c23
nop dword [rax]
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016c10
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 0x140016c79
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
mov eax, dword [rbp - 0x68]
lea r14d, [rax + rsi]
jne 0x140016d1c
cmp eax, esi
jb 0x140016c93
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016c9e
add eax, esi
jmp 0x140016ca3
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016cb8
call fcn.140025fa0
mov ecx, eax
jmp 0x140016cfc
lea edi, [rax + 1]
call fcn.140025fa0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016cf3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016cf3
nop word [rax + rax]
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016ce0
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 0x140016da8
cmp eax, esi
jb 0x140016d27
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016d32
add eax, esi
jmp 0x140016d37
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016d4c
call fcn.140025fa0
mov ecx, eax
jmp 0x140016d8c
lea edi, [rax + 1]
call fcn.140025fa0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016d83
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016d83
nop
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016d70
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 0x140016dc5
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016dd0
add eax, esi
jmp 0x140016dd5
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016dea
call fcn.140025fa0
mov ecx, eax
jmp 0x140016e2c
lea edi, [rax + 1]
call fcn.140025fa0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016e23
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016e23
nop dword [rax]
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016e10
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.140025fa0
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 0x140016e54
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 0x140016f3a
mov eax, dword [rbp - 0x68]
cmp eax, esi
lea r14d, [rax + rsi]
jb 0x140016eb9
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x64]
cmp eax, esi
jae 0x140016ec4
add eax, esi
jmp 0x140016ec9
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp]
cmp eax, 0xffffffff
jne 0x140016ede
call fcn.140025fa0
mov ecx, eax
jmp 0x140016f1c
lea edi, [rax + 1]
call fcn.140025fa0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140016f13
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140016f13
lea rcx, [rbp]
call fcn.140025fa0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140016f00
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 0x140016f95
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp]
call fcn.140025fa0
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 0x140016f47
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 0x140016db3
sub r12, 1
jne 0x140016db0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140016ffe
mov rax, qword [rbp - 0x38]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016fe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001704c
call fcn.14002de60
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xor esi, esi
mov qword [rbp - 0x38], rsi
jmp 0x140017000
xor esi, esi
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140017037
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017032
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017053
call fcn.14002de60
inc r13d
cmp r13d, 0x186a0
jl 0x1400165b0
jmp 0x140016560
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 0x1400170ce
mov rdi, qword [rbp - 0x58]
cmp rbx, rdi
je 0x140017093
mov rcx, qword [rbx]
test rcx, rcx
je 0x140017086
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140017076
mov rbx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x50]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400170c6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400170c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002de60
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.14002de40
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