Function at 0x424eb0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
sub esp, 0x450
xor eax, eax
push ebx
mov ebx, dword [esp + 0x464]
push ebp
mov ebp, ebx
push esi
and ebp, 7
push edi
je 0x424ecf
mov eax, 1
shr ebx, 3
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
lea edi, [ebx + eax]
shl edi, 3
push edi
push 1
mov dword [esp + 0x1c], edi
call esi
push edi
push 1
mov dword [esp + 0x30], eax
call esi
mov ecx, dword [esp + 0x30]
add esp, 0x10
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x42522f
test eax, eax
je 0x42522f
mov eax, dword [esp + 0x468]
mov dword [esp + 0x1c], ecx
cmp eax, 8
jbe 0x424f20
mov eax, 8
test eax, eax
jbe 0x424f43
mov esi, dword [esp + 0x464]
mov ecx, eax
mov edx, ecx
lea edi, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov ecx, 8
sub ecx, eax
je 0x424f64
mov edx, ecx
lea edi, [esp + eax + 0x28]
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x160]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004252f0
add esp, 8
test ebp, ebp
jne 0x424fad
test ebx, ebx
jbe 0x4251fb
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x46c]
mov ebp, ebx
mov edx, dword [esp + 0x10]
mov ecx, edi
sub ecx, edx
mov esi, 8
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x424f9f
dec ebp
jne 0x424f92
jmp 0x424ff1
inc ebx
xor edi, edi
test ebx, ebx
jbe 0x424ff1
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x46c]
sub ebp, ecx
xor eax, eax
lea esi, [edi*8]
cmp esi, dword [esp + 0x470]
jae 0x424fde
lea edx, [ecx + ebp]
mov dl, byte [edx + eax]
mov byte [ecx + eax], dl
jmp 0x424fe2
mov byte [ecx + eax], 0
inc eax
inc esi
cmp eax, 8
jb 0x424fca
inc edi
add ecx, 8
cmp edi, ebx
jb 0x424fc1
mov edi, dword [esp + 0x14]
test ebx, ebx
jbe 0x4251fb
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x100]
push ecx
push 8
push edx
call fcn.004252a0
add esp, 0xc
xor ecx, ecx
mov eax, str.:2_
xor edx, edx
inc ecx
mov dx, word [eax]
add eax, 2
cmp eax, 0x48c0bc
mov dl, byte [esp + edx + 0xff]
mov byte [esp + ecx + 0x8f], dl
jl 0x425027
mov ecx, 8
lea esi, [esp + 0xb0]
lea edi, [esp + 0x30]
mov ebp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x90]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x160]
lea eax, [esp + 0x140]
xor ecx, ecx
xor edx, edx
mov dl, byte [ecx + 0x48c2fc]
inc ecx
cmp ecx, 0x30
mov dl, byte [esp + edx + 0x2f]
mov byte [esp + ecx + 0xcf], dl
jb 0x42507e
xor ecx, ecx
mov dl, byte [edi + ecx]
mov bl, byte [esp + ecx + 0xd0]
xor bl, dl
mov byte [esp + ecx + 0xd0], bl
inc ecx
cmp ecx, 0x30
jb 0x425099
xor esi, esi
lea ecx, [esp + 0xd5]
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx - 5]
mov bl, byte [ecx]
add edx, esi
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [ecx - 4]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [ecx - 3]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [ecx - 2]
lea edx, [ebx + edx*2]
xor ebx, ebx
mov bl, byte [ecx - 1]
mov dl, byte [ebx + edx*2 + 0x48c0fc]
test dl, 8
je 0x4250f7
mov byte [eax], 1
jmp 0x4250fa
mov byte [eax], 0
inc eax
test dl, 4
je 0x425105
mov byte [eax], 1
jmp 0x425108
mov byte [eax], 0
inc eax
test dl, 2
je 0x425113
mov byte [eax], 1
jmp 0x425116
mov byte [eax], 0
inc eax
test dl, 1
je 0x425121
mov byte [eax], 1
jmp 0x425124
mov byte [eax], 0
add esi, 2
inc eax
add ecx, 6
cmp esi, 0x10
jl 0x4250bb
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x48c32c]
inc eax
cmp eax, 0x20
mov dl, byte [esp + ecx + 0x13f]
mov byte [esp + eax + 0x6f], dl
jb 0x425132
xor eax, eax
mov cl, byte [esp + eax + 0x50]
mov bl, byte [esp + eax + 0x70]
xor bl, cl
mov byte [esp + eax + 0x70], bl
inc eax
cmp eax, 0x20
jb 0x42514d
xor eax, eax
mov dl, byte [esp + eax + 0x30]
mov cl, byte [esp + eax + 0x70]
mov byte [esp + eax + 0x50], dl
mov byte [esp + eax + 0x30], cl
inc eax
cmp eax, 0x20
jb 0x425163
add edi, 0x30
dec ebp
jne 0x425075
xor eax, eax
mov dl, byte [esp + eax + 0x50]
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0xb0], dl
mov byte [esp + eax + 0x90], cl
inc eax
cmp eax, 0x20
jb 0x425185
xor eax, eax
xor edx, edx
mov dl, byte [eax + 0x48c0bc]
inc eax
cmp eax, 0x40
mov cl, byte [esp + edx + 0x8f]
mov byte [esp + eax + 0xff], cl
jb 0x4251a3
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x100]
push esi
push 0x40
push edx
call fcn.00425250
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
add esp, 0xc
add esi, 8
add ecx, 8
dec eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jne 0x425009
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x474]
push edi
push esi
push edi
push eax
call fcn.0041a8b0
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret
mov esi, dword [sym.imp.MSVCRT.dll_free]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret