Function at 0x140056600
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400a45f8]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, qword [rbp + 0xf0]
mov r15d, edx
mov rsi, qword [rbp + 0xf8]
xor edx, edx
mov r13, r8
mov r12d, ecx
lea rcx, [rbp + 0x30]
mov ebx, r9d
lea r8d, [rdx + 0x50]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0xb0
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
cmp ebx, 0x3a
ja 0x140056884
test r14, r14
je 0x140056884
test rsi, rsi
je 0x140056884
cmp dword [rbp + 0x100], 0x50
jb 0x140056884
mov qword [rsp + 0x1d0], rdi
lea rcx, [rsp + 0x2e]
test ebx, ebx
mov byte [rsp + 0x28], 7
lea rdi, [rbp + 0x30]
mov edx, 2
cmovne rdi, r13
call fcn.14004e230
movzx eax, byte [rdi]
lea rcx, [rsp + 0x36]
mov byte [rsp + 0x32], al
mov edx, 2
movzx eax, byte [rdi + 1]
mov byte [rsp + 0x33], al
movzx eax, byte [rdi + 2]
mov byte [rsp + 0x34], al
movzx eax, byte [rdi + 3]
mov byte [rsp + 0x35], al
mov byte [rsp + 0x30], r12b
mov byte [rsp + 0x31], r15b
call fcn.14004e230
lea rcx, [rsp + 0x38]
cmp ebx, 4
jbe 0x14005672b
lea r8d, [rbx - 4]
lea rdx, [rdi + 4]
call sub.VCRUNTIME140.dll_memcpy
mov edx, reloc.WSOCK32.dll_gethostname
sub edx, ebx
test edx, edx
jle 0x140056735
lea ecx, [rbx + 0xc]
lea rax, [rsp + 0x28]
add rcx, rax
jmp 0x140056730
mov edx, gethostname
call fcn.14004e230
xor edi, edi
cmp ebx, 4
jbe 0x140056744
sub bl, 4
movzx eax, bl
jmp 0x140056746
mov eax, edi
mov byte [rsp + 0x6d], al
lea rcx, [rbp - 0x80]
movzx eax, byte [rsp + 0x36]
mov rdx, r14
mov byte [rsp + 0x6e], al
movzx eax, byte [rsp + 0x37]
mov byte [rsp + 0x6f], al
call fcn.140054780
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140054400
mov ebx, 4
lea rcx, [rsp + 0x60]
mov edx, ebx
movzx eax, byte [rcx - 0x10]
xor byte [rcx], al
movzx eax, byte [rcx - 0xf]
xor byte [rcx + 1], al
movzx eax, byte [rcx - 0xe]
xor byte [rcx + 2], al
movzx eax, byte [rcx - 0xd]
xor byte [rcx + 3], al
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140056782
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140054400
lea rcx, [rsp + 0x50]
mov rdx, rbx
nop dword [rax]
movzx eax, byte [rcx - 0x10]
xor byte [rcx], al
movzx eax, byte [rcx - 0xf]
xor byte [rcx + 1], al
movzx eax, byte [rcx - 0xe]
xor byte [rcx + 2], al
movzx eax, byte [rcx - 0xd]
xor byte [rcx + 3], al
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400567c0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140054400
lea rax, [rsp + 0x40]
nop dword [rax + rax]
movzx ecx, byte [rax - 0x10]
xor byte [rax], cl
movzx ecx, byte [rax - 0xf]
xor byte [rax + 1], cl
movzx ecx, byte [rax - 0xe]
xor byte [rax + 2], cl
movzx ecx, byte [rax - 0xd]
xor byte [rax + 3], cl
add rax, 4
sub rbx, 1
jne 0x140056800
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140054400
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140054780
lea rcx, [rsp + 0x28]
call fcn.1400649b0
movups xmm0, xmmword [rsp + 0x28]
movzx eax, di
mov rdi, qword [rsp + 0x1d0]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x40], xmm0
jmp 0x140056889
mov eax, 0x1d10
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140077b10
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret