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

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