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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e320c
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 0x4e31fe
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 + 0x24], 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 + 0x28], 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 + 0x2c], 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 0x4e31f4
mov edx, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x68]
xor edx, dword [rsi]
cmp rcx, 1
jbe 0x4e31e7
mov r8d, dword [rsp + 0x28]
xor r8d, dword [rsi + 4]
cmp rcx, 2
jbe 0x4e31da
mov r9d, dword [rsp + 0x2c]
xor r9d, dword [rsi + 8]
nop word [rax + rax]
cmp rcx, 3
jbe 0x4e31cd
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 0x4e2e40
shr r8d, 0x18
movzx ebx, r8b
mov ebx, dword [r12 + rbx*4]
xor ebx, dword [rsi + r13*4 + 0xc]
shr r11d, 0x10
movzx r8d, r11b
xor ebx, dword [r10 + r8*4]
shr edi, 8
movzx edi, dil
xor ebx, dword [rdx + rdi*4]
mov r15d, dword [rsp + 0x38]
movzx r15d, r15b
mov rdi, r15
mov r15, qword [rsp + 0x40]
dec r15
mov r8, r15
lea r15, [0x00923f60]
xor ebx, dword [r15 + rdi*4]
add r13, 4
mov edi, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x24]
mov r10, r8
mov edx, r9d
mov r9d, eax
mov r8d, edi
mov edi, ebx
mov r11d, r9d
mov r12d, r8d
mov eax, edi
mov ebx, edx
nop dword [rax + rax]
test r10, r10
jle 0x4e2f5b
cmp rcx, r13
jbe 0x4e31c5
mov qword [rsp + 0x40], r10
mov r11d, edx
shr edx, 0x18
movzx edx, dl
lea r12, [0x00923360]
mov edx, dword [r12 + rdx*4]
xor edx, dword [rsi + r13*4]
mov r15d, eax
shr eax, 0x10
movzx eax, al
lea r10, [0x00923760]
xor edx, dword [r10 + rax*4]
mov eax, r9d
shr r9d, 8
movzx r9d, r9b
mov edi, r15d
lea r15, [0x00923b60]
xor edx, dword [r15 + r9*4]
movzx r9d, r8b
lea rbx, [r13 + 1]
lea r15, [0x00923f60]
xor edx, dword [r15 + r9*4]
cmp rcx, rbx
jbe 0x4e31bd
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x3c], edi
mov r9d, r8d
shr r8d, 0x18
movzx r8d, r8b
mov r8d, dword [r12 + r8*4]
xor r8d, dword [rsi + r13*4 + 4]
mov ebx, r11d
shr r11d, 0x10
movzx r11d, r11b
xor r8d, dword [r10 + r11*4]
shr edi, 8
movzx edi, dil
lea rdx, [0x00923b60]
xor r8d, dword [rdx + rdi*4]
movzx edi, al
lea r11, [r13 + 2]
xor r8d, dword [r15 + rdi*4]
cmp rcx, r11
jbe 0x4e31b5
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x38], ebx
mov r11d, eax
shr eax, 0x18
movzx eax, al
mov eax, dword [r12 + rax*4]
xor eax, dword [rsi + r13*4 + 8]
mov edi, r9d
shr r9d, 0x10
movzx r9d, r9b
xor eax, dword [r10 + r9*4]
shr ebx, 8
movzx ebx, bl
xor eax, dword [rdx + rbx*4]
mov r8d, dword [rsp + 0x3c]
movzx ebx, r8b
lea r9, [r13 + 3]
xor eax, dword [r15 + rbx*4]
cmp rcx, r9
ja 0x4e2dca
jmp 0x4e31ad
mov dword [rsp + 0x34], r12d
mov edx, ebx
shr ebx, 0x18
lea r8, [0x00920080]
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, r12d
shr r12d, 0x18
movzx r12d, byte [r12 + r8]
shl r12d, 0x18
mov eax, edx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [rdx + r8]
shl edx, 0x10
or edx, r12d
mov r12d, r10d
shr r10d, 8
movzx r10d, r10b
movzx r10d, byte [r10 + r8]
shl r10d, 8
or edx, r10d
movzx r10d, r9b
movzx r10d, byte [r10 + r8]
mov ebx, r9d
shr r9d, 0x18
movzx r9d, byte [r8 + r9]
shl r9d, 0x18
shr r15d, 0x10
movzx r15d, r15b
movzx r15d, byte [r15 + r8]
shl r15d, 0x10
or r9d, r15d
mov r15d, eax
shr eax, 8
movzx eax, al
movzx eax, byte [rax + r8]
shl eax, 8
or r9d, eax
movzx eax, r12b
movzx eax, byte [rax + r8]
shr r12d, 0x18
movzx r12d, byte [r8 + r12]
shl r12d, 0x18
shr ebx, 0x10
movzx ebx, bl
movzx ebx, byte [rbx + r8]
shl ebx, 0x10
or ebx, r12d
mov r12d, dword [rsp + 0x34]
shr r12d, 8
movzx r12d, r12b
movzx r12d, byte [r12 + r8]
shl r12d, 8
or ebx, r12d
movzx r12d, r15b
movzx r8d, byte [r12 + r8]
or edi, r11d
or r10d, edx
or eax, r9d
or r8d, ebx
nop word [rax + rax]
cmp rcx, r13
jbe 0x4e31a5
lea rdx, [r13 + 1]
xor edi, dword [rsi + r13*4]
cmp rcx, rdx
jbe 0x4e319d
lea rdx, [r13 + 2]
xor r10d, dword [rsi + r13*4 + 4]
cmp rcx, rdx
jbe 0x4e3195
lea rdx, [r13 + 3]
xor eax, dword [rsi + r13*4 + 8]
cmp rcx, rdx
jbe 0x4e318d
xor r8d, dword [rsi + r13*4 + 0xc]
mov rcx, qword [rsp + 0x88]
cmp rcx, 0xf
jbe 0x4e3183
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], r8d
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 + 0x28]
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 + 0x2c]
nop dword [rax]
call fcn.00481840
mov rax, qword [rsp + 0x50]
mov ebx, 4
mov rcx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
call fcn.00481840
add rsp, 0x58
pop rbp
ret
mov eax, 0xf
call fcn.0047a0e0
mov rax, rdx
call fcn.0047a0e0
mov rax, rdx
call fcn.0047a0e0
mov rax, rdx
call fcn.0047a0e0
mov rax, r13
call fcn.0047a0e0
mov rax, r9
call fcn.0047a0e0
mov rax, r11
call fcn.0047a0e0
mov rax, rbx
call fcn.0047a0e0
mov rax, r13
call fcn.0047a0e0
mov eax, 3
mov rcx, rax
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.004e2c60