Function at 0x180002560
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov dword [rcx + 0x3d0], reloc.WSOCK32.dll_recv
lea rdx, str.8E1F4785386E17FB
mov dword [rcx + 0x3cc], reloc.WSOCK32.dll_recv
mov rbx, rcx
movups xmm0, xmmword [str.8E1F4785386E17FB]
movups xmmword [rcx + 0x3d8], xmm0
movsxd r8, dword [rcx + 0x3d0]
add rcx, 0x3f8
call fcn.1800208a0
mov eax, dword [rbx + 0x3cc]
cmp eax, 0x10
je 0x1800025e1
cmp eax, 0x18
mov eax, select
jne 0x180002601
cmp dword [rbx + 0x3d0], 0x20
mov ecx, reloc.WSOCK32.dll_ioctlsocket
cmovne eax, ecx
jmp 0x180002601
mov edx, dword [rbx + 0x3d0]
cmp edx, 0x10
jne 0x1800025f1
lea eax, [rdx - 6]
jmp 0x180002601
cmp edx, 0x18
mov eax, select
mov ecx, reloc.WSOCK32.dll_ioctlsocket
cmove eax, ecx
mov dword [rbx + 0x3d4], eax
xor r8d, r8d
mov eax, dword [rbx + 0x3d0]
mov ecx, dword [rbx + 0x3d4]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r14, eax
mov rbp, r14
test ecx, ecx
js 0x180002651
lea rdx, [rbx + 0xc]
nop dword [rax]
test r14d, r14d
jle 0x18000263f
mov rdi, rdx
xor eax, eax
mov rcx, r14
rep stosd dword [rdi], eax
mov ecx, dword [rbx + 0x3d4]
inc r8d
add rdx, 0x20
cmp r8d, ecx
jle 0x180002630
xor edx, edx
test ecx, ecx
js 0x18000267f
lea r8, [rbx + 0x1ec]
nop
test r14d, r14d
jle 0x18000266f
mov rdi, r8
xor eax, eax
mov rcx, r14
rep stosd dword [rdi], eax
mov ecx, dword [rbx + 0x3d4]
inc edx
add r8, 0x20
cmp edx, ecx
jle 0x180002660
mov eax, dword [rbx + 0x3cc]
lea esi, [rcx + 1]
cdq
imul esi, r14d
and edx, 3
lea rdi, [rbx + 0x418]
add eax, edx
lea rdx, str.3E702C7016D840B1
sar eax, 2
movsxd r12, eax
test eax, eax
jle 0x1800026e8
mov r8d, r12d
nop dword [rax]
movzx ecx, byte [rdx]
lea rdi, [rdi + 4]
shl ecx, 0x18
lea rdx, [rdx + 4]
mov dword [rdi - 4], ecx
movzx eax, byte [rdx - 3]
shl eax, 0x10
or eax, ecx
mov dword [rdi - 4], eax
movzx ecx, byte [rdx - 2]
shl ecx, 8
or ecx, eax
mov dword [rdi - 4], ecx
movzx eax, byte [rdx - 1]
or eax, ecx
mov dword [rdi - 4], eax
sub r8, 1
jne 0x1800026b0
xor r9d, r9d
lea r13, sym.DeployerDll.dll_zg_bmUXDo_ZtMR_yqt__5ovbD__ElY4x:
test r12d, r12d
jle 0x18000274a
xor r10d, r10d
lea r8, [rbx + 0x418]
cmp r9d, esi
jge 0x180002908
mov eax, r9d
inc r10
cdq
inc r9d
idiv r14d
movsxd rcx, eax
movsxd rdi, edx
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
add r8, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r10, r12
jl 0x180002701
cmp r9d, esi
jge 0x180002908
lea r13, [0x180052c50]
lea rbp, sym.DeployerDll.dll_zg_bmUXDo_ZtMR_yqt__5ovbD__ElY4x:
mov edi, dword [rbx + r12*4 + 0x414]
lea r13, [r13 + 1]
movsxd rdx, edi
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movsx eax, byte [r13 - 1]
movsx r8d, byte [rcx + rbp + 0x516f0]
xor r8d, eax
mov rax, rdx
sar rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbp + 0x516f0]
xor r8d, eax
movzx eax, dl
shl r8d, 8
movzx eax, byte [rax + rbp + 0x516f0]
xor r8d, eax
mov eax, edi
shr rax, 0x18
shl r8d, 8
movzx eax, byte [rax + rbp + 0x516f0]
xor r8d, eax
xor dword [rbx + 0x418], r8d
cmp r12d, 8
je 0x180002804
cmp r12, 1
jle 0x18000289f
lea rcx, [rbx + 0x41c]
lea rdx, [r12 - 1]
nop
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1800027f0
jmp 0x18000289f
lea rcx, [rbx + 0x41c]
mov edx, 3
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180002810
mov eax, dword [rbx + 0x424]
mov ecx, eax
movsxd rdx, eax
shr rcx, 0x18
mov rax, rdx
sar rax, 0x10
movsx edi, byte [rcx + rbp + 0x516f0]
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + rbp + 0x516f0]
xor edi, eax
mov rax, rdx
sar rax, 8
shl edi, 8
movzx ecx, al
movzx eax, byte [rcx + rbp + 0x516f0]
xor edi, eax
movzx eax, dl
shl edi, 8
movzx eax, byte [rax + rbp + 0x516f0]
xor edi, eax
xor dword [rbx + 0x428], edi
cmp r12, 5
jle 0x18000289f
lea rax, [rbx + 0x42c]
lea rdx, [r12 - 5]
nop dword [rax]
mov ecx, dword [rax - 4]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x180002890
xor r10d, r10d
test r12d, r12d
jle 0x1800028f5
lea r8, [rbx + 0x418]
nop
cmp r9d, esi
jge 0x1800028fe
mov eax, r9d
inc r10
cdq
inc r9d
idiv r14d
movsxd rcx, eax
movsxd rdi, edx
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
add r8, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r10, r12
jl 0x1800028b0
cmp r9d, esi
jl 0x180002761
mov rbp, r14
lea r13, sym.DeployerDll.dll_zg_bmUXDo_ZtMR_yqt__5ovbD__ElY4x:
mov r10d, 1
cmp dword [rbx + 0x3d4], r10d
jle 0x180002998
lea r11, [rbx + 0x20c]
test rbp, rbp
jle 0x180002982
mov r8, r11
mov r9, rbp
nop dword [rax]
mov eax, dword [r8]
lea r8, [r8 + 4]
mov edx, eax
movsxd rdi, eax
shr rdx, 0x18
mov rax, rdi
sar rax, 0x10
movzx ecx, al
mov rax, rdi
sar rax, 8
mov edx, dword [r13 + rdx*4 + 0x53070]
xor edx, dword [r13 + rcx*4 + 0x517f0]
movzx ecx, al
movzx eax, dil
xor edx, dword [r13 + rcx*4 + 0x51ff0]
xor edx, dword [r13 + rax*4 + 0x52c70]
mov dword [r8 - 4], edx
sub r9, 1
jne 0x180002930
inc r10d
add r11, 0x20
cmp r10d, dword [rbx + 0x3d4]
jl 0x180002922
mov byte [rbx + 8], 1
jmp 0x18000299c
mov byte [rbx + 8], r10b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret