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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6c0bc0]
xor eax, dword [ebp + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x3c], ecx
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x40]
sub eax, 6
mov dword [ebp - 4], eax
and dword [ebp - 0x38], 0
jmp 0x53e936
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 4]
jge 0x53e950
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx*4]
mov dword [ebp + eax*4 - 0x2c], ecx
jmp 0x53e92f
and dword [ebp - 0x30], 0
and dword [ebp - 0x34], 0
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 4]
jge 0x53e9bc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x40]
jg 0x53e9bc
jmp 0x53e97f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 4]
jge 0x53e9a9
cmp dword [ebp - 0x34], 4
jge 0x53e9a9
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x44]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov edx, dword [ebp + edx*4 - 0x2c]
mov dword [eax + ecx*4], edx
jmp 0x53e971
cmp dword [ebp - 0x34], 4
jne 0x53e9ba
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
and dword [ebp - 0x34], 0
jmp 0x53e95c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x40]
jg 0x53ec12
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax*4 - 0x2f]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp - 0x2c]
xor ecx, eax
mov byte [ebp - 0x2c], cl
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax*4 - 0x2e]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp - 0x2b]
xor ecx, eax
mov byte [ebp - 0x2b], cl
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax*4 - 0x2d]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp - 0x2a]
xor ecx, eax
mov byte [ebp - 0x2a], cl
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax*4 - 0x30]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp - 0x29]
xor ecx, eax
mov byte [ebp - 0x29], cl
movzx eax, byte [ebp - 0x2c]
mov ecx, dword [ebp - 8]
xor eax, dword [ecx*4 + 0x6bcef0]
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 8
je 0x53ea7d
mov dword [ebp - 0x38], 1
jmp 0x53ea59
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 4]
jge 0x53ea78
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x2c]
xor eax, dword [ebp + ecx*4 - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [ebp + ecx*4 - 0x2c], eax
jmp 0x53ea52
jmp 0x53eba9
mov dword [ebp - 0x38], 1
jmp 0x53ea8d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x38], eax
jge 0x53eab1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x2c]
xor eax, dword [ebp + ecx*4 - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [ebp + ecx*4 - 0x2c], eax
jmp 0x53ea86
mov eax, dword [ebp - 4]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
movzx eax, byte [ebp + eax*4 - 0x30]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp + ecx*4 - 0x2c]
xor ecx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x2c], cl
mov eax, dword [ebp - 4]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
movzx eax, byte [ebp + eax*4 - 0x2f]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp + ecx*4 - 0x2b]
xor ecx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x2b], cl
mov eax, dword [ebp - 4]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
movzx eax, byte [ebp + eax*4 - 0x2e]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp + ecx*4 - 0x2a]
xor ecx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x2a], cl
mov eax, dword [ebp - 4]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
movzx eax, byte [ebp + eax*4 - 0x2d]
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ebp + ecx*4 - 0x29]
xor ecx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x29], cl
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
inc eax
mov dword [ebp - 0x38], eax
jmp 0x53eb8a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 4]
jge 0x53eba9
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x2c]
xor eax, dword [ebp + ecx*4 - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [ebp + ecx*4 - 0x2c], eax
jmp 0x53eb83
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 4]
jge 0x53ec0d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x40]
jg 0x53ec0d
jmp 0x53ebd0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 4]
jge 0x53ebfa
cmp dword [ebp - 0x34], 4
jge 0x53ebfa
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax + 0x44]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov edx, dword [ebp + edx*4 - 0x2c]
mov dword [eax + ecx*4], edx
jmp 0x53ebc2
cmp dword [ebp - 0x34], 4
jne 0x53ec0b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
and dword [ebp - 0x34], 0
jmp 0x53ebad
jmp 0x53e9bc
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp + 4]
call fcn.0058cc82
leave
ret 4