Function at 0x401ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x8c], eax
test ebx, ebx
je 0x401f19
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x54], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x60], ecx
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x64], ecx
mov ecx, dword [eax + 0x34]
push esi
mov esi, dword [eax + 4]
mov dword [ebp - 0x68], ecx
mov ecx, dword [eax + 0x38]
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], eax
cmp ebx, 0x40
jae 0x401baf
xor eax, eax
test ebx, ebx
je 0x401b98
lea edx, [ebp - 0xcc]
sub ecx, edx
mov dword [ebp - 0x14], ecx
nop word [eax + eax]
lea edx, [ebp - 0xcc]
add edx, eax
inc eax
mov cl, byte [ecx + edx]
mov byte [edx], cl
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
jb 0x401b80
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x88], eax
mov eax, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 0xa
add eax, edx
rol eax, 7
xor ecx, eax
mov dword [ebp - 0x2c], ecx
lea eax, [ecx + edx]
rol eax, 9
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov ecx, dword [ebp - 0x34]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0x34], ecx
rol eax, 0x12
xor edx, eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, esi
rol eax, 7
xor ecx, eax
mov eax, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x1c], ecx
rol eax, 9
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, ecx
mov ecx, dword [ebp - 0x28]
rol eax, 0xd
xor esi, eax
mov eax, dword [ebp - 0x10]
add eax, esi
rol eax, 0x12
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, ecx
rol eax, 7
xor dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, ecx
rol eax, 9
xor edi, eax
mov eax, dword [ebp - 0x20]
add eax, edi
rol eax, 0xd
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, edi
rol eax, 0x12
xor ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x24]
add eax, ecx
rol eax, 7
xor ebx, eax
lea eax, [ecx + ebx]
mov ecx, dword [ebp - 0x30]
rol eax, 9
xor ecx, eax
mov dword [ebp - 0x30], ecx
lea eax, [ecx + ebx]
rol eax, 0xd
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, ecx
rol eax, 0x12
xor dword [ebp - 0x24], eax
lea eax, [ebx + edx]
rol eax, 7
xor esi, eax
lea eax, [esi + edx]
rol eax, 9
xor edi, eax
lea eax, [edi + esi]
rol eax, 0xd
xor ebx, eax
lea eax, [ebx + edi]
rol eax, 0x12
xor edx, eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x74], edx
rol eax, 7
mov edx, dword [ebp - 0xc]
xor edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x30]
rol eax, 9
xor edx, eax
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x30], edx
rol eax, 0xd
xor ecx, eax
mov dword [ebp - 0x2c], ecx
lea eax, [edx + ecx]
mov edx, dword [ebp - 0x18]
rol eax, 0x12
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
rol eax, 7
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x28]
rol eax, 9
xor edx, eax
mov eax, dword [ebp - 8]
add eax, edx
mov dword [ebp - 0x18], edx
rol eax, 0xd
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 0x34]
rol eax, 0x12
xor dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x24]
rol eax, 7
xor edx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov dword [ebp - 0x34], edx
rol eax, 9
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov edx, dword [ebp - 0x20]
rol eax, 0xd
xor edx, eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x74]
rol eax, 0x12
xor dword [ebp - 0x24], eax
sub dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x34]
jne 0x401c04
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x78]
add eax, esi
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x10]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x7c]
add eax, edi
add esi, dword [ebp - 0x68]
xor eax, dword [ecx + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x48]
add eax, ebx
xor esi, dword [ecx + 0x34]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x4c]
xor eax, dword [ecx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x50]
xor eax, dword [ecx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x54]
xor eax, dword [ecx + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x58]
xor eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x38]
xor eax, dword [ecx + 0x20]
mov ebx, dword [ebp - 8]
add ebx, dword [ebp - 0x60]
xor ebx, dword [ecx + 0x2c]
mov edi, dword [ebp - 0x34]
add edi, dword [ebp - 0x64]
xor edi, dword [ecx + 0x30]
add edx, dword [ebp - 0x20]
xor edx, dword [ecx + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x3c]
xor eax, dword [ecx + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x5c]
xor eax, dword [ecx + 0x28]
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x3c]
xor ecx, dword [eax + 0x3c]
add dword [ebp - 0x38], 1
lea eax, [ebx + 1]
cmovne eax, ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x44]
xor eax, dword [ebx]
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp - 0x40]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov dword [eax + 0x2c], ebx
mov ebx, dword [ebp + 0xc]
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
cmp ebx, 0x40
jbe 0x401ee3
mov ecx, dword [ebp - 0x14]
sub ebx, 0x40
mov edx, dword [ebp - 0x44]
add eax, 0x40
mov esi, dword [ebp - 0x78]
add ecx, 0x40
mov edi, dword [ebp - 0x7c]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
jmp 0x401b64
pop edi
pop esi
jae 0x401f07
test ebx, ebx
je 0x401f07
mov ecx, dword [ebp - 0x88]
sub eax, ecx
mov dword [ebp + 8], eax
mov al, byte [eax + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
mov eax, dword [ebp + 8]
sub ebx, 1
jne 0x401ef6
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x24], edx
pop ebx
mov esp, ebp
pop ebp
ret