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

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x41358a
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41358a
mov eax, dword [edi + 0xa0]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0xa4]
push 0x441988
xor edx, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 4], edx
mov edx, dword [edi + 0xa8]
xor eax, edx
push esi
mov dword [esi + 8], eax
mov eax, dword [edi + 0xac]
xor ecx, eax
mov dword [esi + 0xc], ecx
call fcn.004135a0
mov ecx, dword [edi + 0x90]
mov edx, dword [esi]
mov eax, dword [esi + 4]
xor edx, ecx
mov ecx, dword [esi + 8]
mov dword [esi], edx
mov edx, dword [edi + 0x94]
push esi
xor eax, edx
mov dword [esi + 4], eax
mov eax, dword [edi + 0x98]
xor ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x9c]
xor eax, ecx
mov dword [esi + 0xc], eax
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov edx, dword [edi + 0x80]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor eax, edx
mov edx, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [edi + 0x84]
push esi
xor ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x88]
xor edx, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edx
mov edx, dword [edi + 0x8c]
xor ecx, edx
mov dword [esi + 0xc], ecx
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov eax, dword [edi + 0x70]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0x74]
push esi
xor edx, ecx
mov dword [esi + 4], edx
mov edx, dword [edi + 0x78]
xor eax, edx
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x7c]
xor edx, eax
mov dword [esi + 0xc], edx
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov ecx, dword [edi + 0x60]
mov edx, dword [esi]
mov eax, dword [esi + 4]
xor edx, ecx
mov ecx, dword [esi + 8]
mov dword [esi], edx
mov edx, dword [edi + 0x64]
push esi
xor eax, edx
mov dword [esi + 4], eax
mov eax, dword [edi + 0x68]
xor ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x6c]
xor eax, ecx
mov dword [esi + 0xc], eax
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov edx, dword [edi + 0x50]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor eax, edx
mov edx, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [edi + 0x54]
push esi
xor ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x58]
xor edx, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edx
mov edx, dword [edi + 0x5c]
xor ecx, edx
mov dword [esi + 0xc], ecx
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov eax, dword [edi + 0x40]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0x44]
add esp, 0x44
xor edx, ecx
mov dword [esi + 4], edx
mov edx, dword [edi + 0x48]
xor eax, edx
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x4c]
xor edx, eax
push esi
mov dword [esi + 0xc], edx
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov ecx, dword [edi + 0x30]
mov edx, dword [esi]
mov eax, dword [esi + 4]
xor edx, ecx
mov ecx, dword [esi + 8]
mov dword [esi], edx
mov edx, dword [edi + 0x34]
xor eax, edx
mov dword [esi + 4], eax
mov eax, dword [edi + 0x38]
xor ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x3c]
xor eax, ecx
mov dword [esi + 0xc], eax
push esi
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov edx, dword [edi + 0x20]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor eax, edx
mov edx, dword [esi + 8]
mov dword [esi], eax
mov eax, dword [edi + 0x24]
push esi
xor ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x28]
xor edx, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edx
mov edx, dword [edi + 0x2c]
xor ecx, edx
mov dword [esi + 0xc], ecx
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov eax, dword [edi + 0x10]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0x14]
push esi
xor edx, ecx
mov dword [esi + 4], edx
mov edx, dword [edi + 0x18]
xor eax, edx
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
xor edx, eax
mov dword [esi + 0xc], edx
call fcn.00413660
push 0x441988
push esi
call fcn.004135a0
mov ecx, dword [edi]
mov edx, dword [esi]
mov eax, dword [esi + 4]
xor edx, ecx
mov ecx, dword [esi + 8]
mov dword [esi], edx
mov edx, dword [edi + 4]
add esp, 0x30
xor eax, edx
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
xor ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0xc]
xor eax, ecx
pop edi
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
ret
pop edi
mov eax, 1
pop esi
ret