Function at 0x14001ae90
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x30
mov ebx, r8d
mov rdi, rdx
mov r13, rcx
test r8d, r8d
jne 0x14001aeb9
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14001aeb0
mov eax, ebx
mov ecx, 0x40
and eax, 0x3f
mov edx, 0x80
cmp eax, 0x38
cmovae ecx, edx
sub ecx, eax
add ecx, ebx
mov ebp, ecx
mov qword [rsp + 0x78], rbp
call fcn.140073b88
xor r9d, r9d
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x70], r9d
mov rsi, rax
mov r8d, r9d
test ebx, ebx
je 0x14001af10
mov rcx, rax
mov edx, ebx
sub rdi, rax
mov r8d, ebx
movzx eax, byte [rdi + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14001af00
mov eax, r8d
lea ecx, [r8 + 1]
mov edi, ecx
mov byte [rax + rsi], 0x80
lea eax, [rbp - 8]
cmp ecx, eax
jae 0x14001af38
sub eax, ecx
xor edx, edx
mov r8d, eax
add rcx, rsi
add edi, eax
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov ecx, edi
lea eax, [rbx*8]
shr ebx, 0x1d
mov dword [rcx + rsi], eax
mov dword [rcx + rsi + 4], ebx
mov dword [r13], 0x67452301
mov dword [r13 + 4], 0xefcdab89
mov dword [r13 + 8], 0x98badcfe
mov dword [r13 + 0xc], 0x10325476
test ebp, ebp
je 0x14001b9d8
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r12d, dword [r13 + 4]
mov ecx, r12d
mov r15d, dword [r13 + 8]
not ecx
mov ebp, dword [r13 + 0xc]
mov eax, r12d
and ecx, ebp
mov r14d, r9d
and eax, r15d
add r14, rsi
or ecx, eax
mov esi, dword [r13]
add ecx, 0xd76aa478
lea r8d, [rbp - 0x173848aa]
add ecx, esi
mov edx, dword [r14]
add edx, ecx
rol edx, 7
add edx, r12d
mov dword [r13], edx
mov ecx, edx
not ecx
mov eax, edx
and ecx, r15d
and eax, r12d
or ecx, eax
add ecx, dword [r14 + 4]
add r8d, ecx
rol r8d, 0xc
add r8d, edx
lea edx, [r15 + 0x242070db]
mov dword [r13 + 0xc], r8d
mov ecx, r8d
mov r9d, dword [r13]
not ecx
and ecx, r12d
mov eax, r8d
and eax, r9d
or ecx, eax
add ecx, dword [r14 + 8]
add edx, ecx
ror edx, 0xf
add edx, r8d
lea r8d, [r12 - 0x3e423112]
mov dword [r13 + 8], edx
mov ecx, edx
mov r11d, dword [r13 + 0xc]
not ecx
and ecx, r9d
mov eax, edx
and eax, r11d
or ecx, eax
add ecx, dword [r14 + 0xc]
add r8d, ecx
ror r8d, 0xa
add r8d, edx
lea edx, [r9 - 0xa83f051]
mov dword [r13 + 4], r8d
mov ecx, r8d
mov r10d, dword [r13 + 8]
not ecx
and ecx, r11d
mov eax, r8d
and eax, r10d
or ecx, eax
add ecx, dword [r14 + 0x10]
add edx, ecx
rol edx, 7
add edx, r8d
lea r8d, [r11 + 0x4787c62a]
mov dword [r13], edx
mov ecx, edx
mov r9d, dword [r13 + 4]
not ecx
and ecx, r10d
mov eax, edx
and eax, r9d
or ecx, eax
add ecx, dword [r14 + 0x14]
add r8d, ecx
rol r8d, 0xc
add r8d, edx
mov dword [r13 + 0xc], r8d
mov ecx, r8d
mov r11d, dword [r13]
not ecx
mov edx, dword [r14 + 0x18]
and ecx, r9d
mov eax, r8d
and eax, r11d
or ecx, eax
add ecx, 0xa8304613
add ecx, r10d
add edx, ecx
ror edx, 0xf
add edx, r8d
mov dword [r13 + 8], edx
mov ecx, edx
mov ebx, dword [r13 + 0xc]
not ecx
mov r8d, dword [r14 + 0x1c]
and ecx, r11d
mov eax, edx
add r11d, 0x698098d8
and eax, ebx
or ecx, eax
add ecx, 0xfd469501
add ecx, r9d
add r8d, ecx
ror r8d, 0xa
add r8d, edx
mov dword [r13 + 4], r8d
mov ecx, r8d
mov edi, dword [r13 + 8]
not ecx
mov edx, dword [r14 + 0x20]
and ecx, ebx
mov eax, r8d
and eax, edi
or ecx, eax
add ecx, r11d
add edx, ecx
rol edx, 7
add edx, r8d
lea r8d, [rdi - 0xa44f]
mov dword [r13], edx
mov ecx, edx
mov r10d, dword [r13 + 4]
not ecx
and ecx, edi
mov eax, edx
and eax, r10d
or ecx, eax
add ecx, 0x8b44f7af
add ecx, ebx
add ecx, dword [r14 + 0x24]
rol ecx, 0xc
add edx, ecx
mov dword [r13 + 0xc], edx
mov ecx, edx
mov r9d, dword [r13]
not ecx
and ecx, r10d
mov eax, edx
and eax, r9d
or ecx, eax
add ecx, dword [r14 + 0x28]
add r8d, ecx
ror r8d, 0xf
add r8d, edx
lea edx, [r10 - 0x76a32842]
mov dword [r13 + 8], r8d
mov ecx, r8d
mov r11d, dword [r13 + 0xc]
not ecx
and ecx, r9d
mov eax, r8d
and eax, r11d
or ecx, eax
add ecx, dword [r14 + 0x2c]
add edx, ecx
ror edx, 0xa
add edx, r8d
mov dword [r13 + 4], edx
mov ecx, edx
mov r10d, dword [r13 + 8]
not ecx
mov r8d, dword [r14 + 0x30]
and ecx, r11d
mov eax, edx
and eax, r10d
or ecx, eax
add ecx, 0x6b901122
add ecx, r9d
add r8d, ecx
rol r8d, 7
add r8d, edx
mov dword [r13], r8d
mov ecx, r8d
mov ebx, dword [r13 + 4]
not ecx
mov edx, dword [r14 + 0x34]
and ecx, r10d
mov eax, r8d
add r10d, 0xa679438e
and eax, ebx
or ecx, eax
add ecx, 0xfd987193
add ecx, r11d
add edx, ecx
rol edx, 0xc
add edx, r8d
mov dword [r13 + 0xc], edx
mov ecx, edx
mov r8d, dword [r13]
not ecx
and ecx, ebx
mov eax, edx
and eax, r8d
or ecx, eax
add ecx, r10d
add ecx, dword [r14 + 0x38]
ror ecx, 0xf
add edx, ecx
mov dword [r13 + 8], edx
mov ecx, edx
mov r9d, dword [r13 + 0xc]
not ecx
and ecx, r8d
mov eax, edx
and eax, r9d
add r8d, 0xf61e2562
or ecx, eax
lea eax, [rbx + 0x49b40821]
add ecx, dword [r14 + 0x3c]
add eax, ecx
mov ecx, r9d
not ecx
ror eax, 0xa
add edx, eax
mov dword [r13 + 4], edx
mov eax, edx
mov r10d, dword [r13 + 8]
and eax, r9d
and ecx, r10d
or ecx, eax
mov eax, r10d
add ecx, dword [r14 + 4]
add r8d, ecx
mov ecx, r10d
not ecx
rol r8d, 5
add r8d, edx
lea edx, [r9 - 0x3fbf4cc0]
mov dword [r13], r8d
and eax, r8d
mov r11d, dword [r13 + 4]
and ecx, r11d
or ecx, eax
add ecx, dword [r14 + 0x18]
add edx, ecx
rol edx, 9
add edx, r8d
mov dword [r13 + 0xc], edx
lea r8d, [r10 + 0x265e5a51]
mov r9d, dword [r13]
mov ecx, r11d
not ecx
mov eax, r11d
and ecx, r9d
and eax, edx
or ecx, eax
mov eax, r9d
add ecx, dword [r14 + 0x2c]
add r8d, ecx
mov ecx, r9d
not ecx
rol r8d, 0xe
add r8d, edx
add r9d, 0xd62f105d
mov dword [r13 + 8], r8d
lea edx, [r11 - 0x16493856]
mov r10d, dword [r13 + 0xc]
and eax, r8d
and ecx, r10d
or ecx, eax
add ecx, dword [r14]
add edx, ecx
mov ecx, r10d
not ecx
ror edx, 0xc
add edx, r8d
lea r8d, [r10 + 0x2441453]
mov dword [r13 + 4], edx
mov eax, edx
mov r11d, dword [r13 + 8]
and eax, r10d
and ecx, r11d
or ecx, eax
add ecx, r9d
add ecx, dword [r14 + 0x14]
rol ecx, 5
add edx, ecx
mov ecx, r11d
mov dword [r13], edx
not ecx
mov r9d, dword [r13 + 4]
mov eax, edx
and ecx, r9d
and eax, r11d
or ecx, eax
mov eax, r9d
add ecx, dword [r14 + 0x28]
add r8d, ecx
mov ecx, r9d
not ecx
rol r8d, 9
add r8d, edx
add r9d, 0xe7d3fbc8
mov dword [r13 + 0xc], r8d
lea edx, [r11 - 0x275e197f]
mov r10d, dword [r13]
and eax, r8d
and ecx, r10d
or ecx, eax
mov eax, r10d
add ecx, dword [r14 + 0x3c]
add edx, ecx
mov ecx, r10d
not ecx
rol edx, 0xe
add edx, r8d
mov dword [r13 + 8], edx
and eax, edx
mov r11d, dword [r13 + 0xc]
and ecx, r11d
mov r8d, dword [r14 + 0x10]
or ecx, eax
add ecx, r9d
add r8d, ecx
ror r8d, 0xc
add r8d, edx
mov dword [r13 + 4], r8d
mov r9d, dword [r13 + 8]
mov edx, dword [r14 + 0x24]
mov ecx, r11d
not ecx
mov eax, r11d
and ecx, r9d
and eax, r8d
or ecx, eax
add r11d, 0xc33707d6
add ecx, 0x21e1cde6
mov eax, r9d
add ecx, r10d
add edx, ecx
mov ecx, r9d
not ecx
rol edx, 5
add edx, r8d
add r9d, 0xf4d50d87
mov dword [r13], edx
and eax, edx
mov ebx, dword [r13 + 4]
and ecx, ebx
mov r8d, dword [r14 + 0x38]
or ecx, eax
add ecx, r11d
add r8d, ecx
mov ecx, ebx
not ecx
rol r8d, 9
add r8d, edx
mov dword [r13 + 0xc], r8d
mov eax, r8d
mov r11d, dword [r13]
and eax, ebx
mov edx, dword [r14 + 0xc]
and ecx, r11d
or ecx, eax
add ecx, r9d
add edx, ecx
mov ecx, r11d
not ecx
rol edx, 0xe
add edx, r8d
lea r8d, [rbx + 0x455a14ed]
mov dword [r13 + 8], edx
mov eax, edx
mov r10d, dword [r13 + 0xc]
and eax, r11d
and ecx, r10d
or ecx, eax
add ecx, dword [r14 + 0x20]
add r8d, ecx
mov ecx, r10d
not ecx
ror r8d, 0xc
add r8d, edx
lea edx, [r11 - 0x561c16fb]
mov dword [r13 + 4], r8d
mov eax, r8d
mov r9d, dword [r13 + 8]
and eax, r10d
and ecx, r9d
or ecx, eax
add ecx, dword [r14 + 0x34]
add edx, ecx
mov ecx, r9d
not ecx
rol edx, 5
add edx, r8d
lea r8d, [r10 - 0x3105c08]
mov dword [r13], edx
mov eax, edx
mov r11d, dword [r13 + 4]
and eax, r9d
and ecx, r11d
or ecx, eax
add ecx, dword [r14 + 8]
add r8d, ecx
rol r8d, 9
add r8d, edx
mov dword [r13 + 0xc], r8d
mov r10d, dword [r13]
mov edx, dword [r14 + 0x1c]
mov ecx, r11d
not ecx
mov eax, r11d
and eax, r8d
and ecx, r10d
or ecx, eax
add r9d, 0x676f02d9
add ecx, r9d
add r11d, 0x8d2a4c8a
add edx, ecx
mov ecx, r10d
not ecx
rol edx, 0xe
add edx, r8d
mov dword [r13 + 8], edx
mov eax, edx
mov r9d, dword [r13 + 0xc]
and eax, r10d
and ecx, r9d
or ecx, eax
add ecx, r11d
add ecx, dword [r14 + 0x30]
ror ecx, 0xc
add edx, ecx
lea ecx, [r10 - 0x5c6be]
mov dword [r13 + 4], edx
mov eax, edx
mov r8d, dword [r13 + 8]
xor eax, r8d
xor eax, r9d
add eax, dword [r14 + 0x14]
add ecx, eax
rol ecx, 4
add ecx, edx
lea edx, [r9 - 0x788e097f]
mov dword [r13], ecx
mov eax, ecx
mov r10d, dword [r13 + 4]
xor eax, r10d
xor eax, r8d
add eax, dword [r14 + 0x20]
add edx, eax
rol edx, 0xb
add edx, ecx
lea ecx, [r8 + 0x6d9d6122]
mov dword [r13 + 0xc], edx
mov r11d, dword [r13]
mov eax, r11d
xor eax, edx
xor eax, r10d
add eax, dword [r14 + 0x2c]
add ecx, eax
lea r8d, [r11 - 0x5b4115bc]
rol ecx, 0x10
add ecx, edx
lea edx, [r10 - 0x21ac7f4]
mov dword [r13 + 8], ecx
mov eax, ecx
mov r9d, dword [r13 + 0xc]
xor eax, r11d
xor eax, r9d
add eax, dword [r14 + 0x38]
add edx, eax
mov eax, r9d
ror edx, 9
add edx, ecx
mov dword [r13 + 4], edx
xor eax, edx
mov r10d, dword [r13 + 8]
xor eax, r10d
add eax, dword [r14 + 4]
add r8d, eax
rol r8d, 4
add r8d, edx
mov dword [r13], r8d
mov ecx, r8d
mov r11d, dword [r13 + 4]
xor ecx, r11d
xor ecx, r10d
add r9d, 0x4bdecfa9
mov edx, dword [r14 + 0x10]
add ecx, r9d
add edx, ecx
lea ecx, [r10 - 0x944b4a0]
rol edx, 0xb
add edx, r8d
mov dword [r13 + 0xc], edx
mov r8d, dword [r13]
mov eax, r8d
xor eax, edx
xor eax, r11d
add eax, dword [r14 + 0x1c]
add ecx, eax
mov eax, r8d
rol ecx, 0x10
add ecx, edx
lea edx, [r11 - 0x41404390]
mov dword [r13 + 8], ecx
xor eax, ecx
mov r9d, dword [r13 + 0xc]
xor eax, r9d
add eax, dword [r14 + 0x28]
add edx, eax
ror edx, 9
add edx, ecx
mov ecx, r9d
xor ecx, edx
mov dword [r13 + 4], edx
mov r10d, dword [r13 + 8]
add r9d, 0xeaa127fa
xor ecx, r10d
add ecx, r8d
mov r8d, dword [r14 + 0x34]
add ecx, 0x289b7ec6
add r8d, ecx
mov ecx, r10d
rol r8d, 4
add r10d, 0xd4ef3085
add r8d, edx
xor ecx, r8d
mov dword [r13], r8d
mov r11d, dword [r13 + 4]
xor ecx, r11d
mov edx, dword [r14]
add ecx, r9d
add edx, ecx
mov ecx, r11d
rol edx, 0xb
add edx, r8d
mov dword [r13 + 0xc], edx
mov r9d, dword [r13]
xor ecx, r9d
mov r8d, dword [r14 + 0xc]
xor ecx, edx
add ecx, r10d
add r8d, ecx
rol r8d, 0x10
add r8d, edx
mov dword [r13 + 8], r8d
mov ecx, r8d
mov r10d, dword [r13 + 0xc]
xor ecx, r10d
mov edx, dword [r14 + 0x18]
xor ecx, r9d
add ecx, 0x4881d05
add ecx, r11d
add edx, ecx
lea ecx, [r9 - 0x262b2fc7]
ror edx, 9
add edx, r8d
mov dword [r13 + 4], edx
mov eax, edx
mov r8d, dword [r13 + 8]
xor eax, r8d
xor eax, r10d
add eax, dword [r14 + 0x24]
add ecx, eax
rol ecx, 4
add ecx, edx
mov dword [r13], ecx
mov r9d, dword [r13 + 4]
mov eax, ecx
lea edx, [r10 - 0x1924661b]
xor eax, r8d
xor eax, r9d
add eax, dword [r14 + 0x30]
add edx, eax
rol edx, 0xb
add edx, ecx
mov ecx, r9d
mov dword [r13 + 0xc], edx
add r9d, 0xc4ac5665
mov r10d, dword [r13]
xor ecx, r10d
xor ecx, edx
add ecx, r8d
mov r8d, dword [r14 + 0x3c]
add ecx, 0x1fa27cf8
add r8d, ecx
mov ecx, r10d
rol r8d, 0x10
add r10d, 0xf4292244
add r8d, edx
xor ecx, r8d
mov dword [r13 + 8], r8d
mov r11d, dword [r13 + 0xc]
xor ecx, r11d
mov edx, dword [r14 + 8]
add ecx, r9d
add edx, ecx
mov ecx, r11d
not ecx
ror edx, 9
add edx, r8d
mov dword [r13 + 4], edx
or ecx, edx
mov ebx, dword [r13 + 8]
xor ecx, ebx
add ecx, r10d
mov eax, ebx
add ecx, dword [r14]
not eax
rol ecx, 6
add edx, ecx
lea ecx, [r11 + 0x432aff97]
or eax, edx
mov dword [r13], edx
mov r8d, dword [r13 + 4]
xor eax, r8d
add eax, dword [r14 + 0x1c]
add ecx, eax
mov eax, r8d
not eax
rol ecx, 0xa
add ecx, edx
lea edx, [rbx - 0x546bdc59]
or eax, ecx
mov dword [r13 + 0xc], ecx
mov r9d, dword [r13]
xor eax, r9d
add eax, dword [r14 + 0x38]
add edx, eax
mov eax, r9d
not eax
rol edx, 0xf
add edx, ecx
lea ecx, [r8 - 0x36c5fc7]
or eax, edx
mov dword [r13 + 8], edx
mov r10d, dword [r13 + 0xc]
xor eax, r10d
add eax, dword [r14 + 0x14]
add ecx, eax
mov eax, r10d
not eax
ror ecx, 0xb
add ecx, edx
mov dword [r13 + 4], ecx
or eax, ecx
mov r8d, dword [r13 + 8]
xor eax, r8d
add eax, dword [r14 + 0x30]
lea edx, [r9 + 0x655b59c3]
add edx, eax
mov eax, r8d
not eax
rol edx, 6
add edx, ecx
lea ecx, [r10 - 0x70f3336e]
mov dword [r13], edx
or eax, edx
mov r9d, dword [r13 + 4]
xor eax, r9d
add eax, dword [r14 + 0xc]
add ecx, eax
mov eax, r9d
rol ecx, 0xa
not eax
add ecx, edx
lea edx, [r8 - 0x100b83]
mov dword [r13 + 0xc], ecx
or eax, ecx
mov r10d, dword [r13]
xor eax, r10d
add eax, dword [r14 + 0x28]
add edx, eax
mov eax, r10d
rol edx, 0xf
not eax
add edx, ecx
lea ecx, [r9 - 0x7a7ba22f]
mov dword [r13 + 8], edx
or eax, edx
mov r8d, dword [r13 + 0xc]
xor eax, r8d
add eax, dword [r14 + 4]
add ecx, eax
mov eax, r8d
ror ecx, 0xb
not eax
add ecx, edx
lea edx, [r10 + 0x6fa87e4f]
mov dword [r13 + 4], ecx
or eax, ecx
mov r9d, dword [r13 + 8]
xor eax, r9d
add eax, dword [r14 + 0x20]
add edx, eax
rol edx, 6
add edx, ecx
mov ecx, r9d
not ecx
mov dword [r13], edx
mov r10d, dword [r13 + 4]
or ecx, edx
xor ecx, r10d
add r9d, 0xa3014314
add ecx, r8d
mov r8d, dword [r14 + 0x3c]
add ecx, 0xfe2ce6e0
add r8d, ecx
mov ecx, r10d
not ecx
rol r8d, 0xa
add r8d, edx
add r10d, 0x4e0811a1
or ecx, r8d
mov dword [r13 + 0xc], r8d
mov r11d, dword [r13]
xor ecx, r11d
mov edx, dword [r14 + 0x18]
add ecx, r9d
add edx, ecx
mov ecx, r11d
not ecx
rol edx, 0xf
add edx, r8d
mov dword [r13 + 8], edx
or ecx, edx
mov r9d, dword [r13 + 0xc]
xor ecx, r9d
mov r8d, dword [r14 + 0x34]
add ecx, r10d
add r8d, ecx
add r11d, 0xf7537e82
mov ecx, r9d
ror r8d, 0xb
add r8d, edx
not ecx
mov dword [r13 + 4], r8d
or ecx, r8d
mov r10d, dword [r13 + 8]
xor ecx, r10d
mov edx, dword [r14 + 0x10]
add ecx, r11d
add edx, ecx
mov eax, r10d
not eax
rol edx, 6
add edx, r8d
lea ecx, [r9 - 0x42c50dcb]
or eax, edx
mov dword [r13], edx
mov r11d, dword [r13 + 4]
xor eax, r11d
add eax, dword [r14 + 0x2c]
add ecx, eax
mov eax, r11d
not eax
rol ecx, 0xa
add ecx, edx
lea edx, [r10 + 0x2ad7d2bb]
or eax, ecx
mov dword [r13 + 0xc], ecx
mov r9d, dword [r13]
xor eax, r9d
add eax, dword [r14 + 8]
add edx, eax
rol edx, 0xf
lea eax, [r9 + rsi]
add edx, ecx
mov rsi, qword [rsp + 0x60]
not r9d
mov dword [r13 + 8], edx
or r9d, edx
mov r8d, dword [r13 + 0xc]
xor r9d, r8d
mov ecx, dword [r14 + 0x24]
add r9d, ecx
mov dword [r13], eax
lea eax, [r11 - 0x14792c6f]
add eax, r9d
mov r9d, dword [rsp + 0x70]
ror eax, 0xb
add r9d, 0x40
add eax, edx
mov dword [rsp + 0x70], r9d
add eax, r12d
mov dword [r13 + 4], eax
lea eax, [r8 + rbp]
add dword [r13 + 8], r15d
mov dword [r13 + 0xc], eax
cmp r9d, dword [rsp + 0x78]
jb 0x14001af82
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x68]
mov rcx, rsi
call fcn.140073b54
mov rax, r13
add rsp, 0x30
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret