Function at 0x140076c64
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
lea rbp, [rsp + 0x30]
mov rax, qword [0x14030cf00]
xor rax, rbp
mov qword [rbp + 0x40], rax
mov eax, dword [rcx + 8]
xor edi, edi
mov dword [rbp + 0x20], eax
mov r12, r8
neg eax
movsxd r14, r9d
mov qword [rbp + 0x28], r8
mov rbx, rcx
sbb si, si
mov dword [rbp], edx
not si
mov qword [rbp + 8], rdi
and si, 0x80
mov qword [rbp + 0x10], rdi
mov r13d, edi
call fcn.14009fccc
test eax, eax
jne 0x140076ccc
lea eax, [rdi - 4]
jmp 0x14007715c
mov r15d, 0xffffffff
cmp dword [rbx + 0x10], edi
jne 0x140076ddd
cmp dword [rbx + 0x48], edi
je 0x140076dd4
cmp dword [rbx + 0x4c], r14d
jge 0x140076dd4
mov eax, dword [rbx + 0x58]
test eax, eax
jne 0x140076dc8
lea r9, [rbp + 8]
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.140050ffc
test eax, eax
jne 0x140076dd4
mov rdi, qword [rbp + 8]
cmp rdi, r14
jae 0x140076d9b
cmp rdi, r15
jae 0x140076d36
mov eax, 0xffffffe7
cmp rdi, rax
jae 0x140076d36
lea rcx, [rdi + 0x18]
call fcn.1401ea40c
jmp 0x140076d38
xor eax, eax
movsxd rdx, edi
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call fcn.14009faa0
lea r9, [rbp + 8]
mov qword [rbp + 0x10], rax
mov r8, rax
mov rdx, r14
mov rcx, r12
mov r13, rax
call fcn.140050ffc
mov edi, dword [rbp]
test eax, eax
jne 0x140076dd7
add qword [rbx + 0x68], r14
lea rcx, [rbp + 0x30]
mov r14, qword [rbp + 8]
movzx edx, si
and dword [rbx + 0x5c], eax
mov r9d, r14d
and dword [rbx + 0x58], eax
or dx, 0xc000
movzx r8d, di
mov r12, r13
call fcn.1400c4528
movsxd r13, eax
add qword [rbx + 0x68], r13
jmp 0x140076db5
mov eax, dword [rbx + 0x5c]
mov edi, dword [rbp]
inc eax
mov dword [rbx + 0x5c], eax
cmp eax, dword [rbx + 0x54]
jle 0x140076dd7
mov eax, dword [rbx + 0x50]
and dword [rbx + 0x5c], r13d
mov dword [rbx + 0x58], eax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x28], r12
test r13d, r13d
jne 0x140076dfa
jmp 0x140076dd7
mov edi, dword [rbp]
jle 0x140076dd7
dec eax
mov dword [rbx + 0x58], eax
jmp 0x140076dd7
mov edi, dword [rbp]
movzx r8d, di
jmp 0x140076de3
mov dword [rbx + 0x10], edi
xor r8d, r8d
or si, 0x8000
lea rcx, [rbp + 0x30]
movzx edx, si
mov r9d, r14d
call fcn.1400c4528
mov r13d, eax
cmp dword [rbp + 0x20], 0
jne 0x140076f9e
lea eax, [r13 + 4]
mov edi, 1
add eax, r14d
movsxd rsi, eax
cmp eax, 0xffff
jge 0x140076e70
mov eax, 0xffffffc7
cmp rsi, rax
jae 0x140076e51
lea rax, [rsi + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140076e3b
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401da3f0
sub rsp, rcx
lea rcx, [rsp + 0x30]
jmp 0x140076e53
xor ecx, ecx
mov r9d, edi
mov r8d, 8
mov rdx, rsi
call fcn.14009faa0
mov r15, rax
add rax, 8
mov qword [r15], rax
jmp 0x140076ea0
cmp rsi, r15
jae 0x140076e8a
mov eax, 0xffffffe7
cmp rsi, rax
jae 0x140076e8a
lea rcx, [rsi + 0x18]
call fcn.1401ea40c
jmp 0x140076e8c
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009faa0
mov r15, rax
movsxd rsi, r13d
lea rdx, [rsi + r15]
mov qword [rbp + 8], rdx
test r13d, r13d
je 0x140076eda
test r15, r15
jne 0x140076ecb
call fcn.1401e8db4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401e7e2c
mov r12, qword [rbp + 0x28]
jmp 0x140076eda
mov r8, rsi
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.14020df90
mov rcx, qword [rbp + 8]
mov edx, 4
call fcn.1400e8260
mov r10, qword [rbp + 8]
mov r11d, dword [r10]
test r14d, r14d
jle 0x140076f6b
movsxd r8, r14d
xor edx, edx
mov rcx, r8
sar rcx, 2
test rcx, rcx
jle 0x140076f2b
mov r9, rsi
mov r10, r12
sub r9, r12
mov edx, ecx
add r9, r15
mov eax, r11d
xor eax, dword [r10]
mov dword [r9 + r10 + 4], eax
lea r10, [r10 + 4]
sub rcx, rdi
jne 0x140076f13
mov r10, qword [rbp + 8]
shl edx, 2
movsxd rax, edx
cmp rax, r8
jge 0x140076f6b
sub rsi, r12
lea r9, [rax + r12]
add rsi, r15
sub r8, rax
mov eax, edx
and eax, 0x80000003
jge 0x140076f53
sub eax, edi
or eax, 0xfffffffc
add eax, edi
cdqe
add edx, edi
mov cl, byte [rax + r10]
xor cl, byte [r9]
mov byte [r9 + rsi + 4], cl
add r9, rdi
sub r8, rdi
jne 0x140076f43
mov rcx, qword [rbx + 0x88]
call fcn.14009fccc
test eax, eax
je 0x140077122
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140076f90
mov rcx, qword [rax]
jmp 0x140076f92
xor ecx, ecx
lea eax, [r13 + 4]
add eax, r14d
jmp 0x14007710c
mov rcx, qword [rbx]
call fcn.1400aa51c
test eax, eax
je 0x14007704a
mov rcx, qword [rbx + 0x88]
call fcn.14009fccc
test r14d, r14d
jle 0x14007700f
test eax, eax
je 0x140076fe4
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140076fd4
mov rcx, qword [rax]
jmp 0x140076fd6
xor ecx, ecx
movsxd r9, r13d
lea r8, [rbp + 0x30]
xor edx, edx
call fcn.14008c8e4
mov rcx, qword [rbx + 0x88]
call fcn.14009fccc
test eax, eax
je 0x140077038
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140077005
mov rcx, qword [rax]
jmp 0x140077007
xor ecx, ecx
movsxd r9, r14d
mov r8, r12
jmp 0x14007702d
test eax, eax
je 0x140077038
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140077024
mov rcx, qword [rax]
jmp 0x140077026
xor ecx, ecx
movsxd r9, r13d
lea r8, [rbp + 0x30]
xor edx, edx
call fcn.14008c8e4
mov edi, eax
jmp 0x14007703d
mov edi, 1
xor esi, esi
test edi, edi
sete sil
jmp 0x140077132
lea eax, [r14 + r13]
movsxd rdi, eax
cmp rdi, r15
jae 0x14007706b
mov eax, 0xffffffe7
cmp rdi, rax
jae 0x14007706b
lea rcx, [rdi + 0x18]
call fcn.1401ea40c
jmp 0x14007706d
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14009faa0
movsxd rdi, r13d
mov r15, rax
mov r12d, reloc.WS2_32.dll_shutdown
test r13d, r13d
je 0x1400770b2
test rax, rax
jne 0x1400770a3
call fcn.1401e8db4
mov dword [rax], r12d
call fcn.1401e7e2c
jmp 0x1400770b2
mov r8, rdi
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.14020df90
movsxd r8, r14d
lea rcx, [rdi + r15]
test r14d, r14d
je 0x1400770e5
test rcx, rcx
je 0x1400770d8
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x1400770d3
call fcn.14020df90
jmp 0x1400770e5
call fcn.14020e630
call fcn.1401e8db4
mov dword [rax], r12d
call fcn.1401e7e2c
mov rcx, qword [rbx + 0x88]
call fcn.14009fccc
test eax, eax
je 0x14007711d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140077106
mov rcx, qword [rax]
jmp 0x140077108
xor ecx, ecx
lea eax, [r14 + r13]
movsxd r9, eax
mov r8, r15
xor edx, edx
call fcn.14008c8e4
mov edi, eax
jmp 0x140077122
mov edi, 1
xor esi, esi
mov rcx, r15
test edi, edi
sete sil
call fcn.14009fb80
movsxd rcx, r14d
movsxd rdx, r13d
lea rax, [rcx + rdx]
add qword [rbx + 0x78], rax
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x140077153
mov rcx, rax
call fcn.14009fb80
jmp 0x14007715a
add rcx, rdx
add qword [rbx + 0x68], rcx
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rbp
call fcn.1401d9e80
lea rsp, [rbp + 0x58]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret