Function at 0x414830
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 0x414841
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 0x414900
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 0x41499a
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 0x4149bd
cmp edx, 0x28
jb 0x4149b6
cmp edx, 0x3c
jae 0x4149b6
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 0x4149bd
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi - 2]
cmp ebx, 0x14
jae 0x4149ce
mov dword [ebp - 4], 0x5a827999
jmp 0x4149f0
cmp ebx, 0x28
jae 0x4149dc
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x4149f0
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 0x414a38
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 0x414a5b
cmp edx, 0x28
jb 0x414a54
cmp edx, 0x3c
jae 0x414a54
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 0x414a5b
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi - 1]
cmp ebx, 0x14
jae 0x414a6c
mov dword [ebp - 4], 0x5a827999
jmp 0x414a8e
cmp ebx, 0x28
jae 0x414a7a
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x414a8e
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 0x414ad0
not edx
and edx, dword [eax + 0xc]
mov edi, esi
and edi, ebx
or edx, edi
mov edi, dword [ebp - 8]
jmp 0x414af1
cmp edi, 0x28
jb 0x414aec
cmp edi, 0x3c
jae 0x414aec
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 0x414af1
xor edx, ebx
xor edx, dword [eax + 0xc]
cmp edi, 0x14
jae 0x414aff
mov dword [ebp - 4], 0x5a827999
jmp 0x414b21
cmp edi, 0x28
jae 0x414b0d
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x414b21
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 0x414b69
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 0x414b8c
cmp edx, 0x28
jb 0x414b85
cmp edx, 0x3c
jae 0x414b85
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 0x414b8c
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi + 1]
cmp ebx, 0x14
jae 0x414b9d
mov dword [ebp - 4], 0x5a827999
jmp 0x414bbf
cmp ebx, 0x28
jae 0x414bab
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x414bbf
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 0x414c07
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 0x414c2a
cmp edx, 0x28
jb 0x414c23
cmp edx, 0x3c
jae 0x414c23
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 0x414c2a
mov edx, esi
xor edx, ebx
xor edx, dword [eax + 0xc]
lea ebx, [edi + 2]
cmp ebx, 0x14
jae 0x414c3b
mov dword [ebp - 4], 0x5a827999
jmp 0x414c5d
cmp ebx, 0x28
jae 0x414c49
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x414c5d
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 0x414978
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