Function at 0x140089b90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rbx, rcx
xor r9d, r9d
lea r10, [rcx + 0x10]
nop dword [rax]
mov r8d, dword [r10]
inc r9
add r10, 4
mov eax, r8d
shr eax, 0x10
rol ax, 8
rol r8w, 8
movzx edx, ax
movzx eax, r8w
shl eax, 0x10
or edx, eax
mov dword [rsp + r9*4 - 4], edx
cmp r9, 0x10
jb 0x140089bc0
lea r9, [rsp + 0x20]
mov r10d, reloc.WS2_32.dll_recv
nop dword [rax + rax]
mov edx, dword [r9 - 0x18]
mov ecx, dword [r9 - 0x14]
mov r8d, dword [r9 - 0x20]
xor r8d, dword [r9 + 0x14]
mov eax, dword [r9 - 0x1c]
add r9, 0x10
xor eax, dword [r9 + 8]
xor r8d, edx
xor eax, dword [r9 - 0xc]
xor r8d, dword [r9 - 0x10]
xor eax, ecx
rol r8d, 1
rol eax, 1
mov dword [r9 + 0x10], r8d
mov dword [r9 + 0x14], eax
mov eax, dword [r9 + 0xc]
xor eax, dword [r9 - 0x20]
xor eax, dword [r9 - 8]
xor eax, edx
rol eax, 1
mov dword [r9 + 0x18], eax
mov eax, dword [r9 - 0x1c]
xor eax, dword [r9 - 4]
xor eax, r8d
xor eax, ecx
rol eax, 1
sub r10, 1
mov dword [r9 + 0x1c], eax
jne 0x140089c00
mov ebp, dword [rbx + 0x58]
mov r12d, dword [rbx + 0x5c]
mov r13d, dword [rbx + 0x60]
mov r14d, dword [rbx + 0x64]
mov r15d, dword [rbx + 0x68]
mov edi, ebp
mov r11d, r12d
mov r10d, r13d
xor esi, esi
mov r9d, r14d
mov r8d, r15d
nop word [rax + rax]
mov ecx, r11d
mov eax, r10d
mov edx, edi
rol edx, 5
and eax, r11d
not ecx
and ecx, r9d
add rsi, 5
or ecx, eax
add edx, ecx
mov ecx, edi
add edx, dword [rsp + rsi*4 - 0x14]
not ecx
rol r11d, 0x1e
and ecx, r10d
lea r8d, [rdx + r8 + 0x5a827999]
mov eax, r11d
and eax, edi
mov edx, r8d
or ecx, eax
rol edx, 5
add edx, ecx
mov ecx, r8d
add edx, dword [rsp + rsi*4 - 0x10]
rol edi, 0x1e
not ecx
lea r9d, [rdx + r9 + 0x5a827999]
and ecx, r11d
mov eax, edi
and eax, r8d
mov edx, r9d
or ecx, eax
rol edx, 5
add edx, ecx
mov ecx, r9d
add edx, dword [rsp + rsi*4 - 0xc]
rol r8d, 0x1e
not ecx
lea r10d, [rdx + r10 + 0x5a827999]
and ecx, edi
mov eax, r8d
and eax, r9d
mov edx, r10d
or ecx, eax
rol edx, 5
add edx, ecx
mov ecx, r10d
add edx, dword [rsp + rsi*4 - 8]
rol r9d, 0x1e
not ecx
lea r11d, [rdx + r11 + 0x5a827999]
and ecx, r8d
mov eax, r9d
and eax, r10d
mov edx, r11d
rol edx, 5
or ecx, eax
add edx, ecx
add edx, dword [rsp + rsi*4 - 4]
rol r10d, 0x1e
lea edx, [rdx + rdi + 0x5a827999]
mov edi, edx
cmp rsi, 0x14
jb 0x140089c90
mov esi, socket
nop word [rax + rax]
rol edx, 5
mov eax, r9d
add rsi, 5
xor eax, r10d
xor eax, r11d
add edx, eax
mov eax, r10d
add edx, dword [rsp + rsi*4 - 0x14]
rol r11d, 0x1e
xor eax, r11d
lea r8d, [rdx + r8 + 0x6ed9eba1]
xor eax, edi
mov ecx, r8d
rol ecx, 5
add ecx, eax
mov eax, r11d
add ecx, dword [rsp + rsi*4 - 0x10]
rol edi, 0x1e
lea r9d, [rcx + r9 + 0x6ed9eba1]
xor eax, edi
xor eax, r8d
mov ecx, r9d
rol ecx, 5
add ecx, eax
mov eax, edi
add ecx, dword [rsp + rsi*4 - 0xc]
rol r8d, 0x1e
lea r10d, [rcx + r10 + 0x6ed9eba1]
xor eax, r8d
xor eax, r9d
mov ecx, r10d
rol ecx, 5
add ecx, eax
mov eax, r8d
add ecx, dword [rsp + rsi*4 - 8]
rol r9d, 0x1e
lea r11d, [rcx + r11 + 0x6ed9eba1]
xor eax, r9d
xor eax, r10d
mov ecx, r11d
rol ecx, 5
add ecx, eax
add ecx, dword [rsp + rsi*4 - 4]
rol r10d, 0x1e
lea edx, [rcx + rdi + 0x6ed9eba1]
mov edi, edx
cmp rsi, 0x28
jb 0x140089d70
mov esi, 0x28
nop word [rax + rax]
rol edx, 5
mov ecx, r10d
mov eax, r10d
or ecx, r11d
and eax, r11d
add edx, r8d
and ecx, r9d
add rsi, 5
or ecx, eax
add ecx, dword [rsp + rsi*4 - 0x14]
rol r11d, 0x1e
lea r8d, [rcx + rdx - 0x70e44324]
mov ecx, r11d
mov eax, r11d
or ecx, edi
and eax, edi
mov edx, r8d
and ecx, r10d
rol edx, 5
or ecx, eax
add edx, r9d
add ecx, dword [rsp + rsi*4 - 0x10]
rol edi, 0x1e
lea r9d, [rcx + rdx - 0x70e44324]
mov ecx, edi
mov eax, edi
or ecx, r8d
and eax, r8d
mov edx, r9d
and ecx, r11d
rol edx, 5
or ecx, eax
add edx, r10d
add ecx, dword [rsp + rsi*4 - 0xc]
rol r8d, 0x1e
lea r10d, [rcx + rdx - 0x70e44324]
mov ecx, r8d
mov eax, r8d
or ecx, r9d
and eax, r9d
mov edx, r10d
and ecx, edi
rol edx, 5
or ecx, eax
add edx, r11d
add ecx, dword [rsp + rsi*4 - 8]
rol r9d, 0x1e
lea r11d, [rcx + rdx - 0x70e44324]
mov ecx, r9d
mov eax, r9d
or ecx, r10d
and eax, r10d
mov edx, r11d
and ecx, r8d
rol edx, 5
add edx, edi
or ecx, eax
add ecx, dword [rsp + rsi*4 - 4]
rol r10d, 0x1e
lea edx, [rcx + rdx - 0x70e44324]
mov edi, edx
cmp rsi, 0x3c
jb 0x140089e30
mov esi, 0x3c
nop dword [rax]
rol edx, 5
mov eax, r9d
add rsi, 5
xor eax, r10d
add edx, r8d
xor eax, r11d
add eax, dword [rsp + rsi*4 - 0x14]
rol r11d, 0x1e
lea r8d, [rax + rdx - 0x359d3e2a]
mov eax, r10d
xor eax, r11d
mov ecx, r8d
xor eax, edi
rol ecx, 5
add eax, dword [rsp + rsi*4 - 0x10]
add ecx, r9d
rol edi, 0x1e
lea r9d, [rax + rcx - 0x359d3e2a]
mov eax, r11d
xor eax, edi
mov ecx, r9d
xor eax, r8d
rol ecx, 5
add eax, dword [rsp + rsi*4 - 0xc]
add ecx, r10d
rol r8d, 0x1e
lea r10d, [rax + rcx - 0x359d3e2a]
mov eax, edi
xor eax, r8d
mov ecx, r10d
xor eax, r9d
rol ecx, 5
add eax, dword [rsp + rsi*4 - 8]
add ecx, r11d
rol r9d, 0x1e
lea r11d, [rax + rcx - 0x359d3e2a]
mov eax, r8d
xor eax, r9d
mov ecx, r11d
xor eax, r10d
rol ecx, 5
add eax, dword [rsp + rsi*4 - 4]
add ecx, edi
rol r10d, 0x1e
lea edx, [rax + rcx - 0x359d3e2a]
mov edi, edx
cmp rsi, 0x50
jb 0x140089f10
lea eax, [rbp + rdx]
mov qword [rbx + 8], 0
mov dword [rbx + 0x58], eax
lea eax, [r12 + r11]
lea r11, [rsp + 0x140]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov dword [rbx + 0x5c], eax
lea eax, [r13 + r10]
mov dword [rbx + 0x60], eax
lea eax, [r14 + r9]
mov dword [rbx + 0x64], eax
lea eax, [r15 + r8]
mov dword [rbx + 0x68], eax
mov rbx, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret