Function at 0x180063014
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov byte [rax + 0x20], r9b
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movzx r13d, r9b
mov edi, r8d
mov r12, rcx
lea rax, [rcx + 0x2f0]
mov qword [rbp - 0x10], rax
mov rcx, rax
call fcn.180007dac
mov byte [rbp - 8], 1
xor esi, esi
mov r15d, esi
mov dword [rbp - 0x28], esi
mov r14d, esi
mov eax, r13d
xor rax, 1
shl rax, 6
lea rdx, [r12 + 8]
add rdx, rax
mov qword [rbp - 0x20], rdx
mov byte [rbp - 0x3e], sil
mov byte [rbp - 0x34], sil
mov ebx, esi
mov qword [rbp - 0x18], rbx
mov eax, dword [rdx + 8]
test eax, eax
je 0x18006317b
mov byte [rbp - 0x40], 1
mov ecx, dword [rdx + 4]
mov dword [rbp - 0x3c], ecx
mov r13d, dword [rdx]
cmp byte [0x18010a364], sil
je 0x18006310a
lea rcx, [rbp - 0x3f]
call fcn.180060ea0
mov r10, rax
cmp byte [rax + 0x5c], sil
je 0x1800630e8
mov edx, esi
movabs r8, 0xd993efbb19cfe32d
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + r10], al
inc rdx
cmp rdx, 0x5c
jb 0x1800630c9
mov byte [r10 + 0x5c], sil
movzx r8d, byte [rbp + 0x58]
mov dword [rsp + 0x20], r13d
mov r9d, dword [rbp - 0x3c]
mov rdx, r10
mov ecx, 4
call fcn.18006a848
mov rdx, qword [rbp - 0x20]
mov eax, dword [rdx + 8]
cmp eax, edi
jb 0x18006311b
mov dword [rbp - 0x38], edi
sub eax, edi
mov dword [rdx + 8], eax
jmp 0x180063430
mov dword [rbp - 0x38], eax
sub edi, eax
mov dword [rbp - 0x28], edi
mov dword [rdx + 8], esi
cmp byte [0x18010a364], sil
je 0x180063430
lea rcx, [rbp - 0x3f]
call fcn.18006188c
mov rdx, rax
cmp byte [rax + 0x57], sil
je 0x180063423
mov r8, rsi
movabs r12, 0xd993efbb19cfe32d
mov cl, r8b
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x57
jb 0x180063156
mov byte [rdx + 0x57], sil
jmp 0x18006341f
mov byte [rbp - 0x40], sil
lea r14, [rdx + 0x20]
mov r12, rdi
cmp edi, 9
jae 0x18006320a
mov rcx, qword [r14 + 0x10]
add rcx, rdi
cmp rcx, 9
jae 0x18006320a
mov r8, rdi
mov rdx, qword [rbp + 0x48]
mov rcx, r14
call fcn.180002f70
cmp byte [0x18010a364], sil
je 0x1800638a2
lea rcx, [rbp + 0x58]
call fcn.180060850
mov r10, rax
cmp byte [rax + 0x4d], sil
je 0x1800631f2
mov rdx, rsi
movabs r8, 0xd993efbb19cfe32d
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + r10], al
inc rdx
cmp rdx, 0x4d
jb 0x1800631d3
mov byte [r10 + 0x4d], sil
mov r8d, r13d
mov r9d, edi
mov rdx, r10
mov ecx, 4
call fcn.18006a848
jmp 0x1800638a2
lea r13, [r14 + 0x10]
cmp qword [r13], rsi
je 0x180063262
add edi, dword [r13]
mov ecx, edi
call fcn.18009d8b4
mov rbx, rax
mov qword [rbp - 0x18], rax
xor ecx, ecx
call fcn.18009d1f4
cmp qword [r14 + 0x18], 0x10
jb 0x180063237
mov r14, qword [r14]
mov r8, qword [r13]
mov rdx, r14
mov rcx, rbx
call fcn.18009fc20
mov rcx, qword [r13]
add rcx, rbx
mov r8, r12
mov rdx, qword [rbp + 0x48]
call fcn.18009fc20
mov r14, rbx
mov qword [rbp + 0x48], rbx
jmp 0x180063266
mov r14, qword [rbp + 0x48]
mov edx, edi
mov rcx, r14
call fcn.18006526c
mov r13d, eax
cmp edi, 9
jge 0x18006327d
mov r12d, esi
jmp 0x18006328e
mov ecx, dword [r14 + 5]
call sub.WS2_32.dll_ntohl
mov r12d, eax
btr r12d, 0x1f
mov dword [rbp - 0x3c], r12d
cmp edi, 9
mov al, sil
jb 0x18006329e
mov al, byte [r14 + 4]
mov cl, al
shr cl, 2
and cl, 1
mov byte [rbp - 0x34], cl
and al, 1
mov byte [rbp - 0x3e], al
cmp edi, 9
jge 0x1800632b8
mov r14d, esi
jmp 0x1800632c7
mov ecx, dword [r14]
call sub.WS2_32.dll_ntohl
mov r14d, eax
shr r14d, 8
mov al, byte [0x18010a364]
test al, al
je 0x180063338
lea rcx, [rbp - 0x3f]
call fcn.180061cfc
mov r10, rax
cmp byte [rax + 0x6b], sil
je 0x180063313
mov rdx, rsi
movabs r12, 0xd993efbb19cfe32d
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [rdx + r10], al
inc rdx
cmp rdx, 0x6b
jb 0x1800632f0
mov byte [r10 + 0x6b], sil
mov r12d, dword [rbp - 0x3c]
movzx r8d, byte [rbp + 0x58]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r14d
mov r9d, r12d
mov rdx, r10
mov ecx, 4
call fcn.18006a848
mov al, byte [0x18010a364]
mov r12, qword [rbp + 0x40]
cmp dword [r12 + 0x340], esi
je 0x1800633a5
cmp r13d, 9
je 0x1800633a5
test al, al
je 0x18006339d
lea rcx, [rbp - 0x3f]
call fcn.18006077c
mov rdx, rax
cmp byte [rax + 0x59], sil
je 0x180063393
mov r8, rsi
movabs r12, 0xd993efbb19cfe32d
mov cl, r8b
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x59
jb 0x18006336f
mov byte [rdx + 0x59], sil
mov r12, qword [rbp + 0x40]
mov ecx, 2
call fcn.18006a848
mov dword [r12 + 0x340], esi
mov rdx, qword [rbp - 0x20]
mov dword [rdx], r13d
mov r9d, dword [rbp - 0x3c]
mov dword [rdx + 4], r9d
add r14d, 9
cmp edi, r14d
ja 0x1800633ca
mov dword [rbp - 0x38], edi
mov eax, r14d
sub eax, edi
mov dword [rdx + 8], eax
jmp 0x180063434
mov dword [rbp - 0x38], r14d
sub edi, r14d
mov dword [rbp - 0x28], edi
mov dword [rdx + 8], esi
cmp byte [0x18010a364], sil
je 0x180063434
lea rcx, [rbp - 0x3f]
call fcn.180061a2c
mov rdx, rax
cmp byte [rax + 0x52], sil
je 0x180063423
mov r8, rsi
movabs r12, 0xd993efbb19cfe32d
mov cl, r8b
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 0x52
jb 0x1800633ff
mov byte [rdx + 0x52], sil
mov r12, qword [rbp + 0x40]
mov r8d, edi
mov ecx, 2
call fcn.18006a848
mov r9d, dword [rbp - 0x3c]
cmp r13d, 3
jne 0x180063454
cmp byte [rbp - 0x40], sil
jne 0x18006386c
mov edx, r9d
mov rcx, r12
call fcn.1800627a8
jmp 0x18006386c
cmp r13d, 1
jbe 0x180063480
cmp r13d, 9
je 0x180063472
lea eax, [r13 - 4]
cmp eax, 1
ja 0x18006386c
jmp 0x1800635d7
cmp dword [r12 + 0x340], esi
jne 0x1800635d7
mov r8b, byte [rbp - 0x40]
test r8b, r8b
je 0x1800634c9
mov rax, qword [r12 + 0x88]
mov rcx, qword [rax + 8]
mov rdx, rax
jmp 0x1800634ac
cmp dword [rcx + 0x20], r9d
jae 0x1800634a6
mov rcx, qword [rcx + 0x10]
jmp 0x1800634ac
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], sil
je 0x18006349a
cmp byte [rdx + 0x19], sil
jne 0x1800634be
cmp r9d, dword [rdx + 0x20]
jae 0x1800634c1
mov rdx, rax
cmp rdx, rax
setne al
jmp 0x1800634db
mov r8d, r13d
mov edx, r9d
mov rcx, r12
call fcn.180061ed0
mov r8b, byte [rbp - 0x40]
test al, al
jne 0x180063549
cmp byte [0x18010a364], sil
je 0x18006386c
lea rcx, [rbp - 0x3f]
call fcn.180060f78
mov r10, rax
cmp byte [rax + 0x53], sil
je 0x18006352e
mov rdx, rsi
movabs r12, 0xd993efbb19cfe32d
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [rdx + r10], al
inc rdx
cmp rdx, 0x53
jb 0x18006350b
mov byte [r10 + 0x53], sil
mov r12, qword [rbp + 0x40]
movzx r8d, byte [rbp - 0x40]
mov r9d, dword [rbp - 0x3c]
mov rdx, r10
mov ecx, 2
call fcn.18006a848
jmp 0x18006386c
mov rcx, qword [r12 + 0x88]
mov rax, qword [rcx + 8]
mov r15, rcx
mov edx, dword [rbp - 0x3c]
cmp byte [rax + 0x19], sil
jne 0x180063574
cmp dword [rax + 0x20], edx
jae 0x18006356c
mov rax, qword [rax + 0x10]
jmp 0x18006355b
mov r15, rax
mov rax, qword [rax]
jmp 0x18006355b
cmp byte [r15 + 0x19], sil
jne 0x180063580
cmp edx, dword [r15 + 0x20]
jae 0x180063583
mov r15, rcx
mov r15, qword [r15 + 0x28]
test r15, r15
je 0x18006386c
test r8b, r8b
jne 0x1800635db
mov r9d, r13d
mov r8b, byte [rbp - 0x3e]
mov dil, byte [rbp + 0x58]
mov dl, dil
mov rcx, r15
call fcn.180063c34
cmp byte [rbp - 0x3e], sil
je 0x1800635c1
test dil, dil
lea rax, [r15 + 0x10]
jne 0x1800635be
lea rax, [r15 + 0x60]
mov byte [rax], 1
cmp byte [rbp - 0x34], sil
je 0x1800635d7
test dil, dil
lea rax, [r15 + 0x11]
jne 0x1800635d4
lea rax, [r15 + 0x61]
mov byte [rax], 1
mov r8b, byte [rbp - 0x40]
mov rdi, qword [rbp - 0x20]
cmp dword [rdi + 8], esi
ja 0x1800635e9
test r8b, r8b
je 0x180063622
test r8b, r8b
cmovne r14d, esi
mov r9d, r14d
mov r14d, dword [rbp - 0x38]
mov r8d, r14d
mov rdx, qword [rbp + 0x48]
mov rcx, rdi
call fcn.1800620e0
cmp dword [rdi + 8], esi
ja 0x180063870
cmp byte [rbp - 0x40], sil
je 0x180063622
mov r8d, dword [rdi + 0xc]
mov rdi, qword [rdi + 0x18]
mov eax, r14d
jmp 0x18006362c
mov eax, dword [rbp - 0x38]
mov r8d, eax
mov rdi, qword [rbp + 0x48]
cmp r13d, 5
jne 0x180063653
lea rax, [r12 + 0x340]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x3c]
mov rdx, rdi
mov rcx, r12
call fcn.18006258c
jmp 0x18006386c
cmp r13d, 4
jne 0x18006366d
mov r9b, byte [rbp + 0x58]
mov rdx, rdi
mov rcx, r12
call fcn.180062884
jmp 0x18006386c
cmp r13d, 9
jne 0x180063695
mov r9d, dword [r12 + 0x340]
test r9d, r9d
je 0x180063695
mov byte [rsp + 0x20], sil
mov rdx, rdi
mov rcx, r12
call fcn.1800623f4
jmp 0x18006386c
mov dword [rbp - 0x2c], esi
mov dword [rbp - 0x30], esi
test r13d, r13d
jne 0x1800636dd
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2c]
mov rdx, rdi
mov rcx, r12
call fcn.180062e20
mov edx, dword [rbp - 0x30]
add rdx, rdi
mov r14b, byte [rbp + 0x58]
test r14b, r14b
lea rcx, [r15 + 0x10]
jne 0x1800636cf
lea rcx, [r15 + 0x60]
mov r8d, dword [rbp - 0x2c]
call fcn.180062070
jmp 0x18006377e
cmp r13d, 1
jne 0x180063722
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2c]
mov rdx, rdi
mov rcx, r12
call fcn.180062ef0
mov edx, dword [rbp - 0x30]
add rdx, rdi
mov r14b, byte [rbp + 0x58]
test r14b, r14b
lea rcx, [r15 + 0x10]
jne 0x180063712
lea rcx, [r15 + 0x60]
mov r8d, dword [rbp - 0x2c]
call fcn.1800620a8
test r14b, r14b
je 0x180063751
jmp 0x180063742
mov r14b, byte [rbp + 0x58]
cmp r13d, 9
jne 0x18006377e
lea r8d, [rax - 9]
lea rdx, [rdi + 9]
test r14b, r14b
je 0x180063748
lea rcx, [r15 + 0x10]
call fcn.1800620a8
lea rax, [r15 + 0x11]
jmp 0x180063755
lea rcx, [r15 + 0x60]
call fcn.1800620a8
lea rax, [r15 + 0x61]
cmp byte [rax], sil
je 0x18006377e
mov al, r14b
neg al
sbb rdx, rdx
and rdx, 0xfffffffffffffee0
add rdx, 0x1d0
add rdx, r12
mov r8b, r14b
mov rcx, r15
call fcn.18006225c
test r14b, r14b
lea rax, [r15 + 0x11]
jne 0x18006378b
lea rax, [r15 + 0x61]
cmp byte [rax], sil
je 0x18006386c
test r14b, r14b
lea rax, [r15 + 0x10]
jne 0x1800637a1
lea rax, [r15 + 0x60]
cmp byte [rax], sil
jne 0x1800637d4
test r14b, r14b
je 0x1800637b5
mov rax, qword [r15 + 0x38]
sub rax, qword [r15 + 0x30]
jmp 0x1800637c3
mov rax, qword [r15 + 0x88]
sub rax, qword [r15 + 0x80]
cmp rax, 0xfde8
seta al
test al, al
je 0x18006386c
cmp byte [0x18010a364], sil
je 0x180063839
lea rcx, [rbp - 0x3f]
call fcn.1800615b8
mov r10, rax
cmp byte [rax + 0x3e], sil
je 0x18006381f
mov rdx, rsi
movabs r12, 0xd993efbb19cfe32d
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r12
shr rax, cl
xor byte [rdx + r10], al
inc rdx
cmp rdx, 0x3e
jb 0x1800637fc
mov byte [r10 + 0x3e], sil
mov r12, qword [rbp + 0x40]
movzx r8d, r14b
mov r13d, dword [rbp - 0x3c]
mov r9d, r13d
mov rdx, r10
mov ecx, 4
call fcn.18006a848
jmp 0x18006383d
mov r13d, dword [rbp - 0x3c]
mov edi, dword [r15 + 8]
lea r8, [r12 + 0x320]
mov r9b, r14b
mov rdx, qword [r12 + 0x98]
mov rcx, r15
call fcn.180064c00
cmp edi, 5
jne 0x18006386c
mov edx, r13d
mov rcx, r12
call fcn.1800638d0
mov r14d, dword [rbp - 0x38]
mov r15, qword [rbp - 0x20]
cmp dword [r15 + 8], esi
jne 0x180063882
mov rcx, r15
call fcn.180063b2c
mov eax, dword [rbp - 0x28]
test eax, eax
je 0x18006389f
mov edx, r14d
add rdx, qword [rbp + 0x48]
mov r9b, byte [rbp + 0x58]
mov r8d, eax
mov rcx, r12
call fcn.180063014
mov sil, 1
mov rcx, rbx
call fcn.18009d1f4
nop
mov rcx, qword [rbp - 0x10]
call fcn.180007dc4
nop
mov al, sil
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret