Function at 0x472c7c
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x38
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x472f4f
mov eax, dword [esi + 0x3cc]
cmp eax, 0x10
jne 0x472ca9
push dword [esp + 0x44]
push dword [esp + 0x44]
call section..uw99kr
jmp 0x472f48
cdq
xor ecx, ecx
and edx, 3
push ebx
push ebp
push edi
lea edi, [edx + eax]
sar edi, 2
cmp edi, 6
mov dword [esp + 0x2c], edi
setne cl
xor eax, eax
inc ecx
cmp edi, 4
cmove ecx, eax
shl ecx, 5
mov ebp, dword [ecx + 0x4a0ce4]
mov eax, dword [ecx + 0x4a0cec]
mov edx, dword [ecx + 0x4a0cf4]
lea ecx, [esi + 0x454]
mov dword [esp + 0x28], ebp
mov ebx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
test edi, edi
jle 0x472d4b
mov edx, dword [esp + 0x4c]
lea ebp, [esi + 0x1e8]
movzx eax, byte [edx]
mov ecx, ebx
shl eax, 0x18
lea edx, [edx + 4]
mov dword [ebx], eax
movzx eax, byte [edx - 3]
shl eax, 0x10
or dword [ebx], eax
movzx eax, byte [edx - 2]
shl eax, 8
or dword [ebx], eax
movzx eax, byte [edx - 1]
or dword [ebx], eax
add ebx, 4
mov eax, dword [ebp]
lea ebp, [ebp + 4]
xor dword [ecx], eax
sub edi, 1
jne 0x472d06
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ebx, ebx
inc ebx
mov dword [esp + 0x2c], ebx
cmp dword [esi + 0x3d0], ebx
jle 0x472e65
lea ecx, [esi + 0x208]
mov dword [esp + 0x30], ecx
test edi, edi
jle 0x472e25
sub eax, ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x34], eax
lea ebx, [esi + 0x434]
mov eax, edx
mov dword [esp + 0x20], ebx
sub eax, ebp
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x34]
mov ebx, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], edi
add eax, ebp
cdq
idiv edi
mov eax, dword [esi + edx*4 + 0x454]
sar eax, 8
movzx ecx, al
mov eax, dword [esp + 0x4c]
add eax, ebx
cdq
idiv edi
mov ecx, dword [ecx*4 + 0x4a2160]
movzx eax, byte [esi + edx*4 + 0x454]
xor ecx, dword [eax*4 + 0x4a1d60]
mov eax, dword [esp + 0x4c]
cdq
idiv edi
movsx eax, word [esi + edx*4 + 0x456]
mov edx, dword [esp + 0x20]
movzx eax, al
xor ecx, dword [eax*4 + 0x4a2560]
movzx eax, byte [edx + 0x23]
xor ecx, dword [eax*4 + 0x4a2960]
mov eax, dword [esp + 0x1c]
xor ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [edx], ecx
add edx, 4
inc eax
mov dword [esp + 0x20], edx
sub dword [esp + 0x24], 1
mov dword [esp + 0x4c], eax
jne 0x472d9e
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov eax, edi
shl eax, 2
push eax
lea eax, [esi + 0x434]
push eax
lea eax, [esi + 0x454]
push eax
call fcn.0044c6b0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x10]
inc ebx
mov edx, dword [esp + 0x14]
add ecx, 0x20
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
cmp ebx, dword [esi + 0x3d0]
jl 0x472d68
xor ecx, ecx
mov dword [esp + 0x30], ecx
test edi, edi
jle 0x472f45
mov edx, dword [esp + 0x10]
sub ebp, edx
mov eax, dword [esp + 0x50]
sub dword [esp + 0x14], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x3d0]
lea eax, [ecx + eax*8]
mov ebx, dword [esi + eax*4 + 0x1e8]
mov ecx, ebx
mov eax, dword [esp + 0x18]
sar ecx, 0x18
add dword [esp + 0x18], 4
movzx eax, byte [eax + 3]
xor cl, byte [eax + 0x4a3d60]
mov eax, dword [esp + 0x4c]
mov byte [eax], cl
inc eax
mov dword [esp + 0x4c], eax
mov ecx, ebx
lea eax, [edx + ebp]
sar ecx, 0x10
cdq
idiv edi
movsx eax, word [esi + edx*4 + 0x456]
movzx eax, al
xor cl, byte [eax + 0x4a3d60]
mov eax, dword [esp + 0x4c]
mov byte [eax], cl
inc eax
mov dword [esp + 0x4c], eax
mov ecx, ebx
mov eax, dword [esp + 0x10]
cdq
idiv edi
sar ecx, 8
mov eax, dword [esi + edx*4 + 0x454]
sar eax, 8
movzx eax, al
xor cl, byte [eax + 0x4a3d60]
mov eax, dword [esp + 0x4c]
mov byte [eax], cl
mov ecx, eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
cdq
idiv edi
movzx eax, byte [esi + edx*4 + 0x454]
mov edx, dword [esp + 0x10]
mov al, byte [eax + 0x4a3d60]
xor al, bl
mov byte [ecx + 1], al
add ecx, 2
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x30]
inc ecx
inc edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], edx
cmp ecx, edi
jl 0x472e85
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x38
ret 8
push str.Object_not_Initialized
lea ecx, [esp + 0x34]
call fcn.004045f7
push 0x4aa360
lea eax, [esp + 0x34]
push eax
call fcn.0044d103
int3