Function at 0x4fe3f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x68683c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x4fea98
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4fea97
push edi
jmp 0x4fe436
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x4fea45
cmp esi, 0x40
jb 0x4fea45
mov esi, eax
lea edi, [ebx + 0x28]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea eax, [ebx + 0x29]
jmp 0x4fe460
movzx edx, byte [eax - 1]
movzx esi, byte [eax]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 1]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 4]
mov dword [ebp + ecx*4 - 0x144], edx
movzx edx, byte [eax + 3]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
mov dword [ebp + ecx*4 - 0x140], edx
movzx edx, byte [eax + 7]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xc]
mov dword [ebp + ecx*4 - 0x13c], edx
movzx edx, byte [eax + 0xb]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xe]
shl edx, 8
or edx, esi
mov dword [ebp + ecx*4 - 0x138], edx
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
jb 0x4fe460
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x150], esi
lea eax, [ebp - 0x124]
mov dword [ebp - 0x158], 0x10
mov edi, dword [eax - 0x20]
xor edi, dword [eax + 0x14]
mov ebx, dword [eax - 0x1c]
xor edi, dword [eax]
xor ebx, dword [eax + 0x18]
xor edi, dword [eax - 0x18]
xor ebx, dword [eax + 4]
rol edi, 1
xor ebx, dword [eax - 0x14]
mov dword [eax + 0x20], edi
mov dword [ebp - 0x154], edi
mov edi, dword [eax + 0x1c]
xor edi, dword [eax - 0x10]
rol ebx, 1
xor edi, dword [eax + 8]
mov dword [eax + 0x24], ebx
xor edi, dword [eax - 0x18]
add eax, 0x10
rol edi, 1
mov dword [eax + 0x18], edi
mov edi, dword [eax - 0x1c]
xor edi, dword [eax - 4]
xor edi, dword [ebp - 0x154]
xor edi, dword [eax - 0x24]
rol edi, 1
dec dword [ebp - 0x158]
mov dword [eax + 0x1c], edi
jne 0x4fe537
mov edi, dword [ebp - 0x14c]
xor eax, eax
mov ebx, dword [ebp - 0x148]
xor ebx, edx
and ebx, esi
xor ebx, dword [ebp - 0x148]
mov esi, dword [ebp - 0x150]
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x144]
rol esi, 0x1e
lea ecx, [ecx + edi + 0x5a827999]
mov ebx, edx
xor ebx, esi
and ebx, dword [ebp - 0x14c]
mov edi, ecx
xor ebx, edx
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x140]
mov ebx, dword [ebp - 0x148]
lea ebx, [ebx + edi + 0x5a827999]
mov edi, dword [ebp - 0x14c]
rol edi, 0x1e
mov dword [ebp - 0x150], esi
xor esi, edi
mov dword [ebp - 0x148], ebx
rol ebx, 5
and esi, ecx
xor esi, dword [ebp - 0x150]
mov dword [ebp - 0x158], ecx
add ebx, esi
add ebx, dword [ebp + eax*4 - 0x13c]
rol ecx, 0x1e
lea edx, [edx + ebx + 0x5a827999]
mov dword [ebp - 0x154], edx
mov esi, edx
mov edx, dword [ebp - 0x148]
rol esi, 5
mov ebx, ecx
xor ebx, edi
and ebx, edx
xor ebx, edi
add esi, ebx
add esi, dword [ebp + eax*4 - 0x138]
mov dword [ebp - 0x14c], edi
mov edi, dword [ebp - 0x150]
rol edx, 0x1e
lea esi, [edi + esi + 0x5a827999]
mov ebx, ecx
xor ebx, edx
mov dword [ebp - 0x148], edx
mov edx, dword [ebp - 0x154]
and ebx, edx
xor ebx, ecx
mov edi, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x134]
mov ebx, dword [ebp - 0x14c]
add eax, 5
rol edx, 0x1e
lea edi, [ebx + edi + 0x5a827999]
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x154], edx
cmp eax, 0x14
jb 0x4fe596
cmp eax, 0x28
jae 0x4fe7af
mov ebx, dword [ebp - 0x148]
xor ebx, edx
xor ebx, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x144]
rol esi, 0x1e
lea ecx, [ecx + edi + 0x6ed9eba1]
mov ebx, edx
xor ebx, esi
mov dword [ebp - 0x150], esi
mov esi, dword [ebp - 0x14c]
xor ebx, esi
mov edi, ecx
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x140]
mov ebx, dword [ebp - 0x148]
lea edi, [ebx + edi + 0x6ed9eba1]
mov dword [ebp - 0x148], edi
rol esi, 0x1e
rol edi, 5
mov ebx, ecx
xor ebx, dword [ebp - 0x150]
mov dword [ebp - 0x14c], esi
xor ebx, esi
add edi, ebx
add edi, dword [ebp + eax*4 - 0x13c]
rol ecx, 0x1e
lea edx, [edx + edi + 0x6ed9eba1]
mov dword [ebp - 0x154], edx
mov edi, edx
mov edx, dword [ebp - 0x148]
rol edi, 5
mov ebx, ecx
xor ebx, edx
xor ebx, esi
mov esi, dword [ebp - 0x150]
add edi, ebx
add edi, dword [ebp + eax*4 - 0x138]
rol edx, 0x1e
lea esi, [esi + edi + 0x6ed9eba1]
mov ebx, ecx
xor ebx, edx
mov dword [ebp - 0x148], edx
mov edx, dword [ebp - 0x154]
xor ebx, edx
mov edi, esi
rol edi, 5
add edi, ebx
add edi, dword [ebp + eax*4 - 0x134]
mov ebx, dword [ebp - 0x14c]
add eax, 5
rol edx, 0x1e
lea edi, [ebx + edi + 0x6ed9eba1]
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x154], edx
cmp eax, 0x28
jb 0x4fe6b5
cmp eax, 0x3c
jae 0x4fe8e8
jmp 0x4fe7c0
mov ebx, edx
or ebx, esi
and ebx, dword [ebp - 0x148]
rol edi, 5
mov esi, edx
mov edx, dword [ebp - 0x150]
and esi, edx
or ebx, esi
add ebx, dword [ebp + eax*4 - 0x144]
add eax, 5
add ebx, ecx
lea ecx, [ebx + edi - 0x70e44324]
rol edx, 0x1e
mov edi, edx
or edi, dword [ebp - 0x14c]
mov ebx, edx
and ebx, dword [ebp - 0x14c]
and edi, dword [ebp - 0x154]
mov esi, ecx
or edi, ebx
add edi, dword [ebp + eax*4 - 0x154]
rol esi, 5
add edi, dword [ebp - 0x148]
mov dword [ebp - 0x150], edx
lea edi, [edi + esi - 0x70e44324]
mov esi, dword [ebp - 0x14c]
rol esi, 0x1e
mov ebx, ecx
or ebx, esi
and ebx, edx
mov edx, ecx
and edx, esi
or ebx, edx
add ebx, dword [ebp + eax*4 - 0x150]
mov dword [ebp - 0x148], edi
add ebx, dword [ebp - 0x154]
rol edi, 5
lea edx, [ebx + edi - 0x70e44324]
rol ecx, 0x1e
mov dword [ebp - 0x154], edx
mov edi, edx
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], esi
mov ebx, ecx
or ebx, edx
and ebx, esi
mov esi, ecx
and esi, edx
or ebx, esi
add ebx, dword [ebp + eax*4 - 0x14c]
rol edi, 5
add ebx, dword [ebp - 0x150]
rol edx, 0x1e
lea edi, [ebx + edi - 0x70e44324]
mov esi, edx
mov edx, dword [ebp - 0x154]
mov ebx, esi
or ebx, edx
and ebx, ecx
mov dword [ebp - 0x148], esi
and esi, edx
or ebx, esi
add ebx, dword [ebp + eax*4 - 0x148]
mov dword [ebp - 0x150], edi
add ebx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x150]
rol edi, 5
rol edx, 0x1e
lea edi, [ebx + edi - 0x70e44324]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x154], edx
cmp eax, 0x3c
jb 0x4fe7c0
mov ebx, dword [ebp - 0x160]
cmp eax, 0x50
jae 0x4fe9fc
jmp 0x4fe900
mov ebx, dword [ebp - 0x148]
xor ebx, edx
xor ebx, esi
add ebx, dword [ebp + eax*4 - 0x144]
rol edi, 5
add ebx, ecx
lea ecx, [ebx + edi - 0x359d3e2a]
rol esi, 0x1e
mov ebx, edx
xor ebx, esi
xor ebx, dword [ebp - 0x14c]
mov edi, ecx
add ebx, dword [ebp + eax*4 - 0x140]
rol edi, 5
add ebx, dword [ebp - 0x148]
mov dword [ebp - 0x158], ecx
lea ebx, [ebx + edi - 0x359d3e2a]
mov edi, dword [ebp - 0x14c]
rol edi, 0x1e
xor ecx, esi
xor ecx, edi
add ecx, dword [ebp + eax*4 - 0x13c]
mov dword [ebp - 0x148], ebx
rol ebx, 5
add ecx, edx
lea edx, [ecx + ebx - 0x359d3e2a]
mov ecx, dword [ebp - 0x158]
rol ecx, 0x1e
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], edx
mov esi, edx
mov edx, dword [ebp - 0x148]
mov ebx, ecx
xor ebx, edx
xor ebx, edi
add ebx, dword [ebp + eax*4 - 0x138]
rol esi, 5
add ebx, dword [ebp - 0x150]
rol edx, 0x1e
lea esi, [ebx + esi - 0x359d3e2a]
mov ebx, ecx
xor ebx, edx
xor ebx, dword [ebp - 0x154]
mov dword [ebp - 0x14c], edi
add ebx, dword [ebp + eax*4 - 0x134]
mov dword [ebp - 0x148], edx
add ebx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x154]
mov edi, esi
rol edi, 5
add eax, 5
lea edi, [ebx + edi - 0x359d3e2a]
rol edx, 0x1e
mov dword [ebp - 0x14c], edi
cmp eax, 0x50
jb 0x4fe900
mov ebx, dword [ebp - 0x160]
mov eax, dword [ebx + 0x10]
add eax, edi
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x14]
add eax, esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x18]
add eax, edx
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x1c]
add eax, dword [ebp - 0x148]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x20]
add eax, ecx
add dword [ebx + 8], 0x200
mov dword [ebx + 0x20], eax
adc dword [ebx + 0xc], 0
add dword [ebp - 0x15c], 0x40
sub esi, 0x40
mov dword [ebp + 0xc], esi
jmp 0x4fea8e
mov edi, 0x40
sub edi, ecx
cmp esi, edi
jae 0x4fea52
mov edi, esi
push edi
push eax
lea ecx, [ecx + ebx + 0x28]
push ecx
call sub.MSVCR100.dll_memcpy
add dword [ebx + 0x24], edi
add dword [ebp - 0x15c], edi
sub esi, edi
add esp, 0xc
cmp dword [ebx + 0x24], 0x40
mov dword [ebp + 0xc], esi
jne 0x4fea8e
mov ecx, ebx
call fcn.004fde00
add dword [ebx + 8], 0x200
mov eax, 0
mov dword [ebx + 0x24], eax
adc dword [ebx + 0xc], eax
test esi, esi
jne 0x4fe430
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005a6cf8
mov esp, ebp
pop ebp
ret 8