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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
sub ecx, 6
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x409c11
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jge 0x409c2b
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax + edx*4]
mov dword [ebp + ecx*4 - 0x30], edx
jmp 0x409c08
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jge 0x409ca9
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx + 0x1c]
ja 0x409ca9
jmp 0x409c67
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jge 0x409c91
cmp dword [ebp - 0x38], 4
jge 0x409c91
mov eax, dword [ebp - 0x34]
shl eax, 4
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x20]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp + ecx*4 - 0x30]
mov dword [edx + eax*4], ecx
jmp 0x409c55
cmp dword [ebp - 0x38], 4
jne 0x409ca7
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], 0
jmp 0x409c40
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + 0x1c]
ja 0x409efc
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x33]
mov cl, byte [ebp - 0x30]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x30], cl
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x32]
mov cl, byte [ebp - 0x2f]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x2f], cl
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x31]
mov cl, byte [ebp - 0x2e]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x2e], cl
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x34]
mov cl, byte [ebp - 0x2d]
xor cl, byte [eax + str.cw]
mov byte [ebp - 0x2d], cl
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0x30]
xor al, byte [edx*4 + 0x4272cc]
mov byte [ebp - 0x30], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x10], 8
je 0x409d61
mov dword [ebp - 8], 1
jmp 0x409d3d
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jge 0x409d5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + ecx*4 - 0x30]
xor eax, dword [ebp + edx*4 - 0x34]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x30], eax
jmp 0x409d34
jmp 0x409e87
mov dword [ebp - 8], 1
jmp 0x409d73
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 8], eax
jge 0x409d97
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + eax*4 - 0x30]
xor edx, dword [ebp + ecx*4 - 0x34]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x30], edx
jmp 0x409d6a
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x34]
mov cl, byte [ebp + ecx*4 - 0x30]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x30], cl
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x33]
mov cl, byte [ebp + ecx*4 - 0x2f]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x2f], cl
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x32]
mov cl, byte [ebp + ecx*4 - 0x2e]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x2e], cl
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dl, byte [ebp + eax*4 - 0x31]
mov cl, byte [ebp + ecx*4 - 0x2d]
xor cl, byte [edx + str.cw]
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
mov byte [ebp + eax*4 - 0x2d], cl
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, 1
mov dword [ebp - 8], eax
jmp 0x409e68
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jge 0x409e87
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + ecx*4 - 0x30]
xor eax, dword [ebp + edx*4 - 0x34]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x30], eax
jmp 0x409e5f
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jge 0x409ef7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [eax + 0x1c]
ja 0x409ef7
jmp 0x409eb5
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jge 0x409edf
cmp dword [ebp - 0x38], 4
jge 0x409edf
mov edx, dword [ebp - 0x34]
shl edx, 4
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x20]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [ecx + edx*4], eax
jmp 0x409ea3
cmp dword [ebp - 0x38], 4
jne 0x409ef5
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], 0
jmp 0x409e8e
jmp 0x409ca9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4