Function at 0x14005d220
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x28], r9
mov rbx, rdx
mov rsi, rcx
mov r13, qword [rcx + 0x10]
movabs r15, 0x607b141c74606093
mov rax, qword [0x1402f5a40]
add rax, r15
call rax
cdqe
lea rcx, [0x1402497e0]
mov rax, qword [rcx + rax*8]
sub rax, r13
cmp rax, rbx
jb 0x14005d7cb
mov r14, rbx
add r14, r13
mov r12, qword [rsi + 0x18]
mov rax, qword [0x1402f5a50]
add rax, r15
call rax
cdqe
lea rcx, reloc.OLEAUT32.dll_VariantInit
mov rbx, qword [rcx + rax*8]
or rbx, r14
mov rax, qword [0x1402f5a58]
add rax, r15
call rax
cdqe
lea rcx, [0x140249820]
cmp rbx, qword [rcx + rax*8]
ja 0x14005d7c1
mov rax, qword [0x1402f5a60]
add rax, r15
call rax
cdqe
lea rcx, reloc.WS2_32.dll_accept
movzx ecx, byte [rcx + rax*8]
mov rdi, r12
shr rdi, cl
mov rax, qword [0x1402f5a68]
add rax, r15
call rax
cdqe
lea rcx, [0x140249860]
mov rax, qword [rcx + rax*8]
sub rax, rdi
cmp rax, r12
jb 0x14005d7c1
add rdi, r12
cmp rbx, rdi
cmova rdi, rbx
mov rax, qword [0x1402f5a70]
add rax, r15
call rax
cdqe
lea rcx, reloc.WS2_32.dll_accept
mov rbp, qword [rcx + rax*8]
add rbp, rdi
mov rax, qword [0x1402f5a78]
add rax, r15
call rax
movabs rax, 0x7d36c3324ebcb3ad
imul rax, qword [0x140294578]
movabs rcx, 0x58e79d991f29d5fc
imul rcx, qword [0x140294580]
add rcx, rax
movabs rax, 0x274a12e5b61ce0bf
add rax, rcx
cmp rbp, rax
jl 0x14005d7c1
mov rax, qword [0x1402f5a88]
add rax, r15
call rax
cdqe
lea rcx, reloc.WS2_32.dll_accept
movzx ecx, byte [rcx + rax*8]
mov rbx, rbp
shl rbx, cl
mov rax, qword [0x1402f5a90]
add rax, r15
call rax
mov rax, qword [0x140294588]
mov rcx, qword [0x140294590]
shrd rcx, rax, 0x24
movabs rax, 0xa5382214b6cd1248
xor rax, rcx
cmp rbp, rax
jne 0x14005d3bd
xor ebx, ebx
jmp 0x14005d47f
mov rax, qword [0x1402f5a98]
add rax, r15
call rax
cdqe
lea rcx, [0x1402498c0]
cmp rbp, qword [rcx + rax*8]
jbe 0x14005d46d
mov rax, qword [0x1402f5aa0]
add rax, r15
call rax
cdqe
lea rcx, [0x1402498e0]
cmp rbp, qword [rcx + rax*8]
jae 0x14005d7c1
mov rax, qword [0x1402f5aa8]
add rax, r15
call rax
cdqe
lea rdx, [0x140249900]
add rbx, qword [rdx + rax*8]
mov rax, qword [0x1402f5ab0]
add rax, r15
mov rcx, rbx
call rax
test rax, rax
je 0x14005d7d5
mov rbx, rax
mov rax, qword [0x1402f5ac0]
add rax, r15
call rax
cdqe
lea rcx, [0x140249920]
mov rbp, qword [rcx + rax*8]
add rbp, rbx
mov rax, qword [0x1402f5ac8]
add rax, r15
call rax
cdqe
lea rcx, [0x140249940]
and rbp, qword [rcx + rax*8]
mov qword [rbp - 8], rbx
mov rbx, rbp
jmp 0x14005d47f
mov rax, qword [0x1402f5ab0]
add rax, r15
mov rcx, rbx
call rax
mov rbx, rax
movzx ebp, word [rsp + 0xb0]
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdi
mov rax, qword [0x1402f5ad0]
add rax, r15
call rax
cdqe
lea rcx, reloc.OLEAUT32.dll_VariantInit
cmp r12, qword [rcx + rax*8]
mov qword [rsp + 0x30], rbx
jbe 0x14005d693
mov rdi, qword [rsi]
mov rax, qword [0x1402f5ad8]
add rax, r15
call rax
cdqe
lea rcx, reloc.WS2_32.dll_accept
movzx ecx, byte [rcx + rax*8]
mov r8, r13
shl r8, cl
mov rcx, rbx
mov qword [rsp + 0x38], rdi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbx + r13*2]
mov qword [rsp + 0x40], rax
mov rax, qword [0x1402f5ae0]
add rax, r15
call rax
movabs rax, 0x4660a3e5b0a8861d
imul rax, qword [0x140294598]
movabs rcx, 0x3c6ed2a8d80f67d2
imul rcx, qword [0x1402945a0]
add rcx, rax
movabs rax, 0x89492ba97009302
add rax, rcx
cmp qword [rsp + 0x28], rax
je 0x14005d59a
lea r13, [0x1402499a0]
movabs r14, 0xd987f0c29000bc54
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov rbx, rcx
mov word [rdi], bp
add rdi, 2
mov rax, qword [0x1402f5ae8]
add rax, r15
call rax
cdqe
add rbx, qword [r13 + rax*8]
mov rax, qword [0x1402f5af0]
add rax, r15
call rax
mov rax, qword [0x1402945a8]
mov rcx, qword [0x1402945b0]
shrd rcx, rax, 0xb
mov rdx, rcx
xor rdx, r14
mov rcx, rbx
cmp rbx, rdx
jne 0x14005d550
mov rax, qword [0x1402f5af8]
add rax, r15
call rax
movzx eax, word [0x1402945b8]
movzx ecx, word [0x1402945ba]
shrd cx, ax, 0xf
mov eax, ecx
xor eax, 0x5164
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov word [rdx + rcx*2], ax
mov rax, qword [0x1402f5b00]
add rax, r15
call rax
cdqe
lea rcx, reloc.WS2_32.dll_accept
movzx ecx, byte [rcx + rax*8]
shl r12, cl
mov rax, qword [0x1402f5b08]
add rax, r15
call rax
cdqe
lea rcx, reloc.OLEAUT32.dll_SysReAllocString
mov rdi, qword [rcx + rax*8]
add rdi, r12
mov rax, qword [0x1402f5b10]
add rax, r15
call rax
cdqe
lea rcx, [0x140249a00]
cmp rdi, qword [rcx + rax*8]
jbe 0x14005d793
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rbx - 8]
mov rax, qword [0x1402f5b18]
add rax, r15
call rax
cdqe
lea rcx, [0x140249a20]
mov rdx, rbx
add rdx, qword [rcx + rax*8]
mov rbx, rdx
sub rbx, rdi
mov rax, qword [0x1402f5b20]
add rax, r15
call rax
cdqe
lea rcx, reloc.WLDAP32.dll_Ordinal_32
cmp rbx, qword [rcx + rax*8]
jae 0x14005d7d5
mov rax, qword [0x1402f5b28]
add rax, r15
call rax
cdqe
lea rcx, reloc.WLDAP32.dll_Ordinal_41
add r12, qword [rcx + rax*8]
mov rdx, r12
mov rcx, rdi
jmp 0x14005d79b
mov rax, qword [0x1402f5b38]
add rax, r15
call rax
cdqe
lea rcx, reloc.WS2_32.dll_accept
movzx ecx, byte [rcx + rax*8]
mov r8, r13
shl r8, cl
mov rcx, rbx
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rbx + r13*2]
mov rax, qword [0x1402f5b40]
add rax, r15
call rax
mov rax, qword [0x1402945c0]
mov rcx, qword [0x1402945c8]
shrd rcx, rax, 0x3b
movabs rax, 0xa080ad6aa9b2fa5
xor rax, rcx
cmp qword [rsp + 0x28], rax
je 0x14005d75f
lea r14, [0x140249aa0]
movabs r12, 0x96bd2b862f8d158f
mov rax, rdi
mov rcx, qword [rsp + 0x28]
nop dword [rax]
mov rbx, rcx
mov word [rax], bp
mov r13, rax
add r13, 2
mov rax, qword [0x1402f5b48]
add rax, r15
call rax
cdqe
add rbx, qword [r14 + rax*8]
mov rax, qword [0x1402f5b50]
add rax, r15
call rax
mov rax, qword [0x1402945d0]
mov rcx, qword [0x1402945d8]
shrd rcx, rax, 0x3c
mov rdx, rcx
xor rdx, r12
mov rax, r13
mov rcx, rbx
cmp rbx, rdx
jne 0x14005d710
add r15, qword [0x1402f5b58]
call r15
movzx eax, word [0x1402945e0]
movzx ecx, word [0x1402945e2]
shrd cx, ax, 7
mov eax, ecx
xor eax, 0x702c
mov rcx, qword [rsp + 0x28]
mov word [rdi + rcx*2], ax
mov rdi, qword [rsp + 0x30]
jmp 0x14005d7aa
mov rdx, rdi
mov rcx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
add r15, qword [0x1402f5b30]
call r15
mov qword [rsi], rdi
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add r15, qword [0x1402f5a80]
call r15
add r15, qword [0x1402f5a48]
call r15
add r15, qword [0x1402f5ab8]
call r15
int3