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

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
shr rcx, 2
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
xor eax, eax
jmp 0x483e32
bswap edx
mov dword [rbx + r9*4], edx
lea rax, [r9 + 1]
mov rdx, r10
mov r8, r11
cmp rax, rcx
jge 0x483e74
mov r9, rax
shl rax, 2
cmp rax, rdx
ja 0x484162
mov r10, rdx
sub rdx, rax
mov r11, r8
sub r8, rax
neg r8
sar r8, 0x3f
and rax, r8
cmp rdx, 3
jbe 0x484155
mov edx, dword [rdi + rax]
cmp r9, rsi
jb 0x483e22
jmp 0x48414a
jmp 0x483e7e
mov dword [rbx + rdi*4], r8d
lea rax, [rdi + 1]
cmp rax, rsi
jge 0x483fd9
lea rdx, [rax - 1]
cmp rdx, rsi
jae 0x48413f
mov edx, dword [rbx + rax*4 - 4]
test rcx, rcx
je 0x48413a
mov rdi, rax
mov r8d, edx
cmp rcx, 0xffffffffffffffff
je 0x483eb4
cqo
idiv rcx
jmp 0x483eb9
neg rax
xor edx, edx
test rdx, rdx
jne 0x483f5d
lea rdx, [rax - 1]
rol r8d, 8
mov r9d, r8d
shr r8d, 0x18
lea r10, str.cw
movzx r8d, byte [r8 + r10]
shl r8d, 0x18
mov r11d, r9d
shr r9d, 0x10
movzx r9d, r9b
movzx r9d, byte [r9 + r10]
shl r9d, 0x10
or r8d, r9d
mov r9d, r11d
shr r11d, 8
movzx r11d, r11b
movzx r11d, byte [r11 + r10]
shl r11d, 8
or r8d, r11d
movzx r9d, r9b
movzx r9d, byte [r9 + r10]
or r9d, r8d
cmp rdx, 0x10
jae 0x48412d
lea rdx, [0x0059e620]
movzx r8d, byte [rax + rdx - 1]
shl r8d, 0x18
xor r8d, r9d
mov rax, rdi
sub rax, rcx
cmp rax, rsi
jae 0x484125
mov r9d, dword [rbx + rax*4]
xor r8d, r9d
cmp rdi, rsi
jb 0x483e76
jmp 0x48411a
cmp rcx, 6
jle 0x483fcd
cmp rdx, 4
jne 0x483fcd
nop
mov edx, r8d
shr r8d, 0x18
lea r9, str.cw
movzx r8d, byte [r9 + r8]
shl r8d, 0x18
mov r10d, edx
shr edx, 0x10
movzx edx, dl
movzx edx, byte [rdx + r9]
shl edx, 0x10
or r8d, edx
mov edx, r10d
shr r10d, 8
movzx r10d, r10b
movzx r10d, byte [r10 + r9]
shl r10d, 8
or r8d, r10d
movzx edx, dl
movzx edx, byte [rdx + r9]
or edx, r8d
lea r10, str.cw
mov r8d, edx
lea rdx, [0x0059e620]
jmp 0x483f39
lea r9, str.cw
mov edx, r8d
jmp 0x483fb7
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x4840fd
mov rdi, qword [rsp + 0x58]
xor eax, eax
jmp 0x4840e0
mov dword [rdx + r9*4], r10d
inc r8
cmp r8, 4
jge 0x4840d9
lea r9, [r8 + rsi]
lea r9, [r9 - 4]
cmp r9, rcx
jae 0x484112
mov r9d, dword [rbx + r9*4]
test rax, rax
jle 0x4840b1
lea r10, [rax + 4]
cmp r10, rcx
jge 0x4840b1
mov r10d, r9d
shr r9d, 0x18
lea r11, str.cw
movzx r9d, byte [r11 + r9]
lea r12, [0x005a7980]
mov r9d, dword [r12 + r9*4]
mov r13d, r10d
shr r10d, 0x10
movzx r10d, r10b
movzx r10d, byte [r10 + r11]
lea r14, [0x005a7d80]
mov r10d, dword [r14 + r10*4]
xor r9d, r10d
mov r10d, r13d
shr r13d, 8
movzx r13d, r13b
movzx r13d, byte [r13 + r11]
lea r15, [0x005a8180]
mov r13d, dword [r15 + r13*4]
xor r9d, r13d
movzx r10d, r10b
movzx r10d, byte [r10 + r11]
lea r13, [0x005a8580]
mov r10d, dword [r13 + r10*4]
xor r10d, r9d
lea r9, [r8 + rax]
cmp r9, rdi
jb 0x483ff3
jmp 0x484107
lea r11, str.cw
lea r12, [0x005a7980]
lea r13, [0x005a8580]
lea r14, [0x005a7d80]
lea r15, [0x005a8180]
mov r10d, r9d
jmp 0x4840a2
add rax, 4
mov rsi, rcx
cmp rax, rsi
jge 0x4840f3
mov rcx, rsi
sub rsi, rax
xor r8d, r8d
jmp 0x483ffa
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, r9
mov rcx, rdi
call fcn.00456610
mov rax, r9
call fcn.00456610
mov rax, rdi
mov rcx, rsi
call fcn.00456610
mov rcx, rsi
call fcn.00456610
mov rax, rdx
mov ecx, 0x10
call fcn.00456610
call fcn.0042c3a0
mov rax, rdx
mov rcx, rsi
call fcn.00456610
mov rax, r9
mov rcx, rsi
call fcn.00456610
mov eax, 3
mov rcx, rdx
call fcn.00456610
mov rcx, rdx
call fcn.00456670
nop
int3