Function at 0x1400bafb0
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
push r12
push r13
push r15
sub rsp, 0x10
mov r13d, dword [rcx + 0xf0]
mov r12, r8
shr r13d, 1
mov r15, rcx
lea eax, [r13 - 1]
cmp eax, 6
ja 0x1400bbec0
mov r10d, dword [rdx]
lea r8, [0x14010bc70]
mov qword [rsp + 0x30], rbx
mov eax, r10d
mov ebx, dword [rdx + 4]
ror eax, 8
mov qword [rsp + 0x38], rbp
mov ebp, dword [rdx + 0xc]
mov qword [rsp + 0x40], rsi
mov esi, dword [rdx + 8]
rol r10d, 8
xor r10d, eax
mov qword [rsp + 8], rdi
and r10d, 0xff00ff
mov qword [rsp], r14
xor r10d, eax
lea r14, [0x14010ac70]
xor r10d, dword [rcx]
mov eax, ebx
ror eax, 8
rol ebx, 8
xor ebx, eax
and ebx, 0xff00ff
xor ebx, dword [rcx + 4]
xor ebx, eax
mov eax, esi
ror eax, 8
rol esi, 8
xor esi, eax
and esi, 0xff00ff
xor esi, dword [rcx + 8]
xor esi, eax
mov eax, ebp
rol ebp, 8
ror eax, 8
xor ebp, eax
and ebp, 0xff00ff
xor ebp, dword [rcx + 0xc]
xor ebp, eax
mov rax, r14
xor edx, edx
nop word [rax + rax]
mov ecx, reloc.WS2_32.dll_recv
nop word [rax + rax]
and edx, dword [rax]
add rax, 0x40
sub rcx, 1
jne 0x1400bb080
cmp rax, r8
jl 0x1400bb070
or r10d, edx
mov eax, esi
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, r10d
mov edi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [r14 + rcx*4 + 0x400]
xor edi, dword [r14 + rax*4]
movzx eax, bpl
xor edi, dword [r14 + rax*4 + 0xc00]
mov eax, ebp
xor edi, dword [r15 + 0x10]
shr eax, 8
movzx edx, al
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov r11d, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [r14 + rcx*4 + 0x400]
xor r11d, dword [r14 + rax*4]
movzx eax, r10b
xor r11d, dword [r14 + rax*4 + 0xc00]
mov eax, ebp
xor r11d, dword [r15 + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr rax, 0x18
mov r9d, dword [r14 + rcx*4 + 0x400]
xor r9d, dword [r14 + rax*4]
mov eax, r10d
shr eax, 8
movzx ecx, al
movzx eax, bl
shr ebx, 8
shr r10d, 0x10
xor r9d, dword [r14 + rcx*4 + 0x800]
xor r9d, dword [r14 + rax*4 + 0xc00]
xor r9d, dword [r15 + 0x18]
movzx eax, bl
mov ecx, ebp
shr rcx, 0x18
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, r10b
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, sil
xor r8d, dword [r14 + rax*4 + 0xc00]
mov eax, r9d
xor r8d, dword [r15 + 0x1c]
shr eax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov esi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r14 + rcx*4 + 0x400]
xor esi, dword [r14 + rax*4]
movzx eax, r8b
xor esi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor esi, dword [r15 + 0x20]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov ebx, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor ebx, dword [r14 + rcx*4 + 0x400]
xor ebx, dword [r14 + rax*4]
movzx eax, dil
xor ebx, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor ebx, dword [r15 + 0x24]
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r10d, dword [r14 + rcx*4 + 0x400]
xor r10d, dword [r14 + rax*4]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, r11b
shr r11d, 8
shr edi, 0x10
xor r10d, dword [r14 + rcx*4 + 0x800]
xor r10d, dword [r14 + rax*4 + 0xc00]
xor r10d, dword [r15 + 0x28]
mov ecx, r8d
shr rcx, 0x18
movzx eax, r11b
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, dil
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, r9b
xor r8d, dword [r14 + rax*4 + 0xc00]
mov eax, r10d
xor r8d, dword [r15 + 0x2c]
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, esi
mov edi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [r14 + rcx*4 + 0x400]
xor edi, dword [r14 + rax*4]
movzx eax, r8b
xor edi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor edi, dword [r15 + 0x30]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov r11d, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [r14 + rcx*4 + 0x400]
xor r11d, dword [r14 + rax*4]
movzx eax, sil
xor r11d, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor r11d, dword [r15 + 0x34]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov r9d, dword [r14 + rcx*4 + 0x400]
xor r9d, dword [r14 + rax*4]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, bl
shr ebx, 8
shr esi, 0x10
xor r9d, dword [r14 + rcx*4 + 0x800]
xor r9d, dword [r14 + rax*4 + 0xc00]
xor r9d, dword [r15 + 0x38]
mov ecx, r8d
shr rcx, 0x18
movzx eax, bl
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, sil
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, r10b
xor r8d, dword [r14 + rax*4 + 0xc00]
xor r8d, dword [r15 + 0x3c]
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov esi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r14 + rcx*4 + 0x400]
xor esi, dword [r14 + rax*4]
movzx eax, r8b
xor esi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor esi, dword [r15 + 0x40]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov ebx, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor ebx, dword [r14 + rcx*4 + 0x400]
xor ebx, dword [r14 + rax*4]
movzx eax, dil
xor ebx, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor ebx, dword [r15 + 0x44]
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r10d, dword [r14 + rcx*4 + 0x400]
xor r10d, dword [r14 + rax*4]
mov eax, edi
shr eax, 8
movzx ecx, al
shr edi, 0x10
movzx eax, r11b
shr r11d, 8
xor r10d, dword [r14 + rcx*4 + 0x800]
mov ecx, r8d
xor r10d, dword [r14 + rax*4 + 0xc00]
xor r10d, dword [r15 + 0x48]
movzx eax, r11b
shr rcx, 0x18
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, dil
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, r9b
xor r8d, dword [r14 + rax*4 + 0xc00]
mov eax, r10d
xor r8d, dword [r15 + 0x4c]
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, esi
mov edi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [r14 + rcx*4 + 0x400]
xor edi, dword [r14 + rax*4]
movzx eax, r8b
xor edi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor edi, dword [r15 + 0x50]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov r11d, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [r14 + rcx*4 + 0x400]
xor r11d, dword [r14 + rax*4]
movzx eax, sil
xor r11d, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor r11d, dword [r15 + 0x54]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov r9d, dword [r14 + rcx*4 + 0x400]
xor r9d, dword [r14 + rax*4]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, bl
shr ebx, 8
shr esi, 0x10
xor r9d, dword [r14 + rcx*4 + 0x800]
xor r9d, dword [r14 + rax*4 + 0xc00]
xor r9d, dword [r15 + 0x58]
mov ecx, r8d
shr rcx, 0x18
movzx eax, bl
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, sil
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, r10b
xor r8d, dword [r14 + rax*4 + 0xc00]
mov eax, r9d
xor r8d, dword [r15 + 0x5c]
shr eax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov esi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r14 + rcx*4 + 0x400]
xor esi, dword [r14 + rax*4]
movzx eax, r8b
xor esi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor esi, dword [r15 + 0x60]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov ebx, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor ebx, dword [r14 + rcx*4 + 0x400]
xor ebx, dword [r14 + rax*4]
movzx eax, dil
xor ebx, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor ebx, dword [r15 + 0x64]
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r10d, dword [r14 + rcx*4 + 0x400]
xor r10d, dword [r14 + rax*4]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, r11b
shr r11d, 8
shr edi, 0x10
xor r10d, dword [r14 + rcx*4 + 0x800]
xor r10d, dword [r14 + rax*4 + 0xc00]
xor r10d, dword [r15 + 0x68]
mov ecx, r8d
shr rcx, 0x18
movzx eax, r11b
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, dil
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, r9b
xor r8d, dword [r14 + rax*4 + 0xc00]
xor r8d, dword [r15 + 0x6c]
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, esi
mov edi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [r14 + rcx*4 + 0x400]
xor edi, dword [r14 + rax*4]
movzx eax, r8b
xor edi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor edi, dword [r15 + 0x70]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov r11d, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [r14 + rcx*4 + 0x400]
xor r11d, dword [r14 + rax*4]
movzx eax, sil
xor r11d, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor r11d, dword [r15 + 0x74]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov r9d, dword [r14 + rcx*4 + 0x400]
xor r9d, dword [r14 + rax*4]
mov eax, esi
shr eax, 8
movzx ecx, al
shr esi, 0x10
movzx eax, bl
shr ebx, 8
xor r9d, dword [r14 + rcx*4 + 0x800]
mov ecx, r8d
xor r9d, dword [r14 + rax*4 + 0xc00]
xor r9d, dword [r15 + 0x78]
movzx eax, bl
shr rcx, 0x18
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, sil
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, r10b
xor r8d, dword [r14 + rax*4 + 0xc00]
mov eax, r9d
xor r8d, dword [r15 + 0x7c]
shr eax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov esi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r14 + rcx*4 + 0x400]
xor esi, dword [r14 + rax*4]
movzx eax, r8b
xor esi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor esi, dword [r15 + 0x80]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov ebx, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor ebx, dword [r14 + rcx*4 + 0x400]
xor ebx, dword [r14 + rax*4]
movzx eax, dil
xor ebx, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor ebx, dword [r15 + 0x84]
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r10d, dword [r14 + rcx*4 + 0x400]
xor r10d, dword [r14 + rax*4]
mov eax, edi
shr eax, 8
movzx ecx, al
shr edi, 0x10
movzx eax, r11b
shr r11d, 8
xor r10d, dword [r14 + rcx*4 + 0x800]
mov ecx, r8d
xor r10d, dword [r14 + rax*4 + 0xc00]
xor r10d, dword [r15 + 0x88]
shr rcx, 0x18
movzx eax, r11b
mov r8d, dword [r14 + rcx*4]
xor r8d, dword [r14 + rax*4 + 0x800]
movzx eax, dil
xor r8d, dword [r14 + rax*4 + 0x400]
movzx eax, r9b
xor r8d, dword [r14 + rax*4 + 0xc00]
mov eax, r10d
xor r8d, dword [r15 + 0x8c]
shr eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, esi
mov edi, dword [r14 + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [r14 + rcx*4 + 0x400]
xor edi, dword [r14 + rax*4]
movzx eax, r8b
xor edi, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor edi, dword [r15 + 0x90]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
mov ebp, dword [r14 + rdx*4 + 0x800]
lea rdx, [0x14010ac70]
shr rax, 0x18
xor ebp, dword [r14 + rcx*4 + 0x400]
xor ebp, dword [r14 + rax*4]
movzx eax, sil
xor ebp, dword [r14 + rax*4 + 0xc00]
mov eax, r8d
xor ebp, dword [r15 + 0x94]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov r14d, dword [r14 + rcx*4 + 0x400]
xor r14d, dword [rdx + rax*4]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, bl
shr ebx, 8
shr esi, 0x10
xor r14d, dword [rdx + rcx*4 + 0x800]
xor r14d, dword [rdx + rax*4 + 0xc00]
xor r14d, dword [r15 + 0x98]
movzx eax, bl
mov ecx, r8d
shr rcx, 0x18
mov ebx, dword [rdx + rcx*4]
xor ebx, dword [rdx + rax*4 + 0x800]
movzx eax, sil
lea rsi, [0x14010ac70]
xor ebx, dword [rsi + rax*4 + 0x400]
movzx eax, r10b
xor ebx, dword [rsi + rax*4 + 0xc00]
xor ebx, dword [r15 + 0x9c]
cmp r13d, 5
jbe 0x1400bbce1
mov eax, r14d
shr eax, 8
movzx edx, al
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov r11d, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [rsi + rcx*4 + 0x400]
xor r11d, dword [rsi + rax*4]
movzx eax, bl
xor r11d, dword [rsi + rax*4 + 0xc00]
mov eax, ebx
xor r11d, dword [r15 + 0xa0]
shr eax, 8
movzx edx, al
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, ebp
mov r10d, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x400]
xor r10d, dword [rsi + rax*4]
movzx eax, dil
xor r10d, dword [rsi + rax*4 + 0xc00]
mov eax, ebx
xor r10d, dword [r15 + 0xa4]
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r9d, dword [rsi + rcx*4 + 0x400]
xor r9d, dword [rsi + rax*4]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, bpl
shr edi, 0x10
shr ebp, 8
xor r9d, dword [rsi + rcx*4 + 0x800]
xor r9d, dword [rsi + rax*4 + 0xc00]
xor r9d, dword [r15 + 0xa8]
movzx eax, bpl
mov ecx, ebx
shr rcx, 0x18
mov r8d, dword [rsi + rcx*4]
xor r8d, dword [rsi + rax*4 + 0x800]
movzx eax, dil
xor r8d, dword [rsi + rax*4 + 0x400]
movzx eax, r14b
xor r8d, dword [rsi + rax*4 + 0xc00]
mov eax, r9d
xor r8d, dword [r15 + 0xac]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov edi, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [rsi + rcx*4 + 0x400]
xor edi, dword [rsi + rax*4]
movzx eax, r8b
xor edi, dword [rsi + rax*4 + 0xc00]
mov eax, r8d
xor edi, dword [r15 + 0xb0]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
mov ebp, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor ebp, dword [rsi + rcx*4 + 0x400]
xor ebp, dword [rsi + rax*4]
movzx eax, r11b
xor ebp, dword [rsi + rax*4 + 0xc00]
xor ebp, dword [r15 + 0xb4]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r14d, dword [rsi + rcx*4 + 0x400]
xor r14d, dword [rsi + rax*4]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r10b
shr r10d, 8
shr r11d, 0x10
xor r14d, dword [rsi + rcx*4 + 0x800]
xor r14d, dword [rsi + rax*4 + 0xc00]
xor r14d, dword [r15 + 0xb8]
movzx eax, r10b
mov ecx, r8d
shr rcx, 0x18
mov ebx, dword [rsi + rcx*4]
xor ebx, dword [rsi + rax*4 + 0x800]
movzx eax, r11b
xor ebx, dword [rsi + rax*4 + 0x400]
movzx eax, r9b
xor ebx, dword [rsi + rax*4 + 0xc00]
xor ebx, dword [r15 + 0xbc]
cmp r13d, 6
jbe 0x1400bbce1
mov eax, r14d
shr eax, 8
movzx edx, al
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov r11d, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [rsi + rcx*4 + 0x400]
xor r11d, dword [rsi + rax*4]
movzx eax, bl
xor r11d, dword [rsi + rax*4 + 0xc00]
mov eax, ebx
xor r11d, dword [r15 + 0xc0]
shr eax, 8
movzx edx, al
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, ebp
mov r10d, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x400]
xor r10d, dword [rsi + rax*4]
movzx eax, dil
xor r10d, dword [rsi + rax*4 + 0xc00]
mov eax, ebx
xor r10d, dword [r15 + 0xc4]
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r9d, dword [rsi + rcx*4 + 0x400]
xor r9d, dword [rsi + rax*4]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, bpl
shr edi, 0x10
shr ebp, 8
xor r9d, dword [rsi + rcx*4 + 0x800]
xor r9d, dword [rsi + rax*4 + 0xc00]
xor r9d, dword [r15 + 0xc8]
movzx eax, bpl
mov ecx, ebx
shr rcx, 0x18
mov r8d, dword [rsi + rcx*4]
xor r8d, dword [rsi + rax*4 + 0x800]
movzx eax, dil
xor r8d, dword [rsi + rax*4 + 0x400]
movzx eax, r14b
xor r8d, dword [rsi + rax*4 + 0xc00]
mov eax, r9d
xor r8d, dword [r15 + 0xcc]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov edi, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [rsi + rcx*4 + 0x400]
xor edi, dword [rsi + rax*4]
movzx eax, r8b
xor edi, dword [rsi + rax*4 + 0xc00]
mov eax, r8d
xor edi, dword [r15 + 0xd0]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
mov ebp, dword [rsi + rdx*4 + 0x800]
shr rax, 0x18
xor ebp, dword [rsi + rcx*4 + 0x400]
xor ebp, dword [rsi + rax*4]
movzx eax, r11b
xor ebp, dword [rsi + rax*4 + 0xc00]
xor ebp, dword [r15 + 0xd4]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r14d, dword [rsi + rcx*4 + 0x400]
xor r14d, dword [rsi + rax*4]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r10b
shr r10d, 8
shr r11d, 0x10
xor r14d, dword [rsi + rcx*4 + 0x800]
xor r14d, dword [rsi + rax*4 + 0xc00]
xor r14d, dword [r15 + 0xd8]
movzx eax, r10b
mov ecx, r8d
shr rcx, 0x18
mov ebx, dword [rsi + rcx*4]
xor ebx, dword [rsi + rax*4 + 0x800]
movzx eax, r11b
xor ebx, dword [rsi + rax*4 + 0x400]
movzx eax, r9b
xor ebx, dword [rsi + rax*4 + 0xc00]
xor ebx, dword [r15 + 0xdc]
lea eax, [r13*8]
lea r10, [r15 + rax*4]
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr eax, 8
mov r11d, dword [rsi + rcx*4 + 0xc00]
movzx ecx, al
and r11d, 0xff0000
mov eax, dword [rsi + rcx*4]
and eax, 0xff00
xor r11d, eax
mov eax, edi
shr rax, 0x18
mov ecx, dword [rsi + rax*4 + 0x800]
and ecx, 0xff000000
movzx eax, bl
xor r11d, ecx
movzx eax, byte [rsi + rax*4 + 0x400]
xor r11d, eax
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
xor r11d, dword [r10]
mov r9d, dword [rsi + rcx*4 + 0xc00]
movzx ecx, al
and r9d, 0xff0000
mov eax, dword [rsi + rcx*4]
and eax, 0xff00
xor r9d, eax
mov eax, ebp
shr rax, 0x18
mov eax, dword [rsi + rax*4 + 0x800]
and eax, 0xff000000
xor r9d, eax
movzx eax, dil
movzx eax, byte [rsi + rax*4 + 0x400]
xor r9d, eax
mov eax, ebx
xor r9d, dword [r10 + 4]
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r8d, dword [rsi + rcx*4 + 0xc00]
and r8d, 0xff0000
mov eax, dword [rsi + rax*4 + 0x800]
and eax, 0xff000000
xor r8d, eax
mov eax, edi
shr eax, 8
movzx ecx, al
shr edi, 0x10
mov eax, dword [rsi + rcx*4]
and eax, 0xff00
xor r8d, eax
movzx eax, bpl
shr ebp, 8
movzx eax, byte [rsi + rax*4 + 0x400]
xor r8d, eax
movzx eax, dil
xor r8d, dword [r10 + 8]
mov edx, dword [rsi + rax*4 + 0xc00]
and edx, 0xff0000
mov eax, ebx
shr rax, 0x18
mov eax, dword [rsi + rax*4 + 0x800]
and eax, 0xff000000
xor edx, eax
movzx eax, bpl
mov ecx, dword [rsi + rax*4]
and ecx, 0xff00
movzx eax, r14b
xor edx, ecx
movzx eax, byte [rsi + rax*4 + 0x400]
xor edx, eax
mov eax, r11d
xor edx, dword [r10 + 0xc]
mov r14, qword [rsp]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
ror eax, 8
rol r11d, 8
xor r11d, eax
and r11d, 0xff00ff
xor r11d, eax
mov eax, r9d
ror eax, 8
rol r9d, 8
xor r9d, eax
mov dword [r12], r11d
and r9d, 0xff00ff
xor r9d, eax
mov eax, r8d
ror eax, 8
rol r8d, 8
xor r8d, eax
mov dword [r12 + 4], r9d
and r8d, 0xff00ff
xor r8d, eax
mov eax, edx
rol edx, 8
ror eax, 8
xor edx, eax
mov dword [r12 + 8], r8d
and edx, 0xff00ff
xor edx, eax
mov dword [r12 + 0xc], edx
xor eax, eax
add rsp, 0x10
pop r15
pop r13
pop r12
ret
mov eax, 0xffffff1e
add rsp, 0x10
pop r15
pop r13
pop r12
ret