Function at 0x408215
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [ebp - 0x150]
lea edx, [eax + 0x1c]
mov dword [ebp + 8], 0x10
mov ecx, dword [edx]
add edx, 4
mov edi, ecx
mov ebx, ecx
and edi, 0xff0000
shr ebx, 0x10
or edi, ebx
mov ebx, ecx
shl ebx, 0x10
and ecx, 0xff00
or ebx, ecx
shr edi, 8
shl ebx, 8
or edi, ebx
mov dword [esi], edi
add esi, 4
dec dword [ebp + 8]
jne 0x408234
push 0x40
lea edx, [ebp - 0x148]
pop esi
mov ecx, dword [edx + 0x2c]
xor ecx, dword [edx + 0x18]
xor ecx, dword [edx - 8]
xor ecx, dword [edx]
add edx, 4
mov edi, ecx
add ecx, ecx
shr edi, 0x1f
or edi, ecx
dec esi
mov dword [edx + 0x34], edi
jne 0x408270
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
lea ebx, [ebp - 0x150]
mov dword [ebp + 8], esi
mov esi, dword [eax + 0x18]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0x14
mov ebx, edx
mov dword [ebp - 0x10], ecx
not ebx
and ebx, edi
mov edi, dword [ebp + 8]
and edi, edx
xor ebx, edi
mov edi, ecx
shr edi, 0x1b
shl ecx, 5
or edi, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
add esi, ebx
mov ecx, dword [ecx]
add edi, esi
mov esi, dword [ebp - 0xc]
mov ebx, edx
shl ebx, 0x1e
shr edx, 2
lea ecx, [edi + ecx + 0x5a827999]
mov edi, dword [ebp + 8]
or ebx, edx
dec dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], ebx
jne 0x4082b2
lea ebx, [ebp - 0x100]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], ebx
mov ebx, ecx
mov dword [ebp - 0x10], ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
mov ecx, edi
mov edi, dword [ebp + 8]
xor ecx, edi
xor ecx, edx
add ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
add ebx, dword [ecx]
lea ecx, [ebx + esi + 0x6ed9eba1]
mov esi, dword [ebp - 0xc]
mov ebx, edx
mov dword [ebp - 0xc], edi
shl ebx, 0x1e
shr edx, 2
or ebx, edx
dec dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp + 8], ebx
jne 0x40830e
lea ebx, [ebp - 0xb0]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
xor ebx, edx
and ebx, edi
mov edi, dword [ebp + 8]
and edi, edx
xor ebx, edi
mov edi, ecx
shr edi, 0x1b
shl ecx, 5
or edi, ecx
mov ecx, dword [ebp - 4]
add ebx, edi
mov edi, dword [ebp + 8]
add ebx, dword [ecx]
add dword [ebp - 4], 4
lea ecx, [ebx + esi - 0x70e44324]
mov esi, dword [ebp - 0xc]
mov ebx, edx
mov dword [ebp - 0xc], edi
shl ebx, 0x1e
shr edx, 2
or ebx, edx
dec dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp + 8], ebx
jne 0x408361
lea ebx, [ebp - 0x60]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], ebx
mov ebx, ecx
mov dword [ebp - 0x10], ecx
shr ebx, 0x1b
shl ecx, 5
or ebx, ecx
mov ecx, edi
mov edi, dword [ebp + 8]
xor ecx, edi
xor ecx, edx
add ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
add ebx, dword [ecx]
lea ecx, [ebx + esi - 0x359d3e2a]
mov esi, dword [ebp - 0xc]
mov ebx, edx
mov dword [ebp - 0xc], edi
shl ebx, 0x1e
shr edx, 2
or ebx, edx
dec dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp + 8], ebx
jne 0x4083b9
mov edx, dword [eax + 8]
add edx, ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x10]
add ecx, edx
mov edx, ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
add ecx, edi
pop edi
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
add ecx, esi
pop esi
mov dword [eax + 0x18], ecx
pop ebx
leave
ret