Function at 0x1400134c0
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 - 0x13f0]
mov eax, 0x14f0
call fcn.14002b680
sub rsp, rax
movaps xmmword [rsp + 0x14e0], xmm6
movaps xmmword [rsp + 0x14d0], xmm7
movaps xmmword [rsp + 0x14c0], xmm8
movaps xmmword [rsp + 0x14b0], xmm9
movaps xmmword [rsp + 0x14a0], xmm10
movaps xmmword [rsp + 0x1490], xmm11
movaps xmmword [rsp + 0x1480], xmm12
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm14
movaps xmmword [rsp + 0x1450], xmm15
mov rax, qword [0x140038040]
xor rax, rsp
mov qword [rbp + 0x1340], rax
xor esi, esi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1334], 0xffffffff
mov dword [rbp - 0x4c], 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 - 0x4c], eax
inc rdx
cmp rdx, 0x270
jb 0x140013580
mov dword [rbp - 0x50], 0x270
mov dword [rsp + 0x68], 0xffffff9c
mov dword [rsp + 0x6c], 0x64
mov dword [rsp + 0x20], esi
xorps xmm10, xmm10
movsd qword [rsp + 0x30], xmm10
lea rcx, [rbp - 0x78]
call fcn.140001650
mov rbx, qword [rbp - 0x78]
add rbx, 0x5f5e100
mov qword [rsp + 0x48], rbx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x60], rsi
mov ecx, 8
call fcn.14002a648
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x140013629
mov rcx, rsi
mov qword [rsp + 0x28], rcx
mov qword [rdx], rax
add qword [rsp + 0x58], 8
jmp 0x14001363d
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140021e30
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14001364b
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002a648
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x140013688
mov rcx, rsi
mov qword [rsp + 0x28], rcx
mov qword [rdx], rax
add qword [rsp + 0x58], 8
jmp 0x14001369c
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140021e30
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400136aa
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002a648
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x1400136e7
mov rcx, rsi
mov qword [rsp + 0x28], rcx
mov qword [rdx], rax
add qword [rsp + 0x58], 8
jmp 0x1400136fb
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140021e30
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140013709
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002a648
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x140013746
mov rcx, rsi
mov qword [rsp + 0x28], rcx
mov qword [rdx], rax
add qword [rsp + 0x58], 8
jmp 0x14001375a
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140021e30
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140013768
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002a648
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x1400137a5
mov rcx, rsi
mov qword [rsp + 0x28], rcx
mov qword [rdx], rax
add qword [rsp + 0x58], 8
jmp 0x1400137b9
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140021e30
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400137c7
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002a648
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x60]
je 0x140013804
mov rcx, rsi
mov qword [rsp + 0x28], rcx
mov qword [rdx], rax
add qword [rsp + 0x58], 8
jmp 0x140013818
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140021e30
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140013826
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
movsd xmm12, qword [0x14002f988]
movsd xmm11, qword [0x14002f9a8]
movsd xmm13, qword [0x14002f9a0]
movsd xmm14, qword [0x14002f998]
movsd xmm15, qword [0x14002f990]
movabs r14, 0xb2f4fc0794908cf3
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rdi, 0x989680
jne 0x14001387e
imul rax, rcx, 0x64
jmp 0x1400138ed
cmp rdi, 0x16e3600
jne 0x1400138d2
mov rax, r14
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r14
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x1400138ed
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14001426a
mov dword [rsp + 0x28], esi
nop word [rax + rax]
mov r12d, dword [rsp + 0x68]
btc r12d, 0x1f
mov dword [rsp + 0x40], r12d
mov r13d, dword [rsp + 0x6c]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp - 0x50]
cmp r13d, 0xffffffff
jne 0x140013942
call fcn.140022d60
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
jmp 0x1400139e7
lea edi, [r13 + 1]
call fcn.140022d60
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x140013985
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x140013985
nop dword [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x140013970
jmp 0x140013987
mov edi, eax
mov r14d, r12d
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov edx, edi
mov qword [rsp + 0x38], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x1400139e3
mov eax, edi
neg eax
xor edx, edx
div edi
mov r12d, edx
cmp ecx, edx
jae 0x1400139de
mov rbx, qword [rsp + 0x38]
nop dword [rax]
mov r15d, r14d
mov esi, edi
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, rbx
cmp ecx, r12d
jb 0x1400139c0
mov rbx, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x40]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
sub rcx, r8
sar rcx, 3
xor edx, edx
div rcx
movsxd rax, edx
mov r15, qword [r8 + rax*8]
mov rax, qword [r15]
mov rdi, qword [rax + 8]
mov qword [rsp + 0x40], rdi
lea rcx, [rbp - 0x50]
call fcn.140022d60
cmp r13d, 0xffffffff
jne 0x140013a2f
mov ecx, eax
jmp 0x140013a6c
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x140013a68
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x140013a63
nop word [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140013a50
mov rdi, qword [rsp + 0x40]
shr rcx, 0x20
lea r8d, [rcx + r12]
btc r8d, 0x1f
mov edx, dword [rsp + 0x20]
mov rcx, r15
call rdi
mov dword [rsp + 0x20], eax
movaps xmm8, xmm10
movaps xmm1, xmm12
mov edi, 2
nop
lea rcx, [rbp - 0x50]
call fcn.140022d60
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 0x140013a90
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 - 0x50]
call fcn.140022d60
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 0x140013ae0
divsd xmm9, xmm1
mulsd xmm9, xmm13
subsd xmm9, xmm14
movaps xmm0, xmm9
andps xmm0, xmmword [0x14002fa60]
addsd xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm7, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
addsd xmm7, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
addsd xmm7, qword [rsp + 0x30]
movsd qword [rsp + 0x30], xmm7
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp - 0x50]
call fcn.140022d60
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 0x140013b76
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 + 0x30]
subsd xmm1, xmm0
movsd qword [rsp + 0x30], xmm1
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp - 0x50]
call fcn.140022d60
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 0x140013bd5
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 + 0x30]
mulsd xmm0, xmm1
movsd qword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r15d, r15d
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov r8d, 6
lea rdx, str.random
lea rcx, [rbp - 0x70]
call fcn.140020ed0
nop
lea rdi, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdi, qword [rbp - 0x70]
lea rsi, [rbp - 0x70]
cmova rsi, qword [rbp - 0x70]
add rsi, qword [rbp - 0x60]
cmp rdi, rsi
je 0x140013ca8
nop dword [rax]
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140013c98
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140013c84
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140013c70
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], r15
mov ecx, 0x190
call fcn.14002a648
mov qword [rsp + 0x70], rax
lea r14, [rax + 0x190]
mov qword [rbp - 0x80], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x78], r14
mov rsi, qword [rsp + 0x70]
cmp rsi, r14
je 0x140013d13
nop
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.14001faa0
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140013cf0
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov dword [rbp - 0x78], 0xffffff9c
mov dword [rbp - 0x74], 0x64
cmp rsi, r14
je 0x140013d56
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.14001faa0
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140013d30
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.1400227a0
mov ecx, r15d
mov rax, qword [rsp + 0x70]
mov r8, r15
mov r9, qword [rsp + 0x78]
mov rdx, r9
sub rdx, rax
add rdx, 3
shr rdx, 2
cmp rax, r9
cmova rdx, r15
test rdx, rdx
je 0x140013df0
cmp rdx, 8
jb 0x140013df0
and rdx, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop dword [rax + rax]
movdqu xmm0, xmmword [rax]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x10]
paddd xmm2, xmm0
add rax, 0x20
add r8, 8
cmp r8, rdx
jne 0x140013db0
paddd xmm1, xmm2
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 0x140013e00
add ecx, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140013df5
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
mov esi, dword [rsp + 0x68]
btc esi, 0x1f
mov eax, dword [rsp + 0x6c]
btc eax, 0x1f
sub eax, esi
lea rcx, [rbp - 0x50]
cmp eax, 0xffffffff
jne 0x140013e43
call fcn.140022d60
lea edi, [rax + rsi]
xor edi, 0x80000000
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
jmp 0x140013ede
lea r12d, [rax + 1]
call fcn.140022d60
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x140013e83
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x140013e83
nop word [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140013e70
shr rcx, 0x20
lea r14d, [rcx + rsi]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x140013eda
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x140013eda
mov esi, r15d
mov edi, r14d
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140013ec0
shr rcx, 0x20
lea r8d, [rcx + rsi]
btc r8d, 0x1f
mov ecx, edi
test edi, edi
mov eax, 1
cmove ecx, eax
mov eax, r8d
sub eax, edi
cdq
idiv ecx
imul edi, r8d
add eax, edi
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov dword [rsp + 0x20], ecx
mov eax, dword [rsp + 0x20]
mov r14d, dword [rsp + 0x68]
btc r14d, 0x1f
test al, 1
mov eax, dword [rsp + 0x6c]
lea rcx, [rbp - 0x50]
jne 0x140013f96
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x140013f4a
call fcn.140022d60
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
jmp 0x140013ff4
lea edi, [rax + 1]
call fcn.140022d60
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140013f83
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140013f83
nop dword [rax]
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140013f70
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
jmp 0x140013ff4
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x140013fab
call fcn.140022d60
mov ecx, eax
jmp 0x140013fe7
lea edi, [rax + 1]
call fcn.140022d60
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140013fe3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140013fe3
nop dword [rax]
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140013fd0
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov r12d, dword [rsp + 0x68]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rsp + 0x6c]
btc r15d, 0x1f
sub r15d, r12d
nop word [rax + rax]
xor r14d, r14d
lea rcx, [rbp - 0x50]
cmp r15d, 0xffffffff
jne 0x140014036
call fcn.140022d60
mov ecx, eax
jmp 0x140014077
lea edi, [r15 + 1]
call fcn.140022d60
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140014073
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140014073
nop dword [rax]
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140014060
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp - 0x50]
call fcn.140022d60
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 0x140014095
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, qword [rsp + 0x30]
movsd qword [rsp + 0x30], xmm1
test r14b, 1
jne 0x140014141
lea rcx, [rbp - 0x50]
cmp r15d, 0xffffffff
jne 0x1400140f3
call fcn.140022d60
mov ecx, eax
jmp 0x14001412d
lea edi, [r15 + 1]
call fcn.140022d60
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140014129
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140014129
lea rcx, [rbp - 0x50]
call fcn.140022d60
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140014116
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
imul eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x14001419e
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
nop
lea rcx, [rbp - 0x50]
call fcn.140022d60
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 0x140014150
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
movsd xmm0, qword [rsp + 0x30]
addsd xmm1, xmm12
divsd xmm0, xmm1
movsd qword [rsp + 0x30], xmm0
inc r14d
cmp r14d, 5
jl 0x140014023
sub r13, 1
jne 0x140014020
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140014209
mov rax, qword [rbp - 0x80]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400141f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001425c
call fcn.14002a640
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor esi, esi
mov qword [rbp - 0x80], rsi
jmp 0x14001420b
xor esi, esi
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140014242
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001423d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014263
call fcn.14002a640
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp eax, 0x186a0
jl 0x140013900
jmp 0x140013853
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 [rsp + 0x50]
mov r14d, 1
test rbx, rbx
je 0x1400142e2
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x1400142a6
mov rcx, qword [rbx]
test rcx, rcx
je 0x140014298
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140014288
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400142da
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400142da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002a640
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.14002a620
lea r11, [rsp + 0x14f0]
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