Function at 0x140048ef0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r9
mov r12, r8
mov rsi, rdx
mov r15, rcx
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov rax, qword [0x1403a6f68]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0xb8], 0
mov edx, dword [rbx]
mov ecx, dword [rbx + 4]
je 0x140048ff3
cmp r12, 8
jb 0x140048fc5
lea r13, [rsp + 0x28]
nop word cs:[rax + rax]
xor edx, dword [r15]
xor ecx, dword [r15 + 4]
add r15, 8
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x2c], ecx
mov rcx, r13
mov rdx, rdi
mov r8, rbp
mov r9, r14
call fcn.1400461b0
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
mov byte [rsi], dl
mov byte [rsi + 1], dh
mov eax, edx
shr eax, 0x10
mov byte [rsi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [rsi + 3], al
mov byte [rsi + 4], cl
mov byte [rsi + 5], ch
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 6], al
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 7], al
add rsi, 8
add r12, 0xfffffffffffffff8
cmp r12, 7
ja 0x140048f60
mov r11d, ecx
test r12, r12
je 0x1400490f7
mov r8d, edx
add r15, r12
xor eax, eax
dec r12
lea rcx, [0x1402afab8]
movsxd rdx, dword [rcx + r12*4]
add rdx, rcx
jmp rdx
xor ecx, ecx
jmp 0x140049173
cmp r12, 8
jb 0x140049095
nop dword [rax]
mov ebx, edx
mov r13d, ecx
mov ebp, dword [r15]
mov r14d, dword [r15 + 4]
add r15, 8
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x2c], r14d
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0xa8]
call fcn.140047650
mov ecx, r14d
mov edx, ebp
xor ebx, dword [rsp + 0x28]
xor r13d, dword [rsp + 0x2c]
mov byte [rsi], bl
mov byte [rsi + 1], bh
mov eax, ebx
shr eax, 0x10
mov byte [rsi + 2], al
shr ebx, 0x18
mov byte [rsi + 3], bl
mov ebx, r13d
mov byte [rsi + 4], bl
mov byte [rsi + 5], bh
mov eax, r13d
shr eax, 0x10
mov byte [rsi + 6], al
shr ebx, 0x18
mov byte [rsi + 7], bl
add rsi, 8
add r12, 0xfffffffffffffff8
cmp r12, 7
ja 0x140049000
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
test r12, r12
je 0x140049257
mov r8d, dword [r15]
mov eax, dword [r15 + 4]
mov dword [rsp + 0x24], r8d
mov dword [rsp + 0x28], r8d
mov r13d, eax
mov dword [rsp + 0x2c], eax
mov r8, rbp
mov ebp, ecx
lea rcx, [rsp + 0x28]
mov r15d, edx
mov rdx, rdi
mov r9, r14
call fcn.140047650
mov edx, r15d
xor edx, dword [rsp + 0x28]
xor ebp, dword [rsp + 0x2c]
add rsi, r12
dec r12
lea rax, [0x1402afad4]
movsxd rcx, dword [rax + r12*4]
add rcx, rax
jmp rcx
mov ecx, r13d
jmp 0x140049250
mov eax, edx
shr eax, 8
mov ecx, edx
shr ecx, 0x10
mov r10d, edx
shr edx, 0x18
mov r8d, r11d
shr r8d, 8
mov r9d, r11d
shr r9d, 0x10
mov esi, r11d
shr esi, 0x18
mov ebp, esi
jmp 0x1400491e9
xor ecx, ecx
jmp 0x140049166
movzx edx, byte [r15 - 1]
dec r15
shl edx, 8
or eax, edx
movzx edx, byte [r15 - 1]
or edx, eax
xor edx, r8d
xor ecx, r11d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x2c], ecx
lea rcx, [rsp + 0x28]
mov rdx, rdi
mov r8, rbp
mov r9, r14
call fcn.1400461b0
mov r10d, dword [rsp + 0x28]
mov r11d, dword [rsp + 0x2c]
mov byte [rsi], r10b
mov eax, r10d
shr eax, 8
mov byte [rsi + 1], al
mov ecx, r10d
shr ecx, 0x10
mov byte [rsi + 2], cl
mov edx, r10d
shr edx, 0x18
mov byte [rsi + 3], dl
mov byte [rsi + 4], r11b
mov r8d, r11d
shr r8d, 8
mov byte [rsi + 5], r8b
mov r9d, r11d
shr r9d, 0x10
mov byte [rsi + 6], r9b
mov edi, r11d
shr edi, 0x18
mov ebp, edi
mov byte [rsi + 7], dil
mov byte [rbx], r10b
mov byte [rbx + 1], al
mov byte [rbx + 2], cl
mov byte [rbx + 3], dl
mov byte [rbx + 4], r11b
mov byte [rbx + 5], r8b
mov byte [rbx + 6], r9b
mov ecx, ebp
jmp 0x14004927b
mov ecx, r13d
jmp 0x14004924a
mov byte [rsi - 1], dh
dec rsi
mov byte [rsi - 1], dl
mov edx, dword [rsp + 0x24]
mov byte [rbx], dl
mov byte [rbx + 1], dh
mov eax, edx
shr eax, 0x10
mov byte [rbx + 2], al
shr edx, 0x18
mov byte [rbx + 3], dl
mov byte [rbx + 4], cl
mov byte [rbx + 5], ch
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 6], al
shr ecx, 0x18
mov byte [rbx + 7], cl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140262cb0
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret