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

Disassembly:
jmp 0x140016ba0
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, [0x14004006a]
call fcn.14001193d
nop
cmp qword [rbp + 0x258], 0
jne 0x140016bde
jmp 0x140017653
cmp dword [rbp + 0x268], 0x10
je 0x140016bfe
cmp dword [rbp + 0x268], 0x18
je 0x140016bfe
cmp dword [rbp + 0x268], 0x20
je 0x140016bfe
jmp 0x140017653
cmp dword [rbp + 0x270], 0x10
je 0x140016c1e
cmp dword [rbp + 0x270], 0x18
je 0x140016c1e
cmp dword [rbp + 0x270], 0x20
je 0x140016c1e
jmp 0x140017653
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.140011460
nop
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.140011460
nop
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3cc]
mov dword [rbp + 0x214], eax
cmp dword [rbp + 0x214], 0x10
je 0x140016cc6
cmp dword [rbp + 0x214], 0x18
je 0x140016d29
jmp 0x140016d64
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x10
jne 0x140016ce2
mov dword [rbp + 0x214], 0xa
jmp 0x140016d14
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x18
jne 0x140016cfe
mov dword [rbp + 0x218], 0xc
jmp 0x140016d08
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 0x140016d75
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x20
je 0x140016d45
mov dword [rbp + 0x214], 0xc
jmp 0x140016d4f
mov dword [rbp + 0x214], 0xe
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x214]
mov dword [rax + 0x3d4], ecx
jmp 0x140016d75
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 0x140016d9f
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 0x140016ded
mov dword [rbp + 0x44], 0
jmp 0x140016dc2
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x140016deb
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 0x140016dba
jmp 0x140016d97
mov dword [rbp + 0x24], 0
jmp 0x140016dfe
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 0x140016e4f
mov dword [rbp + 0x44], 0
jmp 0x140016e21
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x140016e4d
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 0x140016e19
jmp 0x140016df6
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 0x140016eb4
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x140016f9a
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 0x140016eac
mov dword [rbp + 0xe4], 0
mov dword [rbp + 0x44], 0
jmp 0x140016fc3
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 0x1400170b0
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x1400170b0
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 0x140016fad
mov dword [rbp + 0x124], 0
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x140017538
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, [0x1400306c0]
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 0x140017250
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x44], 0
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x14001724b
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 0x1400171f5
jmp 0x140017427
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 0x1400172b9
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 0x14001725e
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 0x140017427
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 0x1400173d1
mov dword [rbp + 0x44], 0
jmp 0x140017446
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 0x140017533
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x140017533
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 0x140017430
jmp 0x1400170ba
mov dword [rbp + 0x144], 1
jmp 0x140017552
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 0x140017648
mov dword [rbp + 0x44], 0
jmp 0x14001757c
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x140017643
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, [0x14002f6c0]
mov edx, dword [rbp + 0x104]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x14002fac0]
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, [0x14002fec0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x104]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1400302c0]
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 0x140017574
jmp 0x140017544
mov rax, qword [rbp + 0x250]
mov byte [rax + 8], 1
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret