Function at 0x1004b9b0
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 edx, [esi + 0x44]
call fcn.1004b280
lea edx, [esi + 0x54]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [esi + 0x64]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [esi + 0x74]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [esi + 0x84]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [esi + 0x94]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [esi + 0xa4]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [esi + 0xb4]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [esi + 0xc4]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [esi + 0xd4]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [esi + 0xe4]
lea ecx, [ebp - 0x24]
call fcn.1004b280
mov eax, dword [esi]
cmp eax, 0xc
jne 0x1004bb9e
mov eax, dword [ebp - 0x18]
xor eax, dword [esi + 0x100]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0xf4]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x20]
xor edx, dword [esi + 0xf8]
movzx eax, cl
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [esi + 0xfc]
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 [esi + 0x104]
xor dword [ebp - 0x14], eax
mov eax, dword [esi + 0x108]
xor dword [ebp - 0x10], eax
mov eax, dword [esi + 0x10c]
xor dword [ebp - 0xc], eax
mov eax, dword [esi + 0x110]
jmp 0x1004be4f
lea edx, [esi + 0xf4]
lea ecx, [ebp - 0x24]
cmp eax, 0xe
jne 0x1004bcf4
call fcn.1004b040
lea edx, [esi + 0x104]
lea ecx, [ebp - 0x24]
call fcn.1004b280
mov eax, dword [ebp - 0x18]
xor eax, dword [esi + 0x120]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x114]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x20]
xor edx, dword [esi + 0x118]
movzx eax, cl
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [esi + 0x11c]
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 [esi + 0x124]
xor dword [ebp - 0x14], eax
mov eax, dword [esi + 0x128]
xor dword [ebp - 0x10], eax
mov eax, dword [esi + 0x12c]
xor dword [ebp - 0xc], eax
mov eax, dword [esi + 0x130]
jmp 0x1004be4f
call fcn.1004b040
lea edx, [esi + 0x104]
lea ecx, [ebp - 0x24]
call fcn.1004b280
lea edx, [esi + 0x114]
lea ecx, [ebp - 0x24]
call fcn.1004b040
lea edx, [esi + 0x124]
lea ecx, [ebp - 0x24]
call fcn.1004b280
mov eax, dword [ebp - 0x18]
xor eax, dword [esi + 0x140]
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x134]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x20]
xor edx, dword [esi + 0x138]
movzx eax, cl
mov dword [ebp - 0x24], ecx
mov ebx, dword [ebp - 0x1c]
xor ebx, dword [esi + 0x13c]
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 [esi + 0x144]
xor dword [ebp - 0x14], eax
mov eax, dword [esi + 0x148]
xor dword [ebp - 0x10], eax
mov eax, dword [esi + 0x14c]
xor dword [ebp - 0xc], eax
mov eax, dword [esi + 0x150]
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