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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100df0c0]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [edx]
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], eax
push edi
lea ecx, [ebp - 0x24]
movdqu xmmword [ebp - 0x24], xmm0
lea edi, [esi + 0x154]
mov edx, edi
call fcn.1004b280
lea edx, [edi + 0x10]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [edi + 0x20]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [edi + 0x30]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [edi + 0x40]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [edi + 0x50]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [edi + 0x60]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [edi + 0x70]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [edi + 0x80]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [edi + 0x90]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [edi + 0xa0]
lea ecx, [ebp - 0x24]
call fcn.1004b280
mov eax, dword [esi]
cmp eax, 0xc
jne 0x1004b6d7
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 + 0x100b4b60]
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 + 0x100b4c60]
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x21]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 0x11], al
movzx eax, dl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 0x10], al
movzx eax, dh
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0x1e]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 0xd], al
movzx eax, bl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 0xc], al
movzx eax, bh
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x1a]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x19]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 9], al
movzx eax, cl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 8], al
movzx eax, ch
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x16]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x15]
movzx eax, byte [eax + 0x100b4a60]
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 0x1004b988
lea edx, [edi + 0xb0]
lea ecx, [ebp - 0x24]
cmp eax, 0xe
jne 0x1004b82d
call fcn.1004b040
lea edx, [edi + 0xc0]
lea ecx, [ebp - 0x24]
call fcn.1004b280
mov eax, dword [ebp - 0x18]
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 + 0x100b4b60]
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 + 0x100b4c60]
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x21]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 0x11], al
movzx eax, dl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 0x10], al
movzx eax, dh
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0x1e]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 0xd], al
movzx eax, bl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 0xc], al
movzx eax, bh
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x1a]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x19]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 9], al
movzx eax, cl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 8], al
movzx eax, ch
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x16]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x15]
movzx eax, byte [eax + 0x100b4a60]
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 0x1004b988
call fcn.1004b040
lea edx, [edi + 0xc0]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [edi + 0xd0]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [edi + 0xe0]
lea ecx, [ebp - 0x24]
call fcn.1004b280
mov eax, dword [ebp - 0x18]
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 + 0x100b4b60]
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 + 0x100b4c60]
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp - 0x21]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 0x11], al
movzx eax, dl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 0x10], al
movzx eax, dh
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 0x1e]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 0xd], al
movzx eax, bl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 0xc], al
movzx eax, bh
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x1a]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x19]
movzx eax, byte [eax + 0x100b4a60]
mov byte [ebp - 9], al
movzx eax, cl
movzx eax, byte [eax + 0x100b4b60]
mov byte [ebp - 8], al
movzx eax, ch
movzx eax, byte [eax + 0x100b4c60]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x16]
movzx eax, byte [eax + 0x100b4960]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x15]
movzx eax, byte [eax + 0x100b4a60]
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.1009bea4
mov esp, ebp
pop ebp
ret 4