Function at 0x414fe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x5c]
push ebx
push ebp
push esi
mov eax, dword [ecx]
mov esi, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0x10]
lea edx, [esp + 0x24]
mov ebp, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x68]
xor edx, edx
xor ebx, ebx
mov dh, byte [ecx]
mov bl, byte [ecx + 2]
mov dl, byte [ecx + 1]
add ecx, 4
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [ecx - 1]
mov dword [esp + 0x68], ecx
shl edx, 8
or edx, ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ebx], edx
mov edx, eax
not edx
mov ebx, esi
and edx, edi
and ebx, eax
rol ecx, 5
or edx, ebx
add ecx, edx
mov edx, dword [esp + 0x18]
mov ebx, dword [edx]
add edx, 4
add ecx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov edi, esi
rol eax, 0x1e
lea ecx, [ecx + ebx + 0x5a827999]
mov esi, eax
mov eax, dword [esp + 0x10]
dec edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jne 0x415016
and ebp, 0xf
lea edx, [esp + ebp*4 + 0x24]
lea ebx, [ebp - 3]
mov dword [esp + 0x68], edx
lea edx, [ebp - 8]
and edx, 0xf
add ebp, 2
and ebx, 0xf
and ebp, 0xf
mov edx, dword [esp + edx*4 + 0x24]
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + ebp*4 + 0x24]
xor edx, ebx
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx]
xor edx, ebp
mov ebp, esi
rol edx, 1
mov dword [ebx], edx
mov ebx, eax
not ebx
rol ecx, 5
and ebx, edi
and ebp, eax
or ebx, ebp
mov ebp, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x14]
add ebx, edx
inc ebp
rol eax, 0x1e
lea ecx, [ebx + ecx + 0x5a827999]
mov ebx, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x10]
cmp ebp, 0x14
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebp
jl 0x41508f
cmp ebp, 0x28
jge 0x415184
mov edx, ebp
and edx, 0xf
mov dword [esp + 0x18], edx
lea ebx, [esp + edx*4 + 0x24]
mov dword [esp + 0x68], ebx
lea ebx, [edx - 8]
and ebx, 0xf
mov dword [esp + 0x20], ebx
lea ebx, [edx - 3]
mov edx, dword [esp + 0x20]
and ebx, 0xf
mov edx, dword [esp + edx*4 + 0x24]
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x18]
add ebx, 2
and ebx, 0xf
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x68]
xor edx, dword [ebx]
rol edx, 1
mov dword [ebx], edx
mov ebx, edi
rol ecx, 5
xor ebx, esi
add edx, ecx
mov ecx, dword [esp + 0x14]
xor ebx, eax
add ebx, edx
inc ebp
rol eax, 0x1e
lea ecx, [ebx + ecx + 0x6ed9eba1]
mov ebx, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x10]
cmp ebp, 0x28
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
jl 0x41510c
cmp ebp, 0x3c
jge 0x415217
mov edx, ebp
and edx, 0xf
mov dword [esp + 0x18], edx
lea ebx, [esp + edx*4 + 0x24]
mov dword [esp + 0x68], ebx
lea ebx, [edx - 8]
and ebx, 0xf
mov dword [esp + 0x20], ebx
lea ebx, [edx - 3]
mov edx, dword [esp + 0x20]
and ebx, 0xf
mov edx, dword [esp + edx*4 + 0x24]
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x18]
add ebx, 2
and ebx, 0xf
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x68]
xor edx, dword [ebx]
rol edx, 1
mov dword [esp + 0x68], edx
mov dword [ebx], edx
mov edx, esi
mov ebx, esi
or edx, eax
and ebx, eax
and edx, edi
or edx, ebx
mov ebx, dword [esp + 0x68]
add edx, ebx
mov ebx, dword [esp + 0x14]
rol ecx, 5
add ecx, ebx
mov ebx, edi
rol eax, 0x1e
mov edi, esi
inc ebp
lea ecx, [edx + ecx - 0x70e44324]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp ebp, 0x3c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
jl 0x41518d
cmp ebp, 0x50
jge 0x415294
mov edx, ebp
and edx, 0xf
mov dword [esp + 0x18], edx
lea ebx, [esp + edx*4 + 0x24]
mov dword [esp + 0x68], ebx
lea ebx, [edx - 8]
and ebx, 0xf
mov dword [esp + 0x20], ebx
lea ebx, [edx - 3]
mov edx, dword [esp + 0x20]
and ebx, 0xf
mov edx, dword [esp + edx*4 + 0x24]
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x18]
add ebx, 2
and ebx, 0xf
xor edx, dword [esp + ebx*4 + 0x24]
mov ebx, dword [esp + 0x68]
xor edx, dword [ebx]
rol edx, 1
mov dword [ebx], edx
mov ebx, edi
xor ebx, esi
xor ebx, eax
add ebx, edx
mov edx, dword [esp + 0x14]
rol ecx, 5
add ecx, edx
inc ebp
rol eax, 0x1e
lea ecx, [ebx + ecx - 0x359d3e2a]
mov ebx, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x10]
cmp ebp, 0x50
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
jl 0x41521c
mov edx, dword [esp + 0x6c]
mov ebp, dword [edx]
add ebp, ecx
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [edx + 8]
add eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [edx + 0xc]
add eax, edi
lea ecx, [esp + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x10]
add eax, ebx
mov dword [edx], ebp
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x70]
push eax
push 0x40
push 0
push ecx
call fcn.00410020
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret