Function at 0x4477c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x158
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], ecx
lea esi, [esp + 0x28]
lea eax, [ecx + 0x29]
mov edi, 0x10
xor edx, edx
xor ebx, ebx
mov dh, byte [eax - 1]
mov bl, byte [eax + 1]
mov dl, byte [eax]
add eax, 4
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax - 2]
add esi, 4
shl edx, 8
or edx, ebx
dec edi
mov dword [esi - 4], edx
jne 0x4477da
mov ebp, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov edi, dword [ecx + 0x18]
mov esi, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], 0x40
mov ecx, dword [eax + 0x2c]
xor ecx, dword [eax + 0x18]
add eax, 4
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x447820
lea ecx, [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], ecx
mov ecx, esi
xor ecx, edi
and ecx, ebx
rol ebp, 5
xor ecx, esi
add ebp, ecx
mov ecx, dword [esp + 0x10]
add ebp, dword [ecx]
add ecx, 4
rol ebx, 0x1e
mov dword [esp + 0x14], ebx
add ecx, 4
lea edx, [edx + ebp + 0x5a827999]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x10], edx
add ecx, 4
rol edx, 5
mov dword [esp + 0x1c], edx
mov edx, edi
xor edx, ebx
mov ebx, dword [esp + 0x1c]
and edx, ebp
add ecx, 4
xor edx, edi
inc eax
add ebx, edx
mov edx, dword [ecx - 0xc]
add ebx, edx
mov edx, dword [esp + 0x14]
rol ebp, 0x1e
lea esi, [esi + ebx + 0x5a827999]
mov ebx, dword [esp + 0x10]
xor edx, ebp
mov dword [esp + 0x1c], esi
and edx, ebx
mov ebx, dword [esp + 0x14]
rol esi, 5
xor edx, ebx
mov ebx, dword [ecx - 8]
add esi, edx
mov edx, dword [esp + 0x10]
add esi, ebx
mov dword [esp + 0x18], ebp
rol edx, 0x1e
mov ebx, edx
lea edi, [edi + esi + 0x5a827999]
mov esi, dword [esp + 0x1c]
xor ebx, ebp
and ebx, esi
mov dword [esp + 0x20], edi
rol edi, 5
xor ebx, ebp
mov ebp, edx
add edi, ebx
mov ebx, dword [ecx - 4]
add edi, ebx
mov ebx, dword [esp + 0x14]
rol esi, 0x1e
lea ebx, [ebx + edi + 0x5a827999]
mov edi, dword [esp + 0x20]
xor ebp, esi
mov dword [esp + 0x10], ecx
mov ecx, ebx
and ebp, edi
rol ecx, 5
xor ebp, edx
inc eax
add ecx, ebp
mov ebp, dword [esp + 0x10]
inc eax
mov dword [esp + 0x14], ebx
add ecx, dword [ebp]
mov ebp, dword [esp + 0x18]
inc eax
inc eax
lea ebp, [ecx + ebp + 0x5a827999]
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
rol edi, 0x1e
cmp eax, 0x14
mov dword [esp + 0x20], edi
jb 0x447849
cmp eax, 0x28
jae 0x447a54
lea ecx, [esp + eax*4 + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, esi
xor ecx, edi
xor ecx, ebx
rol ebp, 5
add ebp, ecx
mov ecx, dword [esp + 0x10]
add ebp, dword [ecx]
add ecx, 4
rol ebx, 0x1e
mov dword [esp + 0x14], ebx
add ecx, 4
lea edx, [edx + ebp + 0x6ed9eba1]
add ecx, 4
mov ebp, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
add ecx, 4
rol ebp, 5
mov dword [esp + 0x1c], ebp
mov ebp, edi
xor ebp, ebx
mov ebx, dword [esp + 0x1c]
xor ebp, edx
inc eax
add ebx, ebp
mov ebp, dword [ecx - 0xc]
add ebx, ebp
mov ebp, dword [esp + 0x10]
rol edx, 0x1e
lea esi, [esi + ebx + 0x6ed9eba1]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
xor ebp, ebx
mov ebx, dword [esp + 0x18]
mov edx, esi
rol edx, 5
xor ebp, ebx
inc eax
add edx, ebp
mov ebp, dword [ecx - 8]
add edx, ebp
inc eax
lea edi, [edi + edx + 0x6ed9eba1]
mov edx, dword [esp + 0x10]
rol edx, 0x1e
mov ebp, edx
mov dword [esp + 0x20], edi
xor ebp, esi
mov dword [esp + 0x10], ecx
rol edi, 5
xor ebp, ebx
mov ebx, dword [ecx - 4]
add edi, ebp
mov ebp, edx
add edi, ebx
mov ebx, dword [esp + 0x14]
rol esi, 0x1e
lea ebx, [ebx + edi + 0x6ed9eba1]
mov edi, dword [esp + 0x20]
mov ecx, ebx
xor ebp, esi
rol ecx, 5
xor ebp, edi
inc eax
add ecx, ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
add ecx, dword [ebp]
mov ebp, dword [esp + 0x18]
inc eax
lea ebp, [ecx + ebp + 0x6ed9eba1]
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x18], ebp
rol edi, 0x1e
cmp eax, 0x28
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edi
jb 0x44795e
cmp eax, 0x3c
jae 0x447b89
lea ecx, [esp + eax*4 + 0x28]
mov dword [esp + 0x10], ecx
jmp 0x447a6b
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
rol ebp, 5
mov dword [esp + 0x1c], ebp
mov ebp, edi
or ebp, ebx
and edi, ebx
and ebp, esi
add ecx, 4
or ebp, edi
mov edi, dword [ecx - 4]
add ebp, edi
mov edi, dword [esp + 0x18]
add ebp, edx
mov edx, dword [esp + 0x1c]
rol ebx, 0x1e
lea edx, [edx + ebp - 0x70e44324]
mov ebp, ebx
or ebp, edi
mov dword [esp + 0x14], ebx
and ebp, dword [esp + 0x20]
and ebx, edi
mov dword [esp + 0x10], edx
add ecx, 4
or ebp, ebx
mov ebx, dword [ecx - 4]
add ebp, ebx
add ecx, 4
rol edx, 5
add ebp, esi
add ecx, 4
rol edi, 0x1e
lea edx, [edx + ebp - 0x70e44324]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov esi, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edi
mov ebx, edx
inc eax
or ebx, edi
inc eax
and ebx, ebp
mov ebp, edx
and ebp, edi
mov dword [esp + 0x10], ecx
or ebx, ebp
mov ebp, dword [ecx - 8]
add ebx, ebp
mov ebp, dword [esp + 0x20]
rol esi, 5
add ebx, ebp
inc eax
rol edx, 0x1e
lea esi, [ebx + esi - 0x70e44324]
mov ebp, edx
mov dword [esp + 0x20], esi
mov ebx, esi
mov esi, dword [esp + 0x1c]
or ebp, esi
and ebp, edi
mov edi, edx
and edi, esi
or ebp, edi
mov edi, dword [ecx - 4]
add ebp, edi
mov edi, dword [esp + 0x14]
rol ebx, 5
add ebp, edi
inc eax
rol esi, 0x1e
lea edi, [ebx + ebp - 0x70e44324]
mov ebp, esi
mov dword [esp + 0x14], edi
mov ebx, edi
mov edi, dword [esp + 0x20]
mov ecx, esi
or ebp, edi
and ecx, edi
and ebp, edx
rol ebx, 5
or ebp, ecx
mov ecx, dword [esp + 0x10]
add ebp, dword [ecx]
add ecx, 4
mov dword [esp + 0x10], ecx
add ebp, dword [esp + 0x18]
inc eax
rol edi, 0x1e
cmp eax, 0x3c
mov dword [esp + 0x20], edi
lea ebp, [ebx + ebp - 0x70e44324]
mov dword [esp + 0x18], ebp
jb 0x447a67
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
jmp 0x447b8d
mov ecx, dword [esp + 0x24]
cmp eax, 0x50
jae 0x447c99
lea ecx, [esp + eax*4 + 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
rol ebp, 5
mov dword [esp + 0x1c], ebp
mov ebp, esi
xor ebp, edi
add ecx, 4
xor ebp, ebx
mov ebx, dword [ecx - 4]
add ebp, ebx
add ecx, 4
add ebp, edx
mov edx, dword [esp + 0x1c]
add ecx, 4
inc eax
lea ebx, [edx + ebp - 0x359d3e2a]
mov edx, dword [esp + 0x14]
rol edx, 0x1e
mov ebp, edi
mov dword [esp + 0x14], edx
xor ebp, edx
mov edx, dword [esp + 0x18]
xor ebp, edx
mov dword [esp + 0x10], ebx
add ebp, dword [ecx - 8]
add ecx, 4
rol ebx, 5
add ebp, esi
inc eax
rol edx, 0x1e
lea esi, [ebx + ebp - 0x359d3e2a]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
xor ebp, ebx
mov ebx, dword [esp + 0x18]
xor ebp, ebx
mov edx, esi
add ebp, dword [ecx - 8]
rol edx, 5
add ebp, edi
inc eax
lea edi, [edx + ebp - 0x359d3e2a]
mov edx, dword [esp + 0x10]
rol edx, 0x1e
mov ebp, edx
mov dword [esp + 0x20], edi
xor ebp, esi
mov dword [esp + 0x10], ecx
xor ebp, ebx
mov ebx, dword [ecx - 4]
add ebp, ebx
mov ebx, dword [esp + 0x14]
rol edi, 5
add ebp, ebx
inc eax
rol esi, 0x1e
lea ebx, [edi + ebp - 0x359d3e2a]
mov ebp, dword [esp + 0x20]
mov edi, edx
mov ecx, ebx
xor edi, esi
mov dword [esp + 0x14], ebx
xor edi, ebp
mov ebp, dword [esp + 0x10]
rol ecx, 5
add edi, dword [ebp]
mov ebp, dword [esp + 0x18]
add edi, ebp
inc eax
lea ebp, [edi + ecx - 0x359d3e2a]
mov edi, dword [esp + 0x10]
add edi, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
rol edi, 0x1e
cmp eax, 0x50
jb 0x447b9e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x10]
add eax, ebp
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 0x14]
add eax, ebx
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x18]
add eax, edi
pop edi
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x1c]
add eax, esi
pop esi
mov dword [ecx + 0x1c], eax
mov eax, dword [ecx + 0x20]
add eax, edx
pop ebp
mov dword [ecx + 0x20], eax
pop ebx
add esp, 0x158
ret