Function at 0x140002490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x66a0]
mov eax, 0x67a0
call fcn.140006470
sub rsp, rax
movaps xmmword [rsp + 0x6790], xmm6
movaps xmmword [rsp + 0x6780], xmm7
movaps xmmword [rsp + 0x6770], xmm8
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x6660], rax
lea rdx, [0x1400075f4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a30
mov ecx, 0x391950ce
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea rdx, [0x1400075e0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a30
lea rdx, [0x1400075e4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a30
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x48ca8949
mov word [rsp + 0x7c], 0xc0c7
mov word [rbp - 0x7e], 0x50f
mov byte [rbp - 0x7c], 0xc3
mov r14d, 0xba2fb03d
cmp qword [0x14000bae0], 0
jne 0x140002589
cmp qword [0x14000bae8], 0
jne 0x140002589
mov edx, r14d
call fcn.1400012c0
mov qword [0x14000bae0], rax
mov edx, 0x770d543d
call fcn.1400012c0
mov qword [0x14000bae8], rax
mov edx, 0x8c187483
call fcn.1400012c0
mov ecx, dword [rax + 4]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x7e], ecx
lea rdx, [0x14000bae0]
lea rcx, [rsp + 0x68]
call fcn.1400050d0
xor r9d, r9d
lea r8d, [r9 + 0x40]
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [rsp + 0x70]
nop
xor esi, esi
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000260c
mov rbx, qword [0x14000bae8]
mov qword [rbp - 0x70], rsi
mov qword [rbp], rax
mov r9d, 0x8000
lea r8, [rbp - 0x70]
lea rdx, [rbp]
lea rcx, [rsi - 1]
call rbx
cmp eax, 0xc0000045
jne 0x14000260c
mov r9d, 0x8000
lea r8, [rbp - 0x70]
lea rdx, [rbp]
lea rcx, [rsi - 1]
call rbx
nop
lea rdx, [0x1400075e8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a30
mov eax, dword [rbp + 0x28]
shr eax, 0xa
mov ebx, dword [rbp + 0x2c]
imul ebx, eax
lea rdx, str.rld_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a30
and ebx, 0xfffffc00
cmp ebx, 0x5fc000
ja 0x140002669
lea rdx, str.123_4ushpani_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a30
mov eax, 0xfd44c751
jmp 0x140002fff
movsd xmm0, qword [str.R_IVTNXL]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x140007680]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x140007684]
mov byte [rbp - 0x64], al
mov r8d, esi
mov r15d, 4
lea r12d, [r15 + 0x1b]
mov edi, dword [0x14000b020]
cmp edi, 2
jl 0x1400027a8
movdqa xmm4, xmmword [0x140007830]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x1400077e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140007800]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140007810]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [str.R_IVTNXL]
pxor xmm2, xmm0
movd dword [rbp - 0x70], xmm2
movdqa xmm3, xmmword [0x1400077f0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140007800]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140007810]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp - 0x6c]
pxor xmm2, xmm0
movd dword [rbp - 0x6c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x1400027c0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.1400042d0
mov rcx, rax
call fcn.140001500
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x38], 0x30
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x20], 0x40
mov qword [rbp - 0x28], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x48ca8949
mov word [rsp + 0x7c], 0xc0c7
mov word [rbp - 0x7e], 0x50f
mov byte [rbp - 0x7c], 0xc3
cmp qword [0x14000ba90], 0
jne 0x14000287f
cmp qword [0x14000ba98], 0
jne 0x14000287f
mov rdx, r14
call fcn.1400012c0
mov qword [0x14000ba90], rax
mov edx, 0x770d543d
call fcn.1400012c0
mov qword [0x14000ba98], rax
mov edx, 0xe29f03
call fcn.1400012c0
mov ecx, dword [rax + 4]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x7e], ecx
lea rdx, [0x14000ba90]
lea rcx, [rsp + 0x68]
call fcn.1400050d0
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x38]
mov edx, 0x1fffff
lea rcx, [rbp - 0x60]
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000290a
mov rbx, qword [0x14000ba98]
mov qword [rbp], rsi
mov qword [rbp - 0x70], rax
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
cmp eax, 0xc0000045
jne 0x14000290a
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
nop
call fcn.140002250
cmp eax, 0x46
jg 0x140002931
lea rdx, str.Poka_chushpani
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004a30
mov eax, 0xf9888915
jmp 0x140002fff
movups xmm0, xmmword [str._LMJ]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140007658]
movups xmmword [rsp + 0x70], xmm1
movsd xmm0, qword [0x140007668]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x140007670]
mov dword [rbp - 0x78], eax
mov ecx, esi
cmp edi, 2
jl 0x140002aa6
movdqa xmm5, xmmword [0x1400077e0]
movdqa xmm4, xmmword [0x140007830]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140007800]
movd xmm8, r12d
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp], xmm0
lea rdx, [rsp + 0x64]
mov r8d, dword [rbp]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140007810]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140007810]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x1400029a2
cmp ecx, 0x2c
jge 0x140002add
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2c
jl 0x140002ab1
lea rcx, [rsp + 0x60]
call fcn.140001870
mov rbx, rax
mov rdx, rsi
lea rcx, [rax + 0x65ff]
lea rax, [rbp + 0x60]
cmp rax, rcx
ja 0x140002b3c
lea rax, [rbp + 0x665f]
cmp rax, rbx
jb 0x140002b3c
lea rax, [rbp + 0x60]
mov r8, rbx
sub r8, rax
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp + 0x60]
add rcx, rdx
movzx eax, byte [rcx + r8]
mov byte [rcx], al
inc rdx
cmp rdx, 0x6600
jb 0x140002b20
jmp 0x140002b4e
mov r8d, 0x6600
mov rdx, rbx
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call fcn.140005620
mov qword [rbp + 0x10], 0x6600
mov qword [rbp - 0x58], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x48ca8949
mov word [rsp + 0x7c], 0xc0c7
mov word [rbp - 0x7e], 0x50f
mov byte [rbp - 0x7c], 0xc3
cmp qword [0x14000bac8], 0
jne 0x140002bb8
cmp qword [0x14000bad0], 0
jne 0x140002bb8
mov rdx, r14
call fcn.1400012c0
mov qword [0x14000bac8], rax
mov edx, 0x770d543d
call fcn.1400012c0
mov qword [0x14000bad0], rax
mov rbx, qword [rbp - 0x60]
mov rdx, r14
call fcn.1400012c0
mov ecx, dword [rax + 4]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x7e], ecx
lea rdx, [0x14000bac8]
lea rcx, [rsp + 0x68]
call fcn.1400050d0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp + 0x10]
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, rbx
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140002c52
mov rbx, qword [0x14000bad0]
mov qword [rbp], rsi
mov qword [rbp - 0x70], rax
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
cmp eax, 0xc0000045
jne 0x140002c52
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x48ca8949
mov word [rsp + 0x7c], 0xc0c7
mov word [rbp - 0x7e], 0x50f
mov byte [rbp - 0x7c], 0xc3
cmp qword [0x14000baa0], 0
jne 0x140002ca8
cmp qword [0x14000baa8], 0
jne 0x140002ca8
mov rdx, r14
call fcn.1400012c0
mov qword [0x14000baa0], rax
mov edx, 0x770d543d
call fcn.1400012c0
mov qword [0x14000baa8], rax
mov rbx, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x60]
mov edx, 0x433772bb
call fcn.1400012c0
mov ecx, dword [rax + 4]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x7e], ecx
lea rdx, [0x14000baa0]
lea rcx, [rsp + 0x68]
call fcn.1400050d0
mov qword [rsp + 0x20], rsi
mov r9d, 0x6600
lea r8, [rbp + 0x60]
mov rdx, rbx
mov rcx, rdi
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140002d3f
mov rbx, qword [0x14000baa8]
mov qword [rbp], rsi
mov qword [rbp - 0x70], rax
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
cmp eax, 0xc0000045
jne 0x140002d3f
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
nop
mov qword [rbp - 0x50], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x48ca8949
mov word [rsp + 0x7c], 0xc0c7
mov word [rbp - 0x7e], 0x50f
mov byte [rbp - 0x7c], 0xc3
cmp qword [0x14000baf8], 0
jne 0x140002d99
cmp qword [0x14000bb00], 0
jne 0x140002d99
mov rdx, r14
call fcn.1400012c0
mov qword [0x14000baf8], rax
mov edx, 0x770d543d
call fcn.1400012c0
mov qword [0x14000bb00], rax
mov rbx, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x60]
mov edx, 0x84acf863
call fcn.1400012c0
mov ecx, dword [rax + 4]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x7e], ecx
lea rdx, [0x14000baf8]
lea rcx, [rsp + 0x68]
call fcn.1400050d0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
mov r9, rdi
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rbp - 0x50]
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140002e4c
mov rbx, qword [0x14000bb00]
mov qword [rbp], rsi
mov qword [rbp - 0x70], rax
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
cmp eax, 0xc0000045
jne 0x140002e4c
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x48ca8949
mov word [rsp + 0x7c], 0xc0c7
mov word [rbp - 0x7e], 0x50f
mov byte [rbp - 0x7c], 0xc3
cmp qword [0x14000bab0], 0
jne 0x140002ea2
cmp qword [0x14000bab8], 0
jne 0x140002ea2
mov rdx, r14
call fcn.1400012c0
mov qword [0x14000bab0], rax
mov edx, 0x770d543d
call fcn.1400012c0
mov qword [0x14000bab8], rax
mov rbx, qword [rbp - 0x60]
mov edi, 0xe88ab72f
mov edx, edi
call fcn.1400012c0
mov ecx, dword [rax + 4]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x7e], ecx
lea rdx, [0x14000bab0]
lea rcx, [rsp + 0x68]
call fcn.1400050d0
mov rcx, rbx
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140002f25
mov rbx, qword [0x14000bab8]
mov qword [rbp], rsi
mov qword [rbp - 0x70], rax
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
cmp eax, 0xc0000045
jne 0x140002f25
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x48ca8949
mov word [rsp + 0x7c], 0xc0c7
mov word [rbp - 0x7e], 0x50f
mov byte [rbp - 0x7c], 0xc3
cmp qword [0x14000bab0], 0
jne 0x140002f7b
cmp qword [0x14000bab8], 0
jne 0x140002f7b
mov rdx, r14
call fcn.1400012c0
mov qword [0x14000bab0], rax
mov edx, 0x770d543d
call fcn.1400012c0
mov qword [0x14000bab8], rax
mov rbx, qword [rbp - 0x50]
mov rdx, rdi
call fcn.1400012c0
mov ecx, dword [rax + 4]
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x7e], ecx
lea rdx, [0x14000bab0]
lea rcx, [rsp + 0x68]
call fcn.1400050d0
mov rcx, rbx
call qword [rsp + 0x70]
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140002ffa
mov rbx, qword [0x14000bab8]
mov qword [rbp], rsi
mov qword [rbp - 0x70], rax
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
cmp eax, 0xc0000045
jne 0x140002ffa
mov r9d, 0x8000
lea r8, [rbp]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffffffffffff
call rbx
nop
mov eax, 0xdead
mov rcx, qword [rbp + 0x6660]
xor rcx, rsp
call fcn.140005600
lea r11, [rsp + 0x67a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret