Function at 0x14003f570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx r14d, r8b
mov byte [rsp + 0x30], r8b
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov r13d, dword [rcx + 0x40c]
mov dword [rsp + 0x40], r13d
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x50], rax
add rcx, 0xe0
lea rdx, [rsp + 0x50]
call fcn.140047300
test rax, rax
je 0x14003f5df
movups xmm2, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
jmp 0x14003f5f6
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm2, xmmword [rsp + 0x50]
unpckhpd xmm0, xmm0
movsd qword [rsp + 0x60], xmm0
movd eax, xmm2
cmp eax, 3
jne 0x14003f6be
movaps xmm1, xmm2
unpckhpd xmm1, xmm2
comisd xmm1, xmmword [0x1400f43f0]
jb 0x14003f6be
movsd xmm0, qword [0x1400f4438]
comisd xmm0, xmm1
jb 0x14003f6be
cvttsd2si edi, xmm1
movd xmm0, edi
cvtdq2pd xmm0, xmm0
ucomisd xmm0, xmm1
jp 0x14003f6be
jne 0x14003f6be
dec dil
mov rbp, qword [rsi + 0x20]
mov rdx, rbp
mov rcx, rbx
call fcn.140041060
mov r9d, eax
test eax, eax
jns 0x14003f697
lea ecx, [r13 + 1]
cmp ecx, 0xff
ja 0x14003f913
mov dword [rbx + 0x40c], ecx
mov eax, dword [rbx + 0x410]
cmp eax, ecx
cmovb eax, ecx
mov dword [rbx + 0x410], eax
movzx r8d, r13b
mov rdx, rbp
mov rcx, rbx
call fcn.140040420
movzx r9d, r13b
mov rax, qword [rsi + 0x28]
cmp dword [rbx + 0xc], 1
jl 0x14003f6af
mov rcx, qword [rbx]
mov eax, dword [rax + 0xc]
inc eax
mov dword [rcx + 0x1b8], eax
mov byte [rsp + 0x20], dil
mov edx, select
jmp 0x14003f8ba
cmp eax, 5
jne 0x14003f810
movdqa xmm0, xmm2
psrldq xmm0, 8
movq rbp, xmm0
psrldq xmm2, 4
movd edi, xmm2
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx]
call fcn.140032d90
mov r12d, eax
test eax, eax
js 0x14003f930
mov r14, qword [rsi + 0x20]
mov rdx, r14
mov rcx, rbx
call fcn.140041060
mov r15d, eax
test eax, eax
jns 0x14003f753
mov r15d, dword [rbx + 0x40c]
lea ecx, [r15 + 1]
cmp ecx, 0xff
ja 0x14003f941
mov dword [rbx + 0x40c], ecx
mov eax, dword [rbx + 0x410]
cmp eax, ecx
cmovb eax, ecx
mov dword [rbx + 0x410], eax
movzx r8d, r15b
mov rdx, r14
mov rcx, rbx
call fcn.140040420
mov rax, qword [rsi + 0x28]
cmp dword [rbx + 0xc], 1
jl 0x14003f76b
mov rcx, qword [rbx]
mov eax, dword [rax + 0xc]
inc eax
mov dword [rcx + 0x1b8], eax
test rdi, rdi
je 0x14003f79c
mov r8, rdi
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r8 + rbp - 1]
mov eax, edi
shl eax, 5
add edx, eax
mov eax, edi
shr eax, 2
add edx, eax
xor edi, edx
sub r8, 1
jne 0x14003f780
mov byte [rsp + 0x20], dil
movzx r9d, r15b
movzx r8d, byte [rsp + 0x30]
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, qword [rbx]
call fcn.140033370
mov rdi, qword [rbx]
mov dword [rsp + 0x50], r12d
lea rcx, [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rdx, qword [rdi + 0x38]
je 0x14003f7d8
mov dword [rdx], r12d
add qword [rdi + 0x30], 4
jmp 0x14003f7e2
lea r8, [rsp + 0x50]
call fcn.140028a60
lea rcx, [rdi + 0x40]
lea r8, [rdi + 0x1b8]
mov rdx, qword [rdi + 0x48]
cmp rdx, qword [rdi + 0x50]
je 0x14003f806
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rdi + 0x48], 4
jmp 0x14003f8c7
call fcn.140028a60
jmp 0x14003f8c7
mov rdi, qword [rsi + 0x20]
mov rdx, rdi
mov rcx, rbx
call fcn.140041060
mov ebp, eax
test eax, eax
jns 0x14003f85f
lea ecx, [r13 + 1]
cmp ecx, 0xff
ja 0x14003f95e
mov dword [rbx + 0x40c], ecx
mov eax, dword [rbx + 0x410]
cmp eax, ecx
cmovb eax, ecx
mov dword [rbx + 0x410], eax
movzx r8d, r13b
mov rdx, rdi
mov rcx, rbx
call fcn.140040420
movzx ebp, r13b
mov rdi, qword [rsi + 0x28]
mov rdx, rdi
mov rcx, rbx
call fcn.140041060
test eax, eax
jns 0x14003f8ad
mov esi, dword [rbx + 0x40c]
lea ecx, [rsi + 1]
cmp ecx, 0xff
ja 0x14003f8f6
mov dword [rbx + 0x40c], ecx
mov eax, dword [rbx + 0x410]
cmp eax, ecx
cmovb eax, ecx
mov dword [rbx + 0x410], eax
movzx r8d, sil
mov rdx, rdi
mov rcx, rbx
call fcn.140040420
movzx eax, sil
mov byte [rsp + 0x20], al
movzx r9d, bpl
mov edx, reloc.WS2_32.dll_listen
movzx r8d, r14b
mov rcx, qword [rbx]
call fcn.140033370
nop
mov dword [rbx + 0x40c], r13d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ce8a0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rdi + 0xc]
mov r9d, 0xff
mov r8d, 1
lea rdx, str.Out_of_registers_when_trying_to_allocate__d_registers:_exceeded_limit__d
call fcn.140038810
int3
lea rcx, [rbp + 0xc]
mov r9d, 0xff
mov r8d, 1
lea rdx, str.Out_of_registers_when_trying_to_allocate__d_registers:_exceeded_limit__d
call fcn.140038810
int3
lea rcx, [rsi + 0xc]
lea rdx, str.Exceeded_constant_limit__simplify_the_code_to_compile
call fcn.140038810
int3
lea rcx, [r14 + 0xc]
mov r9d, 0xff
mov r8d, 1
lea rdx, str.Out_of_registers_when_trying_to_allocate__d_registers:_exceeded_limit__d
call fcn.140038810
int3
lea rcx, [rdi + 0xc]
mov r9d, 0xff
mov r8d, 1
lea rdx, str.Out_of_registers_when_trying_to_allocate__d_registers:_exceeded_limit__d
call fcn.140038810
int3