Function at 0x140002230
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
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
mov rax, qword [0x1400b60c0]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor edx, edx
mov r8d, 0x298
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [0x1400b6190]
lea rcx, [rbp - 0x20]
call fcn.140002810
nop
lea rdx, [0x1400b6170]
lea rcx, [rsp + 0x30]
call fcn.140003870
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.1400329b0
xor r12d, r12d
cmp byte [rbp + 0x210], r12b
jne 0x14000235e
movsd xmm0, qword [str._eCYMOH]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [0x14009e470]
mov word [rsp + 0x28], ax
cmp byte [0x14009e471], r12b
je 0x140002322
mov byte [rsp + 0x20], 0xa
xor byte [rsp + 0x21], 0x36
xor byte [rsp + 0x22], 0x37
xor byte [rsp + 0x23], 0x38
xor byte [rsp + 0x24], 0x39
xor byte [rsp + 0x25], 0x3a
xor byte [rsp + 0x26], 0x3b
xor byte [rsp + 0x27], 0x3c
xor byte [rsp + 0x28], 0x3d
xor byte [rsp + 0x29], 0x3e
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003d10
lea rdx, [rbp + 0x218]
cmp qword [rbp + 0x230], 0xf
cmova rdx, qword [rbp + 0x218]
mov r8, qword [rbp + 0x228]
mov rcx, rax
call fcn.140004580
jmp 0x1400027ad
mov r15d, r12d
mov rcx, qword [rbp + 0x148]
mov rax, rcx
mov rdx, qword [rbp + 0x140]
sub rax, rdx
sar rax, 6
test rax, rax
je 0x140002623
mov rbx, r12
mov r13d, dword [reloc.WS2_32.dll_accept]
movdqa xmm8, xmmword [0x1400a78f0]
movdqa xmm9, xmmword [0x1400a7910]
movdqa xmm10, xmmword [0x1400a78c0]
movdqa xmm6, xmmword [0x1400a7850]
movdqa xmm7, xmmword [0x1400a7930]
nop word [rax + rax]
sub rcx, rdx
sar rcx, 6
cmp rcx, rbx
jbe 0x140002802
shl rbx, 6
add rbx, rdx
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140003870
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x40]
call fcn.140003870
nop
mov eax, dword [0x14009e4a4]
mov dword [rbp - 0x68], eax
cmp byte [0x14009e4a7], 0
je 0x14000249f
mov ecx, r12d
cmp r13d, 2
jl 0x14000246e
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm10
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm9
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rbp - 0x68], xmm1
jmp 0x14000249f
lea r8, [rbp - 0x68]
mov eax, 0x3521cfb3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 4
jl 0x140002472
lea rax, [rbp - 0x68]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400024b0
lea rcx, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
mov r14, qword [rbp - 0x48]
cmp r14, 0xf
cmova rcx, rdi
mov rsi, qword [rbp - 0x50]
mov r8, rsi
cmp rbx, rsi
cmovb r8, rbx
lea rdx, [rbp - 0x68]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002592
cmp rsi, rbx
jb 0x140002592
ja 0x140002592
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [0x1400b6150]
call fcn.140003ad0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140002551
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000254c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000258b
call fcn.140089d8c
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400025fc
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400025c9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000258b
call fcn.140089d8c
cmp r14, 0xf
jbe 0x1400025fc
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400025f4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000258b
mov rcx, rdi
call fcn.140089d8c
inc r15d
movsxd rbx, r15d
mov rcx, qword [rbp + 0x148]
mov rax, rcx
mov rdx, qword [rbp + 0x140]
sub rax, rdx
sar rax, 6
cmp rbx, rax
jb 0x1400023c0
cmp qword [0x1400b6160], 5
jb 0x1400027ad
lea rdx, [0x1400b6150]
lea rcx, [rsp + 0x78]
call fcn.140003870
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140002652
mov rcx, qword [rax]
xor edx, edx
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movsxd rdi, eax
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000269d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140002698
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000279b
mov rcx, r8
call fcn.140089d8c
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x50], xmm1
mov eax, dword [rsp + 0x70]
mov dword [rbp - 0x40], eax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400149f0
mov rbx, rax
movsd xmm0, qword [str.PNGQKC]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [0x14009e480]
mov byte [rsp + 0x20], 0x65
xor byte [rsp + 0x21], 0x36
xor byte [rsp + 0x22], 0x37
xor byte [rsp + 0x23], 0x38
xor byte [rsp + 0x24], 0x39
xor byte [rsp + 0x25], 0x3a
xor byte [rsp + 0x26], 0x3b
xor byte [rsp + 0x27], 0x3c
xor al, 0x3d
mov byte [rsp + 0x28], al
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003d10
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000274b
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140004580
lea rdx, [0x140003f10]
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 rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400027a7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089d8c
mov r12d, reloc.WS2_32.dll_ntohs
lea rcx, [rbp - 0x20]
call fcn.140002b50
mov eax, r12d
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140089d30
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, 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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003a20
nop
int3