Function at 0x140002f68
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov rax, qword [0x14004b018]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r15d, r15d
mov qword [rsp + 0x68], rdx
mov eax, r15d
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], r15
lea r12, [0x140039280]
mov dword [rsp + 0x78], eax
lea r8d, [r15 + 0x10]
mov dword [rsp + 0x7c], 0x67452301
mov qword [rsp + 0x50], r8
mov dword [rbp - 0x80], 0xefcdab89
mov dword [rbp - 0x7c], 0x98badcfe
mov dword [rbp - 0x78], 0x10325476
mov dword [rbp - 0x74], 0xc3d2e1f0
mov edx, eax
movzx eax, byte [r12]
shr rdx, 2
mov ecx, dword [rbp + rdx*4 - 0x70]
shl ecx, 8
or ecx, eax
mov dword [rbp + rdx*4 - 0x70], ecx
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
cmp eax, 0x40
jne 0x14000318b
lea rcx, [rbp - 0x68]
mov edx, eax
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rcx + 0x34], eax
sub rdx, 1
jne 0x14000301d
mov edi, dword [rsp + 0x7c]
lea r11, [rbp - 0x70]
mov r9d, dword [rbp - 0x80]
lea r15d, [rdx + 0x14]
mov r8d, dword [rbp - 0x7c]
mov r10d, dword [rbp - 0x78]
mov r13d, dword [rbp - 0x74]
mov eax, r8d
mov ecx, r9d
and eax, r9d
mov edx, edi
rol edx, 5
not ecx
and ecx, r10d
or eax, ecx
add eax, edx
add eax, dword [r11]
lea r11, [r11 + 4]
add eax, r13d
mov r13d, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, edi
lea edi, [rax + 0x5a827999]
sub r15, 1
jne 0x140003053
lea rdx, [rbp - 0x20]
lea ebx, [r15 + 0x14]
mov eax, r10d
mov ecx, edi
xor eax, r8d
rol ecx, 5
xor eax, r9d
add eax, ecx
add eax, dword [rdx]
lea rdx, [rdx + 4]
add eax, r13d
mov r13d, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, edi
lea edi, [rax + 0x6ed9eba1]
sub rbx, 1
jne 0x140003098
lea rsi, [rbp + 0x30]
lea r15d, [rbx + 0x14]
mov edx, edi
mov ecx, r8d
or ecx, r9d
rol edx, 5
and ecx, r10d
mov eax, r8d
and eax, r9d
or ecx, eax
add ecx, dword [rsi]
lea eax, [rdx + r13]
add eax, 0x8f1bbcdc
lea rsi, [rsi + 4]
add eax, ecx
mov r13d, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, edi
mov edi, eax
sub r15, 1
jne 0x1400030d5
mov qword [rsp + 0x58], 0x14
lea rdx, [rbp + 0x80]
mov r14, qword [rsp + 0x58]
mov eax, r10d
mov ecx, edi
xor eax, r8d
rol ecx, 5
xor eax, r9d
add ecx, r13d
add eax, 0xca62c1d6
mov r13d, r10d
add eax, dword [rdx]
mov r10d, r8d
mov r8d, r9d
lea rdx, [rdx + 4]
add eax, ecx
ror r8d, 2
mov r9d, edi
mov edi, eax
sub r14, 1
jne 0x140003129
add dword [rsp + 0x7c], eax
add dword [rbp - 0x7c], r8d
add dword [rbp - 0x80], r9d
add dword [rbp - 0x78], r10d
add dword [rbp - 0x74], r13d
add qword [rsp + 0x70], 0x200
mov r8, qword [rsp + 0x50]
xor r15d, r15d
mov eax, r15d
mov dword [rsp + 0x78], eax
inc r12
sub r8, 1
mov qword [rsp + 0x50], r8
jne 0x140002fec
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
movzx ecx, word [r13]
test cx, cx
je 0x14000323e
mov esi, r15d
mov ebx, r15d
mov eax, ebx
inc esi
inc ebx
mov word [rbp + rax*2 + 0xd0], cx
movzx ecx, word [r13 + rsi*2]
test cx, cx
je 0x1400031d9
cmp ebx, 0x10
jne 0x1400031bb
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0xd0]
mov qword [rsp + 0x30], r15
lea rcx, [0x140038f34]
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov edx, 0xa00
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_LCMapStringEx]
nop dword [rax + rax]
lea r8d, [rbx + rbx]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.1400027ec
movzx ecx, word [r13 + rsi*2]
test cx, cx
jne 0x1400031b8
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400029e4
and byte [rdi + 7], 0xf
or byte [rdi + 7], 0x50
xor eax, eax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140033bd0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret