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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov ebx, ecx
mov dword [esp + 0x18], ebx
test ebp, ebp
je 0x4823bf
push esi
mov esi, dword [esp + 0x34]
lea eax, [ebx + 0x3f4]
push edi
mov dword [ebx + 0x3cc], 0x10
lea edi, [ebx + 0x3d4]
mov dword [ebx + 0x3c8], 0x20
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebx + 0x3cc]
push dword [esp + 0x3c]
push eax
call fcn.0044c6b0
mov eax, dword [ebx + 0x3c8]
add esp, 0xc
cmp eax, 0x10
je 0x482082
cmp eax, 0x18
je 0x482070
mov dword [ebx + 0x3d0], 0xe
jmp 0x4820a4
cmp dword [ebx + 0x3cc], 0x20
push 0xe
pop eax
push 0xc
pop ecx
cmovne eax, ecx
jmp 0x48209e
mov ecx, dword [ebx + 0x3cc]
cmp ecx, 0x10
jne 0x482092
push 0xa
pop eax
jmp 0x48209e
push 0xe
pop eax
push 0xc
cmp ecx, 0x18
pop edx
cmove eax, edx
mov dword [ebx + 0x3d0], eax
mov eax, dword [ebx + 0x3cc]
xor esi, esi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
mov dword [esp + 0x14], edi
cmp dword [ebx + 0x3d0], esi
jl 0x4820e1
lea edx, [ebx + 8]
test edi, edi
jle 0x4820d5
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
inc esi
add edx, 0x20
cmp esi, dword [ebx + 0x3d0]
jle 0x4820c5
xor edx, edx
cmp dword [ebx + 0x3d0], edx
jl 0x48210d
lea esi, [ebx + 0x1e8]
test edi, edi
jle 0x482101
mov ecx, edi
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
inc edx
add esi, 0x20
cmp edx, dword [ebx + 0x3d0]
jle 0x4820f1
mov eax, dword [ebx + 0x3d0]
inc eax
imul eax, edi
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x3c8]
cdq
and edx, 3
lea esi, [edx + eax]
sar esi, 2
lea eax, [ebx + 0x414]
mov dword [esp + 0x1c], esi
mov ecx, eax
test esi, esi
jle 0x48216f
mov edx, esi
movzx eax, byte [ebp]
lea ebp, [ebp + 4]
shl eax, 0x18
mov dword [ecx], eax
movzx eax, byte [ebp - 3]
shl eax, 0x10
or dword [ecx], eax
movzx eax, byte [ebp - 2]
shl eax, 8
or dword [ecx], eax
movzx eax, byte [ebp - 1]
or dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x48213d
lea eax, [ebx + 0x414]
xor ebp, ebp
test esi, esi
jle 0x4821bf
mov ecx, eax
mov dword [esp + 0x34], eax
cmp ebp, dword [esp + 0x38]
jge 0x48233d
mov eax, ebp
mov ecx, dword [ecx]
cdq
idiv edi
lea esi, [edx + eax*8]
mov dword [ebx + esi*4 + 8], ecx
mov ecx, dword [ebx + 0x3d0]
mov esi, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x34]
inc ebp
lea ecx, [edx + ecx*8]
mov eax, dword [eax]
mov dword [ebx + ecx*4 + 0x1e8], eax
mov ecx, dword [esp + 0x34]
add ecx, 4
mov dword [esp + 0x34], ecx
cmp ebp, esi
jl 0x48217b
cmp ebp, dword [esp + 0x38]
jge 0x48233d
mov dword [esp + 0x34], 0x4a0d40
mov edx, dword [ebx + esi*4 + 0x410]
mov eax, edx
sar eax, 0x10
movzx eax, al
movsx ecx, byte [eax + 0x4a3e60]
mov eax, dword [esp + 0x34]
movsx eax, byte [eax]
xor ecx, eax
mov eax, edx
sar eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x4a3e60]
xor ecx, eax
movzx eax, dl
shl ecx, 8
sar edx, 0x18
movzx eax, byte [eax + 0x4a3e60]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + 0x4a3e60]
xor ecx, eax
lea eax, [ebx + 0x414]
xor dword [eax], ecx
inc dword [esp + 0x34]
cmp esi, 8
je 0x482257
cmp esi, 1
jle 0x4822db
lea ecx, [ebx + 0x418]
lea edx, [esi - 1]
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x482248
jmp 0x4822d5
push 3
lea ecx, [ebx + 0x418]
pop edx
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x482260
mov edx, dword [ebx + 0x420]
mov eax, edx
sar eax, 0x18
movzx eax, al
push 3
movsx ecx, byte [eax + 0x4a3e60]
mov eax, edx
sar eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x4a3e60]
xor ecx, eax
mov eax, edx
sar eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x4a3e60]
xor ecx, eax
movzx eax, dl
shl ecx, 8
pop edx
movzx eax, byte [eax + 0x4a3e60]
xor ecx, eax
xor dword [ebx + 0x424], ecx
lea ecx, [ebx + 0x428]
mov eax, dword [ecx - 4]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x4822c8
lea eax, [ebx + 0x414]
and dword [esp + 0x18], 0
test esi, esi
jle 0x482333
mov ecx, eax
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x38]
jge 0x48233d
mov eax, ebp
mov ecx, dword [ecx]
cdq
idiv edi
lea esi, [edx + eax*8]
mov dword [ebx + esi*4 + 8], ecx
mov ecx, dword [ebx + 0x3d0]
mov esi, dword [esp + 0x1c]
sub ecx, eax
mov eax, dword [esp + 0x10]
lea ecx, [edx + ecx*8]
mov eax, dword [eax]
mov dword [ebx + ecx*4 + 0x1e8], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add ecx, 4
mov dword [esp + 0x18], eax
inc ebp
mov dword [esp + 0x10], ecx
cmp eax, esi
jl 0x4822ea
cmp ebp, dword [esp + 0x38]
jl 0x4821d1
xor esi, esi
inc esi
cmp dword [ebx + 0x3d0], esi
jle 0x4823b1
lea ebp, [ebx + 0x208]
test edi, edi
jle 0x4823a5
mov ebx, edi
mov dword [esp + 0x38], ebp
mov edi, ebp
mov edx, dword [edi]
mov eax, edx
sar eax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x4a1960]
xor ecx, dword [eax*4 + 0x4a1560]
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a1160]
movzx eax, dl
xor ecx, dword [eax*4 + 0x4a0d60]
mov dword [edi], ecx
lea edi, [edi + 4]
sub ebx, 1
jne 0x48235a
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
inc esi
add ebp, 0x20
cmp esi, dword [ebx + 0x3d0]
jl 0x48234e
pop edi
pop esi
pop ebp
mov byte [ebx + 4], 1
pop ebx
add esp, 0x20
ret 0x10
push str.Empty_key
lea ecx, [esp + 0x20]
call fcn.004045f7
push 0x4aa360
lea eax, [esp + 0x20]
push eax
call fcn.0044d103
int3