Function at 0x404595
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x48f600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push 6
pop edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x20
call fcn.0044d7a4
and al, 0xfe
or al, 6
xor esi, esi
mov byte [ebp - 0xc], al
inc esi
dec edi
call fcn.0044d7a4
mov byte [ebp + esi - 0xc], al
inc esi
test edi, edi
jne 0x4045c6
and dword [ebx], 0
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov edi, eax
sub edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], edi
cmp esi, 8
jge 0x404609
call fcn.0044d7a4
mov byte [ebp + esi - 0xc], al
inc esi
inc dword [ebp - 0x20]
cmp esi, 8
jne 0x40465c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor esi, esi
sub ecx, eax
lea eax, [ebp + esi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc esi
cmp esi, 8
jl 0x404615
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.00404466
mov eax, dword [ebp - 0x18]
pop ecx
push 8
pop esi
mov cl, byte [edi + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x404636
mov ecx, dword [ebp - 0x18]
add dword [ebx], 8
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
sub dword [ebp - 0x1c], 8
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 2
jle 0x4045f4
lea eax, [ebp - 0x14]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp esi, 8
jge 0x404683
mov eax, dword [ebp + 8]
mov al, byte [eax]
inc esi
inc dword [ebp + 8]
dec dword [ebp - 0x24]
mov byte [ebp + esi - 0xd], al
cmp esi, 8
jne 0x4046d6
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor esi, esi
sub edi, eax
lea eax, [ebp + esi - 0xc]
mov cl, byte [edi + eax]
xor byte [eax], cl
inc esi
cmp esi, 8
jl 0x40468f
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.00404466
mov eax, dword [ebp - 0x18]
pop ecx
push 8
pop esi
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x4046b0
mov ecx, dword [ebp - 0x18]
add dword [ebx], 8
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
sub dword [ebp - 0x1c], 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x24], 0
jne 0x40466b
lea edi, [ebp - 0x14]
sub edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], edi
cmp esi, 8
jge 0x4046fd
mov byte [ebp + esi - 0xc], 0
inc esi
inc dword [ebp - 0x20]
cmp esi, 8
jne 0x404750
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor esi, esi
sub ecx, eax
lea eax, [ebp + esi - 0xc]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc esi
cmp esi, 8
jl 0x404709
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.00404466
mov eax, dword [ebp - 0x18]
pop ecx
push 8
pop esi
mov cl, byte [edi + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x40472a
mov ecx, dword [ebp - 0x18]
add dword [ebx], 8
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
sub dword [ebp - 0x24], 8
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x20], 7
jle 0x4046ec
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449d43
leave
ret