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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x103c4120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
movdqu xmm0, xmmword [eax]
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
lea edi, [esi + 0x44]
push edi
push eax
movdqu xmmword [ebp - 0x24], xmm0
call fcn.10002930
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100026f0
lea eax, [edi + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
lea eax, [edi + 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100026f0
lea eax, [edi + 0x40]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
lea eax, [edi + 0x50]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100026f0
lea eax, [edi + 0x60]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100026f0
add esp, 0x40
lea eax, [edi + 0x80]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
lea eax, [edi + 0x90]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100026f0
lea eax, [edi + 0xa0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
mov eax, dword [esi]
add esp, 0x18
cmp eax, 0xc
jne 0x10003262
mov eax, dword [ebp - 0x18]
xor eax, dword [edi + 0xbc]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [edi + 0xb0]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x20]
xor edx, dword [edi + 0xb4]
movzx eax, cl
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [edi + 0xb8]
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0x14], al
movzx eax, ch
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x21]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 0x11], al
movzx eax, dl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0x10], al
movzx eax, dh
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0x1e]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 0xd], al
movzx eax, bl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0xc], al
movzx eax, bh
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x1a]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x19]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 9], al
movzx eax, cl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 8], al
movzx eax, ch
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x16]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x15]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 5], al
mov eax, dword [edi + 0xc0]
xor dword [ebp - 0x14], eax
mov eax, dword [edi + 0xc4]
xor dword [ebp - 0x10], eax
mov eax, dword [edi + 0xc8]
xor dword [ebp - 0xc], eax
mov eax, dword [edi + 0xcc]
jmp 0x10003523
cmp eax, 0xe
lea eax, [edi + 0xb0]
push eax
lea eax, [ebp - 0x24]
push eax
jne 0x100033bf
call fcn.100026f0
lea eax, [edi + 0xc0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
mov eax, dword [ebp - 0x18]
add esp, 0x10
xor eax, dword [edi + 0xdc]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [edi + 0xd0]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x20]
xor edx, dword [edi + 0xd4]
movzx eax, cl
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [edi + 0xd8]
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0x14], al
movzx eax, ch
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x21]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 0x11], al
movzx eax, dl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0x10], al
movzx eax, dh
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0x1e]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 0xd], al
movzx eax, bl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0xc], al
movzx eax, bh
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x1a]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x19]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 9], al
movzx eax, cl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 8], al
movzx eax, ch
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x16]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x15]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 5], al
mov eax, dword [edi + 0xe0]
xor dword [ebp - 0x14], eax
mov eax, dword [edi + 0xe4]
xor dword [ebp - 0x10], eax
mov eax, dword [edi + 0xe8]
xor dword [ebp - 0xc], eax
mov eax, dword [edi + 0xec]
jmp 0x10003523
call fcn.100026f0
lea eax, [edi + 0xc0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
lea eax, [edi + 0xd0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100026f0
lea eax, [edi + 0xe0]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002930
mov eax, dword [ebp - 0x18]
add esp, 0x20
xor eax, dword [edi + 0xfc]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [edi + 0xf0]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x20]
xor edx, dword [edi + 0xf4]
movzx eax, cl
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [edi + 0xf8]
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0x14], al
movzx eax, ch
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x21]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 0x11], al
movzx eax, dl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0x10], al
movzx eax, dh
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0x1e]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 0xd], al
movzx eax, bl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 0xc], al
movzx eax, bh
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x1a]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x19]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 9], al
movzx eax, cl
movzx eax, byte [eax + 0x101d8348]
mov byte [ebp - 8], al
movzx eax, ch
movzx eax, byte [eax + 0x101d8448]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x16]
movzx eax, byte [eax + 0x101d8148]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x15]
movzx eax, byte [eax + 0x101d8248]
mov byte [ebp - 5], al
mov eax, dword [edi + 0x100]
xor dword [ebp - 0x14], eax
mov eax, dword [edi + 0x104]
xor dword [ebp - 0x10], eax
mov eax, dword [edi + 0x108]
xor dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10c]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
movdqu xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
movdqu xmmword [eax], xmm0
pop ebx
call fcn.101c6a5b
mov esp, ebp
pop ebp
ret