Function at 0x414640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea ecx, [eax + 0x28]
mov esi, 4
mov edx, dword [ecx]
mov edi, edx
shl edi, 0x10
mov ebx, edx
and ebx, 0xff00
or edi, ebx
movzx ebx, byte [ecx + 3]
shl edi, 8
or edi, ebx
shr edx, 8
and edx, 0xff00
or edi, edx
mov dword [ecx], edi
mov edx, dword [ecx + 4]
mov edi, edx
shl edi, 0x10
mov ebx, edx
shr edx, 8
and edx, 0xff00
and ebx, 0xff00
or edi, ebx
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 7]
or edi, edx
mov dword [ecx + 4], edi
mov edx, dword [ecx + 8]
mov edi, edx
shl edi, 0x10
mov ebx, edx
shr edx, 8
and ebx, 0xff00
or edi, ebx
shl edi, 8
and edx, 0xff00
or edi, edx
movzx edx, byte [ecx + 0xb]
or edi, edx
mov dword [ecx + 8], edi
mov edx, dword [ecx + 0xc]
mov edi, edx
mov ebx, edx
shl edi, 0x10
and ebx, 0xff00
or edi, ebx
shr edx, 8
shl edi, 8
and edx, 0xff00
or edi, edx
movzx edx, byte [ecx + 0xf]
or edi, edx
mov dword [ecx + 0xc], edi
add ecx, 0x10
sub esi, 1
jne 0x414651
lea ecx, [eax + 0x28]
mov dword [ebp - 0xc], 0x10
lea esp, [esp]
mov edx, dword [ecx + 0x34]
xor edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x38]
xor ebx, dword [ecx + 0x24]
xor edx, dword [ecx]
xor ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
xor edx, esi
xor ebx, edi
rol edx, 1
rol ebx, 1
mov dword [ecx + 0x44], ebx
mov ebx, dword [ecx + 0x3c]
xor ebx, dword [ecx + 0x28]
mov dword [ecx + 0x40], edx
xor ebx, esi
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x14]
xor ebx, dword [ecx + 0x10]
xor esi, edx
rol ebx, 1
xor esi, edi
rol esi, 1
mov dword [ecx + 0x48], ebx
mov dword [ecx + 0x4c], esi
add ecx, 0x10
sub dword [ebp - 0xc], 1
jne 0x414710
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov dword [eax], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [eax + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [eax + 0xc], edx
mov edi, 2
lea edx, [eax + 0x2c]
mov dword [eax + 0x10], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edx
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov esi, dword [eax + 4]
lea edx, [edi - 2]
cmp edx, 0x14
jae 0x4147aa
mov edx, esi
not edx
and edx, dword [eax + 0xc]
mov edi, esi
and edi, ebx
or edx, edi
mov edi, dword [ebp - 8]
jmp 0x4147cd
cmp edx, 0x28
jb 0x4147c6
cmp edx, 0x3c
jae 0x4147c6
mov edi, dword [eax + 0xc]
mov edx, ebx
or edx, edi
and ebx, edi
mov edi, dword [ebp - 8]
and edx, esi
or edx, ebx
jmp 0x4147cd
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi - 2]
cmp ebx, 0x14
jae 0x4147de
mov dword [ebp - 4], 0x5a827999
jmp 0x414800
cmp ebx, 0x28
jae 0x4147ec
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x414800
cmp ebx, 0x3c
sbb ebx, ebx
and ebx, 0xc4b8fb06
add ebx, 0xca62c1d6
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
rol ecx, 5
add ecx, dword [ebx - 4]
add ecx, dword [eax + 0x10]
add ecx, dword [ebp - 4]
add ecx, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
ror esi, 2
mov dword [eax + 0xc], edx
mov edx, dword [eax]
mov dword [eax + 8], esi
mov ebx, esi
mov dword [eax + 4], edx
mov esi, edx
lea edx, [edi - 1]
mov dword [eax], ecx
cmp edx, 0x14
jae 0x414848
mov edx, esi
not edx
and edx, dword [eax + 0xc]
mov edi, esi
and edi, ebx
or edx, edi
mov edi, dword [ebp - 8]
jmp 0x41486b
cmp edx, 0x28
jb 0x414864
cmp edx, 0x3c
jae 0x414864
mov edi, dword [eax + 0xc]
mov edx, ebx
or edx, edi
and ebx, edi
mov edi, dword [ebp - 8]
and edx, esi
or edx, ebx
jmp 0x41486b
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi - 1]
cmp ebx, 0x14
jae 0x41487c
mov dword [ebp - 4], 0x5a827999
jmp 0x41489e
cmp ebx, 0x28
jae 0x41488a
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x41489e
cmp ebx, 0x3c
sbb ebx, ebx
and ebx, 0xc4b8fb06
add ebx, 0xca62c1d6
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
rol ecx, 5
add ecx, dword [ebx]
add ecx, dword [eax + 0x10]
add ecx, dword [ebp - 4]
add ecx, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
ror esi, 2
mov dword [eax + 0xc], edx
mov edx, dword [eax]
mov dword [eax + 8], esi
mov ebx, esi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov esi, edx
cmp edi, 0x14
jae 0x4148e0
not edx
and edx, dword [eax + 0xc]
mov edi, esi
and edi, ebx
or edx, edi
mov edi, dword [ebp - 8]
jmp 0x414901
cmp edi, 0x28
jb 0x4148fc
cmp edi, 0x3c
jae 0x4148fc
mov edi, dword [eax + 0xc]
mov edx, ebx
or edx, edi
and ebx, edi
mov edi, dword [ebp - 8]
and edx, esi
or edx, ebx
jmp 0x414901
xor edx, ebx
xor edx, dword [eax + 0xc]
cmp edi, 0x14
jae 0x41490f
mov dword [ebp - 4], 0x5a827999
jmp 0x414931
cmp edi, 0x28
jae 0x41491d
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x414931
cmp edi, 0x3c
sbb ebx, ebx
and ebx, 0xc4b8fb06
add ebx, 0xca62c1d6
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
rol ecx, 5
add ecx, dword [ebx + 4]
add ecx, dword [eax + 0x10]
add ecx, dword [ebp - 4]
add ecx, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
ror esi, 2
mov dword [eax + 0xc], edx
mov edx, dword [eax]
mov dword [eax + 8], esi
mov ebx, esi
mov dword [eax + 4], edx
mov esi, edx
lea edx, [edi + 1]
mov dword [eax], ecx
cmp edx, 0x14
jae 0x414979
mov edx, esi
not edx
and edx, dword [eax + 0xc]
mov edi, esi
and edi, ebx
or edx, edi
mov edi, dword [ebp - 8]
jmp 0x41499c
cmp edx, 0x28
jb 0x414995
cmp edx, 0x3c
jae 0x414995
mov edi, dword [eax + 0xc]
mov edx, ebx
or edx, edi
and ebx, edi
mov edi, dword [ebp - 8]
and edx, esi
or edx, ebx
jmp 0x41499c
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi + 1]
cmp ebx, 0x14
jae 0x4149ad
mov dword [ebp - 4], 0x5a827999
jmp 0x4149cf
cmp ebx, 0x28
jae 0x4149bb
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x4149cf
cmp ebx, 0x3c
sbb ebx, ebx
and ebx, 0xc4b8fb06
add ebx, 0xca62c1d6
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
rol ecx, 5
add ecx, dword [ebx + 8]
add ecx, dword [eax + 0x10]
add ecx, dword [ebp - 4]
add ecx, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
ror esi, 2
mov dword [eax + 0xc], edx
mov edx, dword [eax]
mov dword [eax + 8], esi
mov ebx, esi
mov dword [eax + 4], edx
mov esi, edx
lea edx, [edi + 2]
mov dword [eax], ecx
cmp edx, 0x14
jae 0x414a17
mov edx, esi
not edx
and edx, dword [eax + 0xc]
mov edi, esi
and edi, ebx
or edx, edi
mov edi, dword [ebp - 8]
jmp 0x414a3a
cmp edx, 0x28
jb 0x414a33
cmp edx, 0x3c
jae 0x414a33
mov edi, dword [eax + 0xc]
mov edx, ebx
or edx, edi
and ebx, edi
mov edi, dword [ebp - 8]
and edx, esi
or edx, ebx
jmp 0x414a3a
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi + 2]
cmp ebx, 0x14
jae 0x414a4b
mov dword [ebp - 4], 0x5a827999
jmp 0x414a6d
cmp ebx, 0x28
jae 0x414a59
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x414a6d
cmp ebx, 0x3c
sbb ebx, ebx
and ebx, 0xc4b8fb06
add ebx, 0xca62c1d6
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
add dword [ebp - 0xc], 0x14
rol ecx, 5
add ecx, dword [ebx + 0xc]
add edi, 5
add ecx, dword [eax + 0x10]
mov dword [ebp - 8], edi
add ecx, dword [ebp - 4]
add ecx, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
mov dword [eax + 0xc], edx
mov edx, dword [eax]
mov dword [eax], ecx
ror esi, 2
lea ecx, [edi - 2]
mov dword [eax + 8], esi
mov dword [eax + 4], edx
cmp ecx, 0x50
jb 0x414788
mov edx, dword [eax]
add dword [eax + 0x14], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
add dword [eax + 0x18], ecx
add dword [eax + 0x1c], edx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
add dword [eax + 0x20], ecx
add dword [eax + 0x24], edx
pop edi
pop esi
mov dword [eax + 0x168], 0
pop ebx
mov esp, ebp
pop ebp
ret