Function at 0x1400c0230
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov eax, dword [0x14021f060]
or eax, dword [0x14021f064]
mov edx, eax
and edx, 0x5d9280d3
xor eax, 0x5d9280d3
lea eax, [rax + rdx*2]
mov r8d, eax
xor r8d, 0x92423260
xor eax, 0x6cb80512
mov edx, eax
and edx, 0x4db5cd8f
and r8d, 0xb24a3270
imul r8d, edx
mov edx, eax
and edx, 0xb24a3270
or eax, 0xb24a3270
imul eax, edx
add eax, r8d
cmp eax, 0xd2d0f947
jne 0x1400c02c4
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov eax, 0x400
call fcn.1401516e0
sub rsp, rax
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov r8d, 0x85012c79
nop word [rax + rax]
mov edx, dword [0x14021f068]
imul edx, dword [0x14021f06c]
imul rdx, r8
shr rdx, 0x3f
add edx, 0x84c0737
xor edx, 0xbabc1985
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov r14, rsp
mov eax, 0x400
call fcn.1401516e0
sub rsp, rax
mov r9, rsp
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov rax, rsp
cmp edx, 0x38e8a60c
jb 0x1400c02d0
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x20], rcx
mov eax, dword [0x14021f070]
sub eax, dword [0x14021f074]
add eax, 0x24d8aff8
mov ecx, eax
and ecx, 0x3910dbfb
add ecx, ecx
sub eax, ecx
add eax, 0x3910dbfb
mov ecx, 0x91ecd75d
imul rcx, rax
shr rcx, 0x3c
cmp ecx, 0x84816fce
ja 0x1400c03a6
mov eax, dword [str.Rdk_aK]
xor eax, dword [0x14021f07c]
imul rax, rax, 0x1248553d
shr rax, 0x3c
or eax, 0xf2dfe3fe
mov qword [r14], 0
mov qword [r14 + 8], 2
mov qword [r14 + 0x10], 0
cmp eax, 0x7308fb82
jne 0x1400c03bf
mov qword [r14], 0
mov qword [r14 + 8], 2
mov qword [r14 + 0x10], 0
jmp 0x1400c036c
mov r13d, 0x200
mov eax, 2
mov qword [rbp], rax
xor eax, eax
mov qword [rbp - 8], rax
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov qword [rbp - 0x18], rax
xor r15d, r15d
cmp r13, 0x201
jae 0x1400c0410
jmp 0x1400c03ff
jae 0x1400c0800
cmp r13, 0x201
jae 0x1400c0410
mov edi, 0x200
mov rbx, qword [rbp - 0x28]
mov r12, r13
jmp 0x1400c047d
sub r13, r15
mov eax, dword [0x14021f080]
mov ecx, dword [0x14021f084]
not eax
not ecx
or ecx, eax
not ecx
mov eax, ecx
and eax, 0x5c0adf71
add eax, eax
neg eax
add eax, ecx
add eax, 0x82dce951
xor eax, 0x9a18967e
cmp eax, 0x877b728b
ja 0x1400c0413
mov rax, qword [rbp - 0x18]
sub rax, r15
cmp r13, rax
ja 0x1400c0758
mov rax, qword [rbp - 8]
mov ecx, 0xffffffff
cmp rax, rcx
mov r15d, 0xffffffff
cmovb r15, rax
mov qword [r14 + 0x10], r15
mov qword [rbp - 0x18], rax
mov rdi, r15
mov rbx, qword [rbp]
mov r12, r15
sub rsp, 0x20
xor ecx, ecx
call fcn.140150510
add rsp, 0x20
mov rax, qword [str.__r_f_]
sub rsp, 0x20
mov ecx, r12d
mov rdx, rbx
call rax
add rsp, 0x20
mov r13d, eax
test eax, eax
jne 0x1400c04c0
sub rsp, 0x20
call rsi
add rsp, 0x20
test eax, eax
jne 0x1400c0875
nop dword [rax]
mov eax, dword [0x14021f0b8]
imul eax, dword [0x14021f0bc]
mov ecx, eax
and ecx, 0x8f1bcec1
mov edx, ecx
not edx
mov r8d, eax
and r8d, 0x8d1006c0
and edx, 0x520fc81d
imul edx, r8d
and eax, 0x20bc801
or ecx, 0x520fc81d
imul ecx, eax
lea eax, [rcx + rdx]
add eax, 0x93056e15
cmp eax, 0x7a7acba2
jb 0x1400c04c0
mov r13d, r13d
nop dword [rax]
mov eax, dword [0x14021f0c0]
mov ecx, eax
not ecx
or ecx, dword [0x14021f0c4]
add eax, ecx
inc eax
mov ecx, eax
not ecx
mov edx, eax
and edx, 0x74a193b1
and ecx, 0x8b5e6c4e
imul ecx, edx
mov edx, eax
and edx, 0x8b5e6c4e
or eax, 0x8b5e6c4e
imul eax, edx
add eax, ecx
or eax, 0x180debfc
cmp eax, 0xa83ef68f
je 0x1400c0510
cmp r12, r13
jne 0x1400c03f0
mov eax, dword [0x14021f0c8]
sub eax, dword [0x14021f0cc]
mov ecx, eax
xor ecx, 0x40020322
and ecx, eax
not ecx
or ecx, 0x81601004
and ecx, 0xc967136e
cmp ecx, 0xdb6283f8
jne 0x1400c05a0
sub rsp, 0x20
call fcn.14014f250
add rsp, 0x20
nop dword [rax]
mov eax, dword [0x14021f0d0]
or eax, dword [0x14021f0d4]
mov ecx, eax
and ecx, 0x3bce7fa5
add ecx, ecx
neg ecx
lea edi, [rax + rcx]
add edi, 0xbbce7fa5
mov eax, edi
and eax, 0x1fc93cbf
add eax, eax
sub edi, eax
add edi, 0x9fc93cbf
mov eax, edi
not eax
mov ecx, edi
and ecx, 0x86fde7cb
and eax, 0x79021834
imul eax, ecx
mov ecx, edi
and ecx, 0x79021834
or edi, 0x79021834
imul edi, ecx
add edi, eax
sub rsp, 0x20
call rsi
add rsp, 0x20
cmp edi, 0x7eb49330
je 0x1400c05a0
mov ecx, eax
nop dword [rax]
mov eax, dword [0x14021f0d8]
xor edx, edx
div dword [0x14021f0dc]
and eax, 0x4618abd
imul eax, eax, 0x67c74424
or eax, 0x5ddecb2f
cmp eax, 0xe2f16d2d
ja 0x1400c0610
nop word cs:[rax + rax]
mov eax, dword [0x14021f0e0]
mov edx, dword [0x14021f0e4]
mov r8d, edx
not r8d
mov r9d, eax
and r9d, r8d
or r8d, eax
not r8d
imul r8d, r9d
mov r9d, eax
and r9d, edx
or eax, edx
imul eax, r9d
add eax, r8d
or eax, 0x172877d8
lea edx, [rax - 0x482ff389]
mov r8d, edx
and r8d, 0xb825807a
xor edx, 0x47da4f85
add eax, edx
add eax, 0xb7d00c77
sub eax, r8d
cmp eax, 0xbcd55f46
ja 0x1400c0640
cmp ecx, 0x7a
jne 0x1400c0d55
mov eax, dword [0x14021f0e8]
mov ecx, dword [0x14021f0ec]
mov edx, eax
xor edx, ecx
not ecx
and ecx, eax
add ecx, ecx
sub ecx, edx
and ecx, 0xda8b3583
add ecx, 0xb56bf3a7
mov eax, ecx
and eax, 0x64c266a3
add eax, eax
sub ecx, eax
add ecx, 0x64c266a3
cmp ecx, 0x8d07538c
ja 0x1400c06a6
lea r13, [r12 + r12]
nop word [rax + rax]
mov eax, dword [0x14021f0f0]
xor eax, dword [0x14021f0f4]
not eax
or eax, 0x3676f644
mov ecx, eax
not ecx
mov edx, ecx
and edx, 0x890008b2
and eax, 0x56b97749
imul eax, edx
mov edx, ecx
and edx, 0x40890109
or ecx, 0x56b97749
imul ecx, edx
add eax, ecx
add eax, 0xf94773a6
cmp eax, 0x7e972776
jb 0x1400c06f0
cmp r12, 0x7fffffff
mov eax, 0xffffffff
cmova r13, rax
cmp r13, 0x201
jb 0x1400c03ff
jmp 0x1400c0410
sub rsp, 0x20
mov rcx, r14
mov rdx, r15
mov r8, r13
call fcn.14016b8b0
add rsp, 0x20
mov eax, dword [0x14021f088]
xor edx, edx
div dword [0x14021f08c]
nop dword [rax]
mov eax, dword [0x14021f090]
sub eax, dword [0x14021f094]
mov ecx, eax
not ecx
mov edx, eax
and edx, 0xe7d57b6
and ecx, 0xf182a849
imul ecx, edx
mov edx, eax
and edx, 0xf182a849
or eax, 0xf182a849
imul eax, edx
add eax, ecx
mov ecx, eax
not ecx
mov edx, eax
and edx, 0x5278ea42
and ecx, 0xad8715bd
imul ecx, edx
mov edx, eax
and edx, 0xad8715bd
or eax, 0xad8715bd
imul eax, edx
add eax, ecx
add eax, 0x8bfef77
cmp eax, 0x23e40a2c
jb 0x1400c0780
mov rax, qword [r14]
mov qword [rbp - 8], rax
mov rax, qword [r14 + 8]
mov qword [rbp], rax
jmp 0x1400c0455
mov eax, dword [0x14021f0f8]
add eax, dword [0x14021f0fc]
mov ecx, eax
and ecx, 0x50233211
add ecx, ecx
sub eax, ecx
lea ecx, [rax + 0x50233211]
mov edx, ecx
and edx, 0x3d90e548
xor ecx, 0xc26f1ab7
add eax, ecx
add eax, 0x50233211
sub eax, edx
add eax, 0x4b94dc25
cmp eax, 0x26346d1
jb 0x1400c0800
cmp rdi, r13
jb 0x1400c0d55
mov eax, dword [0x14021f100]
mov ecx, eax
not ecx
or ecx, dword [0x14021f104]
add eax, ecx
add eax, 0x2c631c1c
cmp eax, 0x1cdf2ac9
mov rdi, qword [rbp - 0x10]
jae 0x1400c09cc
jmp 0x1400c0a0e
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
shl rax, 0x20
movabs rcx, 0x626f6b6fb7ed1fb9
lea rdx, [rcx + 2]
xor rdx, rcx
xor rdx, rax
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 8], rdx
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rbp - 8], 0
je 0x1400c0945
mov eax, dword [0x14021f098]
mov ecx, dword [0x14021f09c]
add eax, ecx
add eax, 0xb3d322f3
mov ecx, eax
not ecx
or eax, 0x16cb1000
and eax, 0x96db38c0
and ecx, 0x41200521
or ecx, eax
cmp ecx, 0x8787a11a
je 0x1400c0919
mov eax, dword [0x14021f0a0]
add eax, dword [0x14021f0a4]
mov ecx, 0xcac27483
imul rcx, rax
shr rcx, 0x3f
imul eax, ecx, 0x1c5d1d6c
mov rcx, qword [0x14022cb48]
cmp eax, 0xe2df3525
jbe 0x1400c0922
mov rax, qword [0x14022cb48]
jmp 0x1400c08ec
sub rsp, 0x20
xor esi, esi
xor edx, edx
mov r8, qword [rbp]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
nop dword [rax + rax]
test sil, sil
jne 0x1400c0940
mov eax, 0xa5a2a5e1
nop word [rax + rax]
mov ecx, dword [0x14021f0a8]
mov edx, dword [0x14021f0ac]
not ecx
not edx
mov r8d, ecx
or r8d, edx
and edx, ecx
not edx
and edx, r8d
or edx, 0x1c1e9b87
imul rdx, rax
shr rdx, 0x3e
mov ecx, edx
xor ecx, 0x2f798e85
or edx, 2
and edx, ecx
cmp edx, 0xb682c47f
je 0x1400c0950
mov eax, dword [0x14021f0b0]
mov ecx, dword [0x14021f0b4]
mov edx, eax
not edx
and edx, ecx
mov r8d, ecx
not r8d
and r8d, eax
imul r8d, edx
mov edx, eax
and edx, ecx
or eax, ecx
imul eax, edx
add eax, r8d
add eax, 0x19f4df7a
cmp eax, 0xf5a9435c
jae 0x1400c0990
jmp 0x1400c0cd5
mov eax, dword [0x14021f108]
mov ecx, dword [0x14021f10c]
xor ecx, eax
not ecx
and ecx, eax
imul esi, ecx, 0xb921265e
add esi, 0xada7e547
xor esi, 0xd179a152
sub rsp, 0x20
mov rcx, rdi
mov rdx, rbx
mov r8, r13
call fcn.1400b7770
add rsp, 0x20
cmp esi, 0x5ee6f62e
jbe 0x1400c0a26
sub rsp, 0x20
mov rcx, rdi
mov rdx, rbx
mov r8, r13
call fcn.140150530
add rsp, 0x20
jmp 0x1400c09cc
mov rsi, qword [rbp - 0x20]
mov r15, qword [rbp]
nop
mov eax, dword [0x14021f110]
or eax, dword [0x14021f114]
add eax, 0xeadf57ed
not eax
or eax, 0xef4dfa75
cmp eax, 0x35b96533
je 0x1400c0a30
cmp qword [rbp - 8], 0
je 0x1400c0b6d
mov eax, dword [0x14021f118]
and eax, dword [0x14021f11c]
mov ecx, 0xd39b4b55
imul rcx, rax
shr rcx, 0x3e
xor ecx, 0x5777c049
mov eax, ecx
and eax, 0x1164c043
imul eax, eax, 0x80800604
or ecx, 0xc693060c
imul ecx, ecx, 0x46130008
add ecx, eax
cmp ecx, 0x635b9eb2
jb 0x1400c0aff
mov eax, dword [0x14021f120]
sub eax, dword [0x14021f124]
mov ecx, eax
not ecx
or eax, 0x663f8aa7
or ecx, 0x99c07558
and ecx, eax
mov eax, ecx
not eax
or ecx, 0x2d2011d5
or eax, 0xd2dfee2a
and eax, ecx
mov ecx, eax
not ecx
mov edx, eax
and edx, 0x856406ca
and ecx, 0x7a9bf935
imul ecx, edx
mov edx, eax
and edx, 0x7a9bf935
or eax, 0x7a9bf935
imul eax, edx
add eax, ecx
mov rbx, qword [0x14022cb48]
cmp eax, 0x2979bd41
jbe 0x1400c0b08
mov rax, qword [0x14022cb48]
jmp 0x1400c0a9c
xor eax, eax
test al, al
jne 0x1400c0b55
mov eax, dword [0x14021f128]
xor edx, edx
div dword [0x14021f12c]
mov r14d, eax
add r14d, 0x93ef4674
not r14d
or r14d, 0xefa3e648
and r14d, 0xffbff65f
sub rsp, 0x20
mov rcx, rbx
xor edx, edx
mov r8, r15
call fcn.14014eed0
add rsp, 0x20
cmp r14d, 0x659f0968
jne 0x1400c0b6d
sub rsp, 0x20
mov rcx, rbx
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x20
jmp 0x1400c0b0e
mov eax, 0x88efadf1
nop word cs:[rax + rax]
mov ecx, dword [0x14021f130]
mov edx, dword [0x14021f134]
mov r8d, ecx
xor r8d, edx
not r8d
and r8d, edx
add r8d, r8d
sub edx, r8d
add edx, ecx
mov ecx, edx
xor ecx, 0x390af0f
and ecx, edx
mov edx, ecx
xor edx, 0x2adfada1
and ecx, 0x5520525e
add ecx, ecx
sub ecx, edx
shr ecx, 1
imul rcx, rax
shr rcx, 0x3e
cmp ecx, 0x3c1842d3
je 0x1400c0b80
mov rcx, qword [rdi]
movabs r8, 0x8000000000000000
nop dword [rax + rax]
mov eax, dword [str.9__X]
xor edx, edx
div dword [0x14021f13c]
or eax, 0x87e672ea
mov edx, eax
and edx, 0x478a7bcb
add edx, edx
neg edx
add eax, edx
add eax, 0xcf9c666
cmp eax, 0x7078a3f1
jb 0x1400c0be0
cmp rcx, r8
je 0x1400c0cd5
mov eax, dword [0x14021f148]
and eax, dword [0x14021f14c]
add eax, 0xb96888dd
cmp eax, 0xe2b960b7
jbe 0x1400c0c40
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
nop dword [rax]
mov eax, dword [0x14021f150]
sub eax, dword [0x14021f154]
mov ecx, eax
not ecx
and ecx, 0x970eb811
mov edx, eax
and edx, 0x68f147ee
imul edx, ecx
mov ecx, eax
and ecx, 0x970eb811
or eax, 0x970eb811
imul eax, ecx
add eax, edx
mov ecx, eax
not ecx
mov edx, eax
and edx, 0x7f555c7c
and ecx, 0x80aaa383
imul ecx, edx
mov edx, eax
and edx, 0x80aaa383
or eax, 0x80aaa383
imul eax, edx
add eax, ecx
or eax, 0x19da5d67
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp eax, 0x93953df8
ja 0x1400c0c40
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x1400c0cc0
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
ud2
ud2