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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e2bf7
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x98], r9
cmp r10, 0xf
jbe 0x4e2be9
mov qword [rsp + 0xa8], r11
mov qword [rsp + 0x98], r9
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], rdi
mov rax, r9
mov ebx, 4
mov rcx, r11
call fcn.00481800
mov dword [rsp + 0x28], eax
mov rdx, qword [rsp + 0x98]
lea rsi, [rdx + 4]
mov rcx, qword [rsp + 0xa8]
lea rdi, [rcx - 4]
mov ebx, 4
mov rax, rsi
mov rcx, rdi
call fcn.00481800
mov dword [rsp + 0x2c], eax
mov rdx, qword [rsp + 0x98]
lea rsi, [rdx + 8]
mov rcx, qword [rsp + 0xa8]
lea rdi, [rcx - 8]
mov ebx, 4
mov rax, rsi
mov rcx, rdi
call fcn.00481800
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x98]
add rdx, 0xc
mov rcx, qword [rsp + 0xa8]
add rcx, 0xfffffffffffffff4
mov ebx, 4
mov rax, rdx
call fcn.00481800
mov rcx, qword [rsp + 0x70]
nop dword [rax]
test rcx, rcx
jbe 0x4e2bdf
mov edx, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x68]
xor edx, dword [rsi]
cmp rcx, 1
jbe 0x4e2bd2
mov r8d, dword [rsp + 0x2c]
xor r8d, dword [rsi + 4]
cmp rcx, 2
jbe 0x4e2bc5
mov r9d, dword [rsp + 0x30]
xor r9d, dword [rsi + 8]
nop word [rax + rax]
cmp rcx, 3
jbe 0x4e2bb7
mov r10, rcx
shr r10, 2
xor eax, dword [rsi + 0xc]
add r10, 0xfffffffffffffffe
xor ebx, ebx
xor edi, edi
xor r11d, r11d
xor r12d, r12d
mov r13d, 4
jmp 0x4e282c
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [r12 + rbx*4]
xor ebx, dword [rsi + r13*4 + 0xc]
shr r8d, 0x10
movzx edi, r8b
xor ebx, dword [r10 + rdi*4]
shr r15d, 8
movzx r15d, r15b
xor ebx, dword [rdx + r15*4]
mov r15d, dword [rsp + 0x38]
movzx r15d, r15b
mov rdi, r15
mov r15, qword [rsp + 0x40]
dec r15
xor ebx, dword [r11 + rdi*4]
add r13, 4
mov edi, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x28]
mov r10, r15
mov edx, r8d
mov r8d, edi
mov r9d, eax
mov eax, ebx
mov ebx, edx
mov r11d, r9d
mov r12d, eax
test r10, r10
jle 0x4e294e
cmp rcx, r13
jbe 0x4e2baf
mov qword [rsp + 0x40], r10
mov r11d, edx
shr edx, 0x18
movzx edx, dl
lea r12, [0x00922360]
mov edx, dword [r12 + rdx*4]
xor edx, dword [rsi + r13*4]
mov r15d, r8d
shr r8d, 0x10
movzx r8d, r8b
lea r10, [0x00922760]
xor edx, dword [r10 + r8*4]
mov r8d, r9d
shr r9d, 8
movzx r9d, r9b
mov edi, r11d
lea r11, [0x00922b60]
xor edx, dword [r11 + r9*4]
movzx r9d, al
lea rbx, [r13 + 1]
lea r11, [0x00922f60]
xor edx, dword [r11 + r9*4]
nop dword [rax]
cmp rcx, rbx
jbe 0x4e2ba7
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x3c], r15d
shr r15d, 0x18
movzx r15d, r15b
mov r15d, dword [r12 + r15*4]
xor r15d, dword [rsi + r13*4 + 4]
mov ebx, r8d
shr r8d, 0x10
movzx r8d, r8b
xor r15d, dword [r10 + r8*4]
mov r8d, eax
shr eax, 8
movzx eax, al
lea rdx, [0x00922b60]
xor r15d, dword [rdx + rax*4]
movzx eax, dil
lea r9, [r13 + 2]
xor r15d, dword [r11 + rax*4]
cmp rcx, r9
jbe 0x4e2b9f
mov dword [rsp + 0x2c], r15d
mov dword [rsp + 0x38], ebx
shr ebx, 0x18
movzx eax, bl
mov eax, dword [r12 + rax*4]
xor eax, dword [rsi + r13*4 + 8]
mov ebx, r8d
shr r8d, 0x10
movzx r8d, r8b
xor eax, dword [r10 + r8*4]
mov r8d, edi
shr edi, 8
movzx edi, dil
xor eax, dword [rdx + rdi*4]
mov r15d, dword [rsp + 0x3c]
movzx edi, r15b
lea r9, [r13 + 3]
xor eax, dword [r11 + rdi*4]
cmp rcx, r9
ja 0x4e27ca
jmp 0x4e2b97
mov dword [rsp + 0x24], r12d
mov edx, ebx
shr ebx, 0x18
lea r8, str.cw
movzx r9d, byte [rbx + r8]
shl r9d, 0x18
mov r10d, edi
shr edi, 0x10
movzx r15d, dil
movzx edi, byte [r15 + r8]
shl edi, 0x10
or edi, r9d
mov r9d, r11d
shr r11d, 8
movzx r11d, r11b
movzx r11d, byte [r11 + r8]
shl r11d, 8
or edi, r11d
movzx r11d, r12b
movzx r11d, byte [r11 + r8]
mov r15d, r10d
shr r10d, 0x18
movzx r10d, byte [r10 + r8]
shl r10d, 0x18
mov eax, r9d
shr r9d, 0x10
movzx r9d, r9b
movzx r9d, byte [r9 + r8]
shl r9d, 0x10
or r9d, r10d
mov r10d, r12d
shr r12d, 8
movzx r12d, r12b
movzx r12d, byte [r12 + r8]
shl r12d, 8
or r9d, r12d
movzx r12d, dl
movzx r12d, byte [r12 + r8]
mov ebx, eax
shr eax, 0x18
movzx eax, byte [r8 + rax]
shl eax, 0x18
shr r10d, 0x10
movzx r10d, r10b
movzx r10d, byte [r10 + r8]
shl r10d, 0x10
or eax, r10d
mov r10d, edx
shr edx, 8
movzx edx, dl
movzx edx, byte [rdx + r8]
shl edx, 8
or eax, edx
movzx edx, r15b
movzx edx, byte [rdx + r8]
mov esi, dword [rsp + 0x24]
shr esi, 0x18
movzx esi, byte [r8 + rsi]
shl esi, 0x18
shr r10d, 0x10
movzx r10d, r10b
movzx r10d, byte [r10 + r8]
shl r10d, 0x10
or r10d, esi
shr r15d, 8
movzx esi, r15b
movzx esi, byte [rsi + r8]
shl esi, 8
or r10d, esi
movzx esi, bl
movzx esi, byte [rsi + r8]
or edi, r11d
or r12d, r9d
or edx, eax
or esi, r10d
cmp rcx, r13
jbe 0x4e2b8f
lea rax, [r13 + 1]
mov r8, qword [rsp + 0x68]
xor edi, dword [r8 + r13*4]
cmp rcx, rax
jbe 0x4e2b8a
lea rax, [r13 + 2]
xor r12d, dword [r8 + r13*4 + 4]
cmp rcx, rax
jbe 0x4e2b85
lea rax, [r13 + 3]
xor edx, dword [r8 + r13*4 + 8]
cmp rcx, rax
jbe 0x4e2b80
xor esi, dword [r8 + r13*4 + 0xc]
mov rcx, qword [rsp + 0x88]
nop word [rax + rax]
cmp rcx, 0xf
jbe 0x4e2b73
mov dword [rsp + 0x2c], r12d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], esi
mov rax, qword [rsp + 0x80]
mov ebx, 4
mov rcx, qword [rsp + 0x90]
call fcn.00481840
mov rax, qword [rsp + 0x80]
lea rdx, [rax + 0xc]
mov qword [rsp + 0x50], rdx
mov rcx, qword [rsp + 0x90]
lea rsi, [rcx - 0xc]
mov qword [rsp + 0x48], rsi
lea r8, [rax + 4]
lea r9, [rcx - 4]
mov ebx, 4
mov edi, dword [rsp + 0x2c]
mov rax, r8
mov rcx, r9
call fcn.00481840
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, qword [rsp + 0x90]
add rcx, 0xfffffffffffffff8
mov ebx, 4
mov edi, dword [rsp + 0x30]
call fcn.00481840
mov rax, qword [rsp + 0x50]
mov ebx, 4
mov rcx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x34]
call fcn.00481840
add rsp, 0x58
pop rbp
ret
mov eax, 0xf
call fcn.0047a0e0
nop dword [rax]
call fcn.0047a0e0
call fcn.0047a0e0
call fcn.0047a0e0
mov rax, r13
call fcn.0047a0e0
mov rax, r9
call fcn.0047a0e0
mov rax, r9
call fcn.0047a0e0
mov rax, rbx
call fcn.0047a0e0
mov rax, r13
call fcn.0047a0e0
mov eax, 3
mov rcx, rax
nop
call fcn.0047a0e0
mov eax, 2
mov rcx, rax
call fcn.0047a0e0
mov eax, 1
mov rcx, rax
call fcn.0047a0e0
xor eax, eax
mov rcx, rax
call fcn.0047a0e0
mov eax, 0xf
mov rcx, r10
call fcn.0047a0e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
call fcn.00477e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
jmp fcn.004e2660