Function at 0x1400d74b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0xe8
call fcn.1401127d0
sub rsp, rax
mov rax, qword [0x1401bd830]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, qword [rsp + 0x140]
mov rdi, rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], r8
mov rbx, r9
mov qword [rsp + 0x48], rdx
mov rbp, r8
xor r12d, r12d
call fcn.140075c00
test rbx, rbx
mov rax, rbp
mov rcx, rbp
cmovne rax, rbx
mov qword [rsp + 0x38], rax
call fcn.140080d60
movsxd r13, eax
test eax, eax
js 0x1400d7915
mov ebp, dword [rsp + 0x148]
cmp ebp, 0xffffffff
jne 0x1400d7589
mov ebp, r13d
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0xd8], r15
call fcn.140061ea0
mov rcx, rdi
lea r15d, [rax - 1]
and r15d, 7
call fcn.1400b4f60
mov ecx, r15d
mov edx, 0xff
shl edx, cl
mov ebx, eax
test byte [rsi], dl
je 0x1400d75b9
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0x76
lea r9, [0x1401ac818]
mov ecx, 4
lea r8d, [rdx - 0x10]
call fcn.14006cd10
jmp 0x1400d790d
cmp ebp, 0xfffffffe
jne 0x1400d7590
jmp 0x1400d7531
jge 0x1400d7531
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSAGetLastError
lea r9, [0x1401ac800]
mov ecx, 4
lea r8d, [rdx - 0xd]
call fcn.14006cd10
jmp 0x1400d7915
test r15d, r15d
jne 0x1400d75c0
dec ebx
test r15d, r15d
lea rdi, [rsi + 1]
lea eax, [r13 + 2]
cmovne rdi, rsi
add eax, ebp
cmp ebx, eax
jge 0x1400d75fc
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0x7e
lea r9, [0x1401ac830]
mov ecx, 4
lea r8d, [rdx - 0x28]
call fcn.14006cd10
jmp 0x1400d790d
movsxd rax, ebx
cmp byte [rax + rdi - 1], 0xbc
je 0x1400d762d
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0x82
lea r9, [0x1401ac848]
mov ecx, 4
lea r8d, [rdx - 0xf]
call fcn.14006cd10
jmp 0x1400d790d
sub ebx, r13d
mov qword [rsp + 0xe0], r14
dec ebx
lea rdx, [0x1401ac860]
movsxd r14, ebx
mov r8d, 0x87
mov ecx, ebx
lea rax, [r14 + rdi]
mov qword [rsp + 0x30], rax
call fcn.14005e700
mov rsi, rax
test rax, rax
jne 0x1400d7687
lea r9, [0x1401ac878]
mov dword [rsp + 0x20], Ordinal_143
mov edx, __WSAFDIsSet
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.14006cd10
jmp 0x1400d7905
mov rax, qword [rsp + 0x38]
mov r9d, r13d
mov r8, qword [rsp + 0x30]
mov edx, ebx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1400d1000
test eax, eax
js 0x1400d78fd
mov r8d, r12d
test ebx, ebx
jle 0x1400d7770
cmp ebx, 0x40
jb 0x1400d7770
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rdi]
lea rdx, [rcx + rsi]
cmp rsi, rax
ja 0x1400d76db
cmp rdx, rdi
jae 0x1400d7770
mov ecx, ebx
and ecx, 0x8000003f
jge 0x1400d76ec
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebx
mov rdx, rdi
sub eax, ecx
sub rdx, rsi
mov r9, 0xfffffffffffffff0
movsxd r10, eax
sub r9, rsi
lea rcx, [rsi + 0x10]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rcx + rdx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1400d7710
movsxd rax, r8d
cmp rax, r14
jge 0x1400d77a0
sub rdi, rsi
lea rcx, [rax + rsi]
sub r14, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r14, 1
jne 0x1400d7790
test r15d, r15d
je 0x1400d77b6
mov ecx, 8
mov eax, 0xff
sub ecx, r15d
sar eax, cl
and byte [rsi], al
movzx eax, byte [rsi]
mov edi, r12d
test al, al
jne 0x1400d77d4
lea ecx, [rbx - 1]
mov rax, rsi
cmp edi, ecx
jge 0x1400d77d4
inc rax
inc edi
cmp byte [rax], r12b
je 0x1400d77c6
movsxd rax, edi
inc edi
cmp byte [rax + rsi], 1
je 0x1400d7806
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], __WSAFDIsSet
lea r9, [0x1401ac890]
mov ecx, 4
lea r8d, [rdx - 0xe]
call fcn.14006cd10
jmp 0x1400d78fd
sub ebx, edi
test ebp, ebp
js 0x1400d7837
cmp ebx, ebp
je 0x1400d7837
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0x98
lea r9, [0x1401ac8a8]
mov ecx, 4
lea r8d, [rdx - 0xd]
call fcn.14006cd10
jmp 0x1400d78fd
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.1400754d0
test eax, eax
je 0x1400d78fd
mov r8d, 8
lea rdx, [0x14016a868]
lea rcx, [rsp + 0x50]
call fcn.140075710
test eax, eax
je 0x1400d78fd
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov r8, r13
call fcn.140075710
test eax, eax
je 0x1400d78fd
test ebx, ebx
je 0x1400d78a1
movsxd rdx, edi
lea rcx, [rsp + 0x50]
add rdx, rsi
movsxd r8, ebx
call fcn.140075710
test eax, eax
je 0x1400d78fd
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.140075400
test eax, eax
je 0x1400d78fd
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x80]
mov r8, r13
call fcn.140114250
test eax, eax
je 0x1400d78f7
mov edx, __WSAFDIsSet
mov dword [rsp + 0x20], 0xa6
lea r9, [0x1401ac8c0]
mov ecx, 4
lea r8d, [rdx - 0x2d]
call fcn.14006cd10
jmp 0x1400d78fd
mov r12d, 1
mov rcx, rsi
call fcn.14005e660
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.140075730
mov eax, r12d
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140111cf0
add rsp, 0xe8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret