Function at 0x47d4b0
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [eax + 0xf0], 0xa
push eax
call fcn.0047a380
mov ecx, dword [ebp + 0xc]
add esp, 8
movzx eax, byte [ecx + 0xd]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
movzx eax, byte [eax + str.cw]
xor al, 1
mov byte [ecx + 0x10], al
movzx eax, byte [ecx + 0xe]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 0x11], al
movzx eax, byte [ecx + 0xf]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 0x12], al
movzx eax, byte [ecx + 0xc]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 0x13], al
mov esi, dword [ecx + 0x10]
xor esi, dword [ecx]
mov eax, dword [ecx + 0xc]
xor edi, esi
xor ebx, edi
mov dword [ecx + 0x14], edi
xor eax, ebx
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x1c], eax
mov edx, eax
mov dword [ebp - 4], eax
mov dword [ecx + 0x18], ebx
mov ecx, eax
shr eax, 8
movzx eax, al
mov dword [ebp - 8], edi
mov edi, dword [ebp + 0xc]
shr ecx, 0x10
movzx eax, byte [eax + str.cw]
xor al, 2
shr edx, 0x18
mov byte [edi + 0x20], al
movzx eax, cl
mov ecx, edi
movzx eax, byte [eax + str.cw]
mov byte [ecx + 0x21], al
movzx eax, byte [edx + str.cw]
mov edx, edi
mov byte [ecx + 0x22], al
mov ecx, dword [ebp - 4]
movzx eax, cl
movzx eax, byte [eax + str.cw]
mov byte [edx + 0x23], al
mov eax, edx
mov edx, dword [eax + 0x20]
xor edx, esi
mov esi, edx
mov dword [eax + 0x20], edx
xor esi, dword [ebp - 8]
mov dword [eax + 0x24], esi
mov edi, esi
xor edi, ebx
mov dword [eax + 0x28], edi
mov ebx, edi
xor ebx, ecx
mov ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ecx + 0x2c], ebx
movzx eax, byte [eax + str.cw]
xor al, 4
mov byte [ecx + 0x30], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [ecx + 0x31], al
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [ecx + 0x32], al
movzx eax, bl
movzx eax, byte [eax + str.cw]
mov byte [ecx + 0x33], al
mov ecx, dword [ecx + 0x30]
mov eax, dword [ebp + 0xc]
xor ecx, edx
mov edx, ecx
xor edx, esi
mov esi, edx
mov dword [eax + 0x30], ecx
xor esi, edi
mov edi, eax
mov dword [eax + 0x34], edx
mov eax, esi
xor eax, ebx
mov dword [ebp - 8], eax
mov dword [edi + 0x3c], eax
shr eax, 8
mov ebx, dword [ebp - 8]
movzx eax, al
mov dword [edi + 0x38], esi
movzx eax, byte [eax + str.cw]
xor al, 8
mov byte [edi + 0x40], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [edi + 0x41], al
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [edi + 0x42], al
movzx eax, bl
movzx eax, byte [eax + str.cw]
mov byte [edi + 0x43], al
mov edi, dword [edi + 0x40]
mov eax, dword [ebp + 0xc]
xor edi, ecx
mov ecx, edi
xor ecx, edx
mov edx, ecx
mov dword [eax + 0x40], edi
xor edx, esi
mov esi, eax
mov dword [eax + 0x44], ecx
mov eax, edx
xor eax, ebx
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [esi + 0x4c], eax
shr eax, 8
movzx eax, al
mov dword [esi + 0x48], edx
movzx eax, byte [eax + str.cw]
xor al, 0x10
mov byte [esi + 0x50], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [esi + 0x51], al
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [esi + 0x52], al
movzx eax, bl
movzx eax, byte [eax + str.cw]
mov byte [esi + 0x53], al
mov esi, dword [esi + 0x50]
mov eax, dword [ebp + 0xc]
xor esi, edi
mov edi, esi
xor edi, ecx
mov dword [eax + 0x50], esi
mov dword [eax + 0x54], edi
mov ecx, edi
xor ecx, edx
mov dword [eax + 0x58], ecx
mov edx, ecx
xor edx, ebx
mov ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebx + 0x5c], edx
movzx eax, byte [eax + str.cw]
xor al, 0x20
mov byte [ebx + 0x60], al
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [ebx + 0x61], al
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [ebx + 0x62], al
movzx eax, dl
movzx eax, byte [eax + str.cw]
mov byte [ebx + 0x63], al
mov ebx, dword [ebx + 0x60]
mov eax, dword [ebp + 0xc]
xor ebx, esi
mov esi, ebx
xor esi, edi
mov edi, esi
mov dword [eax + 0x60], ebx
xor edi, ecx
mov dword [eax + 0x64], esi
mov ecx, edi
mov dword [eax + 0x68], edi
xor ecx, edx
mov edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [edx + 0x6c], ecx
movzx eax, byte [eax + str.cw]
xor al, 0x40
mov byte [edx + 0x70], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [edx + 0x71], al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [edx + 0x72], al
movzx eax, cl
movzx eax, byte [eax + str.cw]
mov byte [edx + 0x73], al
mov edx, dword [edx + 0x70]
mov eax, dword [ebp + 0xc]
xor edx, ebx
mov ebx, edx
xor ebx, esi
mov esi, ebx
mov dword [eax + 0x70], edx
xor esi, edi
mov edi, eax
mov dword [eax + 0x74], ebx
mov eax, esi
xor eax, ecx
mov dword [ebp - 8], eax
mov ecx, eax
mov dword [edi + 0x7c], eax
shr eax, 8
movzx eax, al
mov dword [edi + 0x78], esi
movzx eax, byte [eax + str.cw]
xor al, 0x80
mov byte [edi + 0x80], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [edi + 0x81], al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [edi + 0x82], al
movzx eax, cl
movzx eax, byte [eax + str.cw]
mov byte [edi + 0x83], al
mov edi, dword [edi + 0x80]
xor edi, edx
mov edx, dword [ebp + 0xc]
mov eax, edi
xor eax, ebx
mov ebx, eax
mov dword [ebp - 8], eax
mov dword [edx + 0x84], eax
xor ebx, esi
mov esi, edx
mov dword [edx + 0x80], edi
mov edx, ebx
xor edx, ecx
mov eax, edx
mov dword [ebp - 4], edx
shr eax, 8
movzx eax, al
mov dword [esi + 0x8c], edx
mov dword [esi + 0x88], ebx
movzx eax, byte [eax + str.cw]
xor al, 0x1b
mov byte [esi + 0x90], al
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [esi + 0x91], al
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [esi + 0x92], al
movzx eax, dl
movzx eax, byte [eax + str.cw]
mov byte [esi + 0x93], al
mov edx, dword [esi + 0x90]
xor edx, edi
mov edi, esi
mov ecx, edx
xor ecx, dword [ebp - 8]
mov esi, ecx
xor esi, ebx
mov dword [edi + 0x90], edx
mov ebx, esi
mov dword [edi + 0x94], ecx
xor ebx, dword [ebp - 4]
mov eax, ebx
mov dword [edi + 0x98], esi
shr eax, 8
movzx eax, al
mov dword [edi + 0x9c], ebx
movzx eax, byte [eax + str.cw]
xor al, 0x36
mov byte [edi + 0xa0], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax + str.cw]
mov byte [edi + 0xa1], al
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
mov byte [edi + 0xa2], al
movzx eax, bl
movzx eax, byte [eax + str.cw]
mov byte [edi + 0xa3], al
xor dword [edi + 0xa0], edx
mov eax, dword [edi + 0xa0]
xor eax, ecx
mov dword [edi + 0xa4], eax
xor eax, esi
mov dword [edi + 0xa8], eax
xor eax, ebx
mov dword [edi + 0xac], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret