Function at 0x1400c4850
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
movzx eax, byte [rdx + 1]
mov r9, rdx
movzx r8d, byte [rdx]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
movzx edx, byte [rdx + 5]
shl r8d, 8
or r8d, eax
movzx eax, byte [r9 + 4]
shl eax, 8
or edx, eax
mov dword [rbp - 0x69], r8d
shl edx, 8
movzx eax, byte [r9 + 6]
or edx, eax
movzx eax, byte [r9 + 7]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 9]
mov dword [rbp - 0x65], edx
movzx edx, byte [r9 + 8]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0xb]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0xd]
mov dword [rbp - 0x61], edx
movzx edx, byte [r9 + 0xc]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0xe]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0xf]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x11]
mov dword [rbp - 0x5d], edx
movzx edx, byte [r9 + 0x10]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x12]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x13]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x14]
mov dword [rbp - 0x59], edx
movzx edx, byte [r9 + 0x15]
shl eax, 8
or edx, eax
movzx eax, byte [r9 + 0x16]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x17]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x19]
mov dword [rbp - 0x55], edx
movzx edx, byte [r9 + 0x18]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x1a]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x1b]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x1d]
mov dword [rbp - 0x51], edx
movzx edx, byte [r9 + 0x1c]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x1e]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x1f]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x20]
mov dword [rbp - 0x4d], edx
movzx edx, byte [r9 + 0x21]
shl eax, 8
or edx, eax
movzx eax, byte [r9 + 0x22]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x23]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x24]
mov dword [rbp - 0x49], edx
movzx edx, byte [r9 + 0x25]
shl eax, 8
or edx, eax
movzx eax, byte [r9 + 0x26]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x27]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x29]
mov dword [rbp - 0x45], edx
movzx edx, byte [r9 + 0x28]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x2a]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x2b]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x2d]
mov dword [rbp - 0x41], edx
movzx edx, byte [r9 + 0x2c]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x2e]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x2f]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x30]
mov dword [rbp - 0x3d], edx
movzx edx, byte [r9 + 0x31]
shl eax, 8
or edx, eax
movzx eax, byte [r9 + 0x32]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x33]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x34]
mov dword [rbp - 0x39], edx
movzx edx, byte [r9 + 0x35]
shl eax, 8
or edx, eax
movzx eax, byte [r9 + 0x36]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x37]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x39]
mov dword [rbp - 0x35], edx
movzx edx, byte [r9 + 0x38]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x3a]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x3b]
mov esi, 0x299f31d0
movups xmm0, xmmword [rcx]
shl edx, 8
mov edi, 0x82efa98
movups xmm1, xmmword [rcx + 0x10]
or edx, eax
mov r15d, 0xa4093822
movzx eax, byte [r9 + 0x3c]
mov r13d, 0xec4e6c89
shl eax, 8
mov dword [rbp - 0x31], edx
movzx edx, byte [r9 + 0x3d]
or edx, eax
movzx eax, byte [r9 + 0x3e]
shl edx, 8
or edx, eax
movzx eax, byte [r9 + 0x3f]
shl edx, 8
or edx, eax
mov eax, dword [rcx + 0x20]
mov r8d, eax
mov dword [rsp + 0x34], eax
mov eax, dword [rcx + 0x24]
xor r8d, 0x243f6a88
mov dword [rsp + 0x38], eax
xor eax, 0x85a308d3
mov dword [rsp + 0x10], eax
mov eax, dword [rcx + 0x28]
mov dword [rbp - 0x7d], eax
xor eax, 0x13198a2e
mov dword [rsp + 0x14], eax
mov eax, dword [rcx + 0x2c]
mov dword [rbp - 0x79], eax
xor eax, 0x3707344
cmp dword [rcx + 0x3c], 0
mov dword [rbp - 0x2d], edx
movups xmmword [rbp - 0x19], xmm0
mov dword [rsp + 0x18], eax
movups xmmword [rbp - 9], xmm1
jne 0x1400c4b4e
xor r15d, dword [rcx + 0x30]
xor esi, dword [rcx + 0x30]
xor edi, dword [rcx + 0x34]
xor r13d, dword [rcx + 0x34]
mov eax, dword [rbp + 3]
lea r14, [0x140151e10]
mov edx, dword [rbp - 9]
lea r10, [0x140151ef0]
mov r12d, dword [rbp - 1]
mov ecx, dword [rbp - 0x11]
mov r9d, dword [rbp - 0x19]
mov dword [rsp + 4], eax
mov eax, dword [rbp - 5]
mov dword [rbp + 0x7f], eax
mov eax, dword [rbp - 0xd]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x15]
mov dword [rsp], eax
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohl
mov dword [rbp + 0x77], edx
movzx eax, byte [r14]
lea rbx, [rax*4]
movzx eax, byte [r14 + 1]
lea r11, [rax*4]
mov eax, dword [rbp + rbx - 0x69]
xor eax, dword [r11 + r10]
add edx, eax
lea rax, [0x140151ef0]
mov eax, dword [rbx + rax]
add edx, r9d
xor eax, dword [rbp + r11 - 0x69]
mov r9d, edx
xor r9d, r15d
rol r9d, 0x10
add r8d, r9d
mov r10d, r8d
xor r10d, dword [rbp + 0x77]
ror r10d, 0xc
add eax, r10d
add eax, edx
mov edx, dword [rsp]
mov dword [rsp + 0x30], eax
xor eax, r9d
ror eax, 8
mov dword [rsp + 0x24], eax
add eax, r8d
mov r8d, dword [rsp + 0x10]
mov r15d, eax
mov dword [rsp + 0xc], eax
xor r15d, r10d
movzx eax, byte [r14 + 2]
ror r15d, 7
lea rbx, [rax*4]
movzx eax, byte [r14 + 3]
lea r11, [rax*4]
lea rax, [0x140151ef0]
mov eax, dword [r11 + rax]
xor eax, dword [rbp + rbx - 0x69]
add eax, dword [rbp + 0x7f]
add edx, eax
mov eax, dword [rbp + r11 - 0x69]
mov r9d, edx
lea r11, [0x140151ef0]
xor eax, dword [rbx + r11]
xor r9d, esi
rol r9d, 0x10
add r8d, r9d
mov r10d, r8d
xor r10d, dword [rbp + 0x7f]
ror r10d, 0xc
add eax, r10d
add eax, edx
mov dword [rsp + 0x20], eax
xor eax, r9d
ror eax, 8
mov dword [rsp + 0x1c], eax
lea esi, [rax + r8]
mov r8d, dword [rsp + 0x14]
mov eax, esi
xor eax, r10d
ror eax, 7
mov dword [rbp + 0x7f], eax
movzx eax, byte [r14 + 5]
lea rbx, [rax*4]
movzx eax, byte [r14 + 4]
lea r14, [0x140151ef0]
lea r11, [rax*4]
mov edx, dword [rbp + r11 - 0x69]
xor edx, dword [rbx + r14]
mov r14d, dword [r11 + r14]
add edx, r12d
xor r14d, dword [rbp + rbx - 0x69]
add edx, ecx
mov r9d, edx
xor r9d, edi
rol r9d, 0x10
add r8d, r9d
mov r10d, r8d
xor r10d, r12d
ror r10d, 0xc
add r14d, r10d
mov rcx, qword [rbp - 0x71]
add r14d, edx
mov edx, dword [rsp + 0x28]
mov edi, r14d
xor edi, r9d
ror edi, 8
lea r12d, [rdi + r8]
mov r8d, dword [rsp + 0x18]
mov eax, r12d
xor eax, r10d
ror eax, 7
mov dword [rsp], eax
movzx eax, byte [rcx + 6]
lea rbx, [rax*4]
movzx eax, byte [rcx + 7]
lea r11, [rax*4]
lea rax, [0x140151ef0]
mov eax, dword [r11 + rax]
xor eax, dword [rbp + rbx - 0x69]
add eax, dword [rsp + 4]
add edx, eax
mov eax, dword [rbp + r11 - 0x69]
mov r9d, edx
lea r11, [0x140151ef0]
xor eax, dword [rbx + r11]
xor r9d, r13d
rol r9d, 0x10
add r8d, r9d
mov r10d, r8d
xor r10d, dword [rsp + 4]
ror r10d, 0xc
lea r11d, [r10 + rax]
movzx eax, byte [rcx + 0xf]
add r11d, edx
lea rdx, [0x140151ef0]
mov r13d, r11d
xor r13d, r9d
ror r13d, 8
mov dword [rsp + 8], r13d
add r13d, r8d
mov ebx, r13d
xor ebx, r10d
lea r10, [rax*4]
movzx eax, byte [rcx + 0xe]
ror ebx, 7
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x69]
xor eax, dword [r10 + rdx]
lea edx, [r11 + rax]
add edx, r15d
mov r9d, edx
xor r9d, edi
rol r9d, 0x10
lea r11d, [r9 + rsi]
mov esi, r11d
xor esi, r15d
lea r15, [0x140151ef0]
mov edi, dword [r8 + r15]
xor edi, dword [rbp + r10 - 0x69]
ror esi, 0xc
add edi, esi
add edi, edx
mov dword [rbp - 0x75], edi
mov dword [rsp + 0x28], edi
xor edi, r9d
ror edi, 8
lea eax, [r11 + rdi]
xor esi, eax
mov dword [rsp + 0x10], eax
movzx eax, byte [rcx + 0xd]
ror esi, 7
mov dword [rbp + 0x77], esi
mov esi, dword [rsp + 0x1c]
lea r9, [rax*4]
movzx eax, byte [rcx + 0xc]
lea r8, [rax*4]
mov edx, dword [rbp + r8 - 0x69]
xor edx, dword [r9 + r15]
add edx, ebx
add edx, r14d
xor esi, edx
mov ecx, dword [r8 + r15]
mov r14, qword [rbp - 0x71]
xor ecx, dword [rbp + r9 - 0x69]
mov r10d, dword [rsp + 0xc]
rol esi, 0x10
add r10d, esi
mov r11d, r10d
xor r11d, ebx
mov ebx, dword [rsp + 8]
ror r11d, 0xc
add ecx, r11d
add ecx, edx
mov edx, dword [rsp + 0x30]
xor esi, ecx
ror esi, 8
mov dword [rsp + 0x1c], esi
lea eax, [r10 + rsi]
xor r11d, eax
mov dword [rsp + 0x2c], eax
movzx eax, byte [r14 + 8]
ror r11d, 7
mov dword [rsp + 4], r11d
lea r11, [0x140151ef0]
lea r9, [rax*4]
movzx eax, byte [r14 + 9]
lea r8, [rax*4]
mov eax, dword [r8 + r15]
xor eax, dword [rbp + r9 - 0x69]
add eax, dword [rbp + 0x7f]
add edx, eax
mov eax, dword [rbp + r8 - 0x69]
xor eax, dword [r9 + r11]
xor ebx, edx
rol ebx, 0x10
lea r10d, [rbx + r12]
mov r15d, r10d
xor r15d, dword [rbp + 0x7f]
ror r15d, 0xc
add eax, r15d
add eax, edx
mov edx, dword [rsp + 0x20]
xor ebx, eax
mov dword [rsp + 0xc], eax
ror ebx, 8
mov dword [rsp + 8], ebx
lea eax, [r10 + rbx]
xor r15d, eax
mov dword [rsp + 0x14], eax
movzx eax, byte [r14 + 0xb]
ror r15d, 7
mov dword [rbp + 0x7f], r15d
mov r15d, dword [rsp + 0x24]
lea r9, [rax*4]
movzx eax, byte [r14 + 0xa]
add r14, 0x10
mov qword [rbp - 0x71], r14
lea r8, [rax*4]
mov eax, dword [rbp + r8 - 0x69]
xor eax, dword [r9 + r11]
add eax, dword [rsp]
add edx, eax
lea rax, [0x140151ef0]
mov eax, dword [r8 + rax]
xor r15d, edx
xor eax, dword [rbp + r9 - 0x69]
rol r15d, 0x10
lea r10d, [r15 + r13]
mov r13d, ebx
mov r12d, r10d
xor r12d, dword [rsp]
ror r12d, 0xc
add eax, r12d
add eax, edx
xor r15d, eax
mov dword [rsp], eax
ror r15d, 8
lea eax, [r10 + r15]
xor r12d, eax
mov dword [rsp + 0x18], eax
ror r12d, 7
sub qword [rbp - 0x29], 1
mov edx, dword [rbp + 0x77]
lea r10, [0x140151ef0]
mov r8d, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0xc]
jne 0x1400c4b93
mov esi, dword [rsp + 0x34]
mov eax, esi
mov r14d, dword [rsp + 0x38]
xor eax, r8d
mov edx, dword [rbp - 0x79]
mov dword [rsp + 0x24], ecx
mov rcx, qword [rbp + 0x67]
mov dword [rsp + 0x20], edi
xor eax, dword [rcx]
xor eax, r9d
mov dword [rcx], eax
mov eax, r14d
xor eax, dword [rcx + 4]
xor eax, dword [rsp + 0x10]
xor eax, dword [rsp]
mov dword [rcx + 4], eax
mov eax, dword [rsp + 0x24]
xor eax, dword [rcx + 8]
xor eax, dword [rbp - 0x7d]
xor eax, dword [rsp + 0x14]
mov dword [rcx + 8], eax
mov eax, edx
xor eax, dword [rcx + 0xc]
xor eax, dword [rbp - 0x75]
xor eax, dword [rsp + 0x18]
mov dword [rcx + 0xc], eax
mov eax, edi
xor esi, dword [rcx + 0x10]
xor esi, dword [rbp + 0x77]
xor esi, r15d
mov dword [rcx + 0x10], esi
xor r14d, dword [rcx + 0x14]
xor r14d, dword [rbp + 0x7f]
xor r14d, dword [rsp + 0x1c]
mov dword [rcx + 0x14], r14d
xor eax, dword [rcx + 0x18]
xor eax, dword [rbp - 0x7d]
xor eax, r12d
mov dword [rcx + 0x18], eax
xor edx, dword [rcx + 0x1c]
xor edx, dword [rsp + 4]
xor edx, ebx
mov rbx, qword [rsp + 0x128]
mov dword [rcx + 0x1c], edx
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret