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

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
test ecx, ecx
je 0x403d6a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x403d6a
mov esi, dword [esp + 0x1c]
mov ebp, 0xc0
lea edi, [ebp - 0x40]
cmp esi, edi
je 0x403880
cmp esi, ebp
je 0x40387c
cmp esi, 0x100
je 0x40387c
push 0xfffffffffffffffe
pop eax
jmp 0x403d6d
cmp esi, edi
jne 0x40388c
mov dword [eax + 0xf0], 0xa
jmp 0x40389d
xor edx, edx
cmp esi, ebp
setne dl
lea edx, [edx + edx + 0xc]
mov dword [eax + 0xf0], edx
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 2]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 3]
shl edx, 8
xor edx, ebx
mov dword [eax], edx
movzx ebx, byte [ecx + 4]
movzx ebp, byte [ecx + 5]
shl ebx, 8
xor ebx, ebp
movzx ebp, byte [ecx + 6]
shl ebx, 8
xor ebx, ebp
movzx ebp, byte [ecx + 7]
shl ebx, 8
xor ebx, ebp
lea edx, [eax + 4]
mov dword [edx], ebx
movzx ebx, byte [ecx + 9]
mov dword [esp + 0x18], edx
movzx edx, byte [ecx + 8]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xa]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xb]
shl edx, 8
xor edx, ebx
mov dword [eax + 8], edx
movzx edx, byte [ecx + 0xc]
movzx ebx, byte [ecx + 0xd]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xe]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xf]
shl edx, 8
xor edx, ebx
mov dword [eax + 0xc], edx
cmp esi, edi
jne 0x403a3a
mov esi, edx
shr edx, 0x10
mov edi, esi
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp]
mov dword [eax + 0x10], edx
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x18], edx
xor edx, dword [eax + 0xc]
mov dword [eax + 0x14], ebp
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x5440bc
mov ebp, dword [eax + 0x18]
mov edx, ebp
mov dword [esp + 0x18], ebp
add eax, 0x10
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and ebp, ebx
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
xor edx, dword [eax - 4]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp]
add dword [esp + 0x10], 4
mov dword [eax + 0xc], edx
mov ebp, dword [eax]
xor ebp, edx
mov dword [eax + 0x10], ebp
mov edx, dword [eax + 4]
xor edx, ebp
mov dword [eax + 0x14], edx
mov ebp, dword [eax + 8]
xor ebp, edx
cmp dword [esp + 0x10], 0x5440e0
mov dword [eax + 0x18], ebp
jne 0x4039b4
xor eax, eax
jmp 0x403d6d
movzx edx, byte [ecx + 0x10]
movzx edi, byte [ecx + 0x11]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x12]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x13]
shl edx, 8
xor edx, edi
mov dword [eax + 0x10], edx
movzx edx, byte [ecx + 0x14]
movzx edi, byte [ecx + 0x15]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x16]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x17]
shl edx, 8
xor edx, edi
mov dword [eax + 0x14], edx
cmp esi, 0xc0
jne 0x403ba7
mov esi, edx
shr edx, 0x10
mov edi, esi
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp]
xor ebp, edx
mov dword [eax + 0x18], edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x1c], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ebp
add eax, 0x28
mov dword [esp + 0x10], 0x5440bc
mov edx, dword [eax - 0x18]
xor edx, dword [eax - 4]
mov ebp, dword [eax - 0x14]
xor ebp, edx
mov dword [eax + 4], ebp
mov dword [eax], edx
mov ebp, dword [eax + 4]
mov edx, ebp
mov dword [esp + 0x18], ebp
add eax, 0x18
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and ebp, ebx
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
xor edx, dword [eax - 0x28]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp]
add dword [esp + 0x10], 4
mov dword [eax - 0x10], edx
mov ebp, dword [eax - 0x24]
xor ebp, edx
mov dword [eax - 0xc], ebp
mov edx, dword [eax - 0x20]
xor edx, ebp
mov dword [eax - 8], edx
mov ebp, dword [eax - 0x1c]
xor ebp, edx
cmp dword [esp + 0x10], 0x5440d8
mov dword [eax - 4], ebp
jne 0x403b0e
jmp 0x403a33
movzx edx, byte [ecx + 0x18]
movzx edi, byte [ecx + 0x19]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x1a]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x1b]
shl edx, 8
xor edx, edi
mov dword [eax + 0x18], edx
movzx edx, byte [ecx + 0x1c]
movzx edi, byte [ecx + 0x1d]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x1e]
movzx ecx, byte [ecx + 0x1f]
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp esi, 0x100
jne 0x403a33
mov esi, edx
shr edx, 0x10
mov edi, esi
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp]
xor ebp, edx
mov dword [eax + 0x20], edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x24], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ebp
add eax, 0x30
mov dword [esp + 0x10], 0x5440bc
mov ebp, dword [eax - 4]
mov edx, ebp
mov dword [esp + 0x18], ebp
shr ebp, 8
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
shr edx, 0x10
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, ebx
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
xor edx, dword [eax - 0x20]
mov ebp, dword [eax - 0x1c]
xor ebp, edx
mov dword [eax], edx
mov edx, dword [eax - 0x18]
xor edx, ebp
mov dword [eax + 4], ebp
mov ebp, dword [eax - 0x14]
xor ebp, edx
mov dword [eax + 0xc], ebp
mov dword [eax + 8], edx
mov ebp, dword [eax + 0xc]
mov edx, ebp
mov dword [esp + 0x18], ebp
add eax, 0x20
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and ebp, ebx
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
xor edx, dword [eax - 0x30]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp]
add dword [esp + 0x10], 4
mov dword [eax - 0x10], edx
mov ebp, dword [eax - 0x2c]
xor ebp, edx
mov dword [eax - 0xc], ebp
mov edx, dword [eax - 0x28]
xor edx, ebp
mov dword [eax - 8], edx
mov ebp, dword [eax - 0x24]
xor ebp, edx
cmp dword [esp + 0x10], 0x5440d4
mov dword [eax - 4], ebp
jne 0x403c7b
jmp 0x403a33
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret