Function at 0x1800c4e20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rsi, r8
mov rcx, r8
mov rdi, rdx
call fcn.1800d4870
test rbx, rbx
je 0x1800c5386
test rdi, rdi
je 0x1800c5386
mov rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1800c4e64
cmp rcx, 8
jb 0x1800c5386
inc rax
cmp byte [rbx + rax], 0
jne 0x1800c4e77
cmp rax, 9
jb 0x1800c5386
mov qword [rsp + 0x98], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x58], r12
mov r8d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x50], r13
mov rdx, rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
call fcn.1800daca0
movsx r11d, byte [rbx + 1]
movsx r9d, byte [rbx + 2]
mov eax, r11d
movsx r10d, byte [rbx + 5]
mov ecx, r11d
movsx r8d, byte [rbx]
sub eax, r8d
mov byte [rsp + 0x30], 0
sub r8d, r11d
test eax, eax
cmovns r8d, eax
sub ecx, r9d
neg r8d
mov eax, r9d
sub eax, r11d
cmovns ecx, eax
mov eax, r8d
sub eax, ecx
test r8d, r8d
lea edx, [r8 + rcx]
movsx r8d, byte [rbx + 3]
cmovns edx, eax
mov eax, r8d
sub eax, r9d
sub r9d, r8d
test eax, eax
cmovns r9d, eax
mov eax, edx
sub eax, r9d
test edx, edx
lea ecx, [rdx + r9]
movsx r9d, byte [rbx + 4]
cmovns ecx, eax
mov eax, r9d
sub eax, r8d
sub r8d, r9d
test eax, eax
cmovns r8d, eax
mov eax, ecx
sub eax, r8d
test ecx, ecx
lea edx, [r8 + rcx]
movsx r8d, byte [rbx + 6]
cmovns edx, eax
mov eax, r10d
sub eax, r9d
sub r9d, r10d
test eax, eax
cmovns r9d, eax
mov eax, edx
sub eax, r9d
test edx, edx
lea ecx, [rdx + r9]
cmovns ecx, eax
mov eax, r8d
sub eax, r10d
sub r10d, r8d
test eax, eax
cmovns r10d, eax
mov eax, ecx
sub eax, r10d
test ecx, ecx
lea edx, [r10 + rcx]
cmovns edx, eax
movsx eax, byte [rbx + 7]
mov ecx, eax
sub ecx, r8d
sub r8d, eax
test ecx, ecx
cmovns r8d, ecx
mov ecx, edx
sub ecx, r8d
lea eax, [rdx + r8]
test edx, edx
movabs r9, 0x7fffffe03ff
cmovns eax, ecx
cdq
mov r8d, eax
xor r8d, edx
sub r8d, edx
lea edx, [r8 + 0x30]
lea eax, [rdx - 0x30]
cmp eax, 0x2a
ja 0x1800c4fcd
movsxd rcx, eax
bt r9, rcx
jb 0x1800c4ffb
lea eax, [rdx - 0x61]
cmp eax, 0x19
jbe 0x1800c4ffb
mov edx, 0x7a
sub edx, r8d
lea eax, [rdx - 0x30]
cmp eax, 0x2a
ja 0x1800c4fed
cdqe
bt r9, rax
jb 0x1800c4ffb
lea eax, [rdx - 0x61]
mov ecx, 0x78
cmp eax, 0x19
cmova edx, ecx
movsx ecx, byte [rbx + 6]
movsx eax, byte [rbx + 8]
movsx r10d, byte [rbx + 2]
xor eax, ecx
movsx ecx, byte [rbx]
xor eax, ecx
mov byte [rsp + 0x28], dl
movsx ecx, byte [rbx + 5]
xor eax, ecx
movsx ecx, byte [rbx + 4]
xor eax, ecx
movsx ecx, byte [rbx + 3]
xor eax, ecx
movsx ecx, byte [rbx + 7]
xor eax, ecx
xor eax, r10d
xor eax, r11d
movsx r11d, byte [rsp + 0x20]
cmp eax, 0x30
jge 0x1800c5040
lea eax, [r11 + 1]
movsx edx, byte [rsp + 0x21]
cmp eax, 0x7a
jle 0x1800c504d
lea eax, [rdx + 1]
lea ecx, [rax - 0x30]
cmp ecx, 0x2a
ja 0x1800c505e
movsxd rcx, ecx
bt r9, rcx
jb 0x1800c506e
lea ecx, [rax - 0x61]
mov r8d, 0x52
cmp ecx, 0x19
cmova eax, r8d
movsx edi, byte [rsp + 0x22]
mov ecx, edx
movsx ebp, byte [rsp + 0x23]
mov r12d, edx
movsx r14d, byte [rsp + 0x24]
mov r8d, r11d
movsx r15d, byte [rsp + 0x25]
sub r8d, edx
movsx r13d, byte [rsp + 0x26]
mov byte [rsp + 0x29], al
mov eax, edx
sub eax, r11d
cmovns r8d, eax
sub ecx, edi
neg r8d
mov eax, edi
sub eax, edx
cmovns ecx, eax
mov eax, r8d
sub eax, ecx
test r8d, r8d
lea edx, [rcx + r8]
mov ecx, edi
cmovns edx, eax
sub ecx, ebp
mov eax, ebp
sub eax, edi
cmovns ecx, eax
mov eax, edx
sub eax, ecx
test edx, edx
lea r8d, [rcx + rdx]
mov ecx, ebp
cmovns r8d, eax
sub ecx, r14d
mov eax, r14d
sub eax, ebp
cmovns ecx, eax
mov eax, r8d
sub eax, ecx
test r8d, r8d
lea edx, [rcx + r8]
mov ecx, r14d
cmovns edx, eax
sub ecx, r15d
mov eax, r15d
sub eax, r14d
cmovns ecx, eax
mov eax, edx
sub eax, ecx
test edx, edx
lea r8d, [rcx + rdx]
mov ecx, r15d
cmovns r8d, eax
sub ecx, r13d
mov eax, r13d
sub eax, r15d
cmovns ecx, eax
mov eax, r8d
sub eax, ecx
test r8d, r8d
lea edx, [rcx + r8]
movsx r8d, byte [rsp + 0x27]
cmovns edx, eax
mov ecx, r13d
sub ecx, r8d
mov eax, r8d
sub eax, r13d
cmovns ecx, eax
mov eax, edx
sub eax, ecx
test edx, edx
lea r8d, [rcx + rdx]
movsx ecx, byte [rbx]
cmovns r8d, eax
mov eax, r10d
sub eax, ecx
sub ecx, r10d
test eax, eax
cmovns ecx, eax
mov eax, r8d
sub eax, ecx
lea r9d, [rcx + r8]
movsx ecx, byte [rbx + 1]
test r8d, r8d
movsx r8d, byte [rbx + 3]
cmovns r9d, eax
mov eax, r8d
sub eax, ecx
sub ecx, r8d
test eax, eax
cmovns ecx, eax
mov eax, r9d
sub eax, ecx
test r9d, r9d
lea edx, [rcx + r9]
movsx r9d, byte [rbx + 4]
cmovns edx, eax
mov eax, r9d
sub eax, r10d
sub r10d, r9d
test eax, eax
cmovns r10d, eax
mov eax, edx
sub eax, r10d
test edx, edx
lea ecx, [rdx + r10]
movsx r10d, byte [rbx + 5]
cmovns ecx, eax
mov eax, r10d
sub eax, r8d
sub r8d, r10d
test eax, eax
cmovns r8d, eax
mov eax, ecx
sub eax, r8d
test ecx, ecx
lea edx, [rcx + r8]
movsx r8d, byte [rbx + 6]
cmovns edx, eax
mov eax, r8d
sub eax, r9d
sub r9d, r8d
test eax, eax
cmovns r9d, eax
mov eax, edx
sub eax, r9d
test edx, edx
lea ecx, [r9 + rdx]
movsx r9d, byte [rbx + 7]
cmovns ecx, eax
mov eax, r9d
sub eax, r10d
sub r10d, r9d
test eax, eax
cmovns r10d, eax
mov eax, ecx
sub eax, r10d
test ecx, ecx
lea edx, [r10 + rcx]
cmovns edx, eax
movsx eax, byte [rbx + 8]
mov ecx, eax
sub ecx, r8d
sub r8d, eax
test ecx, ecx
mov eax, edx
cmovns r8d, ecx
sub eax, r8d
add r8d, edx
test edx, edx
cmovns r8d, eax
movsx eax, byte [rbx + 9]
mov ecx, eax
sub ecx, r9d
sub r9d, eax
test ecx, ecx
cmovns r9d, ecx
mov ecx, r8d
sub ecx, r9d
test r8d, r8d
lea eax, [r8 + r9]
cmovns eax, ecx
movabs r9, 0x7fffffe03ff
cdq
mov r8d, eax
xor r8d, edx
sub r8d, edx
lea edx, [r8 + 0x30]
lea eax, [rdx - 0x30]
cmp eax, 0x2a
ja 0x1800c5288
movsxd rcx, eax
bt r9, rcx
jb 0x1800c52b6
lea eax, [rdx - 0x61]
cmp eax, 0x19
jbe 0x1800c52b6
mov edx, 0x7a
sub edx, r8d
lea eax, [rdx - 0x30]
cmp eax, 0x2a
ja 0x1800c52a8
cdqe
bt r9, rax
jb 0x1800c52b6
lea eax, [rdx - 0x61]
mov ecx, WSAGetLastError
cmp eax, 0x19
cmova edx, ecx
mov byte [rsp + 0x2a], dl
xor edx, edx
mov ecx, edx
nop
movsx eax, byte [rcx + rbx]
add rcx, 2
xor edx, eax
cmp rcx, 0xa
jl 0x1800c52c0
movsx eax, byte [rsp + 0x27]
mov ecx, r11d
xor ecx, eax
lea eax, [r15 + 0x14]
xor ecx, r13d
mov r13, qword [rsp + 0x50]
xor ecx, r14d
xor ecx, ebp
xor ecx, edi
xor ecx, r15d
mov r15, qword [rsp + 0x40]
xor ecx, r12d
mov r12, qword [rsp + 0x58]
xor ecx, edx
cmp ecx, 0x30
cmovge eax, ecx
lea ecx, [rdi - 0xa]
cmp eax, 0x7a
cmovle ecx, eax
lea eax, [rbp + 0x14]
mov rbp, qword [rsp + 0x98]
cmp ecx, 0x30
cmovge eax, ecx
lea ecx, [r14 - 0xa]
mov r14, qword [rsp + 0x48]
cmp eax, 0x7a
cmovle ecx, eax
cmp ecx, 0x30
jl 0x1800c533a
mov eax, ecx
cmp ecx, 0x39
jle 0x1800c5357
cmp ecx, 0x61
jl 0x1800c5346
mov eax, ecx
cmp ecx, 0x7a
jle 0x1800c5357
cmp ecx, 0x41
jl 0x1800c5352
mov eax, ecx
cmp ecx, 0x5a
jle 0x1800c5357
mov eax, 0x47
mov rdx, rbx
mov byte [rsp + 0x2b], al
mov rcx, rsi
mov byte [rsp + 0x2c], 0
call fcn.1800d2e50
mov dl, 0x5f
mov rcx, rsi
call fcn.1800d3140
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800d2e50
mov al, 1
jmp 0x1800c5388
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18007b140
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret