Function at 0x14020ee90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x620
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1402af028]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x58], r14d
movups xmm0, xmmword [str.k31_jo]
movups xmmword [rsp + 0x1e0], xmm0
movups xmm1, xmmword [0x14029abb0]
movups xmmword [rsp + 0x1f0], xmm1
movups xmm0, xmmword [0x14029abc0]
movups xmmword [rsp + 0x200], xmm0
movups xmm1, xmmword [0x14029abd0]
movups xmmword [rsp + 0x210], xmm1
movups xmm0, xmmword [0x14029abe0]
movups xmmword [rsp + 0x220], xmm0
movups xmm1, xmmword [0x14029abf0]
movups xmmword [rsp + 0x230], xmm1
movups xmm0, xmmword [0x14029ac00]
movups xmmword [rsp + 0x240], xmm0
movups xmm1, xmmword [0x14029ac10]
movups xmmword [rsp + 0x250], xmm1
mov eax, dword [0x14029ac20]
mov dword [rsp + 0x260], eax
xor ecx, ecx
mov r13d, dword [0x1402af008]
lea r15d, [r14 + 6]
lea r12d, [r14 + 0x1f]
cmp r13d, 2
jl 0x14020f1aa
movdqa xmm10, xmmword [0x14029d7a0]
movdqa xmm6, xmmword [0x14029d8a0]
movd xmm7, r15d
movdqa xmm8, xmmword [0x14029d890]
movdqa xmm11, xmmword [0x14029d7d0]
movd xmm9, r12d
movdqa xmm12, xmmword [0x14029d8b0]
movdqa xmm0, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x1e4]
mov r8d, dword [rsp + 0x40]
movd xmm5, ecx
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm11
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm3, xmm0
movd dword [rdx - 4], xmm3
lea eax, [rcx + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm11
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rdx]
pxor xmm3, xmm0
movd dword [rdx], xmm3
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x80
jl 0x14020efe0
cmp ecx, 0x84
jge 0x14020f20e
movsxd rax, ecx
lea r9, [rsp + 0x1e0]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul ecx
sub edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
sub dl, r8b
add dl, cl
add dl, dl
add dl, 0x45
xor byte [r9], dl
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x84
jl 0x14020f1c0
movups xmm0, xmmword [0x14029b700]
movups xmmword [rsp + 0x150], xmm0
movups xmm1, xmmword [0x14029b710]
movups xmmword [rsp + 0x160], xmm1
movups xmm0, xmmword [0x14029b720]
movups xmmword [rsp + 0x170], xmm0
movups xmm1, xmmword [0x14029b730]
movups xmmword [rsp + 0x180], xmm1
movups xmm0, xmmword [0x14029b740]
movups xmmword [rsp + 0x190], xmm0
movups xmm1, xmmword [0x14029b750]
movups xmmword [rsp + 0x1a0], xmm1
movups xmm0, xmmword [0x14029b760]
movups xmmword [rsp + 0x1b0], xmm0
movups xmm1, xmmword [str.92_6s6]
movups xmmword [rsp + 0x1c0], xmm1
movsd xmm0, qword [0x14029b780]
movsd qword [rsp + 0x1d0], xmm0
mov eax, dword [0x14029b788]
mov dword [rsp + 0x1d8], eax
movzx eax, word [0x14029b78c]
mov word [rsp + 0x1dc], ax
movzx eax, byte [0x14029b78e]
mov byte [rsp + 0x1de], al
xor r9d, r9d
cmp r13d, 2
jl 0x14020f4ed
movdqa xmm10, xmmword [0x14029d7a0]
movdqa xmm6, xmmword [0x14029d8a0]
movd xmm7, r15d
movdqa xmm8, xmmword [0x14029d890]
movdqa xmm11, xmmword [0x14029d7d0]
movd xmm9, r12d
movdqa xmm12, xmmword [0x14029d8b0]
movdqa xmm0, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x154]
mov edx, dword [rsp + 0x40]
nop
movd xmm5, r9d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm11
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm3, xmm0
movd dword [rcx - 4], xmm3
lea eax, [r9 + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm11
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx]
pxor xmm3, xmm0
movd dword [rcx], xmm3
add r9d, 8
lea rcx, [rcx + 8]
cmp r9d, 0x88
jl 0x14020f320
cmp r9d, 0x8f
jge 0x14020f555
movsxd rax, r9d
lea r10, [rsp + 0x150]
add r10, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x45
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x8f
jl 0x14020f500
lea r8, [0x1402b2690]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x270]
call fcn.1402464e0
nop
lea rcx, [rsp + 0x1e0]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rcx + r8], 0
jne 0x14020f584
lea rdx, [rsp + 0x1e0]
mov rcx, rax
call fcn.140242550
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x318], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x328], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or r14d, 1
lea rcx, [rsp + 0x270]
call fcn.140244140
lea rdx, [rsp + 0x318]
mov rcx, rdi
call fcn.14020e9e0
test al, al
je 0x14020f5ff
lea rcx, [rsp + 0x318]
call fcn.140244140
jmp 0x1402105ca
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x360]
call fcn.14026c5b8
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x360]
call fcn.14023ff50
nop
cmp qword [rsp + 0x3f0], 0
jne 0x14020f6a6
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x360], rax
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x35c], edx
lea rcx, [rsp + 0x370]
call fcn.14023fee0
lea rcx, [rsp + 0x378]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x410]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x318]
call fcn.140244140
jmp 0x1402105ca
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x58], rax
mov rbx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14020f6bc
mov rbx, qword [rdi]
call fcn.14026a9c0
mov qword [rsp + 0x110], rbx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x118], rcx
lea r8, [rsp + 0x110]
mov edx, eax
lea rcx, [rsp + 0xf0]
call fcn.1401e5c90
or r14d, 6
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rcx, qword [rsp + 0xf0]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x580]
call fcn.14026aafc
test eax, eax
jne 0x14021061a
mov rbx, qword [rsp + 0x580]
lea rcx, [rsp + 0xf0]
call fcn.140243eb0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [rsp + 0x40], 0
mov word [rsp + 0x48], 1
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
mov rax, qword [rsp + rcx + 0x3a8]
mov qword [rsp + 0x80], rax
test rax, rax
sete byte [rsp + 0x88]
mov byte [rsp + 0x89], 0
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x130], xmm0
movaps xmm1, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x140], xmm1
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x2d8]
call fcn.140246a40
nop
lea rcx, [rsp + 0x370]
call fcn.140243630
test rax, rax
jne 0x14020f7ff
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x360]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
movups xmm0, xmmword [0x14029cb68]
movups xmmword [rsp + 0x60], xmm0
mov eax, dword [0x14029cb78]
mov dword [rsp + 0x70], eax
movzx eax, word [0x14029cb7c]
mov word [rsp + 0x74], ax
movzx eax, byte [0x14029cb7e]
mov byte [rsp + 0x76], al
xor r9d, r9d
cmp r13d, 2
jl 0x14020fa57
movdqa xmm10, xmmword [0x14029d7a0]
movdqa xmm6, xmmword [0x14029d8a0]
movd xmm7, r15d
movdqa xmm8, xmmword [0x14029d890]
movdqa xmm11, xmmword [0x14029d7d0]
movd xmm9, r12d
movdqa xmm12, xmmword [0x14029d8b0]
movdqa xmm0, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm5, r9d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm4, xmm5
punpckldq xmm4, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm2, xmm4
pmuldq xmm2, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm5
psrad xmm2, xmm7
pmuldq xmm4, xmm8
pmuldq xmm1, xmm8
shufps xmm4, xmm1, 0xdd
psubd xmm4, xmm5
psrad xmm4, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm11
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm12
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm3, xmm0
movd dword [rcx - 4], xmm3
lea eax, [r9 + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm11
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx]
pxor xmm3, xmm0
movd dword [rcx], xmm3
add r9d, 8
lea rcx, [rcx + 8]
cmp r9d, 0x10
jl 0x14020f890
cmp r9d, 0x17
jge 0x14020fac2
movsxd rax, r9d
lea r10, [rsp + 0x60]
add r10, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x45
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x17
jl 0x14020fa70
xorps xmm0, xmm0
movups xmmword [rsp + 0x2f8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x308], xmm1
lea rax, [rsp + 0x60]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14020fae1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x2f8]
call fcn.1401feb00
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x2b0], xmm0
movups xmmword [rsp + 0x2c0], xmm0
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2b0], rax
lea rcx, [rsp + 0x2b8]
call fcn.140242a60
nop
lea r8, [rsp + 0x2f8]
cmp qword [rsp + 0x310], 0x10
cmovae r8, qword [rsp + 0x2f8]
add r8, qword [rsp + 0x308]
lea rdx, [rsp + 0x2f8]
cmp qword [rsp + 0x310], 0x10
cmovae rdx, qword [rsp + 0x2f8]
lea rcx, [rsp + 0x2b0]
call fcn.1402474b0
nop
mov eax, dword [str.OcoK_f4i]
mov dword [rsp + 0x50], eax
cmp byte [0x14029c8cf], 0
je 0x14020fcf2
cmp r13d, 2
jl 0x14020fc94
movd xmm5, r15d
movd xmm7, r12d
movdqa xmm8, xmmword [0x14029d7a0]
movdqa xmm4, xmm8
punpckldq xmm4, xmm8
movdqa xmm2, xmm8
punpckhdq xmm2, xmm8
movdqa xmm6, xmm4
pmuldq xmm6, xmmword [0x14029d8a0]
movdqa xmm0, xmm2
pmuldq xmm0, xmmword [0x14029d8a0]
shufps xmm6, xmm0, 0xdd
paddd xmm6, xmm8
psrad xmm6, xmm5
pmuldq xmm4, xmmword [0x14029d890]
pmuldq xmm2, xmmword [0x14029d890]
shufps xmm4, xmm2, 0xdd
psubd xmm4, xmm8
psrad xmm4, xmm5
movdqa xmm1, xmm4
psrld xmm1, xmm7
paddd xmm1, xmm4
pmulld xmm1, xmmword [0x14029d8b0]
movdqa xmm0, xmm8
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm6
psrld xmm0, xmm7
paddd xmm0, xmm6
pmulld xmm0, xmmword [0x14029d7d0]
psubd xmm8, xmm0
pshuflw xmm0, xmm8, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movd xmm0, eax
pxor xmm3, xmm0
movd dword [rsp + 0x50], xmm3
jmp 0x14020fcf2
lea r10, [rsp + 0x50]
xor r9d, r9d
nop dword [rax]
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x45
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 4
jl 0x14020fca0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x290]
call fcn.140245650
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
movdqa xmm1, xmmword [0x14029d790]
movdqu xmmword [rsp + 0xa0], xmm1
mov byte [rsp + 0x90], 0
or r14d, 8
mov dword [rsp + 0x58], r14d
lea r9, [rsp + 0x2d8]
cmp qword [rsp + 0x2f0], 0x10
cmovae r9, qword [rsp + 0x2d8]
add r9, qword [rsp + 0x2e8]
lea r8, [rsp + 0x2d8]
cmp qword [rsp + 0x2f0], 0x10
cmovae r8, qword [rsp + 0x2d8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x80]
call fcn.1402529c0
mov rdx, qword [rsp + 0x2f0]
cmp rdx, 0x10
jb 0x14020fde3
inc rdx
mov rcx, qword [rsp + 0x2d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020fdde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020fdde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14026b480
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x2d8], xmm0
movups xmm1, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x2e8], xmm1
movdqa xmm0, xmmword [0x14029d790]
movdqu xmmword [rsp + 0xa0], xmm0
mov byte [rsp + 0x90], 0
lea rcx, [rsp + 0x90]
call fcn.140244140
nop
lea rcx, [rsp + 0x290]
call fcn.140244140
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x470]
call fcn.14026c5b8
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14020fe59
mov rdx, qword [rdi]
mov r8d, 2
lea rcx, [rsp + 0x470]
call fcn.14023f240
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x470], rax
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x46c], edx
cmp qword [rsp + 0x4f8], 0
jne 0x14021030a
movups xmm0, xmmword [0x14029c0c8]
movups xmmword [rsp + 0x338], xmm0
movups xmm1, xmmword [0x14029c0d8]
movups xmmword [rsp + 0x348], xmm1
movzx eax, byte [0x14029c0e8]
mov byte [rsp + 0x358], al
xor r14d, r14d
mov r8d, r14d
cmp r13d, 2
jl 0x140210107
movdqa xmm10, xmmword [0x14029d7a0]
movdqa xmm6, xmmword [0x14029d8a0]
movd xmm7, r15d
movdqa xmm8, xmmword [0x14029d890]
movdqa xmm11, xmmword [0x14029d7d0]
movd xmm9, r12d
movdqa xmm12, xmmword [0x14029d8b0]
movdqa xmm0, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x33c]
mov edx, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm5, r8d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm11
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm3, xmm0
movd dword [rcx - 4], xmm3
lea eax, [r8 + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm11
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx]
pxor xmm3, xmm0
movd dword [rcx], xmm3
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x14020ff40
cmp r8d, 0x21
jge 0x140210170
movsxd rax, r8d
lea r9, [rsp + 0x338]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
mov eax, 0x5f5f5f5f
imul r8d
sub edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
sub dl, cl
add dl, r8b
add dl, dl
add dl, 0x45
xor byte [r9], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x21
jl 0x140210120
lea rdx, [rsp + 0x338]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140245fc0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140210192
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14024c8d0
lea rdx, [0x140246190]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x470], rax
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x46c], edx
lea rcx, [rsp + 0x478]
call fcn.14023fee0
lea rcx, [rsp + 0x480]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x518]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x2b0]
test rax, rax
je 0x14021024c
lock xadd dword [rax + 0x2c], esi
cmp esi, 1
jne 0x14021024c
mov rbx, qword [rsp + 0x2b0]
test rbx, rbx
je 0x14021024c
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140210230
mov qword [rsp + 0x2b0], r14
mov rcx, qword [rsp + 0x2d0]
test rcx, rcx
je 0x14021027e
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14021027e
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rsp + 0x2f8]
call fcn.140244140
nop
lea rcx, [rsp + 0x2d8]
call fcn.140244140
nop
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x360], rax
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x35c], edx
lea rcx, [rsp + 0x370]
call fcn.14023fee0
lea rcx, [rsp + 0x378]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x410]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x318]
call fcn.140244140
jmp 0x1402105ca
lea rdx, [rsp + 0x2d8]
cmp qword [rsp + 0x2f0], 0x10
cmovae rdx, qword [rsp + 0x2d8]
mov r8, qword [rsp + 0x2e8]
lea rcx, [rsp + 0x470]
call fcn.14024c8d0
lea rcx, [rsp + 0x478]
call fcn.140243630
test rax, rax
jne 0x14021036f
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x470]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r15, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140210380
mov r14, qword [rdi]
call fcn.14026a9c0
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x128], r15
lea r8, [rsp + 0x120]
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.1401e5c90
nop
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rdx, qword [rsp + 0xb0]
mov rcx, rbx
call fcn.14026ae7c
test eax, eax
jne 0x14021062a
lea rcx, [rsp + 0xb0]
call fcn.140243eb0
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1402103f2
mov rdi, qword [rdi]
call fcn.14026a9c0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1401e5c90
nop
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x338]
call fcn.14026aafc
test eax, eax
jne 0x14021063a
lea rcx, [rsp + 0xd0]
call fcn.140243eb0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
nop
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x470], rax
mov rax, qword [rsp + 0x470]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x46c], edx
lea rcx, [rsp + 0x478]
call fcn.14023fee0
lea rcx, [rsp + 0x480]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x518]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x2b0]
test rax, rax
je 0x14021050c
lock xadd dword [rax + 0x2c], esi
cmp esi, 1
jne 0x14021050c
mov rbx, qword [rsp + 0x2b0]
test rbx, rbx
je 0x14021050c
xor edi, edi
nop
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], rdi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1402104f0
mov qword [rsp + 0x2b0], 0
mov rcx, qword [rsp + 0x2d0]
test rcx, rcx
je 0x140210542
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140210542
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rsp + 0x2f8]
call fcn.140244140
nop
lea rcx, [rsp + 0x2d8]
call fcn.140244140
nop
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x360], rax
mov rax, qword [rsp + 0x360]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x35c], edx
lea rcx, [rsp + 0x370]
call fcn.14023fee0
lea rcx, [rsp + 0x378]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x410]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x318]
call fcn.140244140
nop
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.14026b460
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r8, [rsp + 0xf0]
mov edx, eax
call fcn.1401e6200
nop
lea r8, [rsp + 0xb0]
mov edx, eax
call fcn.1401e6200
nop
lea r8, [rsp + 0xd0]
mov edx, eax
call fcn.1401e6200
int3