Function at 0x18003f5d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1802cd010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rsi, r8
mov rcx, r8
mov rdi, rdx
call fcn.18000d870
test rbx, rbx
je 0x18003fa77
test rdi, rdi
je 0x18003fa77
mov rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp byte [rdi + rcx], 0
jne 0x18003f614
cmp rcx, 8
jb 0x18003fa77
inc rax
cmp byte [rbx + rax], 0
jne 0x18003f627
cmp rax, 9
jb 0x18003fa77
mov qword [rsp + 0xa8], rbp
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x68], r12
mov r8d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x60], r13
mov rdx, rdi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
call fcn.180019300
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 + 0x38], 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, [rcx + r8]
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, [r9 + rdx]
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, [r9 + rdx]
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, [r8 + rdx]
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 0x18003f77d
movsxd rcx, eax
bt r9, rcx
jb 0x18003f7ab
lea eax, [rdx - 0x61]
cmp eax, 0x19
jbe 0x18003f7ab
mov edx, 0x7a
sub edx, r8d
lea eax, [rdx - 0x30]
cmp eax, 0x2a
ja 0x18003f79d
cdqe
bt r9, rax
jb 0x18003f7ab
lea eax, [rdx - 0x61]
mov ecx, 0x78
cmp eax, 0x19
cmova edx, ecx
movsx ecx, byte [rbx + 7]
lea r10, [rbx + 2]
movsx eax, byte [rbx + 8]
movsx r8d, byte [rsp + 0x28]
xor eax, ecx
movsx ecx, byte [rbx + 6]
xor eax, ecx
mov byte [rsp + 0x30], 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 [r10]
xor eax, ecx
movsx ecx, byte [rbx]
xor eax, ecx
xor eax, r11d
cmp eax, 0x30
jge 0x18003f7f2
lea eax, [r8 + 1]
movsx edx, byte [rsp + 0x29]
cmp eax, 0x7a
jle 0x18003f7ff
lea eax, [rdx + 1]
lea ecx, [rax - 0x30]
cmp ecx, 0x2a
ja 0x18003f810
movsxd rcx, ecx
bt r9, rcx
jb 0x18003f820
lea ecx, [rax - 0x61]
mov r9d, 0x52
cmp ecx, 0x19
cmova eax, r9d
movsx edi, byte [rsp + 0x2a]
mov ecx, r8d
movsx ebp, byte [rsp + 0x2b]
sub r8d, edx
movsx r14d, byte [rsp + 0x2c]
mov r12d, edx
movsx r15d, byte [rsp + 0x2d]
mov r11d, 8
movsx r13d, byte [rsp + 0x2e]
mov byte [rsp + 0x31], al
mov eax, edx
sub eax, ecx
mov dword [rsp + 0x20], ecx
mov ecx, edx
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 r9d, [rcx + r8]
mov ecx, r14d
cmovns r9d, eax
sub ecx, r15d
mov eax, r15d
sub eax, r14d
cmovns ecx, eax
mov eax, r9d
sub eax, ecx
test r9d, r9d
lea edx, [rcx + r9]
mov ecx, r15d
cmovns edx, eax
sub ecx, r13d
mov eax, r13d
sub eax, r15d
cmovns ecx, eax
mov eax, edx
sub eax, ecx
test edx, edx
lea r8d, [rcx + rdx]
movsx edx, byte [rsp + 0x2f]
cmovns r8d, eax
mov ecx, r13d
sub ecx, edx
mov eax, edx
sub eax, r13d
cmovns ecx, eax
mov eax, r8d
sub eax, ecx
test r8d, r8d
lea r9d, [rcx + r8]
cmovns r9d, eax
nop dword [rax + rax]
movsx eax, byte [r10]
mov edx, r9d
movsx r8d, byte [r10 - 2]
lea r10, [r10 + 1]
mov ecx, eax
sub ecx, r8d
sub r8d, eax
test ecx, ecx
cmovns r8d, ecx
mov ecx, r9d
sub edx, r8d
add r9d, r8d
test ecx, ecx
cmovns r9d, edx
sub r11, 1
jne 0x18003f910
mov eax, r9d
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 0x18003f96f
movsxd rcx, eax
bt r9, rcx
jb 0x18003f99d
lea eax, [rdx - 0x61]
cmp eax, 0x19
jbe 0x18003f99d
mov edx, 0x7a
sub edx, r8d
lea eax, [rdx - 0x30]
cmp eax, 0x2a
ja 0x18003f98f
cdqe
bt r9, rax
jb 0x18003f99d
lea eax, [rdx - 0x61]
mov ecx, WSAGetLastError
cmp eax, 0x19
cmova edx, ecx
mov byte [rsp + 0x32], dl
xor edx, edx
mov ecx, edx
nop word [rax + rax]
movsx eax, byte [rcx + rbx]
add rcx, 2
xor edx, eax
cmp rcx, 0xa
jl 0x18003f9b0
movsx eax, byte [rsp + 0x2f]
mov ecx, r15d
xor ecx, edi
xor ecx, ebp
xor ecx, r14d
xor ecx, r13d
mov r13, qword [rsp + 0x60]
xor ecx, eax
lea eax, [r15 + 0x14]
mov r15, qword [rsp + 0x50]
xor ecx, r12d
xor ecx, dword [rsp + 0x20]
mov r12, qword [rsp + 0x68]
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 + 0xa8]
cmp ecx, 0x30
cmovge eax, ecx
lea ecx, [r14 - 0xa]
mov r14, qword [rsp + 0x58]
cmp eax, 0x7a
cmovle ecx, eax
cmp ecx, 0x30
jl 0x18003fa2b
mov eax, ecx
cmp ecx, 0x39
jle 0x18003fa48
cmp ecx, 0x61
jl 0x18003fa37
mov eax, ecx
cmp ecx, 0x7a
jle 0x18003fa48
cmp ecx, 0x41
jl 0x18003fa43
mov eax, ecx
cmp ecx, 0x5a
jle 0x18003fa48
mov eax, 0x47
mov rdx, rbx
mov byte [rsp + 0x33], al
mov rcx, rsi
mov byte [rsp + 0x34], 0
call fcn.18000b3e0
mov dl, 0x5f
mov rcx, rsi
call fcn.18000b790
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.18000b3e0
mov al, 1
jmp 0x18003fa79
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180009610
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret