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

Disassembly:
jmp 0x1400150d0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
lea rcx, [0x140035068]
call fcn.1400116bd
cmp qword [rbp + 0x258], 0
jne 0x14001510d
jmp 0x140015b80
cmp dword [rbp + 0x268], 0x10
je 0x14001512d
cmp dword [rbp + 0x268], 0x18
je 0x14001512d
cmp dword [rbp + 0x268], 0x20
je 0x14001512d
jmp 0x140015b80
cmp dword [rbp + 0x270], 0x10
je 0x14001514d
cmp dword [rbp + 0x270], 0x18
je 0x14001514d
cmp dword [rbp + 0x270], 0x20
je 0x14001514d
jmp 0x140015b80
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x268]
mov dword [rax + 0x3cc], ecx
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x270]
mov dword [rax + 0x3d0], ecx
mov rax, qword [rbp + 0x250]
movsxd rax, dword [rax + 0x3d0]
mov rcx, qword [rbp + 0x250]
add rcx, 0x3d8
mov r8, rax
mov rdx, qword [rbp + 0x260]
call fcn.14001135c
mov rax, qword [rbp + 0x250]
movsxd rax, dword [rax + 0x3d0]
mov rcx, qword [rbp + 0x250]
add rcx, 0x3f8
mov r8, rax
mov rdx, qword [rbp + 0x260]
call fcn.14001135c
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3cc]
mov dword [rbp + 0x214], eax
cmp dword [rbp + 0x214], 0x10
je 0x1400151f3
cmp dword [rbp + 0x214], 0x18
je 0x140015256
jmp 0x140015291
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x10
jne 0x14001520f
mov dword [rbp + 0x214], 0xa
jmp 0x140015241
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x18
jne 0x14001522b
mov dword [rbp + 0x218], 0xc
jmp 0x140015235
mov dword [rbp + 0x218], 0xe
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x214], eax
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x214]
mov dword [rax + 0x3d4], ecx
jmp 0x1400152a2
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x20
je 0x140015272
mov dword [rbp + 0x214], 0xc
jmp 0x14001527c
mov dword [rbp + 0x214], 0xe
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x214]
mov dword [rax + 0x3d4], ecx
jmp 0x1400152a2
mov rax, qword [rbp + 0x250]
mov dword [rax + 0x3d4], 0xe
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 4], eax
mov dword [rbp + 0x24], 0
jmp 0x1400152cc
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x24], eax
jg 0x14001531a
mov dword [rbp + 0x44], 0
jmp 0x1400152ef
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x140015318
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
movsxd rcx, dword [rbp + 0x44]
mov dword [rax + rcx*4], 0
jmp 0x1400152e7
jmp 0x1400152c4
mov dword [rbp + 0x24], 0
jmp 0x14001532b
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x24], eax
jg 0x14001537c
mov dword [rbp + 0x44], 0
jmp 0x14001534e
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x14001537a
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
movsxd rcx, dword [rbp + 0x44]
mov dword [rax + rcx*4], 0
jmp 0x140015346
jmp 0x140015323
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
inc eax
imul eax, dword [rbp + 4]
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x250]
add rax, 0x418
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0x24], 0
jmp 0x1400153e1
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x1400154c7
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
shl eax, 0x18
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
shl eax, 0x10
mov rcx, qword [rbp + 0xa8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
shl eax, 8
mov rcx, qword [rbp + 0xa8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
mov rcx, qword [rbp + 0xa8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xa8]
add rax, 4
mov qword [rbp + 0xa8], rax
jmp 0x1400153d9
mov dword [rbp + 0xe4], 0
mov dword [rbp + 0x44], 0
jmp 0x1400154f0
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x44], eax
jge 0x1400155dd
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x1400155dd
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x3d4]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
jmp 0x1400154da
mov dword [rbp + 0x124], 0
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x140015a65
mov eax, dword [rbp + 0x84]
dec eax
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x418]
mov dword [rbp + 0x104], eax
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rbp + 0x104]
sar ecx, 0x10
and ecx, 0xff
movsxd rcx, ecx
lea rdx, str.cw
movsx ecx, byte [rdx + rcx]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [rbp + 0x104]
sar edx, 8
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x10
xor ecx, edx
mov edx, dword [rbp + 0x104]
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 8
xor ecx, edx
mov edx, dword [rbp + 0x104]
sar edx, 0x18
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
xor ecx, edx
movsxd rdx, dword [rbp + 0x124]
lea r8, [0x1400285b0]
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x18
xor ecx, edx
mov rdx, qword [rbp + 0x250]
mov eax, dword [rdx + rax + 0x418]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx + 0x418], eax
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x84], 8
je 0x14001577d
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x44], 0
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x140015778
movsxd rax, dword [rbp + 0x24]
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x250]
mov r8, qword [rbp + 0x250]
mov ecx, dword [r8 + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
jmp 0x140015722
jmp 0x140015954
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x44], 0
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
cmp dword [rbp + 0x24], eax
jge 0x1400157e6
movsxd rax, dword [rbp + 0x24]
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x250]
mov r8, qword [rbp + 0x250]
mov ecx, dword [r8 + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
jmp 0x14001578b
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
dec eax
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x418]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
cdqe
mov ecx, dword [rbp + 0x104]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, str.cw
movsx ecx, byte [rdx + rcx]
and ecx, 0xff
mov edx, dword [rbp + 0x104]
sar edx, 8
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 8
xor ecx, edx
mov edx, dword [rbp + 0x104]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x10
xor ecx, edx
mov edx, dword [rbp + 0x104]
sar edx, 0x18
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x18
xor ecx, edx
mov rdx, qword [rbp + 0x250]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
mov dword [rbp + 0x214], eax
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rbp + 0x250]
mov edx, dword [rbp + 0x214]
mov dword [rcx + rax*4 + 0x418], edx
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x140015954
movsxd rax, dword [rbp + 0x24]
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x250]
mov r8, qword [rbp + 0x250]
mov ecx, dword [r8 + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
jmp 0x1400158fe
mov dword [rbp + 0x44], 0
jmp 0x140015973
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x44], eax
jge 0x140015a60
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x140015a60
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x3d4]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
jmp 0x14001595d
jmp 0x1400155e7
mov dword [rbp + 0x144], 1
jmp 0x140015a7f
mov eax, dword [rbp + 0x144]
inc eax
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x144], eax
jge 0x140015b75
mov dword [rbp + 0x44], 0
jmp 0x140015aa9
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x140015b70
movsxd rax, dword [rbp + 0x144]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
movsxd rcx, dword [rbp + 0x44]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1400275b0]
mov edx, dword [rbp + 0x104]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x1400279b0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x104]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140027db0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x104]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400281b0]
xor eax, dword [rdx + rcx*4]
movsxd rcx, dword [rbp + 0x144]
imul rcx, rcx, 0x20
mov rdx, qword [rbp + 0x250]
lea rcx, [rdx + rcx + 0x1ec]
movsxd rdx, dword [rbp + 0x44]
mov dword [rcx + rdx*4], eax
jmp 0x140015aa1
jmp 0x140015a71
mov rax, qword [rbp + 0x250]
mov byte [rax + 8], 1
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret