Function at 0x180001260
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
push rax
mov esi, 0x6bfc
xor eax, eax
mov r8d, 0x7f96
mov r9d, 0x4e45
jmp 0x180001290
mov esi, 0x260d
nop word [rax + rax]
cmp esi, 0x6b88
jg 0x1800012c0
cmp esi, 0x323a
jg 0x1800012f0
cmp esi, 0x2213
je 0x180001282
cmp esi, 0x260d
jne 0x180001290
add al, 1
mov esi, 0x6bfc
jmp 0x180001290
cmp esi, 0x7f95
jle 0x180001328
cmp esi, 0x7f96
je 0x180001340
cmp esi, 0x7ff5
jne 0x180001290
cmp dil, 4
mov esi, 0x2213
cmovb esi, r9d
jmp 0x180001290
cmp esi, 0x323b
je 0x18000134c
cmp esi, 0x4e45
jne 0x180001290
movzx esi, al
movzx ebp, dil
lea rbx, [rsi*4]
add rbx, rbp
movzx ebx, byte [rdx + rbx]
lea rsi, [rcx + rsi*4]
xor byte [rbp + rsi], bl
mov esi, 0x323b
jmp 0x180001290
cmp esi, 0x6bfc
jne 0x18000135a
cmp al, 4
mov esi, 0x6b89
cmovb esi, r8d
jmp 0x180001290
mov esi, 0x7ff5
xor edi, edi
jmp 0x180001290
add dil, 1
mov esi, 0x7ff5
jmp 0x180001290
cmp esi, 0x6b89
jne 0x180001290
mov r8b, 1
mov r10d, 0x5af1
lea r11, str.cw
mov r14d, 0xbdb
mov r15d, 0x732
mov r13d, 0x6b36
mov r9d, 0x7f96
movzx eax, r8b
mov r12, rax
shl r12, 4
cmp al, 0xa
mov eax, 0x41bb
cmove eax, r10d
mov dword [rsp + 4], eax
mov eax, 0x6df1
nop dword [rax]
cmp eax, 0x41ba
jle 0x180001520
cmp eax, 0x6df1
je 0x18000153b
cmp eax, 0x5af1
je 0x180001673
cmp eax, 0x41bb
jne 0x1800013b0
mov byte [rsp + 3], r8b
xor eax, eax
movzx r8d, al
cmp r8b, 4
mov r11d, 0x3e12
cmovb r11d, r13d
mov ebp, 0x5878
nop word cs:[rax + rax]
cmp ebp, 0x5cfc
jg 0x180001430
cmp ebp, 0x3e12
je 0x18000167d
cmp ebp, 0x5878
jne 0x180001400
mov ebp, r11d
jmp 0x180001400
cmp ebp, 0x5cfd
je 0x180001510
cmp ebp, 0x6b36
jne 0x180001400
movzx r14d, byte [rcx + r8*4]
movzx ebp, byte [rcx + r8*4 + 1]
mov r9d, ebp
xor r9b, r14b
movzx r15d, byte [rcx + r8*4 + 2]
mov esi, r9d
xor sil, r15b
movzx r10d, byte [rcx + r8*4 + 3]
mov ebx, esi
xor bl, r10b
lea edi, [r9 + r9]
mov r13d, r9d
sar r13b, 7
and r13b, 0x1b
xor dil, r14b
xor dil, r13b
mov r13d, 0x6b36
xor dil, bl
mov byte [rcx + r8*4], dil
mov edi, r10d
xor dil, r15b
xor r15b, bpl
lea eax, [r15 + r15]
sar r15b, 7
and r15b, 0x1b
xor al, bpl
xor al, bl
xor al, r15b
mov r15d, 0x732
mov byte [rcx + r8*4 + 1], al
lea eax, [rdi + rdi]
sar dil, 7
and dil, 0x1b
xor r9b, r10b
xor r9b, al
xor r9b, dil
mov byte [rcx + r8*4 + 2], r9b
mov r9d, 0x7f96
xor r10b, r14b
mov r14d, 0xbdb
lea eax, [r10 + r10]
sar r10b, 7
and r10b, 0x1b
xor al, sil
xor al, r10b
mov r10d, 0x5af1
mov byte [rcx + r8*4 + 3], al
mov ebp, 0x5cfd
jmp 0x180001400
lea eax, [r8 + 1]
jmp 0x1800013df
cmp eax, 0x1eb
je 0x180001799
cmp eax, 0x26e9
jne 0x1800013b0
jmp 0x180001790
mov edi, 0x301c
xor r9d, r9d
jmp 0x180001550
add r9b, 1
mov edi, 0x301c
nop
cmp edi, 0x234f
jle 0x180001580
cmp edi, 0x56ad
jg 0x1800015c0
cmp edi, 0x2350
je 0x180001545
cmp edi, 0x301c
jne 0x180001550
cmp r9b, 4
mov edi, 0x22ee
cmovb edi, r14d
jmp 0x180001550
cmp edi, 0xbda
jg 0x1800015da
cmp edi, 0x120
je 0x1800015ee
cmp edi, 0x732
jne 0x180001550
movzx ebx, bpl
movzx edi, r9b
lea rbx, [rcx + rbx*4]
movzx esi, byte [rdi + rbx]
movzx eax, byte [rsi + r11]
mov byte [rdi + rbx], al
mov edi, 0x120
jmp 0x180001550
cmp edi, 0x56ae
je 0x1800015fc
cmp edi, 0x759a
jne 0x180001550
mov edi, 0x2350
jmp 0x180001550
cmp edi, 0xbdb
jne 0x18000160e
mov edi, 0x56ae
xor ebp, ebp
jmp 0x180001550
add bpl, 1
mov edi, 0x56ae
jmp 0x180001550
cmp bpl, 4
mov edi, 0x759a
cmovb edi, r15d
jmp 0x180001550
cmp edi, 0x22ee
jne 0x180001550
mov al, byte [rcx + 5]
mov bl, byte [rcx + 1]
mov r9b, byte [rcx + 2]
mov byte [rcx + 1], al
mov al, byte [rcx + 9]
mov byte [rcx + 5], al
mov al, byte [rcx + 0xd]
mov byte [rcx + 9], al
mov byte [rcx + 0xd], bl
mov al, byte [rcx + 0xa]
mov byte [rcx + 2], al
mov byte [rcx + 0xa], r9b
mov al, byte [rcx + 6]
mov bl, byte [rcx + 0xe]
mov byte [rcx + 6], bl
mov byte [rcx + 0xe], al
mov al, byte [rcx + 3]
mov bl, byte [rcx + 0xf]
mov byte [rcx + 3], bl
mov bl, byte [rcx + 0xb]
mov byte [rcx + 0xf], bl
mov bl, byte [rcx + 7]
mov byte [rcx + 0xb], bl
mov byte [rcx + 7], al
mov eax, dword [rsp + 4]
mov r9d, 0x7f96
jmp 0x1800013b0
mov eax, 0x1eb
jmp 0x1800013b0
mov edi, 0x6bfc
xor r8d, r8d
lea r11, str.cw
jmp 0x1800016a0
mov edi, 0x260d
nop word cs:[rax + rax]
nop dword [rax]
cmp edi, 0x6b88
jg 0x1800016d0
cmp edi, 0x323a
jg 0x180001700
cmp edi, 0x2213
je 0x18000168e
cmp edi, 0x260d
jne 0x1800016a0
add r8b, 1
mov edi, 0x6bfc
jmp 0x1800016a0
cmp edi, 0x7f95
jle 0x180001734
cmp edi, 0x7f96
je 0x18000174e
cmp edi, 0x7ff5
jne 0x1800016a0
cmp bpl, 4
mov edi, 0x2213
mov eax, 0x4e45
cmovb edi, eax
jmp 0x1800016a0
cmp edi, 0x323b
je 0x18000175a
cmp edi, 0x4e45
jne 0x1800016a0
movzx ebx, r8b
lea rdi, [r12 + rbx*4]
movzx esi, bpl
add rdi, rsi
movzx eax, byte [rdx + rdi]
lea rbx, [rcx + rbx*4]
xor byte [rsi + rbx], al
mov edi, 0x323b
jmp 0x1800016a0
cmp edi, 0x6bfc
jne 0x180001768
cmp r8b, 4
mov edi, 0x6b89
cmovb edi, r9d
jmp 0x1800016a0
mov edi, 0x7ff5
xor ebp, ebp
jmp 0x1800016a0
add bpl, 1
mov edi, 0x7ff5
jmp 0x1800016a0
cmp edi, 0x6b89
jne 0x1800016a0
mov eax, 0x26e9
mov r8b, byte [rsp + 3]
jmp 0x1800013b0
add r8b, 1
jmp 0x18000138e
mov esi, 0x6bfc
xor eax, eax
mov r8d, 0x7f96
mov r9d, 0x4e45
jmp 0x1800017c0
mov esi, 0x260d
nop word cs:[rax + rax]
nop dword [rax]
cmp esi, 0x6b88
jg 0x1800017f0
cmp esi, 0x323a
jg 0x180001820
cmp esi, 0x2213
je 0x1800017ae
cmp esi, 0x260d
jne 0x1800017c0
add al, 1
mov esi, 0x6bfc
jmp 0x1800017c0
cmp esi, 0x7f95
jle 0x18000185c
cmp esi, 0x7f96
je 0x180001874
cmp esi, 0x7ff5
jne 0x1800017c0
cmp dil, 4
mov esi, 0x2213
cmovb esi, r9d
jmp 0x1800017c0
cmp esi, 0x323b
je 0x180001880
cmp esi, 0x4e45
jne 0x1800017c0
movzx esi, al
movzx ebp, dil
lea rbx, [rsi*4]
add rbx, rbp
movzx ebx, byte [rdx + rbx + 0xa0]
lea rsi, [rcx + rsi*4]
xor byte [rbp + rsi], bl
mov esi, 0x323b
jmp 0x1800017c0
cmp esi, 0x6bfc
jne 0x18000188e
cmp al, 4
mov esi, 0x6b89
cmovb esi, r8d
jmp 0x1800017c0
mov esi, 0x7ff5
xor edi, edi
jmp 0x1800017c0
add dil, 1
mov esi, 0x7ff5
jmp 0x1800017c0
cmp esi, 0x6b89
jne 0x1800017c0
add rsp, 8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret