Function at 0x10005240
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
push ebx
push ecx
mov esi, dword [ebp + 8]
mov edi, 0x10019c48
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
mov esi, dword [0x10019e48]
shr esi, 1
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0x1c]
mov dword [ebp - 0x20], eax
add edi, 0x20
dec esi
je 0x1000550a
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10002508]
mov ebx, dword [ebx*4 + 0x10002908]
mov ecx, dword [ecx*4 + 0x10002d08]
mov edx, dword [edx*4 + 0x10003108]
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x10005284
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10003508]
mov ebx, dword [ebx*4 + 0x10003508]
mov ecx, dword [ecx*4 + 0x10003508]
mov edx, dword [edx*4 + 0x10003508]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi]
bswap eax
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10003508]
mov ebx, dword [ebx*4 + 0x10003508]
mov ecx, dword [ecx*4 + 0x10003508]
mov edx, dword [edx*4 + 0x10003508]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 4]
bswap eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10003508]
mov ebx, dword [ebx*4 + 0x10003508]
mov ecx, dword [ecx*4 + 0x10003508]
mov edx, dword [edx*4 + 0x10003508]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 8]
bswap eax
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
shr eax, 0x18
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
and ecx, 0xff
and edx, 0xff
mov eax, dword [eax*4 + 0x10003508]
mov ebx, dword [ebx*4 + 0x10003508]
mov ecx, dword [ecx*4 + 0x10003508]
mov edx, dword [edx*4 + 0x10003508]
and eax, 0xff000000
and ebx, 0xff0000
and ecx, 0xff00
and edx, 0xff
xor eax, ebx
xor eax, ecx
xor eax, edx
xor eax, dword [edi + 0xc]
bswap eax
mov dword [esi + 0xc], eax
pop ecx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8