Function at 0x4055e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x158]
mov dword [esp + 0x140], eax
mov edx, eax
lea eax, [edx + 0x1c]
mov edx, esp
mov ecx, 0x40
call fcn.00446eb0
mov eax, dword [esp]
call fcn.00405590
mov dword [esp], eax
mov eax, dword [esp + 4]
call fcn.00405590
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
call fcn.00405590
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
call fcn.00405590
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
call fcn.00405590
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
call fcn.00405590
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
call fcn.00405590
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
call fcn.00405590
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
call fcn.00405590
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
call fcn.00405590
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
call fcn.00405590
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
call fcn.00405590
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
call fcn.00405590
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
call fcn.00405590
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
call fcn.00405590
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
call fcn.00405590
mov dword [esp + 0x3c], eax
mov ebx, 0xf
lea esi, [esi]
add ebx, 1
mov ecx, esp
mov edx, dword [ecx + ebx*4 - 0xc]
mov eax, dword [ecx + ebx*4 - 0x20]
xor eax, edx
xor eax, dword [ecx + ebx*4 - 0x38]
xor eax, dword [ecx + ebx*4 - 0x40]
mov edx, 1
call fcn.004055c0
mov dword [esp + ebx*4], eax
cmp ebx, 0x4f
jl 0x4056d8
mov eax, dword [esp + 0x140]
mov eax, dword [eax]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x140]
mov eax, dword [eax + 4]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x140]
mov eax, dword [eax + 8]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x140]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x140]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x144], eax
mov esi, 0xffffffff
lea esi, [esi]
add esi, 1
mov eax, dword [esp + 0x154]
mov edx, 5
call fcn.004055c0
mov ebx, eax
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
call fcn.00405560
lea edx, [ebx + eax]
mov eax, dword [esp + esi*4]
add eax, 0x5a827999
add eax, dword [esp + 0x144]
lea edi, [edx + eax]
mov eax, dword [esp + 0x148]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x150]
mov edx, 0x1e
call fcn.004055c0
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], edi
cmp esi, 0x13
jl 0x405760
mov esi, 0x13
lea esi, [esi]
add esi, 1
mov eax, dword [esp + 0x154]
mov edx, 5
call fcn.004055c0
mov ebx, eax
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
call fcn.00405570
lea edx, [ebx + eax]
mov eax, dword [esp + esi*4]
add eax, 0x6ed9eba1
add eax, dword [esp + 0x144]
lea edi, [edx + eax]
mov eax, dword [esp + 0x148]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x150]
mov edx, 0x1e
call fcn.004055c0
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], edi
cmp esi, 0x27
jl 0x405800
mov esi, 0x27
lea esi, [esi]
add esi, 1
mov eax, dword [esp + 0x154]
mov edx, 5
call fcn.004055c0
mov ebx, eax
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
call fcn.00405580
lea edx, [ebx + eax]
mov eax, dword [esp + esi*4]
sub eax, 0x70e44324
add eax, dword [esp + 0x144]
lea edi, [edx + eax]
mov eax, dword [esp + 0x148]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x150]
mov edx, 0x1e
call fcn.004055c0
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], edi
cmp esi, 0x3b
jl 0x4058a0
mov esi, 0x3b
lea esi, [esi]
add esi, 1
mov eax, dword [esp + 0x154]
mov edx, 5
call fcn.004055c0
mov ebx, eax
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
call fcn.00405570
lea edx, [ebx + eax]
mov eax, dword [esp + esi*4]
sub eax, 0x359d3e2a
add eax, dword [esp + 0x144]
lea edi, [edx + eax]
mov eax, dword [esp + 0x148]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x150]
mov edx, 0x1e
call fcn.004055c0
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], edi
cmp esi, 0x4f
jl 0x405940
mov eax, dword [esp + 0x140]
mov edx, dword [eax]
add edx, dword [esp + 0x154]
mov eax, dword [esp + 0x140]
mov dword [eax], edx
mov eax, dword [esp + 0x140]
mov edx, dword [eax + 4]
add edx, dword [esp + 0x150]
mov eax, dword [esp + 0x140]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x140]
mov edx, dword [eax + 8]
add edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x140]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x140]
mov edx, dword [eax + 0xc]
add edx, dword [esp + 0x148]
mov eax, dword [esp + 0x140]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x140]
mov edx, dword [eax + 0x10]
add edx, dword [esp + 0x144]
mov eax, dword [esp + 0x140]
mov dword [eax + 0x10], edx
mov eax, esp
xor cl, cl
mov edx, 0x140
call fcn.00446ef0
mov edx, dword [esp + 0x140]
lea eax, [edx + 0x1c]
xor cl, cl
mov edx, 0x40
call fcn.00446ef0
lea esp, [esp + 0x158]
pop edi
pop esi
pop ebx
ret