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 [0x14030ef00]
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 + 0x18], rdi
mov r13d, edi
call fcn.14009fd50
test eax, eax
jne 0x140076ccc
lea eax, [rdi - 4]
jmp 0x140077167
mov r15d, 0xffffffff
cmp dword [rbx + 0x10], edi
jne 0x140076de4
cmp dword [rbx + 0x48], edi
je 0x140076ddb
cmp dword [rbx + 0x4c], r14d
jge 0x140076ddb
mov eax, dword [rbx + 0x58]
test eax, eax
jne 0x140076dcf
lea r9, [rbp + 8]
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.140051008
test eax, eax
jne 0x140076ddb
mov rdi, qword [rbp + 8]
cmp rdi, r14
jae 0x140076da2
cmp rdi, r15
jae 0x140076d3a
mov eax, 0xffffffe7
cmp rdi, rax
jae 0x140076d3a
lea rcx, [rdi + 0x18]
call fcn.1401ed1fc
jmp 0x140076d3c
xor eax, eax
movsxd rdx, edi
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call fcn.14009fb24
lea r9, [rbp + 8]
mov qword [rbp + 0x18], rax
mov r8, rax
mov rdx, r14
mov rcx, r12
mov r13, rax
call fcn.140051008
mov edi, dword [rbp]
test eax, eax
jne 0x140076dde
add qword [rbx + 0x68], r14
lea rcx, [rbp + 0x30]
and dword [rbx + 0x5c], eax
movzx edx, si
and dword [rbx + 0x58], eax
movzx r8d, di
mov r14, qword [rbp + 8]
mov eax, 0xc000
or dx, ax
mov r9d, r14d
mov r12, r13
call fcn.1400c45f8
movsxd r13, eax
add qword [rbx + 0x68], r13
jmp 0x140076dbc
mov eax, dword [rbx + 0x5c]
mov edi, dword [rbp]
inc eax
mov dword [rbx + 0x5c], eax
cmp eax, dword [rbx + 0x54]
jle 0x140076dde
mov eax, dword [rbx + 0x50]
and dword [rbx + 0x5c], r13d
mov dword [rbx + 0x58], eax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], r12
test r13d, r13d
jne 0x140076e01
jmp 0x140076dde
mov edi, dword [rbp]
jle 0x140076dde
dec eax
mov dword [rbx + 0x58], eax
jmp 0x140076dde
mov edi, dword [rbp]
movzx r8d, di
jmp 0x140076dea
mov dword [rbx + 0x10], edi
xor r8d, r8d
mov edx, 0x8000
lea rcx, [rbp + 0x30]
or dx, si
mov r9d, r14d
call fcn.1400c45f8
mov r13d, eax
cmp dword [rbp + 0x20], 0
jne 0x140076fa9
lea eax, [r13 + 4]
mov edi, 1
add eax, r14d
movsxd rsi, eax
cmp eax, 0xffff
jge 0x140076e77
mov eax, 0xffffffc7
cmp rsi, rax
jae 0x140076e58
lea rax, [rsi + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140076e42
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401dc320
sub rsp, rcx
lea rcx, [rsp + 0x30]
jmp 0x140076e5a
xor ecx, ecx
mov r9d, edi
mov r8d, 8
mov rdx, rsi
call fcn.14009fb24
mov r15, rax
add rax, 8
mov qword [r15], rax
jmp 0x140076ea7
cmp rsi, r15
jae 0x140076e91
mov eax, 0xffffffe7
cmp rsi, rax
jae 0x140076e91
lea rcx, [rsi + 0x18]
call fcn.1401ed1fc
jmp 0x140076e93
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009fb24
mov r15, rax
movsxd rsi, r13d
lea rdx, [rsi + r15]
mov qword [rbp + 8], rdx
test r13d, r13d
je 0x140076ee1
test r15, r15
jne 0x140076ed2
call fcn.1401ebba4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401eac1c
mov r12, qword [rbp + 0x28]
jmp 0x140076ee1
mov r8, rsi
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.140210d80
mov rcx, qword [rbp + 8]
mov edx, 4
call fcn.1400ea190
mov r10, qword [rbp + 8]
mov r11d, dword [r10]
test r14d, r14d
jle 0x140076f76
movsxd r8, r14d
xor edx, edx
mov rcx, r8
sar rcx, 2
test rcx, rcx
jle 0x140076f35
mov r10, rsi
mov r9, r12
sub r10, r12
mov edx, ecx
add r10, 4
add r10, r15
mov eax, r11d
xor eax, dword [r9]
mov dword [r10 + r9], eax
lea r9, [r9 + 4]
sub rcx, rdi
jne 0x140076f1e
mov r10, qword [rbp + 8]
shl edx, 2
movsxd rax, edx
cmp rax, r8
jge 0x140076f76
sub rsi, r12
lea r9, [rax + r12]
sub r8, rax
lea r11, [rsi + r15]
mov eax, edx
and eax, 0x80000003
jge 0x140076f5e
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 + r11 + 4], cl
add r9, rdi
sub r8, rdi
jne 0x140076f4e
mov rcx, qword [rbx + 0x88]
call fcn.14009fd50
test eax, eax
je 0x14007712d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140076f9b
mov rcx, qword [rax]
jmp 0x140076f9d
xor ecx, ecx
lea eax, [r13 + 4]
add eax, r14d
jmp 0x140077117
mov rcx, qword [rbx]
call fcn.1400aa5b8
test eax, eax
je 0x140077055
mov rcx, qword [rbx + 0x88]
call fcn.14009fd50
test r14d, r14d
jle 0x14007701a
test eax, eax
je 0x140076fef
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140076fdf
mov rcx, qword [rax]
jmp 0x140076fe1
xor ecx, ecx
movsxd r9, r13d
lea r8, [rbp + 0x30]
xor edx, edx
call fcn.14008c918
mov rcx, qword [rbx + 0x88]
call fcn.14009fd50
test eax, eax
je 0x140077043
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140077010
mov rcx, qword [rax]
jmp 0x140077012
xor ecx, ecx
movsxd r9, r14d
mov r8, r12
jmp 0x140077038
test eax, eax
je 0x140077043
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14007702f
mov rcx, qword [rax]
jmp 0x140077031
xor ecx, ecx
movsxd r9, r13d
lea r8, [rbp + 0x30]
xor edx, edx
call fcn.14008c918
mov edi, eax
jmp 0x140077048
mov edi, 1
xor esi, esi
test edi, edi
sete sil
jmp 0x14007713d
lea eax, [r14 + r13]
movsxd rdi, eax
cmp rdi, r15
jae 0x140077076
mov eax, 0xffffffe7
cmp rdi, rax
jae 0x140077076
lea rcx, [rdi + 0x18]
call fcn.1401ed1fc
jmp 0x140077078
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14009fb24
movsxd rdi, r13d
mov r15, rax
mov r12d, reloc.WS2_32.dll_shutdown
test r13d, r13d
je 0x1400770bd
test rax, rax
jne 0x1400770ae
call fcn.1401ebba4
mov dword [rax], r12d
call fcn.1401eac1c
jmp 0x1400770bd
mov r8, rdi
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.140210d80
movsxd r8, r14d
lea rcx, [rdi + r15]
test r14d, r14d
je 0x1400770f0
test rcx, rcx
je 0x1400770e3
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x1400770de
call fcn.140210d80
jmp 0x1400770f0
call fcn.140211420
call fcn.1401ebba4
mov dword [rax], r12d
call fcn.1401eac1c
mov rcx, qword [rbx + 0x88]
call fcn.14009fd50
test eax, eax
je 0x140077128
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140077111
mov rcx, qword [rax]
jmp 0x140077113
xor ecx, ecx
lea eax, [r14 + r13]
movsxd r9, eax
mov r8, r15
xor edx, edx
call fcn.14008c918
mov edi, eax
jmp 0x14007712d
mov edi, 1
xor esi, esi
mov rcx, r15
test edi, edi
sete sil
call fcn.14009fc04
movsxd rcx, r14d
movsxd rdx, r13d
lea rax, [rcx + rdx]
add qword [rbx + 0x78], rax
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x14007715e
mov rcx, rax
call fcn.14009fc04
jmp 0x140077165
add rcx, rdx
add qword [rbx + 0x68], rcx
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rbp
call fcn.1401dbdb0
lea rsp, [rbp + 0x58]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret