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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x1c]
sub ecx, 6
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
jmp 0x10001f20
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jge 0x10001f3a
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx*4]
mov dword [ebp + ecx*4 - 0x28], edx
jmp 0x10001f17
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jge 0x10001fb8
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x1c]
ja 0x10001fb8
jmp 0x10001f76
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x2c]
jge 0x10001fa0
cmp dword [ebp - 8], 4
jge 0x10001fa0
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, dword [ebp - 0x38]
lea edx, [eax + ecx + 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebp + ecx*4 - 0x28]
mov dword [edx + eax*4], ecx
jmp 0x10001f64
cmp dword [ebp - 8], 4
jne 0x10001fb6
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
jmp 0x10001f4f
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x1c]
ja 0x1000220b
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x2b]
mov cl, byte [ebp - 0x28]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x28], cl
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x2a]
mov cl, byte [ebp - 0x27]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x27], cl
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x29]
mov cl, byte [ebp - 0x26]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x26], cl
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x2c]
mov cl, byte [ebp - 0x25]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x25], cl
mov edx, dword [ebp - 0x34]
mov al, byte [ebp - 0x28]
xor al, byte [edx*4 + 0x1002b364]
mov byte [ebp - 0x28], al
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x2c], 8
je 0x10002070
mov dword [ebp - 0x30], 1
jmp 0x1000204c
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jge 0x1000206b
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + ecx*4 - 0x28]
xor eax, dword [ebp + edx*4 - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + ecx*4 - 0x28], eax
jmp 0x10002043
jmp 0x10002196
mov dword [ebp - 0x30], 1
jmp 0x10002082
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x30], eax
jge 0x100020a6
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + eax*4 - 0x28]
xor edx, dword [ebp + ecx*4 - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x28], edx
jmp 0x10002079
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x2c]
mov cl, byte [ebp + ecx*4 - 0x28]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x28], cl
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x2b]
mov cl, byte [ebp + ecx*4 - 0x27]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x27], cl
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x2a]
mov cl, byte [ebp + ecx*4 - 0x26]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x26], cl
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x29]
mov cl, byte [ebp + ecx*4 - 0x25]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x25], cl
mov eax, dword [ebp - 0x2c]
cdq
sub eax, edx
sar eax, 1
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x10002177
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jge 0x10002196
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + ecx*4 - 0x28]
xor eax, dword [ebp + edx*4 - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + ecx*4 - 0x28], eax
jmp 0x1000216e
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x2c]
jge 0x10002206
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x1c]
ja 0x10002206
jmp 0x100021c4
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x2c]
jge 0x100021ee
cmp dword [ebp - 8], 4
jge 0x100021ee
mov edx, dword [ebp - 4]
shl edx, 4
mov eax, dword [ebp - 0x38]
lea ecx, [edx + eax + 0x20]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ecx + edx*4], eax
jmp 0x100021b2
cmp dword [ebp - 8], 4
jne 0x10002204
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
jmp 0x1000219d
jmp 0x10001fb8
mov esp, ebp
pop ebp
ret 4