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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x1c]
mov ebx, dword [edi + 0x18]
xor ecx, dword [eax]
xor edx, dword [eax + 0xc]
xor ebx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 0x14]
add edi, 0x20
xor ecx, dword [eax + 4]
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x14], ecx
shr ecx, 0x18
mov eax, dword [eax*4 + 0x45f340]
xor eax, dword [ecx*4 + 0x45fb40]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x45f740]
movzx eax, bl
xor ecx, dword [eax*4 + 0x45ef40]
mov eax, ebx
xor ecx, dword [edi + 8]
mov dword [ebp + 8], ecx
mov ecx, edx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x45fb40]
xor ecx, dword [eax*4 + 0x45f740]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x45f340]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x45ef40]
xor ecx, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov ecx, ebx
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
shr ebx, 8
mov ecx, dword [ecx*4 + 0x45fb40]
xor ecx, dword [eax*4 + 0x45f740]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x45f340]
movzx eax, dl
shr edx, 0x10
xor ecx, dword [eax*4 + 0x45ef40]
xor ecx, dword [edi + 0xc]
mov dword [ebp - 4], ecx
movzx ecx, dl
movzx eax, bl
mov ecx, dword [ecx*4 + 0x45f740]
xor ecx, dword [eax*4 + 0x45f340]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45fb40]
mov eax, dword [ebp - 0x14]
movzx eax, al
jmp 0x4334b5
shr eax, 8
movzx eax, al
mov ebx, dword [ebp + 8]
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x45fb40]
xor ecx, dword [eax*4 + 0x45f340]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x45f740]
movzx eax, bl
xor ecx, dword [eax*4 + 0x45ef40]
xor ecx, dword [edi + 0x18]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
mov edx, dword [eax*4 + 0x45f340]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor edx, dword [ecx*4 + 0x45fb40]
xor edx, dword [eax*4 + 0x45f740]
mov eax, dword [ebp - 8]
movzx eax, al
xor edx, dword [eax*4 + 0x45ef40]
xor edx, dword [edi + 0x10]
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx ecx, al
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov eax, edx
shr eax, 8
mov ebx, dword [ecx*4 + 0x45f740]
mov ecx, dword [ebp + 8]
movzx eax, al
shr edx, 0x18
mov dword [ebp - 8], edx
xor ebx, dword [eax*4 + 0x45f340]
mov eax, ecx
shr eax, 0x18
shr ecx, 8
xor ebx, dword [eax*4 + 0x45fb40]
mov eax, dword [ebp - 4]
movzx eax, al
xor ebx, dword [eax*4 + 0x45ef40]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
xor ebx, dword [edi + 0x1c]
mov edx, dword [eax*4 + 0x45f740]
mov eax, dword [ebp - 8]
xor edx, dword [eax*4 + 0x45fb40]
movzx eax, cl
xor edx, dword [eax*4 + 0x45f340]
mov eax, dword [ebp - 0xc]
movzx eax, al
xor edx, dword [eax*4 + 0x45ef40]
mov eax, ebx
xor edx, dword [edi + 0x14]
add edi, 0x20
shr eax, 8
mov ecx, edx
movzx eax, al
shr ecx, 0x18
mov eax, dword [eax*4 + 0x45f340]
xor eax, dword [ecx*4 + 0x45fb40]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x45f740]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x45ef40]
xor ecx, dword [edi + 8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, ebx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x45fb40]
xor ecx, dword [eax*4 + 0x45f740]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x45f340]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x45ef40]
mov eax, edx
xor ecx, dword [edi]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
shr eax, 0x10
shr ecx, 0x18
movzx eax, al
mov ecx, dword [ecx*4 + 0x45fb40]
xor ecx, dword [eax*4 + 0x45f740]
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x45f340]
movzx eax, bl
shr ebx, 0x10
xor ecx, dword [eax*4 + 0x45ef40]
xor ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
shr eax, 8
movzx eax, al
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x45f740]
xor ecx, dword [eax*4 + 0x45f340]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x45fb40]
movzx eax, dl
xor ecx, dword [eax*4 + 0x45ef40]
xor ecx, dword [edi + 4]
dec dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jne 0x4332d1
shr eax, 0x18
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, ebx
xor ecx, dword [edi + 0x10]
shr eax, 0x18
mov dword [esi], ecx
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp - 0xc]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [edi + 0x14]
shr eax, 0x18
mov dword [esi + 4], ecx
movzx ecx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl ecx, 8
shr ebx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
shr edx, 0x18
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [edi + 0x18]
shr eax, 0x10
mov dword [esi + 8], ecx
movzx ecx, byte [edx + str.cw]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
movzx eax, al
movzx eax, byte [eax + str.cw]
or ecx, eax
xor ecx, dword [edi + 0x1c]
pop edi
mov dword [esi + 0xc], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret