Function at 0x4a729f
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 1]
xor edx, edx
mov dh, byte [ecx]
push ebx
push esi
push edi
xor edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
xor edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
xor edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], edx
movzx esi, byte [ecx + 5]
xor edx, edx
mov dh, byte [ecx + 4]
xor edx, esi
movzx esi, byte [ecx + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 7]
shl edx, 8
xor edx, esi
mov dword [eax + 4], edx
movzx esi, byte [ecx + 9]
xor edx, edx
mov dh, byte [ecx + 8]
xor edx, esi
movzx esi, byte [ecx + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0xb]
shl edx, 8
xor edx, esi
mov dword [eax + 8], edx
movzx esi, byte [ecx + 0xd]
xor edx, edx
mov dh, byte [ecx + 0xc]
xor edx, esi
movzx esi, byte [ecx + 0xe]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0xf]
shl edx, 8
xor edx, esi
cmp dword [ebp + 0x10], 0x80
mov dword [eax + 0xc], edx
jne 0x4a7442
mov ebx, edx
mov dword [ebp + 0x10], ebx
movzx ecx, byte [ebp + 0x12]
mov esi, dword [ecx*4 + 0x417b18]
movzx ecx, bh
mov ecx, dword [ecx*4 + 0x417b18]
xor esi, 0x1000000
and esi, 0xff000000
mov edx, 0xff0000
and ecx, edx
xor esi, ecx
mov ecx, ebx
mov dword [ebp + 0xc], ebx
shr ecx, 0x18
mov edi, dword [ecx*4 + 0x417b18]
mov ecx, 0xff
and ebx, ecx
mov ebx, dword [ebx*4 + 0x417b18]
and edi, ecx
xor esi, edi
mov edi, 0xff00
and ebx, edi
xor esi, ebx
xor esi, dword [eax]
lea ebx, [eax + 0x10]
mov dword [ebx], esi
mov dword [ebp + 0x10], ebx
mov ebx, dword [eax + 4]
xor ebx, esi
mov esi, dword [eax + 8]
xor esi, ebx
mov dword [ebp + 8], esi
mov dword [eax + 0x18], esi
mov esi, dword [ebp + 0xc]
xor esi, dword [ebp + 8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
mov dword [ebp + 0xc], 0x41931c
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
mov dword [ebp + 0x10], eax
movzx ebx, byte [ebp + 0x12]
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, 0xff000000
movzx eax, ah
mov eax, dword [eax*4 + 0x417b18]
and eax, edx
xor eax, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, ecx
xor eax, ebx
mov ebx, dword [ebp + 0x10]
and ebx, ecx
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, edi
xor eax, ebx
mov ebx, dword [ebp + 0xc]
xor eax, dword [ebx]
add dword [ebp + 0xc], 4
xor eax, dword [esi]
lea ebx, [esi + 0x10]
mov dword [ebx], eax
mov dword [ebp + 0x10], ebx
mov ebx, dword [esi + 4]
xor ebx, eax
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 8]
xor eax, ebx
mov dword [esi + 0x18], eax
mov ebx, dword [esi + 0xc]
xor ebx, eax
cmp dword [ebp + 0xc], 0x419340
mov dword [esi + 0x1c], ebx
jne 0x4a73be
push 0xa
jmp 0x4a7763
movzx esi, byte [ecx + 0x11]
xor edx, edx
mov dh, byte [ecx + 0x10]
xor edx, esi
movzx esi, byte [ecx + 0x12]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0x13]
shl edx, 8
xor edx, esi
mov dword [eax + 0x10], edx
movzx esi, byte [ecx + 0x15]
xor edx, edx
mov dh, byte [ecx + 0x14]
xor edx, esi
movzx esi, byte [ecx + 0x16]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0x17]
shl edx, 8
xor edx, esi
cmp dword [ebp + 0x10], 0xc0
mov dword [eax + 0x14], edx
jne 0x4a75aa
mov ebx, edx
mov dword [ebp + 0x10], ebx
movzx ecx, byte [ebp + 0x12]
mov esi, dword [ecx*4 + 0x417b18]
movzx ecx, bh
mov ecx, dword [ecx*4 + 0x417b18]
xor esi, 0x1000000
and esi, 0xff000000
mov edx, 0xff0000
and ecx, edx
xor esi, ecx
mov ecx, ebx
shr ecx, 0x18
mov edi, dword [ecx*4 + 0x417b18]
mov ecx, 0xff
and ebx, ecx
mov ebx, dword [ebx*4 + 0x417b18]
and edi, ecx
xor esi, edi
mov edi, 0xff00
and ebx, edi
xor esi, ebx
xor esi, dword [eax]
lea ebx, [eax + 0x18]
mov dword [ebx], esi
mov dword [ebp + 0x10], ebx
mov ebx, dword [eax + 4]
xor ebx, esi
mov esi, dword [eax + 8]
xor esi, ebx
mov dword [eax + 0x1c], ebx
mov ebx, dword [eax + 0xc]
xor ebx, esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], ebx
mov dword [ebp + 0xc], 0x41931c
mov esi, dword [eax + 0x10]
xor esi, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
xor ebx, esi
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x28], esi
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [ebp + 0x10], ebx
movzx esi, bh
mov esi, dword [esi*4 + 0x417b18]
movzx ebx, byte [ebp + 0x12]
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, 0xff000000
and esi, edx
xor esi, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, ecx
xor esi, ebx
mov ebx, dword [ebp + 0x10]
and ebx, ecx
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, edi
xor esi, ebx
mov ebx, dword [ebp + 0xc]
xor esi, dword [ebx]
add dword [ebp + 0xc], 4
xor esi, dword [eax]
lea ebx, [eax + 0x18]
mov dword [ebx], esi
mov dword [ebp + 0x10], ebx
mov ebx, dword [eax + 4]
xor ebx, esi
mov dword [eax + 0x1c], ebx
mov esi, dword [eax + 8]
xor esi, ebx
mov dword [eax + 0x20], esi
mov ebx, dword [eax + 0xc]
xor ebx, esi
cmp dword [ebp + 0xc], 0x419338
mov dword [eax + 0x24], ebx
jne 0x4a750e
push 0xc
jmp 0x4a7763
movzx esi, byte [ecx + 0x19]
xor edx, edx
mov dh, byte [ecx + 0x18]
xor edx, esi
movzx esi, byte [ecx + 0x1a]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 0x1b]
shl edx, 8
xor edx, esi
mov dword [eax + 0x18], edx
movzx esi, byte [ecx + 0x1d]
xor edx, edx
mov dh, byte [ecx + 0x1c]
xor edx, esi
movzx esi, byte [ecx + 0x1e]
movzx ecx, byte [ecx + 0x1f]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, ecx
cmp dword [ebp + 0x10], 0x100
mov dword [eax + 0x1c], edx
jne 0x4a7766
mov ebx, edx
mov dword [ebp + 0x10], ebx
movzx ecx, byte [ebp + 0x12]
mov esi, dword [ecx*4 + 0x417b18]
movzx ecx, bh
mov ecx, dword [ecx*4 + 0x417b18]
xor esi, 0x1000000
and esi, 0xff000000
mov edx, 0xff0000
and ecx, edx
xor esi, ecx
mov ecx, ebx
shr ecx, 0x18
mov edi, dword [ecx*4 + 0x417b18]
mov ecx, 0xff
and ebx, ecx
mov ebx, dword [ebx*4 + 0x417b18]
and edi, ecx
xor esi, edi
mov edi, 0xff00
and ebx, edi
xor esi, ebx
xor esi, dword [eax]
lea ebx, [eax + 0x20]
mov dword [ebx], esi
mov dword [ebp + 8], ebx
mov ebx, dword [eax + 4]
xor ebx, esi
mov esi, dword [eax + 8]
xor esi, ebx
mov dword [eax + 0x24], ebx
mov ebx, dword [eax + 0xc]
xor ebx, esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], ebx
mov dword [ebp + 0xc], 0x41931c
mov ebx, dword [eax + 0x2c]
mov dword [ebp + 0x10], ebx
movzx esi, byte [ebp + 0x12]
mov esi, dword [esi*4 + 0x417b18]
movzx ebx, bh
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, edi
and esi, edx
xor esi, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, 0xff000000
xor esi, ebx
mov ebx, dword [ebp + 0x10]
and ebx, ecx
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, ecx
xor esi, ebx
xor esi, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
xor ebx, esi
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], esi
mov esi, dword [eax + 0x18]
xor esi, ebx
mov ebx, dword [eax + 0x1c]
xor ebx, esi
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], esi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1c]
mov dword [ebp + 0x10], ebx
movzx esi, bh
mov esi, dword [esi*4 + 0x417b18]
movzx ebx, byte [ebp + 0x12]
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, 0xff000000
and esi, edx
xor esi, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, ecx
xor esi, ebx
mov ebx, dword [ebp + 0x10]
and ebx, ecx
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebx*4 + 0x417b18]
and ebx, edi
xor esi, ebx
xor esi, dword [eax]
mov ebx, dword [ebp + 0xc]
xor esi, dword [ebx]
add dword [ebp + 0xc], 4
lea ebx, [eax + 0x20]
mov dword [ebx], esi
mov dword [ebp + 8], ebx
mov ebx, dword [eax + 4]
xor ebx, esi
mov dword [eax + 0x24], ebx
mov esi, dword [eax + 8]
xor esi, ebx
mov dword [eax + 0x28], esi
mov ebx, dword [eax + 0xc]
xor ebx, esi
cmp dword [ebp + 0xc], 0x419334
mov dword [eax + 0x2c], ebx
jne 0x4a7676
push 0xe
pop eax
jmp 0x4a7768
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc