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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor edx, edx
mov dh, byte [ecx]
push ebx
push esi
movzx esi, byte [ecx + 1]
push edi
xor edx, esi
movzx esi, byte [ecx + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [ecx + 3]
shl edx, 8
xor edx, esi
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 + 8], 0x80
mov dword [eax + 0xc], edx
jne 0x40005af9
mov ebx, edx
mov dword [ebp + 8], ebx
movzx ecx, byte [ebp + 0xa]
mov esi, dword [ecx*4 + str.ccccwwww]
movzx ecx, bh
mov ecx, dword [ecx*4 + str.ccccwwww]
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 + str.ccccwwww]
mov dword [ebp - 8], ebx
mov ecx, 0xff
and ebx, ecx
mov ebx, dword [ebx*4 + str.ccccwwww]
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 + 8], ebx
mov ebx, dword [eax + 4]
xor ebx, esi
mov esi, dword [eax + 8]
xor esi, ebx
mov dword [ebp - 4], esi
mov dword [eax + 0x18], esi
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
mov dword [ebp - 4], 0x4002a1f4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov dword [ebp + 8], eax
movzx ebx, byte [ebp + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
movzx eax, ah
mov eax, dword [eax*4 + str.ccccwwww]
and eax, edx
xor eax, ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, ecx
xor eax, ebx
mov ebx, dword [ebp + 8]
and ebx, ecx
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
xor eax, ebx
mov ebx, dword [ebp - 4]
xor eax, dword [ebx]
add dword [ebp - 4], 4
xor eax, dword [esi]
lea ebx, [esi + 0x10]
mov dword [ebx], eax
mov dword [ebp + 8], 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 - 4], 0x4002a218
mov dword [esi + 0x1c], ebx
jne 0x40005a75
push 0xa
jmp 0x40005e1a
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 + 8], 0xc0
mov dword [eax + 0x14], edx
jne 0x40005c61
mov ebx, edx
mov dword [ebp + 8], ebx
movzx ecx, byte [ebp + 0xa]
mov esi, dword [ecx*4 + str.ccccwwww]
movzx ecx, bh
mov ecx, dword [ecx*4 + str.ccccwwww]
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 + str.ccccwwww]
mov ecx, 0xff
and ebx, ecx
mov ebx, dword [ebx*4 + str.ccccwwww]
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 + 8], 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 - 4], 0x4002a1f4
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 + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp + 8], ebx
movzx esi, bh
mov esi, dword [esi*4 + str.ccccwwww]
movzx ebx, byte [ebp + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
and esi, edx
xor esi, ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, ecx
xor esi, ebx
mov ebx, dword [ebp + 8]
and ebx, ecx
mov dword [ebp + 8], ebx
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
xor esi, ebx
mov ebx, dword [ebp - 4]
xor esi, dword [ebx]
add dword [ebp - 4], 4
xor esi, dword [eax]
lea ebx, [eax + 0x18]
mov dword [ebx], esi
mov dword [ebp + 8], 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 - 4], 0x4002a210
mov dword [eax + 0x24], ebx
jne 0x40005bc5
push 0xc
jmp 0x40005e1a
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 + 8], 0x100
mov dword [eax + 0x1c], edx
jne 0x40005e1d
mov ebx, edx
mov dword [ebp + 8], ebx
movzx ecx, byte [ebp + 0xa]
mov esi, dword [ecx*4 + str.ccccwwww]
movzx ecx, bh
mov ecx, dword [ecx*4 + str.ccccwwww]
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 + str.ccccwwww]
mov ecx, 0xff
and ebx, ecx
mov ebx, dword [ebx*4 + str.ccccwwww]
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 - 4], 0x4002a1f4
mov ebx, dword [eax + 0x2c]
mov dword [ebp + 8], ebx
movzx esi, byte [ebp + 0xa]
mov esi, dword [esi*4 + str.ccccwwww]
movzx ebx, bh
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
and esi, edx
xor esi, ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
xor esi, ebx
mov ebx, dword [ebp + 8]
and ebx, ecx
mov dword [ebp + 8], ebx
mov ebx, dword [ebx*4 + str.ccccwwww]
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 + 8], ebx
movzx esi, bh
mov esi, dword [esi*4 + str.ccccwwww]
movzx ebx, byte [ebp + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff000000
and esi, edx
xor esi, ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, ecx
xor esi, ebx
mov ebx, dword [ebp + 8]
and ebx, ecx
mov dword [ebp + 8], ebx
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
xor esi, ebx
xor esi, dword [eax]
mov ebx, dword [ebp - 4]
xor esi, dword [ebx]
add dword [ebp - 4], 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 - 4], 0x4002a20c
mov dword [eax + 0x2c], ebx
jne 0x40005d2d
push 0xe
pop eax
jmp 0x40005e1f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret