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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x100265e1
mov edx, dword [str.Object_not_Initialized]
push edx
lea ecx, [ebp - 0x44]
call fcn.10001ce0
push 0x1010797c
lea eax, [ebp - 0x44]
push eax
call fcn.1004ddeb
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x3cc], 0x10
jne 0x10026602
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.100258a0
jmp 0x100269b5
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jne 0x10026626
mov dword [ebp - 0x2c], 0
jmp 0x10026642
cmp dword [ebp - 0xc], 6
jne 0x10026635
mov dword [ebp - 0x28], 1
jmp 0x1002663c
mov dword [ebp - 0x28], 2
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
shl ecx, 5
mov edx, 8
shl edx, 0
lea eax, [ecx + edx + 0x100fd9f0]
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [eax + edx]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
shl ecx, 5
mov edx, 8
shl edx, 1
lea eax, [ecx + edx + 0x100fd9f0]
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [eax + edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x24]
shl ecx, 5
mov edx, 8
imul eax, edx, 3
lea ecx, [ecx + eax + 0x100fd9f0]
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 8]
add edx, 0x454
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x100266ce
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jge 0x10026775
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
shl eax, 0x18
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
shl ecx, 0x10
mov edx, dword [ebp - 0x14]
or ecx, dword [edx]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
shl eax, 8
mov ecx, dword [ebp - 0x14]
or eax, dword [ecx]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x18]
or eax, dword [ecx]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
mov edx, 0x20
imul eax, edx, 0
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
xor eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x100266c5
mov dword [ebp - 0x1c], 1
jmp 0x10026787
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x3d0]
jge 0x1002688a
mov dword [ebp - 4], 0
jmp 0x100267ab
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x10026862
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x454]
sar ecx, 0x18
and ecx, 0xff
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x454]
sar edx, 0x10
and edx, 0xff
mov ecx, dword [ecx*4 + 0x10100870]
xor ecx, dword [edx*4 + 0x100fd5f0]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x454]
sar edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x100ff350]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [eax + edx*4 + 0x454]
and edx, 0xff
xor ecx, dword [edx*4 + 0x100fe750]
mov eax, dword [ebp - 0x1c]
shl eax, 5
mov edx, dword [ebp - 8]
lea eax, [edx + eax + 8]
mov edx, dword [ebp - 4]
xor ecx, dword [eax + edx*4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + eax*4 + 0x434], ecx
jmp 0x100267a2
mov eax, dword [ebp - 0xc]
shl eax, 2
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x434
push ecx
mov edx, dword [ebp - 8]
add edx, 0x454
push edx
call fcn.1004b030
add esp, 0xc
jmp 0x1002677e
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
jmp 0x100268a3
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jge 0x100269b5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3d0]
shl eax, 5
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4 + 0x454]
sar ecx, 0x18
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov eax, dword [ebp - 0x20]
sar eax, 0x18
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov byte [ecx], dl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4 + 0x454]
sar ecx, 0x10
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov eax, dword [ebp - 0x20]
sar eax, 0x10
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov byte [ecx], dl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4 + 0x454]
sar ecx, 8
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
mov eax, dword [ebp - 0x20]
sar eax, 8
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x10]
mov byte [ecx], dl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x38]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4 + 0x454]
and ecx, 0xff
movsx edx, byte [ecx + str.cw]
xor edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x1002689a
mov esp, ebp
pop ebp
ret 8